* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-body: 'Replica', sans-serif;
    --font-display: 'Replica Mono', monospace;
    --font-family-offbeat: 'Offbit', sans-serif;
    --font-family-offbeat-dot: 'Offbit Dot', sans-serif;
    --font-family-offbeat-101: 'Offbit 101', sans-serif;
    --font-family-druk-bold: 'Druk Bold', sans-serif;
    --font-family-druk-wideheavy: 'druk_wideheavy', sans-serif;
    --font-family-DrukWideSuper6: 'DrukWideSuper6', sans-serif;
    --black: #000;
    --bg: #ffffff;
    --text: #15151E;
    --muted: #676471;
    --muted-2: #8f8b9d;
    --muted-3: #ababab;
    --primary: #6563fc;
    --primary-2: #7f7cfb;
    --border: #ece9f3;
    --soft: #f8f7fb;
    --dark: #010101;
    --panel: #15151E;
    --green: #43cc77;
    --red: #f34976;
    --orange: #F44804;
    --container: 1120px;
    --radius-card: 14px;
    --radius-pill: 999px;
    --shadow: 0 10px 25px rgba(18, 18, 28, .08);
    --grid-size: 34px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
}

html,
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-size: 50%;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.08;
    }

    90% {
        opacity: 0.08;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

@keyframes shimmercta {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(400%) skewX(-15deg);
    }
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(101, 99, 252, .45);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(101, 99, 252, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(101, 99, 252, 0);
    }
}

@keyframes arrow-nudge {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

.whiteoverlay {
    position: absolute;
    height: 100%;
    width: 100%;
}

.whiteoverlay:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.97);
}

html {
    height: 100%;
}

body {
    display: block;
    min-height: 100vh;
    position: relative;
    padding-top: 0px;
    margin: 0px;
    background: var(--bg) url(assets/bg.svg) repeat center center;
    background-size: 50%;

}


.btn--animated {
    position: relative;
    overflow: hidden;
    animation: pulse-ring 2.4s ease-out infinite;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn--animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, .22);
    animation: shimmercta 2.4s ease-in-out infinite;
    pointer-events: none;
    transform: skewX(-15deg);
}

.btn--animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(101, 99, 252, .32);
}

.btn--animated:hover .cta-arrow {
    animation: arrow-nudge .5s ease infinite;
}

.cta-arrow {
    display: inline-block;
}

.wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    padding: 120px 32px 40px;
    text-align: left;
    margin: 0 auto;
}

/* Icon layer — absolutely positioned 3D objects */
.icon-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    /* overflow: hidden; */
}

.ico {
    position: absolute;
    object-fit: contain;
    /* width: 200px !important; */
}

/* Hero icon positions */
.ico-1 {
    width: 25%;
    top: 6%;
    left: min(-12.017361vw, 403.45px);
}

.ico-2 {
    width: 25%;
    top: 35%;
    left: min(-20.017361vw, 403.45px)
}

.ico-3 {
    width: 25%;
    top: 60%;
    left: min(-16.017361vw, 403.45px)
}

.ico-4 {
    width: 30%;
    top: 90%;
    left: min(-12vw, 403.45px)
}

.ico-5 {
    width: 25%;
    top: 15%;
    right: min(15%, 403.45px)
}

.ico-6 {
    width: 33%;
    top: 30%;
    right: min(-4%, 403.45px)
}

.ico-7 {
    width: 35%;
    top: 60%;
    right: min(-10vw, 403.45px)
}

.ico-8 {
    width: 25%;
    top: 90%;
    right: min(-12vw, 403.45px)
}

/* Big number bg */
.bg-number {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Druk Bold';
    font-size: 400px;
    font-weight: 800;
    color: hsla(0, 0%, 100%, 0.02);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Top row */
.top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.top-logo {
    /* font-family: 'Druk Bold'; */
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.top-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.top-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: tp 1.2s infinite;
    position: relative;
    z-index: 2;
}

@keyframes tp {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }
}

/* ─────────────────────────────────────
       NAV
    ───────────────────────────────────── */

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(21, 21, 30, .1);
    background: var(--bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-wrapper.is-scrolled {
    box-shadow: 0 8px 22px rgba(21, 21, 30, .10);
    border-bottom-color: rgba(21, 21, 30, .10);
    background: rgba(255, 255, 255, .9);
}

.nav {
    width: min(calc(100% - 0px), var(--container));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* height: 50px; */
}

.nav-logo img {
    height: 35px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-actions a {
    font-size: 14px;
    padding: 13px 30px;
    font-weight: 700;
    letter-spacing: 0.2px;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
}


.nav-login {
    color: var(--black);
    text-decoration: none;
    border: solid 1px var(--muted);
    transition: all .2s ease;
}

.nav-login:hover {
    background: var(--muted);
    color: var(--bg);
}

.nav-signup {
    background: var(--primary);
    color: var(--bg);
    transition: all .2s ease;
}

.nav-signup:hover {
    transform: translateY(-2px);
    background: var(--primary);
    box-shadow: 0 12px 24px rgba(101, 99, 252, .28);
}

/* Giant headline */
h1 {
    font-family: var(--font-family-druk-bold);
    font-size: clamp(60px, 22vw, 130px);
    font-weight: 800;
    line-height: 0.95;
    /* letter-spacing: -3px; */
    color: var(--black);
    margin-bottom: 32px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

h1 .line2 {
    display: block;
    color: var(--black);
    -webkit-text-stroke: 0px;
    text-shadow: 0 0 40px hsla(17, 97%, 49%, 0.1);
    text-transform: uppercase;
}

h1 .line3 {
    display: block;
    -webkit-text-stroke: 1px var(--primary-2);
    color: var(--primary);
    text-transform: uppercase;
}

/* Horizontal rule */
.h-rule {
    height: 1px;
    background: linear-gradient(90deg, hsl(0deg 0% 0%), hsl(0deg 0% 71.66%), transparent);
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

/* Info row */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 36px;
    flex-flow: row wrap;
    position: relative;
    z-index: 2;
}

.info-block {
    flex: 1;
    /* min-width: 150px; */

}

.info-label {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 2px;
    font-weight: 500;

}

.info-value {
    font-family: var(--font-family-druk-bold);
    font-size: clamp(68px, 4.6vw, 14vw);
    font-weight: 800;
    color: var(--black);
}

.info-sub {
    font-size: 17px;
    color: var(--muted);
    margin-top: 2px;
    font-weight: 500;
    margin-top: -.5rem;

}

/* Bottom row */
.bottom-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 48px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    border: solid 2px var(--bg);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: var(--font-body);
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 30px hsla(0, 0%, 12%, 0.35);
    background: var(--primary);
    color: var(--bg);
}

.prizes-inline {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.p-item {
    font-size: 2rem;
    font-weight: 700;
}

.p-item .p-label {
    color: var(--muted);
    font-size: 13px;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.p-item .p-val {
    color: var(--gold);
}

/* Trust */
.trust-bar {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
}

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Popup */
.popup {
    background: var(--soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    transform: scale(0.92) translateY(20px);
    animation: popupIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.1s;
}

.popup::-webkit-scrollbar {
    width: 8px;
}

.popup::-webkit-scrollbar-track {
    background: var(--secondary);
}

.popup::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.popup::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
}

.popup-container {
    max-height: 85vh;
    overflow-y: auto;
}


/* Close button */
.close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    z-index: 10;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: rotate(90deg);
}

/* When welcome step is NOT active, revert close button to dark style */
.popup:not(:has(#welcomeStep.active)) .close-btn {
    background: var(--soft);
    border-color: var(--border);
    color: var(--text);
}

.popup:not(:has(#welcomeStep.active)) .close-btn:hover {
    background: var(--border);
    color: var(--text);
}

/* Header */
.popup-header {
    padding: 28px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    /* background: linear-gradient(180deg, var(--card), transparent); */

}

.popup-header .logo img {
    height: clamp(30px, 4vw, 38px);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-header h2 {
    font-size: clamp(31px, 4vw, 40px);
    font-weight: 800;
    color: var(--black);
    font-family: var(--font-body);
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: var(--font-family-DrukWideSuper6);
    margin-top: clamp(50px, 4vw, 80px);
    margin-bottom: clamp(27px, 4vw, 38px);

    display: none;
}

.popup-header p {
    font-size: clamp(14px, 4vw, 16px);
    color: var(--muted);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto clamp(20px, 4vw, 30px);
    font-family: var(--font-body);
    display: none;

}

.popup-header .prize-teaser {
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--border);
    border: 1px solid var(--muted);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);

}

/* FEATURE 2: Urgency Badge */
.urgency-badge {
    margin-top: 14px;
    padding: 6px 14px;
    /* background: hsla(350, 80%, 55%, 0.15);
        border: 1px solid hsla(350, 80%, 55%, 0.3); */
    border-radius: 20px;
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg);
    animation: pulseUrgency 2s infinite;
    background: var(--red);
    border: 1px solid var(--red);

}

.urgency-badge.active {
    display: inline-flex;
}

@keyframes pulseUrgency {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Progress bar */
.progress-bar {
    height: 1px;
    background: var(--muted);
    position: relative;
    overflow: hidden;
    display: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--green));
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 0 10px #f44804;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.popup-content {
    padding: 25px 20px;
    position: relative;
}

/* No padding when welcome screen is shown (full-bleed design) */
.popup:has(#welcomeStep.active) .popup-content,
.popup:has(#finalStep.active) .popup-content {
    padding: 0;
}

.popup:has(#finalStep.active) .popup-header .prize-teaser {
    display: none;
}


.questions-container {
    position: relative;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Smooth height transition */
}

/* CRITICAL FIX: Question step positioning */
.question-step,
.welcome-step {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s 0.4s;
    /* Delay visibility change until after fade */
}

.question-step:not(.active):not(.exiting),
.welcome-step:not(.active):not(.exiting) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.question-step.exiting,
.welcome-step.exiting {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateX(-40px) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s 0.4s;
}

.question-step.active,
.welcome-step.active {
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    pointer-events: auto !important;
    z-index: 1 !important;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0s 0s;
}

/* Hide popup header, progress bar, and step indicator while welcome screen is active */
.popup:has(#welcomeStep.active) .popup-header,
.popup:has(#welcomeStep.active) .progress-bar,
.popup:has(#welcomeStep.active) .step-indicator {
    display: none !important;
}

/* Welcome Step Styling */
.welcome-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* padding: 32px 24px; */
    padding: 16px 12px;
    min-height: 380px;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(101, 99, 252, 0.1);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.welcome-logo img {
    height: 40px;
    margin: 0 auto 16px;
    display: block;
}

.welcome-title {
    font-size: clamp(31px, 4vw, 40px);
    font-weight: 800;
    color: var(--black);
    font-family: var(--font-body);
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: var(--font-family-DrukWideSuper6);
    margin-top: clamp(50px, 4vw, 80px);
    margin-bottom: clamp(27px, 4vw, 38px);
}

.welcome-million-dollar-prize {
    font-size: clamp(19px, 4vw, 25px);
    font-weight: 900;
    color: var(--black);
    font-family: var(--font-body);
    margin-bottom: 12px;
    line-height: 1.2;
    display: none;
}

.welcome-desc {
    font-size: clamp(14px, 4vw, 16px);
    color: var(--muted);
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto clamp(30px, 4vw, 50px);
    font-family: var(--font-body);
}

.welcome-prize-teaser {
    margin-bottom: 24px;
    padding: 8px 16px;
    background: var(--border);
    border: 1px solid var(--muted-2);
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
}

.welcome-cta-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
}

/* ── NEW WELCOME STEP REDESIGN ── */

/* Override: full-bleed layout */
.welcome-step {
    padding: 0 !important;
    min-height: unset !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: transparent !important;
    overflow: hidden;
    border-radius: 20px;
}

/* BLACK TOP HEADER */
.ws-header {
    background: #000 !important;
    color: #fff;
    padding: 22px 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ws-logo img {
    height: clamp(50px, 22vw, 86px);
    width: auto;
    display: block;
    margin: 0 auto;
    /* the logo SVG is the light version (white) — perfect for black bg */
}

.ws-youre-in {
    font-family: var(--font-family-offbeat-101), var(--font-family-offbeat), 'Courier New', monospace;
    font-size: clamp(22px, 11vw, 50px);
    font-weight: 800;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
}

/* PIXEL DRIP BORDERS */
.ws-drip {
    display: block;
    line-height: 0;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Top drip: black above, white below — background white so jagged black shape drips down */
.ws-drip--top {
    background: #000 url('data:image/svg+xml,<svg width="649" height="81" viewBox="0 0 649 81" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M108 27H162V81H108V27Z" fill="white"/><path d="M379 27H433V81H379V27Z" fill="white"/><path d="M432 27H487V81H432V27Z" fill="white"/><path d="M486 27H540V81H486V27Z" fill="white"/><path d="M567 27H622V81H567V27Z" fill="white"/><path d="M27 27H109V81H27V27Z" fill="white"/><path d="M216 54H244V81H216V54Z" fill="white"/><path d="M191 54H217V81H191V54Z" fill="white"/><path d="M329.111 28.5469H355.77V55.2051H329.111V28.5469Z" fill="white"/><path d="M27.2051 1.77734H53.8633V28.4356H27.2051V1.77734Z" fill="white"/><path d="M593 0L622 0V28H593V0Z" fill="white"/><path d="M621 45H649V81H621V45Z" fill="white"/><path d="M0 58H28V81H0V58Z" fill="white"/><path d="M355 54H381V81H355V54Z" fill="white"/></svg>');
    background-size: 100%;
    background-position: bottom -10px center;
    height: 60px;
    background-repeat: repeat-x;
    position: relative;
    bottom: -2px;
    margin-top: -20px;
    /* Adjust height to match SVG */
}

.ws-drip--top svg {
    display: block;
    width: 100%;
}

/* Bottom drip: white above, black below — background white so black shape rises up */
.ws-drip--bottom {
    background: #000 url('data:image/svg+xml,<svg width="649" height="81" viewBox="0 0 649 81" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M488 0L542 0V53L488 53V0Z" fill="white"/><path d="M215 0L268 0V53L215 53V0Z" fill="white"/><path d="M162 0L217 0V53L162 53V0Z" fill="white"/><path d="M110 0L164 0V53L110 53V0Z" fill="white"/><path d="M28 0L83 0V54L28 54L28 0Z" fill="white"/><path d="M541 0L622 0V81L541 81V0Z" fill="white"/><path d="M459.846 52.6963H488.281V79.3545H459.846V52.6963Z" fill="white"/><path d="M407.744 0.0380859L434.744 0.0380859V28.0381L407.744 28.0381V0.0380859Z" fill="white"/><path d="M432.744 0.0380859L459.744 0.0380859V28.0381L432.744 28.0381V0.0380859Z" fill="white"/><path d="M82 53H111V81H82V53Z" fill="white"/><path d="M28 53H56V81H28L28 53Z" fill="white"/><path d="M621 0L649 0V27H621V0Z" fill="white"/><path d="M0 0L29 0V28H0V0Z" fill="white"/><path d="M266 0L293 0V26L266 26V0Z" fill="white"/></svg>');
    background-size: 100%;
    background-position: top -5px center;
    height: 60px;
    background-repeat: repeat-x;
    position: relative;
    top: -8px;
}

.ws-drip--bottom svg {
    display: block;
    width: 100%;
}

/* WHITE BODY */
.ws-body {
    background: #fff;
    padding: 22px 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.ws-challenge-title {
    font-family: var(--font-family-druk-wideheavy), var(--font-family-druk-bold), 'Impact', sans-serif;
    font-size: clamp(22px, 5vw, 40px);
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    text-align: center;
    margin-bottom: clamp(10px, 2vw, 60px);
    margin-top: clamp(10px, 2vw, 30px);
}

.ws-desc {
    font-size: clamp(14px, 3vw, 19px);
    color: var(--muted);
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto;
    font-family: var(--font-body);
    text-align: center;
    font-weight: 400;
}

.ws-tagline {
    font-size: clamp(17px, 3vw, 19px);
    color: var(--muted);
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto;
    font-family: var(--font-body);
    text-align: center;
    margin-top: clamp(10px, 2vw, 20px);
    font-weight: 900;

}

.ws-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    max-width: 300px;
    margin-top: 4px;
    position: relative;
    overflow: hidden;
    animation: pulse-ring 2.4s ease-out infinite;
    margin-bottom: clamp(15px, 3vw, 30px);
    margin-top: clamp(15px, 3vw, 30px);
}

.ws-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: rgba(255, 255, 255, 0.22);
    animation: shimmercta 2.4s ease-in-out infinite;
    pointer-events: none;
    transform: skewX(-15deg);
}

.ws-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(101, 99, 252, 0.38);
}

/* BLACK FOOTER BAR */
.ws-footer {
    background: #000;
    height: 44px;
    width: 100%;
    flex-shrink: 0;
}

/* Remove popup-content padding in welcome mode */
.popup:has(#welcomeStep.active) .popup-content {
    padding: 0 !important;
}

/* questions-container should not clip the welcome design */
.popup:has(#welcomeStep.active) .questions-container {
    overflow-x: hidden;
}

.popup:has(#welcomeStep.active) {
    background: #000000;
    overflow: hidden;
}




.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-family-offbeat);
    background: url(assets/rolr-logo-dark-vert.svg) no-repeat 0px 0px;
    background-size: 26px;
    padding-left: 2.2rem;
    line-height: 1;
    color: var(--black);
    /* margin-top: 50px; */
}

.cat-Crypto {
    /* background: #f4480452;
    border: 1px solid #f448049c;
    color: #282828; */
}

.cat-Sports {
    /* background: hsla(210, 100%, 50%, 0.2);
    color: hsl(210, 41%, 17%);
    border: 1px solid hsla(210, 100%, 50%, 0.3); */
}

.cat-Tech {
    /* background: hsla(190, 80%, 50%, 0.2);
    color: hsl(191, 43%, 26%);
    border: 1px solid hsla(190, 80%, 50%, 0.3); */
}

.question-text {
    /* font-family: 'Druk Bold'; */
    font-size: clamp(18px, 3vw, 25px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--black);
    margin-bottom: 14px;
    /* letter-spacing: 2px; */
}

/* Percentage bar */
.percentage-display {
    margin-bottom: 24px;
    background: var(--bg);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    position: relative;
}

/* FEATURE 1: Live Vote Notification */
.live-vote-notification {
    position: absolute;
    top: 0;
    right: 00%;
    /*transform: translateX(0%)*/
    ;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text);
    display: none;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); */
    white-space: nowrap;
    /* margin-top: -10px; */
    /* margin-bottom: 10px;
    max-width: 320px; */
    */
}

.live-vote-notification.active {
    display: flex;
}

.live-vote-notification.show {
    animation: slideDownFade 3s ease forwards;
}

@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateX(100%) translateY(-0px);
    }

    10% {
        opacity: 1;
        transform: translateX(0%) translateY(0);
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(0%) translateY(0px);
    }
}


.vote-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulseIndicator 1.5s infinite;
}

@keyframes pulseIndicator {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.pct-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pct-yes,
.pct-no {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.pct-yes {
    color: var(--green);
}

.pct-no {
    color: var(--red);
}

.pct-yes.pulse,
.pct-no.pulse {
    animation: pulsePct 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pulsePct {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        text-shadow: 0 0 8px currentColor;
    }

    100% {
        transform: scale(1);
    }
}

/* FEATURE 5: Percentage Change Indicator */
.pct-change {
    font-size: 10px;
    margin-left: 4px;
    opacity: 0;
    font-weight: 600;
    transition: opacity 0.3s;
}

.pct-change.active {
    opacity: 0.7;
}

.pct-change.up {
    color: var(--green);
}

.pct-change.up::before {
    content: '↑';
}

.pct-change.down {
    color: var(--red);
}

.pct-change.down::before {
    content: '↓';
}

.pct-bar {
    height: 8px;
    width: 100%;
    border-radius: 9999px;
    background: var(--card);
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
    /* border: 1px solid var(--border); */
}

.pct-bar .yes-fill {
    background: linear-gradient(90deg, var(--green), hsl(142, 72%, 45%));
    border-radius: 9999px 0 0 9999px;
    transition: width 0.3s ease-out;
    position: relative;
}

.pct-bar .yes-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.pct-bar .no-fill {
    background: linear-gradient(90deg, hsl(350, 80%, 50%), var(--red));
    border-radius: 0 9999px 9999px 0;
    transition: width 0.3s ease-out;
}

.votes-count {
    font-size: 13px;
    color: var(--text);
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: var(--font-body);
}

.votes-count::before {
    content: '👥';
    font-size: 14px;
}

/* FEATURE 6: Last Updated */
.last-updated {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--green);
    margin-top: 8px;
    font-weight: 600;
}

.last-updated.active {
    display: flex;
}

.update-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulseIndicator 1.5s infinite;
}

/* FEATURE 3: Social Proof Avatars */
.recent-voters {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.recent-voters.active {
    display: flex;
}

.avatar-stack {
    display: flex;
    margin-left: 4px;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: white;
    border: 2px solid var(--card);
    margin-left: -8px;
    transition: transform 0.2s;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-2px) scale(1.1);
    z-index: 2;
}

.voter-text {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    transition: transform 0.2s;
}

.voter-text.pulse {
    animation: pulseVoter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pulseVoter {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* FEATURE 4: Geographical Distribution */
.geo-distribution {
    display: none;
    margin-top: 16px;
    padding: 12px;
    background: var(--card);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.geo-distribution.active {
    display: block;
}

.geo-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
}

.geo-bar {
    display: flex;
    height: 24px;
    border-radius: 6px;
    overflow: hidden;
    gap: 1px;
}

.geo-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Add smooth transition */
}

.geo-segment:hover {
    filter: brightness(1.2);
    transform: scaleY(1.1);
}

/* FEATURE 7: Confidence Meter */
.confidence-meter {
    display: none;
    margin-top: 12px;
    padding: 10px;
    background: var(--card);
    border-radius: 8px;
}

.confidence-meter.active {
    display: block;
}

.confidence-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.confidence-bar {
    height: 20px;
    background: var(--secondary);
    border-radius: 10px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), hsl(43, 96%, 48%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-dark);
    transition: width 0.5s;
}

.vote-btns {
    display: flex;
    gap: 14px;

}

.vote-btn {
    flex: 1;
    padding: 18px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.vote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.vote-btn:active::before {
    width: 300px;
    height: 300px;
}

.vote-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); */
}

.vote-btn:active {
    transform: scale(0.96);
}

.vote-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.vote-btn.yes {
    background: linear-gradient(135deg, hsla(142, 72%, 50%, 0.2), hsla(142, 72%, 50%, 0.15));
    color: var(--green);
    border: 2px solid hsla(142, 72%, 50%, 0.4);
}

.vote-btn.yes:hover:not(:disabled) {
    background: linear-gradient(135deg, hsla(142, 72%, 50%, 0.3), hsla(142, 72%, 50%, 0.2));
    border-color: var(--green);
    /* box-shadow: 0 10px 30px hsla(142, 72%, 50%, 0.2); */
}

.vote-btn.no {
    background: linear-gradient(135deg, hsla(350, 80%, 55%, 0.2), hsla(350, 80%, 55%, 0.15));
    color: var(--red);
    border: 2px solid hsla(350, 80%, 55%, 0.4);
}

.vote-btn.no:hover:not(:disabled) {
    background: linear-gradient(135deg, hsla(350, 80%, 55%, 0.3), hsla(350, 80%, 55%, 0.2));
    border-color: var(--red);
    /* box-shadow: 0 10px 30px hsla(350, 80%, 55%, 0.2); */
}

/* CRITICAL FIX: Final step positioning */

.final-step-bg {
    background-image: url('data:image/svg+xml,<svg width="597" height="75" viewBox="0 0 597 75" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M450 0L501 0V49L450 49V0Z" fill="black"/><path d="M203 0L252 0V49L203 49V0Z" fill="black"/><path d="M154 0L205 0V49L154 49V0Z" fill="black"/><path d="M107 0L156 0V49L107 49V0Z" fill="black"/><path d="M24 0L75 0V49L24 49L24 0Z" fill="black"/><path d="M499 0L574 0V75L499 75V0Z" fill="black"/><path d="M428 47H452V71H428V47Z" fill="black"/><path d="M375 0L401 0V26L375 26V0Z" fill="black"/><path d="M399 0L424 0V26L399 26V0Z" fill="black"/><path d="M24 47H48V70H24L24 47Z" fill="black"/><path d="M571 0L597 0V24H571V0Z" fill="black"/><path d="M0 0L26 0V26H0V0Z" fill="black"/><path d="M250 0L275 0V24L250 24V0Z" fill="black"/></svg>');
    background-size: 100%;
    background-position: top -3px center;
    height: 60px;
    background-repeat: repeat-x;
    position: relative;
    top: 1px;
    background-color: #f8f7fb;
}

.final-step {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        visibility 0.4s;
}

.final-step:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: translateX(40px);
    pointer-events: none;
}

.final-step.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}




.final-step h3 {
    font-size: clamp(20px, 2vw, 29px);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 2px;
    font-family: var(--font-body);
    letter-spacing: 2px;

}

.final-step .subtitle {
    /* font-size: 15px;
    color: var(--muted);
    line-height: 1.4;
    font-family: var(--font-display);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center; */
    font-size: clamp(19px, 4vw, 20px);
    font-weight: 500;
    color: var(--black);
    font-family: var(--font-body);
    margin-bottom: 12px;
    line-height: 1.2;
    text-align: center;
    max-width: 500px;
    margin-inline: auto;
}

.final-step .subtitle strong {
    font-weight: 700;
}

.prizes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    background: #000 !important;
}

.prize-box {
    background: var(--white);
    /* border: 2px solid var(--border); */

    padding: 2rem 2rem 0 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
}

.prize-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* background: linear-gradient(135deg, var(--green), var(--gold)); */
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.prize-box:hover::before {
    opacity: 1;
}

.prize-box:hover {
    /* border-color: transparent;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); */
}

.prize-box .icon {
    font-size: 44px;
    margin-bottom: 0px;
    margin-top: 14px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.prize-box:nth-child(2) .icon {
    animation-delay: 0.5s;
}


.final-youre-in {
    font-family: var(--font-family-offbeat-101), var(--font-family-offbeat), 'Courier New', monospace;
    font-size: clamp(25px, 4vw, 35px);
    font-weight: 800;
    color: var(--bg) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
}

.prize-box .prize-name {
    font-size: clamp(15px, 2vw, 20px);
    color: var(--bg) !important;
    line-height: 1.3;
    max-width: 90%;
    margin: 0 auto;
    font-family: var(--font-body);
    text-align: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.prize-box .prize-value {
    font-family: var(--font-family-druk-bold);
    font-size: clamp(55px, 7vw, 65px);
    font-weight: 700;
    color: var(--bg) !important;
}

.email-form {
    margin-top: 28px;
}

.email-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.email-form input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border);
    background: var(--bg);
    border-radius: 12px;
    color: var(--black);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s;
}

.email-form input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(101, 99, 252, 0.15);
}

.email-form input::placeholder {
    color: var(--black);
}

.submit-btn {
    width: 100%;
    max-width: calc(100% - 40px);
    margin-inline: auto;
    padding: 18px;
    margin-top: 1rem;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
    text-decoration: none;

}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:active::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    transform: translateY(-3px);

}

.submit-btn:active {
    transform: scale(0.97);
}

.submit-btn:disabled {
    background: var(--secondary);
    color: var(--muted);
    cursor: not-allowed;
    box-shadow: none;
}

.privacy-note {
    margin-top: .5rem;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.privacy-note svg {
    opacity: 0.6;
    position: relative;
    top: 2px;

}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    padding-top: 28px;
    padding-bottom: 28px;
    /* border-top: 1px solid var(--border); */
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--muted-2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--muted);
}

.step-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
    border-color: var(--primary);
    box-shadow: 0 0 0px 1px hsl(240.78deg 96.23% 68.82%);
}

.success-message {
    display: none;
    text-align: center;
    padding: 28px 20px 60px;
    min-height: 300px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.success-message.active {
    display: flex;
    animation: slideIn 0.5s ease;
}

.success-message .checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-size: 50px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

}

.success-message h3 {
    font-size: clamp(24px, 4vw, 28px);
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: 0px;
    font-family: var(--font-body);
}

.success-message p {
    font-family: var(--font-body);
    color: var(--muted);
    font-size: 15px;
    font-family: var(--font-body);

}

.success-message .redirect-message {
    margin-bottom: 28px;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.2;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
}

.redirect-loader {
    max-width: 240px;
    width: 100%;
    margin: 0 auto;
    height: 6px;
    background: var(--muted);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.loader-bar {
    height: 100%;
    background: var(--green);
    border-radius: 9999px;
    width: 0%;
    box-shadow: 0 0 10px hsla(17, 97%, 49%, 0.5);
}

.success-message.active .loader-bar {
    animation: loadProgress 1.5s ease-in-out forwards;
}

.redirect-url-hint {
    margin-top: 20px;
    font-size: 12px;
    color: var(--muted);
    opacity: 0.7;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes popupIn {
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes celebration {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .settings-panel {
        top: 10px;
        right: 10px;
        width: 280px;
    }

    .popup {
        width: 95%;
        border-radius: 16px;
    }

    .popup-content {
        padding: 28px 20px;
    }

    .question-text {
        font-size: 18px;
    }

    .vote-btns {
        /* flex-direction: column; */
        gap: 12px;
    }

    .prizes {
        grid-template-columns: 1fr;
    }
}

.cat-Politics {
    /* background: hsla(280, 70%, 55%, 0.15);
    color: hsl(280, 33%, 26%);
    border: 1px solid hsla(280, 70%, 55%, 0.3); */
}

.cat-Iran {
    /* background: hsla(0, 70%, 45%, 0.15);
    color: hsl(0, 40%, 17%);
    border: 1px solid hsla(0, 70%, 45%, 0.3); */
}

.cat-Geo {
    /* background: hsla(160, 60%, 40%, 0.15);
    color: hsl(160, 41%, 15%);
    border: 1px solid hsla(160, 60%, 40%, 0.3); */
}

#popupOverlay {
    display: none;
}

#popupOverlay.visible {
    display: flex;
}


/* ── CRYPTO BG: Live trading chart full screen ── */
.category-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(20, 40%, 6%) 0%, hsl(220, 35%, 8%) 100%);
}

/* Grid lines */
.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(hsla(30, 100%, 50%, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, hsla(30, 100%, 50%, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Big chart SVG */
.bg-chart-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
}

.bg-chart-svg {
    width: 100%;
    height: 100%;
}

/* Floating BTC */
.bg-btc {
    position: absolute;
    font-size: 180px;
    top: 5%;
    right: 5%;
    opacity: 0.04;
    animation: btcDrift 8s ease-in-out infinite;
}

@keyframes btcDrift {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Price ticker */
.ticker-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: hsla(0, 0%, 0%, 0.3);
    border-bottom: 1px solid hsla(30, 100%, 50%, 0.15);
    display: flex;
    align-items: center;
    overflow: hidden;

}

.ticker-content {
    display: flex;
    gap: 40px;
    animation: tickerScroll 20s linear infinite;
    white-space: nowrap;
    padding: 0 20px;
}

.ticker-item {
    font-size: 12px;
    font-weight: 700;
    font-family: 'Akkurat Mono', sans-serif !important;
}

.t-green {
    color: hsl(142, 72%, 55%);
}

.t-red {
    color: hsl(350, 80%, 60%);
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Candles */
.candle {
    position: absolute;
    bottom: 30%;
    width: 8px;
    border-radius: 2px;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, hsla(220, 35%, 8%, 0.2), hsla(220, 35%, 8%, 0.8) 80%);
}

#popupOverlay {
    display: none;
    transition: opacity 0.3s ease;
}

/* ─── FAQ SECTION ─── */
.faq-wrapper {
    background: #000;
    position: relative;
    z-index: 2;
    display: none;
}

.faq-wrapper .faq-section {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 80px;
    font-family: var(--font-body);
    position: relative;
    z-index: 1;
}

.faq-wrapper .icon-layer {
    display: none !important;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}


.faq-title {
    font-family: var(--font-body);
    font-size: clamp(30px, 5vw, 40px);
    font-weight: 700;
    color: var(--soft);
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.faq-subtitle {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--border);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    background: var(--panel);
    border: 1px solid rgba(101, 99, 252, 0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease;
}

.faq-item.open {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--border);
    line-height: 1.4;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: hsl(220, 16%, 16%);
    border: 1px solid hsl(220, 14%, 22%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item.open .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(45deg);
    color: var(--bg);
}

.faq-icon svg {
    width: 14px;
    height: 14px;
    stroke: hsl(220, 10%, 55%);
    transition: stroke 0.2s ease;
}

.faq-item.open .faq-icon svg {
    stroke: var(--bg);

}

.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer-wrap {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    overflow: hidden;
}

.faq-answer {
    padding: 0 22px 20px;
    font-size: 15px;
    color: var(--muted-3);
    line-height: 1.75;
    border-top: 1px solid hsl(220, 14%, 16%);
    padding-top: 16px;
    font-family: var(--font-display);

}

.faq-answer strong {
    color: var(--muted-3);
    font-weight: 600;
}

.faq-footer {
    text-align: center;
    margin-top: 36px;
    padding: 24px;
    background: var(--panel);
    border: 1px solid hsl(220, 14%, 18%);
    border-radius: 14px;
    display: none;
}

.faq-footer p {
    font-size: 14px;
    color: var(--border);
    margin-bottom: 14px;
}

.faq-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bg);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.faq-footer-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.faq-divider {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(220, 14%, 22%), transparent);
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .faq-section {
        padding: 48px 16px 60px;
    }

    .faq-question {
        font-size: 14px;
        padding: 16px;
    }

    .faq-answer {
        padding: 0 16px 18px;
        padding-top: 14px;
    }
}

/* ─── END FAQ SECTION ─── */
/* ─── FOOTER ─── */
.site-footer {
    width: 100%;
    position: relative;
    z-index: 1;
    font-family: 'Akkurat Mono', sans-serif;
}

/* Top disclaimer band — black bg */
.footer-disclaimer {
    background: #000;
    padding: 32px 24px;
    text-align: center;
}

.footer-disclaimer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-disclaimer-logos img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 5px;
}

.footer-logo-box span {
    font-family: 'Druk Bold', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    /* letter-spacing: 0.5px; */
    line-height: 1.1;
    text-align: center;
}

.footer-logo-box span em {
    display: block;
    font-style: normal;
    font-size: 9px;
    letter-spacing: 1.5px;
    opacity: 0.75;
}

.footer-divider-v {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-crypto-logo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
}

.footer-crypto-logo img {
    height: 18px;
    width: auto;

}

.footer-disclaimer-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    max-width: 860px;
    margin: 0 auto 14px;
}

.footer-disclaimer-text a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: underline;
}

/* Bottom main footer — white bg */
.footer-main {
    background: #F4F6F7;
    padding: 36px 24px 28px;
    text-align: center;
}

.footer-main-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer-rolr-brand {
    font-family: 'Druk Bold', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #000;
    /* letter-spacing: -0.5px; */
}

.footer-rolr-brand img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}



.footer-divider-v-dark {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-partner-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;

}

.footer-partner-box img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}


.footer-crypto-dark {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.7);
}

.footer-crypto-dark img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-nav a {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.65);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #000;
}

.footer-nav-sep {
    width: 4px;
    height: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.footer-copy {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
}

@media (max-width: 480px) {
    .footer-disclaimer-logos {
        gap: 14px;
    }

    .footer-main-logos {
        gap: 16px;
    }

    .footer-nav {
        gap: 8px;
    }

    .footer-rolr-brand {
        font-size: 18px;
    }
}

/* ─── END FOOTER ─── */
/* ─── END FOOTER ─── */
@media (max-width: 768px) {
    .wrapper {
        /* margin-top: 80px; */
        padding-top: 80px;
    }

    .nav {
        padding: 10px;
    }


    .ico {
        min-width: 130px;
        z-index: 1;
    }

    .ico-1 {
        min-width: 100px;
        display: none;
    }

    .ico-2 {
        width: 60px;
        display: none;
    }

    .ico-3 {
        display: none;
    }

    .ico-4 {
        width: 65px;
        display: none;
    }

    .ico-5 {
        top: 15%;
        right: min(12vw, 403.45px);
        width: 30%;
    }

    .ico-6 {
        width: max(132px, 35%);
        right: min(-10%, 403.45px);
        top: min(27%, 407px);
    }


    .ico-7 {
        width: max(132px, 22%);
        right: min(-9vw, 403.45px);
        top: min(100%, 480px);
    }

    .ico-8 {
        width: max(132px, 30%);
        right: min(0vw, 403.45px);
        top: min(100%, 680px);
    }

    .trust-bar {
        max-width: 80%;
    }

    /* .trust-item:nth-child(3) {
        flex: 0 0 100%;
    } */
}

@media (max-width: 510px) {
    .ico {
        min-width: 130px;
        z-index: 1;
    }

    .ico-1 {
        min-width: 100px;
        display: none;
    }

    .ico-2 {
        width: 60px;
        display: none;
    }

    .ico-3 {
        display: none;
    }

    .ico-4 {
        width: 65px;
        display: none;
    }

    .ico-5 {
        top: 15%;
        right: min(8%, 403.45px);
        top: min(13%, 407px);
    }

    .ico-6 {
        width: max(132px, 35%);
        right: min(-12%, 403.45px);
        top: min(28%, 407px);
    }


    .ico-7 {
        width: max(132px, 22%);
        right: min(-9vw, 403.45px);
        top: min(100vh, 480px);
    }

    .ico-8 {
        width: max(132px, 30%);
        right: min(0vw, 403.45px);
        top: min(100vh, 680px);
    }

    .nav-actions a {
        font-size: 14px;
        padding: 13px 15px;
    }

    .info-row {
        gap: 30px
    }

    .info-block:nth-child(3) {
        flex: 0 0 100%;
    }

    /* .trust-item:nth-child(3) {
        flex: 0 0 100%;
    } */

    .ws-drip--top {
        height: 35px;

    }

    .ws-footer {
        height: 20px;
    }

    .prize-box .icon {
        margin-bottom: 0px;
        margin-top: 7px;
    }

    .prize-box .icon img {
        width: 75px;
    }

    .prize-box .prize-name {
        margin-bottom: .5rem;
    }

    .prize-box {
        padding: 1.5rem 1rem 0 1rem;
    }

    .submit-btn {
        margin-top: 0rem;
    }

    .popup {
        max-height: 96vh;
    }

    .popup-container {
        max-height: 96vh;
        overflow-y: auto;
    }
}