* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 209, 102, .16), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(0, 245, 212, .12), transparent 28%),
        linear-gradient(135deg, #04070d, #081221 55%, #03050a);
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    width: min(1180px, calc(100% - 28px));
    margin: 18px auto 0;
    padding: 14px 16px;
    border-radius: 24px;
    background: rgba(8, 17, 31, .76);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: sticky;
    top: 12px;
    z-index: 10;
}

.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);
    font-size: 24px;
}

.brand strong {
    display: block;
    font-size: 17px;
}

.brand span {
    color: #9fb0c9;
    font-size: 12px;
}

.nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav a,
.user-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #dbe7ff;
    font-size: 14px;
    font-weight: 900;
}

.nav .primary-mini {
    background: #ffd166;
    color: #111827;
}

.page {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 34px 0 50px;
}

.creator-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 34px;
}

.creator-info,
.creator-stats,
.empty,
.wheel-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: 30px;
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.creator-info {
    padding: 28px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.avatar {
    width: 92px;
    height: 92px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00f5d4, #00bbf9);
    color: #04111f;
    font-size: 42px;
    font-weight: 950;
    flex: 0 0 auto;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    color: #111827;
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .08em;
}

.creator-info h1 {
    margin: 14px 0 8px;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .95;
    letter-spacing: -.07em;
}

.creator-info p {
    margin: 0;
    color: #b8c7dc;
    font-size: 17px;
    line-height: 1.6;
}

.creator-stats {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.creator-stats div {
    border-radius: 20px;
    padding: 16px;
    background: rgba(0,0,0,.22);
}

.creator-stats b {
    display: block;
    color: #ffd166;
    font-size: 32px;
}

.creator-stats span {
    color: #9fb0c9;
    font-size: 13px;
    font-weight: 850;
}

.section-head {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    letter-spacing: -.06em;
}

.section-head p {
    margin: 0;
    max-width: 460px;
    color: #9fb0c9;
    line-height: 1.6;
}

.wheel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.wheel-card {
    overflow: hidden;
}

.prize-media {
    height: 220px;
    position: relative;
    background: #08111f;
    overflow: hidden;
}

.prize-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prize-media.no-photo {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle, rgba(255,209,102,.25), transparent 55%),
        linear-gradient(135deg, #111827, #07111f);
}

.wheel-art {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 54px;
    background: conic-gradient(#f94144, #f9c74f, #43aa8b, #577590, #9b5de5, #f94144);
    box-shadow: 0 0 45px rgba(255,209,102,.25);
}

.status-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,.68);
    border: 1px solid rgba(255,255,255,.18);
    color: #ffd166;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

.wheel-body {
    padding: 18px;
}

.entry-pill {
    display: inline-flex;
    width: fit-content;
    background: rgba(255, 209, 102, .14);
    color: #ffd166;
    border: 1px solid rgba(255, 209, 102, .3);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 950;
}

.wheel-body h3 {
    margin: 14px 0 8px;
    font-size: 24px;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.wheel-body p {
    margin: 0 0 14px;
    color: #9fb0c9;
    line-height: 1.5;
}

.prize-box {
    margin: 14px 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.07);
}

.prize-box span {
    display: block;
    color: #9fb0c9;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

.prize-box strong {
    display: block;
    color: #fff;
    font-size: 19px;
}

.item-desc {
    margin-top: -4px;
    margin-bottom: 14px;
    color: #b8c7dc;
    font-size: 14px;
    line-height: 1.5;
}

.wheel-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 14px 0;
}

.wheel-metrics div {
    padding: 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.22);
    text-align: center;
}

.wheel-metrics b {
    display: block;
    color: #ffd166;
    font-size: 20px;
}

.wheel-metrics span {
    color: #9fb0c9;
    font-size: 12px;
    font-weight: 850;
}

.join-link,
.btn-main {
    display: block;
    width: 100%;
    text-align: center;
    border-radius: 17px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    color: #111827;
    font-weight: 950;
}

.empty {
    padding: 34px;
    text-align: center;
}

.empty h3 {
    margin: 0 0 8px;
    font-size: 28px;
}

.empty p {
    margin: 0 0 18px;
    color: #9fb0c9;
}

.footer {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto 24px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: #9fb0c9;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.footer a {
    color: #ffd166;
    font-weight: 900;
}

@media (max-width: 980px) {
    .creator-hero {
        grid-template-columns: 1fr;
    }

    .creator-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .wheel-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%;
    }

    .creator-info {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px;
    }

    .avatar {
        width: 76px;
        height: 76px;
        border-radius: 24px;
        font-size: 34px;
    }

    .creator-info h1 {
        font-size: 46px;
    }

    .creator-stats {
        grid-template-columns: 1fr;
    }

    .wheel-grid {
        grid-template-columns: 1fr;
    }

    .footer {
        flex-direction: column;
    }
}