/* ============================================================
   FCUK Reality Giveaway – Frontend Styles
   ============================================================ */

:root {
    --fcuk-gold:       #f5c518;
    --fcuk-gold-dark:  #d4a800;
    --fcuk-orange:     #ff6b00;
    --fcuk-bg:         #0a0a0f;
    --fcuk-bg2:        #111118;
    --fcuk-bg3:        #1a1a24;
    --fcuk-card-bg:    #16161f;
    --fcuk-border:     #2a2a3a;
    --fcuk-text:       #e8e8f0;
    --fcuk-muted:      #8888aa;
    --fcuk-success:    #00c851;
    --fcuk-error:      #ff4444;
    --fcuk-radius:     12px;
    --fcuk-radius-lg:  20px;
    --fcuk-shadow:     0 4px 32px rgba(0,0,0,.6);
    --fcuk-glow:       0 0 40px rgba(245,197,24,.12);
}

/* ---- Page wrapper — clips all sections to 24px radius ---- */
.fcuk-page-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 60px rgba(0,0,0,.7);
    border: 1px solid var(--fcuk-border);
}

/* ---- Reset within plugin scope ---- */
.fcuk-hero,
.fcuk-form-section,
.fcuk-winners-section {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--fcuk-text);
}

.fcuk-hero *,
.fcuk-form-section *,
.fcuk-winners-section * {
    box-sizing: border-box;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.fcuk-hero {
    /*background: linear-gradient(160deg, #05050c 0%, #0d0d1a 50%, #12091a 100%);*/
background: linear-gradient(160deg, #0b3851 0%, #092e43 50%, #021118 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--fcuk-border);
}

.fcuk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,197,24,.08) 0%, transparent 70%);
    pointer-events: none;
}

.fcuk-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fcuk-hero-badge {
    display: inline-block;
    background: rgba(245,197,24,.1);
    border: 1px solid rgba(245,197,24,.3);
    color: var(--fcuk-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.fcuk-hero-title {
    font-size: clamp(2rem, 6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.fcuk-highlight {
    background: linear-gradient(90deg, var(--fcuk-gold) 0%, var(--fcuk-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fcuk-hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--fcuk-muted);
    margin: 0 0 56px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.fcuk-prize {
    color: var(--fcuk-gold);
    font-size: 1.4em;
    font-weight: 900;
    -webkit-text-fill-color: unset;
}

.fcuk-hero-rules {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 32px;
    max-width: 680px;
}

.fcuk-hero-rule {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,107,0,.07);
    border: 1px solid rgba(255,107,0,.22);
    border-radius: var(--fcuk-radius);
    padding: 13px 18px;
    font-size: .92rem;
    color: #ffb366;
    text-align: left;
    line-height: 1.5;
}

.fcuk-rule-num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,107,0,.25);
    border: 1px solid rgba(255,107,0,.4);
    color: #ff8833;
    font-weight: 900;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.fcuk-hero-rule strong { color: #ffd080; }
.fcuk-hero-rule em     { color: #ff9966; font-style: normal; opacity: .85; }

.fcuk-hero-perks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 40px;
    max-width: 800px;
}

.fcuk-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--fcuk-bg3);
    border: 1px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius);
    padding: 12px 20px;
    font-size: .9rem;
    flex: 1 1 220px;
    text-align: left;
}

.fcuk-perk-icon { font-size: 1.4rem; flex-shrink: 0; }

.fcuk-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--fcuk-gold) 0%, var(--fcuk-orange) 100%);
    color: #000 !important;
    font-weight: 900;
    font-size: clamp(.85rem, 2vw, 1.05rem);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 18px 36px;
    border-radius: var(--fcuk-radius);
    text-decoration: none !important;
    line-height: 1.4;
    box-shadow: 0 8px 32px rgba(245,197,24,.3);
    transition: transform .2s, box-shadow .2s;
    margin-bottom: 32px;
}

.fcuk-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245,197,24,.45);
}

.fcuk-hero-scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--fcuk-gold) !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: fcuk-bounce 1.8s infinite;
}

/* ---- Stats row (counter + countdown) ---- */
.fcuk-stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto 36px;
    max-width: 680px;
}

.fcuk-stat-box {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius);
    padding: 18px 28px;
    flex: 1 1 200px;
    text-align: center;
}

.fcuk-countdown-box {
    border-color: rgba(245,197,24,.25);
    background: rgba(245,197,24,.04);
}

.fcuk-stat-value {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--fcuk-gold);
    line-height: 1.1;
}

.fcuk-stat-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fcuk-muted);
    margin-top: 4px;
}

.fcuk-countdown-label { margin-bottom: 10px; }

.fcuk-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fcuk-cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
}

.fcuk-cd-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.fcuk-cd-lbl {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fcuk-muted);
    margin-top: 2px;
}

.fcuk-cd-sep {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--fcuk-gold);
    line-height: 1;
    margin-bottom: 14px;
}

@keyframes fcuk-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* ============================================================
   ENTRY FORM SECTION
   ============================================================ */
.fcuk-form-section {
    background: var(--fcuk-bg2);
    padding: 80px 24px;
    border-bottom: 1px solid var(--fcuk-border);
}

.fcuk-form-inner {
    max-width: 780px;
    margin: 0 auto;
}

.fcuk-section-badge {
    display: inline-block;
    background: rgba(245,197,24,.1);
    border: 1px solid rgba(245,197,24,.25);
    color: var(--fcuk-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.fcuk-section-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -.01em;
}

.fcuk-section-sub {
    color: var(--fcuk-muted);
    margin: 0 0 40px;
    font-size: 1rem;
}

.fcuk-form {
    background: var(--fcuk-card-bg);
    border: 1px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius-lg);
    padding: 40px;
    box-shadow: var(--fcuk-shadow);
}

.fcuk-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .fcuk-form-row { grid-template-columns: 1fr; }
    .fcuk-form { padding: 24px; }
}

.fcuk-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fcuk-form-group label {
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--fcuk-text);
}

.fcuk-required { color: var(--fcuk-orange); }

.fcuk-input {
    background: var(--fcuk-bg3) !important;
    border: 1.5px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius);
    color: #ffffff !important;
    font-size: 1rem;
    padding: 13px 16px;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-text-fill-color: #ffffff !important;
}

.fcuk-input::placeholder { color: #44445a !important; -webkit-text-fill-color: #44445a !important; }

/* Force autofill to stay dark */
.fcuk-input:-webkit-autofill,
.fcuk-input:-webkit-autofill:hover,
.fcuk-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--fcuk-bg3) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
}

.fcuk-input:focus {
    border-color: var(--fcuk-gold);
    box-shadow: 0 0 0 3px rgba(245,197,24,.12);
}

.fcuk-input.fcuk-input-error { border-color: var(--fcuk-error); }

.fcuk-input-mono { font-family: 'Courier New', monospace; font-size: .9rem; }

.fcuk-field-note {
    font-size: .8rem;
    color: var(--fcuk-muted);
    margin: 0;
}

.fcuk-form-errors {
    background: rgba(255,68,68,.08);
    border: 1px solid rgba(255,68,68,.3);
    border-radius: var(--fcuk-radius);
    padding: 14px 18px;
    margin-bottom: 20px;
    color: #ff8888;
    font-size: .9rem;
}

.fcuk-form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.fcuk-form-errors li { margin-bottom: 4px; }

.fcuk-form-success {
    background: rgba(0,200,81,.08);
    border: 1px solid rgba(0,200,81,.3);
    border-radius: var(--fcuk-radius);
    padding: 18px 24px;
    margin-bottom: 20px;
    color: #66ff99;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
}

.fcuk-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: linear-gradient(135deg, var(--fcuk-gold) 0%, var(--fcuk-orange) 100%);
    color: #000 !important;
    border: none;
    border-radius: var(--fcuk-radius);
    font-size: clamp(1rem, 3vw, 1.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 18px 32px;
    cursor: pointer;
    box-shadow: 0 6px 28px rgba(245,197,24,.3);
    transition: transform .15s, box-shadow .15s, opacity .15s;
    margin-bottom: 16px;
}

.fcuk-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(245,197,24,.45);
}

.fcuk-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.fcuk-btn-spinner svg { animation: fcuk-spin 1s linear infinite; }

@keyframes fcuk-spin { to { transform: rotate(360deg); } }

.fcuk-privacy-note {
    text-align: center;
    font-size: .8rem;
    color: var(--fcuk-muted);
    margin: 0;
}

/* ============================================================
   WINNERS SECTION
   ============================================================ */
.fcuk-winners-section {
    background: var(--fcuk-bg);
    padding: 80px 24px;
}

.fcuk-winners-inner {
    max-width: 960px;
    margin: 0 auto;
}

.fcuk-winners-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--fcuk-card-bg);
    border: 1px dashed var(--fcuk-border);
    border-radius: var(--fcuk-radius-lg);
    color: var(--fcuk-muted);
}

.fcuk-winners-empty-icon { font-size: 3rem; margin-bottom: 12px; }

.fcuk-winners-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fcuk-winner-entry {
    background: var(--fcuk-card-bg);
    border: 1px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius-lg);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--fcuk-shadow);
    position: relative;
    transition: transform .2s;
}

.fcuk-winner-entry:hover { transform: translateY(-2px); }

.fcuk-winner-latest {
    border-color: var(--fcuk-gold);
    box-shadow: 0 0 0 1px var(--fcuk-gold), var(--fcuk-glow), var(--fcuk-shadow);
}

.fcuk-winner-latest-badge {
    background: linear-gradient(90deg, var(--fcuk-gold), var(--fcuk-orange));
    color: #000;
    font-weight: 900;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: 8px 20px;
    text-align: center;
}

.fcuk-winner-entry-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 0;
}

@media (max-width: 700px) {
    .fcuk-winner-entry-grid { grid-template-columns: 1fr; }
}

.fcuk-winner-details {
    padding: 32px;
}

.fcuk-winner-month-label {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--fcuk-gold);
    margin-bottom: 16px;
}

.fcuk-winner-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--fcuk-gold), var(--fcuk-orange));
    color: #000;
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fcuk-winner-nickname {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.fcuk-winner-prize {
    display: inline-block;
    background: rgba(0,200,81,.1);
    border: 1px solid rgba(0,200,81,.25);
    color: #66ff99;
    font-weight: 700;
    font-size: .85rem;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fcuk-txid-block {
    background: var(--fcuk-bg3);
    border: 1px solid var(--fcuk-border);
    border-radius: var(--fcuk-radius);
    padding: 16px;
    margin-bottom: 20px;
}

.fcuk-txid-label {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--fcuk-muted);
    margin-bottom: 8px;
}

.fcuk-txid-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.fcuk-txid-value {
    font-family: 'Courier New', monospace;
    font-size: .8rem;
    color: var(--fcuk-gold);
    word-break: break-all;
    flex: 1;
}

.fcuk-copy-btn {
    background: none;
    border: 1px solid var(--fcuk-border);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: .9rem;
    color: var(--fcuk-muted);
    flex-shrink: 0;
    transition: border-color .2s, color .2s;
}

.fcuk-copy-btn:hover {
    border-color: var(--fcuk-gold);
    color: var(--fcuk-gold);
}

.fcuk-verify-link {
    display: inline-block;
    font-size: .8rem;
    color: var(--fcuk-gold) !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.fcuk-winner-review {
    background: var(--fcuk-bg3);
    border-left: 3px solid var(--fcuk-gold);
    border-radius: 0 var(--fcuk-radius) var(--fcuk-radius) 0;
    padding: 16px 20px;
    position: relative;
}

.fcuk-review-quote {
    font-size: 3rem;
    line-height: 1;
    color: var(--fcuk-gold);
    opacity: .4;
    margin-bottom: -12px;
    font-family: Georgia, serif;
}

.fcuk-winner-review blockquote {
    margin: 0 0 8px;
    font-style: italic;
    color: var(--fcuk-text);
    font-size: .95rem;
    border: none;
    padding: 0;
}

.fcuk-winner-review cite {
    font-size: .8rem;
    color: var(--fcuk-gold);
    font-weight: 700;
    font-style: normal;
}

/* Screenshot column */
.fcuk-winner-screenshot {
    border-left: 1px solid var(--fcuk-border);
    position: relative;
    overflow: hidden;
    min-height: 240px;
    background: var(--fcuk-bg3);
    display: flex;
    flex-direction: column;
}

.fcuk-screenshot-link {
    display: block;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.fcuk-screenshot-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .4s;
    display: block;
}

.fcuk-screenshot-link:hover img { transform: scale(1.04); }

.fcuk-screenshot-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.fcuk-screenshot-link:hover .fcuk-screenshot-overlay { opacity: 1; }

.fcuk-screenshot-caption {
    padding: 10px 16px;
    font-size: .75rem;
    color: var(--fcuk-muted);
    text-align: center;
    border-top: 1px solid var(--fcuk-border);
}

/* CTA below winners */
.fcuk-winners-cta {
    text-align: center;
    margin-top: 48px;
    color: var(--fcuk-muted);
    font-size: 1.1rem;
    font-weight: 600;
}

.fcuk-btn-secondary {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--fcuk-gold);
    color: var(--fcuk-gold) !important;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 13px 32px;
    border-radius: var(--fcuk-radius);
    margin-top: 12px;
    transition: background .2s, color .2s;
}

.fcuk-btn-secondary:hover {
    background: var(--fcuk-gold);
    color: #000 !important;
}

/* Copied flash */
.fcuk-copied-flash::after {
    content: 'Copied!';
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--fcuk-gold);
    color: #000;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    pointer-events: none;
    animation: fcuk-fade-out .8s forwards;
}

@keyframes fcuk-fade-out {
    0%   { opacity: 1; }
    70%  { opacity: 1; }
    100% { opacity: 0; }
}