* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #ffffff;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 209, 102, 0.18), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(0, 245, 212, 0.14), transparent 28%),
        linear-gradient(135deg, #05070d 0%, #091221 45%, #03050a 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    width: min(1180px, calc(100% - 28px));
    margin: 18px auto 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(8, 17, 31, 0.72);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: sticky;
    top: 12px;
    z-index: 20;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    box-shadow: 0 12px 30px rgba(255, 159, 28, 0.32);
    font-size: 24px;
}

.brand strong {
    display: block;
    font-size: 17px;
    letter-spacing: -0.02em;
}

.brand span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #9fb0c9;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a,
.user-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbe7ff;
    font-size: 14px;
    font-weight: 800;
}

.nav .primary-mini {
    background: #ffd166;
    color: #111827;
}

.nav .ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.page {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 50px;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 34px;
}

.live-badge,
.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: #111827;
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 18px 0 14px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    max-width: 780px;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: #b8c7dc;
    font-size: 18px;
    line-height: 1.6;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-main,
.btn-soft {
    border-radius: 18px;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main {
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    color: #111827;
    box-shadow: 0 18px 40px rgba(255, 159, 28, 0.26);
}

.btn-soft {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 620px;
    gap: 12px;
}

.hero-stats div {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats b {
    display: block;
    font-size: 30px;
    color: #ffd166;
    margin-bottom: 3px;
}

.hero-stats span {
    color: #9fb0c9;
    font-size: 13px;
    font-weight: 800;
}

.hero-card {
    min-height: 520px;
    border-radius: 36px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        #08111f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wheel-preview {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
}

.pointer {
    position: absolute;
    top: 18px;
    width: 0;
    height: 0;
    z-index: 5;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 50px solid #ffd166;
    filter: drop-shadow(0 5px 6px rgba(0,0,0,.6));
}

.wheel-circle {
    width: min(340px, 78vw);
    height: min(340px, 78vw);
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 10px solid #ffd166;
    background:
        conic-gradient(
            #f94144 0deg 45deg,
            #f3722c 45deg 90deg,
            #f9c74f 90deg 135deg,
            #90be6d 135deg 180deg,
            #43aa8b 180deg 225deg,
            #577590 225deg 270deg,
            #9b5de5 270deg 315deg,
            #f15bb5 315deg 360deg
        );
    box-shadow:
        0 0 0 8px rgba(255, 209, 102, 0.14),
        0 0 60px rgba(255, 209, 102, 0.3);
}

.wheel-circle span {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #08111f;
    border: 7px solid #ffd166;
    color: #ffffff;
    font-weight: 950;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.preview-info {
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.preview-info strong {
    font-size: 20px;
}

.preview-info span {
    color: #9fb0c9;
}

.section {
    padding: 28px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.section-head h2,
.how-card h2,
.winner-card h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 12px 0 0;
    letter-spacing: -0.05em;
}

.section-head p {
    max-width: 480px;
    color: #9fb0c9;
    line-height: 1.6;
    margin: 0;
}

.creator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.creator-card,
.empty,
.how-card,
.winner-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045)),
        rgba(8, 17, 31, .88);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.creator-card {
    padding: 18px;
}

.creator-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #00f5d4, #00bbf9);
    color: #04111f;
    font-weight: 950;
    font-size: 24px;
    display: grid;
    place-items: center;
}

.creator-top h3 {
    margin: 0;
    font-size: 22px;
}

.creator-top span {
    display: block;
    color: #9fb0c9;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 800;
}

.creator-metrics {
    margin: 18px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.creator-metrics div {
    padding: 12px 8px;
    text-align: center;
    border-radius: 16px;
    background: rgba(0,0,0,.22);
}

.creator-metrics b {
    display: block;
    color: #ffd166;
    font-size: 21px;
}

.creator-metrics span {
    color: #9fb0c9;
    font-size: 11px;
    font-weight: 800;
}

.creator-link {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    color: #08111f;
    font-weight: 950;
}

.empty {
    padding: 34px;
    text-align: center;
}

.empty h3 {
    font-size: 28px;
    margin: 0 0 8px;
}

.empty p {
    color: #9fb0c9;
    margin-bottom: 20px;
}

.split-section {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
}

.how-card,
.winner-card {
    padding: 24px;
}

.steps {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.steps div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
}

.steps b {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #ffd166;
    color: #111827;
}

.steps span {
    font-weight: 850;
}

.winner-list {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.winner-row {
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.winner-row strong {
    display: block;
    font-size: 16px;
}

.winner-row span {
    color: #9fb0c9;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}

.winner-row em {
    color: #ffd166;
    font-style: normal;
    font-weight: 950;
    text-align: right;
}

.muted {
    color: #9fb0c9;
}

.footer {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto 24px;
    padding: 20px;
    border-radius: 22px;
    color: #9fb0c9;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

@media (max-width: 980px) {
    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 34px;
    }

    .hero-card {
        min-height: auto;
    }

    .creator-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        border-radius: 20px;
    }

    .nav {
        width: 100%;
        justify-content: flex-start;
    }

    .nav a,
    .user-pill {
        padding: 9px 12px;
        font-size: 13px;
    }

    .page {
        padding-top: 18px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .btn-main,
    .btn-soft {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .creator-grid {
        grid-template-columns: 1fr;
    }

    .creator-metrics {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .winner-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .winner-row em {
        text-align: left;
    }

    .footer {
        flex-direction: column;
    }
}