:root {
    --bg-a: #0c1524;
    --bg-b: #1b2a44;
    --accent: #ffd166;
    --accent-2: #ef476f;
    --text: #f5f7ff;
    --wood-dark: #3a2310;
    --wood-mid: #6e4320;
    --brass-dark: #7b551b;
    --brass-mid: #be8c3a;
    --brass-light: #f0c56b;
}

.page-wheel-stage .panel h1 {
    width: min(100%, 713px);
    max-width: 713px;
    margin: 0 auto 24px;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 55px;
    font-size: 55px;
    line-height: 55px;
    text-align: center;
    text-transform: uppercase;
    color: #FBF5F6;
    letter-spacing: 0;
}

.page-wheel-stage .panel .subtitle:not(.small-link) {
    width: min(100%, 685px);
    max-width: 685px;
    margin: 0 auto 18px;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    text-transform: uppercase;
    color: #FBF5F6;
    letter-spacing: 0;
}

.page-wheel-stage .panel .subtitle::first-line {
    color: inherit;
}

@media (max-width: 640px) {
    .page-wheel-stage .panel h1 {
        width: min(100%, 293px);
        max-width: 293px;
        margin-bottom: 18px;
        font-size: 28px;
        line-height: 29px;
    }

    .page-wheel-stage .panel .subtitle {
        width: min(100%, 313px);
        max-width: 313px;
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 19px;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    color: var(--text);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 20% 10%, #274d7a 0%, var(--bg-a) 45%, #050b13 100%);
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}

.panel {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

h1 {
    margin: 0 0 8px;
    font-size: 2rem;
}

.subtitle {
    margin: 0 0 18px;
    opacity: 0.88;
}

.small-link {
    margin-top: -6px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.small-link a {
    color: #99e7ff;
}

.form {
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 6px;
    font-size: 0.95rem;
}

.form-error-summary,
.form-field-error {
    display: none;
    margin: 0;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 11px;
    line-height: 1.2;
    color: #ea5158;
}

.form-error-summary.is-visible {
    display: block;
}

.form-field-wrap.has-field-error .form-field-error {
    display: block;
}

.form-field-wrap.has-field-error input:not([type="checkbox"]),
.form-field-wrap.has-field-error textarea,
.form-field-wrap.has-field-error select {
    border-color: #ea5158 !important;
}

.form-consent.has-field-error {
    position: relative;
}

.form-consent.has-field-error .form-field-error {
    display: block;
    order: -1;
    width: 100%;
    margin-bottom: 2px;
}

input:not([type="checkbox"]) {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.25);
    color: var(--text);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.35;
}

.form-consent input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: #ffd166;
}

.form-consent a {
    color: #99e7ff;
}

button {
    border: 0;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(145deg, var(--accent), #ffbc42);
    color: #3d2b00;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spin-btn {
    width: 100%;
    background: linear-gradient(145deg, #2ec4b6, #00b5d8);
    color: #082b2f;
}

.goal-center .spin-btn {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    padding: 0;
    font-size: 1rem;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.35);
}

.no-code-btn {
    width: fit-content;
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #bfefff;
    border: 1px solid rgba(153, 231, 255, 0.35);
    justify-self: start;
}

.debug-link-btn {
    width: auto;
    justify-self: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #99e7ff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
}

.debug-link-btn:hover {
    color: #b6efff;
}

.reroll-btn {
    width: 100%;
    background: linear-gradient(145deg, #ffb86b, #ff8f3f);
    color: #4a2500;
}

.accept-btn {
    width: 100%;
    background: linear-gradient(145deg, #ffd166, #ffb703);
    color: #4a2f00;
}

.status {
    min-height: 24px;
    margin-top: 10px;
    font-weight: 600;
}

.recaptcha-disclaimer {
    margin: 10px 0 0;
    font-size: 0.78rem;
    opacity: 0.9;
}

.recaptcha-disclaimer a {
    color: #99e7ff;
}

.turnstile-widget-shell {
    position: fixed;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.wheel-zone {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.wheel-wrap {
    position: relative;
    width: 560px;
    height: 560px;
    perspective: 800px;
}

.wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 14px solid var(--brass-mid);
    box-shadow:
        0 26px 46px rgba(0, 0, 0, 0.55),
        inset 0 0 0 6px #d8ab57,
        inset 0 0 0 14px #5a3418,
        inset 0 12px 24px rgba(255, 220, 146, 0.18);
    background: conic-gradient(
        #6a3a1d 0deg 60deg,
        #8f5830 60deg 120deg,
        #7b4a27 120deg 180deg,
        #9d6437 180deg 240deg,
        #744321 240deg 300deg,
        #8a5330 300deg 360deg
    );
    transform: rotate(0deg) translateZ(0);
    transition: transform 4.2s cubic-bezier(0.12, 0.8, 0.2, 1);
    overflow: visible;
}

.wheel::before {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 228, 170, 0.45);
    pointer-events: none;
}

.wheel::after {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 240, 205, 0.12), rgba(255, 240, 205, 0) 58%),
        radial-gradient(circle at 50% 100%, rgba(90, 52, 26, 0.28), rgba(90, 52, 26, 0) 42%);
    z-index: 3;
}

.segment-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    pointer-events: none;
    z-index: 6;
}

.segment-label span {
    display: inline-block;
    font-size: 0.58rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffefcf;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.95);
}

.segment-label span.flip {
    transform: rotate(180deg);
}

.segment-light {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 42% 38%, rgba(255, 227, 158, 0.35) 0%, rgba(142, 89, 36, 0.55) 58%, rgba(61, 35, 14, 0.75) 100%);
    border: 1px solid rgba(255, 220, 150, 0.2);
    box-shadow:
        inset 0 -1px 2px rgba(0, 0, 0, 0.42),
        0 0 0 3px rgba(255, 205, 115, 0.04);
    pointer-events: none;
    transition: background 0.08s ease, box-shadow 0.08s ease, transform 0.08s ease, filter 0.08s ease;
    z-index: 2;
    filter: blur(0.2px);
}

.segment-light.is-active {
    background: radial-gradient(circle at 40% 35%, #fff7d7 0%, #ffe2a1 38%, #dc993e 70%, #7c4716 100%);
    box-shadow:
        0 0 10px rgba(255, 216, 118, 0.9),
        0 0 24px rgba(255, 176, 76, 0.7),
        0 0 36px rgba(255, 176, 76, 0.34),
        inset 0 -1px 2px rgba(104, 54, 10, 0.35);
    transform: scale(1.12);
    filter: blur(0);
}

.wheel.celebrate-all-lights .segment-light {
    background: radial-gradient(circle at 40% 35%, #fff7d7 0%, #ffe2a1 38%, #dc993e 70%, #7c4716 100%);
    box-shadow:
        0 0 12px rgba(255, 216, 118, 1),
        0 0 28px rgba(255, 176, 76, 0.8),
        0 0 42px rgba(255, 176, 76, 0.42),
        inset 0 -1px 2px rgba(104, 54, 10, 0.35);
    transform: translate(-50%, -50%) scale(1.16);
    filter: blur(0);
}

.wheel-stud {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f7dfae 0%, #c49042 46%, #835521 74%, #4b2f12 100%);
    border: 1px solid rgba(255, 226, 170, 0.45);
    box-shadow:
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.38);
    pointer-events: none;
    z-index: 9;
}

.goal-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 118px;
    height: 118px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, #f8d48c 0%, #c7923e 30%, #80541f 68%, #41240f 100%);
    border: 6px solid #e7b45d;
    box-shadow:
        0 0 0 3px rgba(58, 34, 15, 0.85),
        inset 0 10px 16px rgba(255, 241, 190, 0.25),
        0 10px 18px rgba(0, 0, 0, 0.45);
}

.goal-center.is-hit {
    animation: goalHit 0.28s ease-out;
}

@keyframes goalHit {
    0% {
        box-shadow:
            0 0 0 3px rgba(58, 34, 15, 0.85),
            inset 0 10px 16px rgba(255, 241, 190, 0.25),
            0 10px 18px rgba(0, 0, 0, 0.45);
    }
    60% {
        box-shadow:
            0 0 0 3px rgba(58, 34, 15, 0.85),
            inset 0 10px 16px rgba(255, 241, 190, 0.25),
            0 0 30px rgba(255, 204, 100, 0.85),
            0 0 60px rgba(255, 174, 74, 0.45);
    }
    100% {
        box-shadow:
            0 0 0 3px rgba(58, 34, 15, 0.85),
            inset 0 10px 16px rgba(255, 241, 190, 0.25),
            0 10px 18px rgba(0, 0, 0, 0.45);
    }
}

.pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: 50% 8px;
    width: 0;
    height: 0;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.45));
    z-index: 14;
}

.pointer.swing-right {
    animation: pointerSwingRight var(--pointer-swing-duration, 110ms) cubic-bezier(0.22, 0.7, 0.18, 1);
}

.pointer.swing-left {
    animation: pointerSwingLeft var(--pointer-swing-duration, 110ms) cubic-bezier(0.22, 0.7, 0.18, 1);
}

@keyframes pointerSwingRight {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    40% {
        transform: translateX(-50%) rotate(8deg);
    }
    100% {
        transform: translateX(-50%) rotate(0deg);
    }
}

@keyframes pointerSwingLeft {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    40% {
        transform: translateX(-50%) rotate(-8deg);
    }
    100% {
        transform: translateX(-50%) rotate(0deg);
    }
}

.wheel-actions {
    width: min(100%, 560px);
    display: grid;
    gap: 8px;
}

.big-winner-overlay {
    position: fixed;
    inset: 18px 0 42px;
    z-index: 120;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.big-winner-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.big-winner-overlay.with-claim .big-winner-banner {
    display: none;
}

.big-winner-fireworks {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.22), rgba(4, 10, 20, 0.5));
    overflow: hidden;
}

.big-winner-fireworks::before {
    content: none;
}

.big-winner-fireworks::after {
    content: none;
}

.winner-confetti {
    position: absolute;
    top: -10vh;
    width: 8px;
    height: 16px;
    border-radius: 2px;
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 230, 183, 0.36);
    animation: winnerConfettiFall var(--fall-duration, 2800ms) linear forwards;
}

@keyframes winnerConfettiFall {
    0% {
        transform: translate3d(0, -12vh, 0) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--drift, 0px), 110vh, 0) rotate(var(--spin, 560deg));
        opacity: 0.95;
    }
}

.big-winner-banner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(90vw, 393px);
    max-height: calc(100vh - 136px);
    overflow: auto;
    transform: translate(-50%, -50%);
    border-radius: 0;
    padding: 20px 18px 28px;
    text-align: center;
    border: 1px solid #ed8b00;
    background:
        radial-gradient(circle at 50% 68%, rgba(249, 184, 37, 0.16) 0%, rgba(186, 89, 13, 0.1) 24%, rgba(0, 0, 0, 0) 58%),
        rgba(0, 0, 0, 0.93);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    animation: winnerBannerPop 0.35s ease-out;
}

.big-winner-close-btn {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.popup-brand-wrap {
    display: grid;
    justify-items: center;
    margin: 4px 0 14px;
}

.popup-brand-logo {
    display: block;
    width: min(100%, 46px);
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.24));
}

.big-winner-kicker {
    margin: 12px 0 10px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    color: #fbc822;
    text-shadow: 0 2px 0 #8e4700;
}

.big-winner-logo {
    display: block;
    width: min(100%, 238px);
    margin: 0 auto 12px;
}

.big-winner-prize {
    width: min(100%, 313px);
    margin: 0 auto 16px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
}

.big-winner-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 18px;
    background: linear-gradient(90deg, rgba(255, 236, 161, 0) 0%, #FFECA1 12%, #ED8B00 50%, #FFECA1 88%, rgba(255, 236, 161, 0) 100%);
}

.big-winner-contact {
    width: min(100%, 313px);
    margin: 0 auto;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    white-space: pre-line;
    text-transform: uppercase;
    color: #fff8b2;
    opacity: 1;
}

@keyframes winnerBannerPop {
    0% {
        transform: translate(-50%, -50%) scale(0.86);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.reward-celebration {
    position: fixed;
    inset: 18px 0 42px;
    z-index: 110;
    display: grid;
    place-items: center;
    padding: 12px 16px 18px;
    background: rgba(0, 0, 0, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.reward-celebration.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.reward-celebration-card {
    position: relative;
    width: min(90vw, 353px);
    max-height: calc(100vh - 132px);
    overflow: auto;
    border: 1px solid #ed8b00;
    border-radius: 0;
    padding: 24px 19px 30px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 68%, rgba(249, 184, 37, 0.22) 0%, rgba(186, 89, 13, 0.14) 24%, rgba(0, 0, 0, 0) 56%),
        rgba(0, 0, 0, 0.93);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    animation: rewardCardIn 0.28s ease-out;
}

.reward-celebration-close-btn {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.reward-celebration-kicker {
    width: min(100%, 313px);
    margin: 14px auto 14px;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 19px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    color: #fff8b2;
}

.reward-celebration-prize-image {
    display: block;
    width: min(100%, 314px);
    max-height: 219px;
    object-fit: contain;
    margin: 0 auto 10px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.reward-celebration-divider {
    width: 100%;
    height: 1px;
    margin: 0 0 14px;
    background: linear-gradient(90deg, rgba(255, 236, 161, 0) 0%, #FFECA1 12%, #ED8B00 50%, #FFECA1 88%, rgba(255, 236, 161, 0) 100%);
}

.reward-celebration-title {
    width: min(100%, 313px);
    margin: 0 auto 4px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.reward-celebration-details {
    width: min(100%, 313px);
    margin: 0 auto 16px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    color: #fff1cf;
    text-transform: uppercase;
}

.reward-celebration-cta {
    display: flex;
    width: min(100%, 294px);
    min-height: 53px;
    padding: 14px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    text-decoration: none;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.reward-celebration-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.reward-celebration-code {
    display: none;
}

.reward-celebration-qr {
    display: none !important;
}

.reward-celebration-qr-image {
    display: none;
}

.multi-spin-result-modal,
.multi-spin-selection-modal {
    position: fixed;
    inset: 18px 0 42px;
    z-index: 125;
    display: grid;
    place-items: center;
    padding: 12px 16px 18px;
    background: rgba(0, 0, 0, 0.56);
}

.multi-spin-result-modal.hidden,
.multi-spin-selection-modal.hidden {
    display: none !important;
}

.multi-spin-result-card,
.multi-spin-selection-card {
    position: relative;
    width: min(90vw, 353px);
    max-height: calc(100vh - 132px);
    overflow: auto;
    border: 1px solid #ed8b00;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 68%, rgba(249, 184, 37, 0.22) 0%, rgba(186, 89, 13, 0.14) 24%, rgba(0, 0, 0, 0) 56%),
        rgba(0, 0, 0, 0.93);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.multi-spin-result-card {
    padding: 20px 19px 24px;
    text-align: center;
}

.multi-spin-selection-card {
    padding: 20px 14px 18px;
    text-align: center;
}

.multi-spin-selection-card .multi-spin-close-btn {
    display: none;
}

.multi-spin-close-btn {
    position: absolute;
    top: 10px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.multi-spin-result-kicker,
.multi-spin-selection-kicker {
    width: min(100%, 313px);
    margin: 12px auto 8px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
    color: #fff8b2;
}

.multi-spin-result-title,
.multi-spin-selection-title {
    width: min(100%, 313px);
    margin: 0 auto 10px;
    text-align: center;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.multi-spin-result-details {
    width: min(100%, 313px);
    margin: 0 auto 8px;
    text-align: center;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    color: #fff1cf;
    text-transform: uppercase;
}

.multi-spin-result-image {
    display: block;
    width: min(100%, 312px);
    max-height: 250px;
    object-fit: contain;
    margin: 10px auto 10px;
    background: transparent;
}

.multi-spin-result-divider,
.multi-spin-selection-item::before {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 236, 161, 0) 0%, #FFECA1 12%, #ED8B00 50%, #FFECA1 88%, rgba(255, 236, 161, 0) 100%);
}

.multi-spin-result-divider {
    margin: 8px 0 16px;
}

.multi-spin-result-instructions {
    width: min(100%, 313px);
    margin: 0 auto 18px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
    color: #fff8b2;
}

.multi-spin-result-actions {
    display: grid;
    gap: 12px;
}

.multi-spin-primary-btn,
.multi-spin-secondary-btn {
    width: 100%;
    min-height: 45px;
    border: 1px solid #a76700;
    border-radius: 3px;
    padding: 12px 14px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 18px;
    line-height: 21px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.multi-spin-primary-btn {
    background: linear-gradient(180deg, #fee666 0.07%, #feb843 10.05%, #fea736 20.04%, #fdee80 40.01%, #fce468 50%, #fbd84b 59.99%, #fbc822 69.97%, #e17f02 99.93%);
    color: #2f2100;
}

.multi-spin-secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.72);
}

.multi-spin-primary-btn:hover,
.multi-spin-secondary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 7px 18px rgba(251, 200, 34, 0.22);
}

.multi-spin-selection-logo {
    display: block;
    width: min(100%, 238px);
    margin: 0 auto 10px;
}

.multi-spin-selection-title {
    margin-bottom: 18px;
}

.multi-spin-selection-list {
    display: grid;
    gap: 18px;
}

.multi-spin-selection-item {
    position: relative;
    padding-top: 18px;
}

.multi-spin-selection-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
}

.multi-spin-selection-item:first-child::before {
    top: -2px;
}

.multi-spin-selection-item-image-wrap {
    min-height: 180px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.multi-spin-selection-item-image {
    display: block;
    width: min(100%, 230px);
    max-height: 180px;
    object-fit: contain;
}

.multi-spin-selection-item-title {
    width: min(100%, 260px);
    margin: 0 auto 4px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.multi-spin-selection-item-details {
    width: min(100%, 270px);
    margin: 0 auto 14px;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    color: #fff1cf;
    text-transform: uppercase;
}

@keyframes rewardCardIn {
    0% {
        transform: translateY(16px) scale(0.96);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@media (max-width: 520px) {
    .popup-brand-logo {
        width: min(100%, 230px);
    }

    .reward-celebration {
        padding: 18px 10px 44px;
    }

    .reward-celebration-card {
        width: min(100%, 372px);
        max-height: calc(100svh - 88px);
        padding: 20px 16px 28px;
    }
}

.attempts-box {
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.28);
}

.attempts-title {
    margin: 0 0 8px;
    font-size: 1rem;
}

.attempts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.attempt-item {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    display: grid;
    gap: 8px;
}

.attempt-title {
    margin: 0;
    font-weight: 700;
    font-size: 0.92rem;
}

.attempt-tier {
    font-weight: 600;
    opacity: 0.88;
}

.attempt-details {
    margin: 5px 0 0;
    font-size: 0.83rem;
    opacity: 0.88;
}

.attempt-action {
    display: flex;
    justify-content: flex-start;
}

.attempt-pending {
    font-size: 0.8rem;
    opacity: 0.84;
}

.claim-btn {
    width: 100%;
    background: linear-gradient(145deg, #ffd166, #ffb703);
    color: #4a2f00;
}

.fine-print {
    margin: 2px 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
    text-align: center;
}

.hidden {
    display: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.site-footer {
    padding: 10px 24px 22px;
    text-align: center;
    font-size: 0.92rem;
}

.site-footer a {
    color: #99e7ff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.share-modal,
.claim-modal {
    position: fixed;
    inset: 18px 0 42px;
    z-index: 130;
    display: grid;
    place-items: center;
    padding: 12px 16px 18px;
    background: rgba(4, 10, 20, 0.72);
}

.share-modal.hidden,
.claim-modal.hidden {
    display: none !important;
}

.share-modal {
    background: rgba(0, 0, 0, 0.56);
}

.share-modal-card,
.claim-modal-card {
    width: min(94vw, 520px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(150deg, rgba(30, 19, 12, 0.96), rgba(15, 9, 6, 0.96));
    padding: 16px;
    position: relative;
}

.claim-modal {
    background: rgba(0, 0, 0, 0.56);
}

.share-modal-card {
    width: min(92vw, 760px);
    max-height: min(86vh, 792px);
    overflow: auto;
    border-radius: 0;
    border: 1px solid #ed8b00;
    background:
        radial-gradient(circle at 50% 68%, rgba(249, 184, 37, 0.22) 0%, rgba(186, 89, 13, 0.14) 24%, rgba(0, 0, 0, 0) 56%),
        rgba(0, 0, 0, 0.93);
    padding: 28px 28px 30px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.claim-modal-card {
    width: min(90vw, 353px);
    max-height: calc(100vh - 132px);
    overflow: auto;
    border-radius: 0;
    border: 1px solid #ed8b00;
    background:
        radial-gradient(circle at 50% 68%, rgba(249, 184, 37, 0.22) 0%, rgba(186, 89, 13, 0.14) 24%, rgba(0, 0, 0, 0) 56%),
        rgba(0, 0, 0, 0.93);
    padding: 20px 19px 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

.claim-reward-preview {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    animation: claimRewardPreviewIn 0.42s ease;
    transform-origin: center top;
}

.claim-reward-preview.is-animate {
    animation: claimRewardPreviewIn 0.42s ease;
}

.claim-reward-kicker {
    width: min(100%, 240px);
    margin: 12px auto 8px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
    color: #fff8b2;
}

.claim-big-winner-logo {
    display: none;
    width: min(100%, 238px);
    margin: 0 auto 12px;
}

.claim-reward-image {
    display: block;
    width: min(100%, 312px);
    max-height: 250px;
    object-fit: contain;
    margin: 10px auto 10px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.claim-reward-title {
    width: min(100%, 313px);
    margin: 0 auto 5px;
    text-align: center;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 21px;
    line-height: 22px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
}

.claim-reward-preview.is-big-winner .claim-reward-kicker {
    margin-top: 10px;
    width: auto;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 32px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    color: #fbc822;
    text-shadow: 0 2px 0 #8e4700;
}

.claim-reward-preview.is-big-winner .claim-big-winner-logo {
    display: block;
}

.claim-modal.is-big-winner {
    background: rgba(0, 0, 0, 0.18);
}

.claim-modal.is-big-winner .claim-modal-card {
    width: min(90vw, 393px);
    max-height: calc(100vh - 136px);
}

.claim-reward-preview.is-big-winner .claim-reward-title {
    margin-bottom: 18px;
}

.claim-reward-details {
    width: min(100%, 313px);
    margin: 0 auto 8px;
    text-align: center;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
    color: #fff1cf;
    text-transform: uppercase;
}

.claim-reward-divider {
    width: 100%;
    height: 1px;
    margin: 8px 0 16px;
    background: linear-gradient(90deg, rgba(255, 236, 161, 0) 0%, #FFECA1 12%, #ED8B00 50%, #FFECA1 88%, rgba(255, 236, 161, 0) 100%);
}

.claim-reward-preview.is-big-winner .claim-reward-divider {
    margin: 0 0 18px;
}

.claim-reward-instructions {
    width: min(100%, 313px);
    margin: 0 auto 15px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    text-transform: uppercase;
    color: #fff8b2;
}

.claim-reward-preview.is-big-winner .claim-reward-instructions {
    margin-bottom: 20px;
}

@keyframes claimRewardPreviewIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    55% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-close-btn,
.claim-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    padding: 6px 12px;
}

.share-close-btn {
    top: 10px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.share-close-btn:hover {
    transform: scale(1.04);
    color: #fff6cf;
}

.claim-close-btn {
    top: 10px;
    right: 11px;
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    box-shadow: none;
}

.claim-close-btn:hover {
    transform: scale(1.04);
    color: #fff6cf;
}

.share-modal-kicker {
    width: min(100%, 313px);
    margin: 0 auto 10px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 25px;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff8b2;
}

.share-modal-title {
    margin: 0 auto 18px;
    max-width: 290px;
    text-align: center;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: clamp(1.2rem, 2.2vw, 1.38rem);
    line-height: 1.18;
    font-weight: 700;
    color: #ffffff;
}

.claim-field-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.share-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 18px;
    margin-top: 18px;
}

.share-progress {
    margin-top: 0;
    width: min(100%, 640px);
    margin-left: auto;
    margin-right: auto;
}

.share-progress-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
    margin-bottom: 12px;
}

.share-progress-step {
    position: relative;
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    background-image: url("/assets/centre.png");
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: grayscale(1) brightness(0.28) contrast(0.9);
    opacity: 0.95;
    transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.share-progress-step::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 6.5px);
    width: 25px;
    height: 2px;
    transform: translateY(-50%);
    background: rgba(94, 94, 100, 0.9);
}

.share-progress-step:last-child::after {
    display: none;
}

.share-progress-step.is-complete::after {
    background: linear-gradient(90deg, #FFECA1 0%, #ED8B00 100%);
}

.share-progress-step.is-complete {
    background-image: url("/assets/centre.png");
    filter: none;
    opacity: 1;
    transform: scale(1.02);
}

.share-progress-text {
    margin: 0;
    width: min(100%, 640px);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.25;
    color: #ffefb7;
}

.share-link-btn {
    width: 100%;
    min-height: 45px;
    border: 1px solid #a76700;
    border-radius: 3px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #fee666 0.07%, #feb843 10.05%, #fea736 20.04%, #fdee80 40.01%, #fce468 50%, #fbd84b 59.99%, #fbc822 69.97%, #e17f02 99.93%);
    color: #2f2100;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: clamp(0.9rem, 1.8vw, 0.95rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-align: center;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.share-link-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 7px 18px rgba(251, 200, 34, 0.22);
}

.share-link-btn.is-complete,
.share-link-btn.is-disabled-state,
.share-link-btn:disabled {
    border-color: #a8a8a8;
    background: linear-gradient(180deg, #c7c7c7 0%, #f4f4f4 100%);
    color: rgba(109, 109, 109, 0.94);
    box-shadow: none;
    filter: none;
}

.share-link-btn.is-complete:hover,
.share-link-btn.is-disabled-state:hover,
.share-link-btn:disabled:hover {
    transform: none;
}

.share-status {
    display: none;
}

.share-status:empty {
    display: none;
}

@media (min-width: 521px) {
    .share-progress-text {
        text-align: center;
    }
}

.claim-modal-card .form {
    gap: 20px;
}

.claim-modal-card .form label {
    color: rgba(255, 243, 197, 0.92);
    font-size: 0.88rem;
}

.claim-modal-card .form input:not([type="checkbox"]) {
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 0;
    background: rgba(34, 34, 34, 0.12);
    text-transform: uppercase;
    color: #ffffff;
    padding: 15px;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: normal;
    font-weight: 400;
}

.claim-modal-card .form input:not([type="checkbox"])::placeholder {
    color: rgba(255, 255, 255, 0.62);
}

.claim-modal-card .form-consent {
    margin-top: -8px;
    gap: 6px;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    font-size: 10px;
    line-height: normal;
    letter-spacing: -0.16px;
    color: rgba(255, 255, 255, 0.88);
}

.claim-modal-card .form-consent input[type="checkbox"] {
    width: 12px;
    height: 12px;
    margin-top: 0;
    accent-color: #ffd166;
}

.claim-modal-card .form-consent a {
    color: #ffffff;
    text-decoration: underline;
}

.claim-modal-card #claim-submit-btn {
    width: 100%;
    min-height: 45px;
    border: 1px solid #a76700;
    border-radius: 3px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #fee666 0.07%, #feb843 10.05%, #fea736 20.04%, #fdee80 40.01%, #fce468 50%, #fbd84b 59.99%, #fbc822 69.97%, #e17f02 99.93%);
    color: #2f2100;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 18px;
    line-height: 21px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.claim-modal-card #claim-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 7px 18px rgba(251, 200, 34, 0.22);
}

@media (max-width: 520px) {
    .share-modal {
        inset: 14px 0 42px;
        padding: 10px 10px 12px;
    }

    .share-modal-card {
        width: min(95vw, 372px);
        padding: 26px 20px 24px;
    }

    .share-modal-title {
        max-width: 280px;
        margin-bottom: 16px;
        font-size: 1.1rem;
    }

    .share-progress-track {
        gap: 30px;
    }

    .share-progress-step::after {
        left: calc(100% + 2.5px);
        width: 25px;
    }

    .share-links {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
    }

    .share-progress,
    .share-progress-text {
        width: 100%;
    }

    .share-link-btn {
        min-height: 49px;
        font-size: 0.92rem;
    }

    .claim-modal {
        inset: 14px 0 42px;
        padding: 10px 10px 12px;
    }

    .claim-modal-card {
        width: min(100%, 372px);
        max-height: calc(100svh - 88px);
        padding: 18px 16px 28px;
    }

    .claim-reward-title {
        max-width: 313px;
        font-size: 21px;
        line-height: 22px;
    }

    .claim-reward-image {
        width: min(100%, 290px);
        max-height: 232px;
    }

    .claim-reward-instructions {
        max-width: 313px;
        margin-bottom: 16px;
    }

    .claim-modal-card .form {
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .multi-spin-result-modal,
    .multi-spin-selection-modal {
        inset: 14px 0 42px;
        padding: 10px 10px 12px;
    }

    .multi-spin-result-card,
    .multi-spin-selection-card {
        width: min(100%, 372px);
        max-height: calc(100svh - 88px);
    }

    .multi-spin-result-card {
        padding: 20px 16px 28px;
    }

    .multi-spin-selection-card {
        padding: 20px 12px 22px;
    }
}

.global-loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: rgba(4, 10, 20, 0.62);
}

.global-loader.hidden {
    display: none !important;
}

.global-loader-card {
    min-width: 180px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(18, 12, 9, 0.94);
    padding: 14px 16px;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.global-loader-spinner {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.28);
    border-top-color: #ffd166;
    animation: loaderSpin 0.8s linear infinite;
}

.global-loader-text {
    margin: 0;
    font-size: 0.86rem;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.spin-btn.ready-to-spin {
    box-shadow:
        0 0 0 3px rgba(255, 220, 120, 0.36),
        0 0 22px rgba(255, 198, 92, 0.52);
}

.terms-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 28px 24px;
}

.terms-card {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 20px;
}

.terms-hero,
.terms-brand {
    display: grid;
    justify-items: center;
}

.terms-hero {
    margin: 0 0 18px;
}

.terms-hero-logo {
    display: block;
    width: min(100%, 240px);
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.32));
}

.terms-brand {
    margin: 28px 0 0;
}

.terms-brand-logo {
    display: block;
    width: min(100%, 180px);
    height: auto;
}

.terms-card a {
    color: #99e7ff;
}

@media (max-width: 520px) {
    .wheel-wrap {
        width: min(92vw, 430px);
        aspect-ratio: 660 / 669;
        height: auto;
    }

    .wheel-actions {
        width: min(92vw, 430px);
    }

    .goal-center {
        width: 98px;
        height: 98px;
    }
}

@media (min-width: 900px) {
    .page {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Figma-inspired visual styling with original form/wheel flow */
:root {
    --fig-dark: #222222;
    --fig-base-white: #fbf5f6;
    --fig-yellow: #fff266;
    --fig-yellow-soft: #fffabb;
    --fig-yellow-20: #fffbcc;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    color: var(--fig-base-white);
    background:
        linear-gradient(90deg, rgba(34, 34, 34, 0.2) 0%, rgba(34, 34, 34, 0.68) 100%),
        linear-gradient(180deg, rgba(34, 34, 34, 0.15) 0%, rgba(34, 34, 34, 0.65) 100%),
        url("/assets/figma-local/page-background.svg") center center / cover no-repeat fixed;
}

.page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 26px;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
    align-items: start;
}

.panel {
    background: rgba(34, 34, 34, 0.72);
    border: 1px solid rgba(255, 251, 204, 0.35);
    border-radius: 0;
    padding: 24px 22px 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.brand-logo-wrap {
    margin: 0 0 14px;
    display: flex;
    justify-content: flex-start;
}

.brand-logo {
    display: block;
    width: min(230px, 82%);
    height: auto;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
}

h1 {
    margin: 0 0 8px;
    font-family: "Roboto Flex", "Roboto", sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--fig-yellow-20);
    font-size: clamp(1.45rem, 1.8vw, 2rem);
}

.subtitle {
    margin: 0 0 16px;
    color: var(--fig-base-white);
    opacity: 0.95;
}

.small-link {
    font-size: 0.86rem;
}

.small-link a {
    color: var(--fig-base-white);
    text-decoration: underline;
}

.form {
    display: grid;
    gap: 12px;
}

label {
    display: grid;
    gap: 6px;
    color: var(--fig-yellow-20);
    font-size: 0.9rem;
}

input:not([type="checkbox"]) {
    width: 100%;
    height: 50px;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(34, 34, 34, 0.44);
    color: var(--fig-base-white);
    padding: 10px 12px;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
}

input:not([type="checkbox"])::placeholder {
    color: rgba(251, 245, 246, 0.65);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--fig-base-white);
}

.form-consent input[type="checkbox"] {
    margin-top: 1px;
    width: 14px;
    height: 14px;
    accent-color: var(--fig-yellow-soft);
}

.form-consent a {
    color: var(--fig-base-white);
    text-decoration: underline;
}

.status {
    min-height: 24px;
    margin-top: 10px;
    font-weight: 600;
    color: #d3f9ff;
}

.recaptcha-disclaimer {
    margin: 10px 0 0;
    color: rgba(251, 245, 246, 0.75);
    font-size: 0.72rem;
    line-height: 1.35;
}

.recaptcha-disclaimer a {
    color: rgba(251, 245, 246, 0.92);
    text-decoration: underline;
}

.wheel-zone {
    display: grid;
    justify-items: center;
    gap: 14px;
    align-self: start;
    padding-top: 6px;
}

.spin-btn {
    width: 100%;
    border: 3px solid var(--fig-yellow-soft);
    border-radius: 0;
    background: rgba(34, 34, 34, 0.68);
    color: var(--fig-yellow-soft);
    font-family: "Roboto Flex", "Roboto", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.debug-link-btn,
.site-footer a {
    color: var(--fig-base-white);
    text-decoration: underline;
}

@media (max-width: 980px) {
    .page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .panel {
        max-width: 520px;
        margin: 0 auto;
    }

    .brand-logo-wrap {
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .page {
        padding: 18px 14px 16px;
    }

    .brand-logo {
        width: min(210px, 86%);
    }
}

/* Phase 1: Figma wheel stage */
:root {
    --stage-bg: #222222;
    --stage-gold: #f5bb24;
    --stage-gold-soft: #fff2b0;
    --stage-red: #9a1115;
    --stage-red-dark: #61070b;
    --stage-text: #fbf5f6;
    --stage-muted: #fff8b2;
    --stage-shadow: rgba(0, 0, 0, 0.72);
}

body {
    position: relative;
    overflow-x: hidden;
    color: var(--stage-text);
    font-family: "Roboto", "Roboto Flex", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% 36%, rgba(128, 31, 18, 0.18) 0%, rgba(34, 34, 34, 0.02) 28%, rgba(34, 34, 34, 0.94) 56%, #222 100%),
        linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 12%, #171717 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 2323.53px;
    height: 2323.53px;
    background: url("/assets/figma-local/body-orb.png") center/contain no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
    filter: blur(0.2px);
}

body::before {
    left: -1940px;
    top: calc(50% - 1161.765px - 620px);
    transform: rotate(-120deg);
}

body::after {
    left: calc(100% - 430px);
    top: calc(50% - 1161.765px + 42.76px);
    transform: rotate(-120deg);
}

.page.page-wheel-stage {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 44px);
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
}

.page.page-wheel-stage::before {
    content: "";
    position: fixed;
    inset: 126px 40px 46px;
    z-index: 30;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.access-panel-dismissed .page.page-wheel-stage::before {
    display: none;
}

.access-panel-dismissed .page-wheel-stage .panel {
    display: none !important;
}

.page-wheel-stage .panel {
    position: fixed;
    left: 50%;
    top: 48.5%;
    z-index: 40;
    display: block;
    width: min(92vw, 466px);
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    transform: translate(-50%, -50%);
}

.page-wheel-stage .panel.hidden {
    display: none !important;
}

.wheel-zone {
    position: relative;
    min-height: calc(100vh - 44px);
    width: 100%;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0;
    padding: 8px 24px 40px;
    isolation: isolate;
}

.page:not(.access-panel-dismissed) .wheel-hero,
.page:not(.access-panel-dismissed) .wheel-stage-brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.access-panel-dismissed .wheel-zone {
    padding-top: 10px;
    padding-bottom: 18px;
}

.access-panel-dismissed .wheel-hero {
    
    z-index: 6;
}

.access-panel-dismissed .wheel-hero-logo {
    width: min(10vw, 250px);
    min-width: 190px;
    max-width: 250px;
}

.page-wheel-stage .panel .brand-logo-wrap {
    display: none;
}

.access-popup-hero {
    margin: 0 auto 10px;
    display: grid;
    justify-items: center;
}

.access-popup-hero-logo {
    display: block;
    width: min(42vw, 340px);
    max-width: 340px;
    min-width: 180px;
    height: auto;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}

.page-wheel-stage .panel h1 {
    width: min(84vw, 620px);
    margin-left: 50%;
    text-align: center;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: clamp(1.7rem, 2vw, 2.125rem);
    line-height: 1.04;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 14px;
    transform: translateX(-50%);
    color: #ffffff;
    text-transform: uppercase;
}

.page-wheel-stage .panel .subtitle {
    width: auto;
    max-width: min(84vw, 527px);
    margin: 0 auto 22px;
    text-align: center;
    font-style: italic;
    font-size: clamp(0.95rem, 1vw, 1.3125rem);
    line-height: 1.2;
    color: #fff8b2;
    text-transform: uppercase;
}

.page-wheel-stage .panel .small-link {
    display: none;
}

.page-wheel-stage .panel .form {
    gap: 12px;
}

.page-wheel-stage .panel label {
    color: rgba(255, 243, 197, 0.92);
    font-size: 0.88rem;
}

.access-secret-label {
    gap: 0;
}

.access-secret-label-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page-wheel-stage .panel input:not([type="checkbox"]) {
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    background: rgba(34, 34, 34, 0.12);
    text-transform: uppercase;
    color: #ffffff;
    padding: 10px 12px;
    font-size: 1rem;
}

.form-submit-btn {
    width: 100%;
    height: 53px;
    border: 1px solid #a76700;
    border-radius: 3px;
    background: linear-gradient(180deg, #fee666 0.07%, #feb843 10.05%, #fea736 20.04%, #fdee80 40.01%, #fce468 50%, #fbd84b 59.99%, #fbc822 69.97%, #e17f02 99.93%);
    color: #3a2100;
    font-family: "Roboto Slab", "Roboto", serif;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.form-submit-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 6px 16px rgba(251, 200, 34, 0.28);
}

.page-wheel-stage .panel .no-code-btn {
    justify-self: center;
    margin-top: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    color: rgba(255, 248, 178, 0.96);
    font-size: 0.875rem;
    text-decoration: underline;
    transition: color 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
}

.page-wheel-stage .panel .no-code-btn:hover {
    color: #fff8b2;
    opacity: 1;
    transform: translateY(-1px);
}

.access-popup-brand {
    margin-top: 44px;
    display: grid;
    justify-items: center;
}

.access-popup-brand-logo {
    display: block;
    width: min(46vw, 250px);
    max-width: 250px;
    min-width: 140px;
    height: auto;
}

.page-wheel-stage .panel .status {
    display: none;
    min-height: 22px;
    margin-top: 8px;
    text-align: center;
    font-size: 0.84rem;
}

.page-wheel-stage .panel .recaptcha-disclaimer {
    display: none;
}

.wheel-stage-shell {
    display: none;
}

.wheel-stage-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
}

.wheel-hero {
    position: relative;
    margin-top: 0;
    margin-bottom: 20px;
    z-index: 2;
}

.wheel-hero-logo {
    display: block;
    width: min(28vw, 220px);
    max-width: 220px;
    min-width: 170px;
    height: auto;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.7));
}

.wheel-stage-frame {
    position: relative;
    display: grid;
    place-items: center;
    width: min(100%, 500px);
    min-height: min(calc(100vw - 32px), 500px);
    z-index: 1;
}

.access-panel-dismissed .wheel-stage-frame {
    width: min(100%, 500px);
    min-height: min(calc(100vw - 32px), 500px);
}

.wheel-stage-glow {
    position: absolute;
    width: min(46vw, 420px);
    height: min(46vw, 420px);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 48%, rgba(207, 57, 42, 0.16) 0%, rgba(207, 57, 42, 0.08) 42%, rgba(0, 0, 0, 0) 72%);
    filter: blur(22px);
    z-index: -1;
}

.wheel-wrap {
    position: relative;
    --wheel-scale: 0.6364;
    --wheel-label-width: max(88px, calc(168px * var(--wheel-scale)));
    --wheel-big-label-width: max(112px, calc(216px * var(--wheel-scale)));
    --wheel-label-font-size: max(1rem, calc(28px * var(--wheel-scale)));
    --wheel-big-label-font-size: max(1.3rem, calc(36px * var(--wheel-scale)));
    --wheel-goal-size: max(72px, calc(102.51px * var(--wheel-scale)));
    --wheel-spin-btn-size: max(30px, calc(40px * var(--wheel-scale)));
    --wheel-pointer-width: max(48px, calc(70px * var(--wheel-scale)));
    --wheel-pointer-height: max(68px, calc(104px * var(--wheel-scale)));
    --wheel-pointer-top: calc(-6px * var(--wheel-scale));
    --wheel-pointer-origin-y: max(16px, calc(24px * var(--wheel-scale)));
    --wheel-pointer-outer-width: max(40px, calc(58px * var(--wheel-scale)));
    --wheel-pointer-outer-height: max(60px, calc(88px * var(--wheel-scale)));
    --wheel-pointer-inner-width: max(34px, calc(48px * var(--wheel-scale)));
    --wheel-pointer-inner-height: max(54px, calc(78px * var(--wheel-scale)));
    --wheel-pointer-inner-top: max(3px, calc(4px * var(--wheel-scale)));
    width: min(calc(100vw - 48px), 500px);
    aspect-ratio: 660 / 669;
    height: auto;
    perspective: 800px;
}

.access-panel-dismissed .wheel-wrap {
    width: min(calc(100vw - 48px), 500px);
    aspect-ratio: 660 / 669;
    height: auto;
}

.wheel-wrap::before {
    content: "";
    position: absolute;
    inset: 9%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.28) 78%, rgba(0, 0, 0, 0.4) 100%);
    filter: blur(10px);
    z-index: -1;
}

.wheel {
    position: relative;
    width: 100%;
    height: 100%;
    border: 0;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.34);
    background: transparent;
    transform: rotate(0deg) translateZ(0);
    transition: transform 4.2s cubic-bezier(0.12, 0.8, 0.2, 1);
    overflow: visible;
}

.wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/wheel-rim-bulbs.png") center/100% 100% no-repeat;
    pointer-events: none;
    z-index: 4;
}

.wheel::after {
    display: none;
}

.wheel-segments-svg {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.wheel-spin-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 4.2s cubic-bezier(0.12, 0.8, 0.2, 1);
    will-change: transform;
}

.wheel-light-debug {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 7;
    overflow: visible;
}

.wheel-light-debug ellipse {
    fill: none;
    stroke: rgba(0, 255, 255, 1);
    stroke-width: 3;
    stroke-dasharray: 8 6;
    filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.9));
}

.segment-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    pointer-events: none;
    z-index: 6;
}

.segment-label-text {
    display: grid;
    justify-items: center;
    gap: 0;
    width: var(--wheel-label-width);
    text-align: center;
    text-transform: uppercase;
}

.segment-label-text strong {
    display: block;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: var(--wheel-label-font-size);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: 0;
    color: #fffef7;
    text-shadow: none;
}

.segment-label-text.flip {
    transform: rotate(180deg);
}

.segment-label-big-winner .segment-label-text {
    width: var(--wheel-big-label-width);
}

.segment-label-big-winner .segment-label-text strong {
    width: 100%;
    color: #231c17;
    font-size: var(--wheel-big-label-font-size);
    line-height: 1.08;
    text-shadow: none;
}

.segment-label-big-winner .segment-label-text strong:first-child {
    font-size: calc(var(--wheel-big-label-font-size) * 1.18);
}

.segment-light {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 252, 221, 0.78) 0%, rgba(255, 240, 148, 0.62) 54%, rgba(224, 142, 42, 0.42) 100%);
    border: 3px solid rgba(255, 246, 201, 0.3);
    box-shadow:
        0 0 0 3px rgba(255, 208, 74, 0.08),
        0 0 8px rgba(255, 220, 84, 0.2);
    pointer-events: none;
    transition: background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
    z-index: 5;
}

.segment-light.is-near {
    background: radial-gradient(circle at 50% 50%, #fffef0 0%, #fff8bf 52%, #ffe97f 100%);
    box-shadow:
        0 0 0 4px rgba(255, 208, 74, 0.16),
        0 0 14px rgba(255, 241, 154, 0.7),
        0 0 24px rgba(255, 220, 84, 0.34);
    transform: scale(1.1);
}

.segment-light.is-near-2 {
    background: radial-gradient(circle at 50% 50%, #fffde9 0%, #fff6ae 56%, #ffe36f 100%);
    box-shadow:
        0 0 0 4px rgba(255, 208, 74, 0.12),
        0 0 12px rgba(255, 241, 154, 0.56);
    transform: scale(1.04);
}

.segment-light.is-active,
.wheel.celebrate-all-lights .segment-light {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fff5af 46%, #ffe45a 100%);
    box-shadow:
        0 0 14px rgba(255, 244, 161, 1),
        0 0 28px rgba(255, 224, 86, 0.72),
        0 0 44px rgba(255, 224, 86, 0.28);
    transform: scale(1.16);
}

.wheel.lights-restoring .segment-light {
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fff7bc 44%, #ffe56c 100%);
    border-color: rgba(255, 246, 201, 0.44);
    box-shadow:
        0 0 0 4px rgba(255, 208, 74, 0.16),
        0 0 16px rgba(255, 236, 124, 0.84),
        0 0 30px rgba(255, 220, 84, 0.42);
    transform: scale(1.08);
    filter: brightness(1.02);
    opacity: 1;
    transition-duration: 0.5s;
}

.wheel-stud {
    display: none;
}

.goal-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--wheel-goal-size);
    height: var(--wheel-goal-size);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: url("/assets/centre.png") center/contain no-repeat;
    border: 0;
    box-shadow: none;
    z-index: 12;
}

.goal-ring,
.goal-disc,
.goal-highlight,
.goal-spokes {
    display: none;
}

.goal-center.is-hit {
    animation: goalHit 0.28s ease-out;
}

@keyframes goalHit {
    0% {
        transform: translate(-50%, -50%) scale(1);
        filter:
            drop-shadow(0 0 0 rgba(255, 228, 126, 0))
            drop-shadow(0 0 0 rgba(255, 188, 49, 0));
    }
    55% {
        transform: translate(-50%, -50%) scale(1.04);
        filter:
            drop-shadow(0 0 14px rgba(255, 232, 145, 0.96))
            drop-shadow(0 0 28px rgba(255, 193, 62, 0.72));
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        filter:
            drop-shadow(0 0 0 rgba(255, 228, 126, 0))
            drop-shadow(0 0 0 rgba(255, 188, 49, 0));
    }
}

.goal-center .spin-btn {
    width: var(--wheel-spin-btn-size);
    height: var(--wheel-spin-btn-size);
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: transparent;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

.pointer {
    position: absolute;
    left: 50%;
    top: var(--wheel-pointer-top);
    width: var(--wheel-pointer-width);
    height: var(--wheel-pointer-height);
    transform: translateX(-50%);
    transform-origin: 50% var(--wheel-pointer-origin-y);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));
    z-index: 14;
    overflow: visible;
}

.pointer-outer,
.pointer-inner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.pointer-outer {
    top: 0;
    width: var(--wheel-pointer-outer-width);
    height: var(--wheel-pointer-outer-height);
    background: #bf0000;
}

.pointer-inner {
    top: var(--wheel-pointer-inner-top);
    width: var(--wheel-pointer-inner-width);
    height: var(--wheel-pointer-inner-height);
    background: linear-gradient(180deg, #f83016 16.04%, #dc1e0e 56.13%, #cb1309 96.23%);
    box-shadow:
        inset 0 -18px 22px rgba(97, 16, 12, 0.28),
        inset 0 10px 14px rgba(255, 130, 107, 0.08);
}

.wheel-stage-brand {
    position: relative;
    margin-top: -6px;
    z-index: 2;
}


.wheel-stage-brand-logo {
    display: block;
    width: min(34vw, 220px);
    min-width: 150px;
    max-width: 220px;
    height: auto;
}

.access-panel-dismissed .wheel-stage-brand-logo {
    width: min(34vw, 220px);
    min-width: 150px;
    max-width: 220px;
}

.wheel-actions {
    width: min(86vw, 520px);
    margin-top: 6px;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.wheel-actions {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 500;
    width: auto;
    margin-top: 0;
    gap: 6px;
    justify-items: start;
    pointer-events: auto;
}

.debug-link-btn {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255, 248, 178, 0.88);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: underline;
}

.debug-link-btn {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 248, 178, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(6px);
    color: transparent;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.24);
    pointer-events: auto;
}

.debug-link-btn::before {
    color: rgba(255, 248, 178, 0.92);
    font-size: 0.9rem;
    line-height: 1;
}

.debug-link-btn#preview-big-winner-btn::before {
    content: "★";
}

.debug-link-btn#preview-spin-btn::before {
    content: "↻";
}

.debug-link-btn[href*="debug_view_wheel"]::before {
    content: "◧";
}

.attempts-box {
    width: min(92vw, 560px);
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 242, 176, 0.22);
    backdrop-filter: blur(8px);
}

.status,
.recaptcha-disclaimer {
    display: none;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 180;
    padding: 0 18px 10px;
    text-align: center;
    pointer-events: none;
}

.site-footer a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    text-decoration: underline;
    pointer-events: auto;
}

@media (min-width: 1441px) {
    body::before {
        top: calc(50% - 1161.765px - 60px);
    }
}

@media (max-width: 1500px) {
    .page.page-wheel-stage::before {
        inset: 118px 28px 42px;
    }

    .page-wheel-stage .panel {
        top: 52px;
        width: min(90vw, 436px);
        max-height: calc(100vh - 84px);
    }

    .wheel-stage-frame,
    .access-panel-dismissed .wheel-stage-frame {
        width: min(100%, 450px);
        min-height: min(calc(100vw - 32px), 450px);
    }

    .wheel-wrap,
    .access-panel-dismissed .wheel-wrap {
        width: min(calc(100vw - 48px), 450px);
        --wheel-label-font-size: 15px;
        --wheel-big-label-font-size: 19px;
        --wheel-big-label-width: 120px;
    }

    .access-popup-hero-logo {
        width: min(24vw, 200px);
        max-width: 200px;
        min-width: 130px;
    }

    .page-wheel-stage .panel h1 {
        font-size: clamp(1.55rem, 1.7vw, 1.9rem);
        margin-bottom: 10px;
    }

    .page-wheel-stage .panel .subtitle {
        margin-bottom: 18px;
        font-size: clamp(0.86rem, 0.92vw, 1.02rem);
    }

    .page-wheel-stage .panel input:not([type="checkbox"]) {
        height: 40px;
    }

    .form-submit-btn {
        height: 48px;
        font-size: 1.2rem;
    }

    .access-popup-brand {
        right: 40px;
        bottom: 40px;
    }

    .access-popup-brand-logo {
        width: min(12vw, 82px);
        max-width: 82px;
        min-width: 56px;
    }

    .wheel-zone {
        padding: 6px 18px 28px;
    }

    .wheel-hero-logo {
        width: min(24vw, 190px);
        max-width: 190px;
        min-width: 150px;
    }
}

@media (max-width: 980px) {
    body::before,
    body::after {
        opacity: 0.32;
    }

    .wheel-zone {
        min-height: calc(100vh - 36px);
        padding: 10px 16px 32px;
    }

    .wheel-stage-frame,
    .access-panel-dismissed .wheel-stage-frame {
        width: min(100%, 500px);
        min-height: min(calc(100vw - 32px), 500px);
    }

    .wheel-wrap,
    .access-panel-dismissed .wheel-wrap {
        width: min(calc(100vw - 32px), 500px);
    }

    .wheel-hero-logo {
        width: min(40vw, 230px);
        min-width: 150px;
    }

    .access-panel-dismissed .wheel-hero-logo {
        width: min(30vw, 190px);
        min-width: 150px;
        max-width: 190px;
    }

    .access-panel-dismissed .wheel-stage-brand {
        margin-top: 22px;
    }

    .access-panel-dismissed .wheel-actions {
        top: 8px;
        left: 8px;
    }
}

@media (max-width: 640px) {
    html.overlay-scroll-locked,
    body.overlay-scroll-locked {
        overflow: hidden;
        height: 100svh;
    }

    html,
    body {
        overflow-x: hidden;
        overflow-y: hidden;
        width: 100%;
        height: 100svh;
        min-height: 100svh;
    }

    body::before {
        position: absolute;
        top: -1432px;
        filter: none;
        transform: translateZ(0) rotate(-120deg);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    body::after {
        position: absolute;
        top: -769px;
        filter: none;
        transform: translateZ(0) rotate(-120deg);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .page.page-wheel-stage {
        min-height: 100svh;
        height: 100svh;
        width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .page.page-wheel-stage::before {
        inset: 74px 12px 60px;
    }

    .page-wheel-stage .panel {
        width: min(92vw, 380px);
        top: 36px;
        max-height: calc(100svh - 52px);
        padding-bottom: 0;
    }

    .access-popup-hero-logo {
        width: min(42vw, 150px);
        min-width: 110px;
        max-width: 150px;
    }

    .page-wheel-stage .panel h1 {
        font-size: clamp(1.2rem, 5vw, 1.55rem);
        margin-bottom: 8px;
    }

    .page-wheel-stage .panel .subtitle {
        margin-bottom: 12px;
        font-size: 0.78rem;
    }

    .form-submit-btn {
        font-size: 1rem;
    }

    .access-popup-brand {
        position: static;
        margin-top: 12px;
        justify-content: center;
        width: 100%;
    }

    .access-popup-brand-logo {
        width: min(18vw, 64px);
        min-width: 48px;
        max-width: 64px;
    }

    .wheel-zone {
        min-height: 100%;
        width: 100%;
        padding: 14px 0 36px;
        align-content: start;
    }

    .wheel-stage-frame,
    .access-panel-dismissed .wheel-stage-frame {
        width: 100%;
        min-height: calc(100vw - 32px);
    }

    .wheel-wrap,
    .access-panel-dismissed .wheel-wrap {
        width: calc(100vw - 32px);
        max-width: none;
    }

    .wheel-hero {
        margin-top: 0;
        margin-bottom: 28px;
    }

    .wheel-hero-logo {
        width: min(46vw, 190px);
        min-width: 130px;
    }

    .wheel-stage-brand {
        margin-top: -2px;
    }

    .wheel-stage-brand-logo {
        width: min(53vw, 228px);
        min-width: 164px;
        max-width: 228px;
    }

    .site-footer {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 8px);
        padding: 0 16px;
    }

    .site-footer a {
        font-size: 0.78rem;
    }
}

/* Vignobles reskin */
:root {
    --vino-bg: #160203;
    --vino-bg-soft: #240a0f;
    --vino-panel: rgba(36, 10, 15, 0.86);
    --vino-panel-strong: rgba(27, 4, 4, 0.94);
    --vino-border: #691212;
    --vino-border-soft: rgba(251, 245, 246, 0.22);
    --vino-red: #c12933;
    --vino-red-bright: #f6646d;
    --vino-red-dark: #520e0e;
    --vino-white: #fbf5f6;
    --vino-grey: #9f9f9f;
    --vino-cream: #fff8b2;
    --vino-cream-soft: #ecbdc0;
    --vino-copy-width: 685px;
    --modal-panel-background: rgba(36, 10, 15, 0.86);
    --modal-panel-border: linear-gradient(180deg, #691212 0%, #c12933 100%) 1;
    --modal-panel-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.5);
}

body {
    color: var(--vino-white);
    font-family: "Roboto", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% 32%, rgba(114, 19, 24, 0.36) 0%, rgba(54, 8, 8, 0.16) 22%, rgba(20, 2, 3, 0.96) 62%, #070102 100%),
        linear-gradient(180deg, #2f0508 0%, #1c0304 52%, #090102 100%);
}

body::before,
body::after {
    background: url("/assets/vignobles/confetti.png") center/contain no-repeat;
    opacity: 0.34;
    filter: none;
}

.page.page-wheel-stage::before {
    inset: 118px 32px 32px;
    background: rgba(36, 10, 15, 0.78);
    border: 1px solid rgba(105, 18, 18, 0.9);
    box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.5);
}

.access-panel-dismissed .page.page-wheel-stage::before {
    display: none;
}

.wheel-zone {
    padding: 8px 24px 48px;
}

.access-panel-dismissed .wheel-zone {
    padding-top: 14px;
    padding-bottom: 28px;
}

.access-popup-hero-logo,
.wheel-hero-logo,
.multi-spin-selection-logo {
    filter: none;
    background: transparent;
}

.page-wheel-stage .panel {
    top: 58px;
    width: min(92vw, 466px);
    max-height: calc(100vh - 92px);
    overflow: visible;
    box-sizing: border-box;
    transform: translateX(-50%);
}

.page-wheel-stage .panel h1 {
    position: relative;
    left: 50%;
    width: 713px;
    max-width: calc(100vw - 48px);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 55px;
    margin-inline: 0;
    transform: translateX(-50%);
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 55px;
    line-height: 55px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    color: var(--vino-white);
}

.page-wheel-stage .panel .subtitle:not(.small-link) {
    position: relative;
    left: 50%;
    display: grid;
    gap: 14px;
    width: 685px;
    max-width: calc(100vw - 48px);
    margin: 0 auto 16px;
    transform: translateX(-50%);
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    color: var(--vino-white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

.page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line {
    margin: 0;
    width: 100%;
    color: inherit;
}

.page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line + .subtitle-line {
    margin-top: 0;
}

.page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line.is-bold {
    font-weight: 700;
}

.page:not(.access-panel-dismissed).page-wheel-stage {
    height: calc(100vh - 44px);
    overflow: hidden;
}

.access-panel-dismissed .access-popup-brand {
    display: none;
}

.page-wheel-stage .panel label {
    color: var(--vino-white);
    font-size: 0.88rem;
}

.page-wheel-stage .panel input:not([type="checkbox"]),
.claim-modal-card .form input:not([type="checkbox"]) {
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: rgba(36, 10, 15, 0.28);
    color: var(--vino-white);
    border-radius: 0;
    box-shadow: none;
}

.page-wheel-stage .panel input:not([type="checkbox"])::placeholder,
.claim-modal-card .form input:not([type="checkbox"])::placeholder {
    color: var(--vino-grey);
}

.form-submit-btn,
.reward-celebration-cta,
.claim-modal-card #claim-submit-btn,
.multi-spin-primary-btn,
.multi-spin-secondary-btn {
    border: 1px solid var(--vino-border);
    border-radius: 3px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: min(100%, 294px);
    min-height: 53px;
    padding: 14px 16px;
    background: linear-gradient(180deg, var(--vino-red-bright) 0%, var(--vino-red) 50%, var(--vino-red-dark) 100%);
    color: var(--vino-white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.form-submit-btn {
    width: 100%;
}

.share-link-btn {
    border: 1px solid var(--vino-border);
    border-radius: 3px;
    background: linear-gradient(180deg, var(--vino-red-bright) 0%, var(--vino-red) 50%, var(--vino-red-dark) 100%);
    color: var(--vino-white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.form-submit-btn,
.reward-celebration-cta,
.claim-modal-card #claim-submit-btn,
.multi-spin-primary-btn,
.multi-spin-secondary-btn {
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 21px;
    line-height: 25px;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
}

.form-submit-btn:hover,
.reward-celebration-cta:hover,
.claim-modal-card #claim-submit-btn:hover:not(:disabled),
.multi-spin-primary-btn:hover,
.multi-spin-secondary-btn:hover,
.share-link-btn:hover:not(:disabled) {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 20px rgba(92, 9, 14, 0.35);
}

.share-link-btn:disabled,
.share-link-btn.is-disabled,
.share-link-btn[aria-disabled="true"] {
    background: linear-gradient(180deg, #d7d7d7 0%, #a7a7a7 100%);
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: none;
}

.page-wheel-stage .panel .no-code-btn,
.site-footer a,
.terms-card a {
    color: var(--vino-white);
}

.page-wheel-stage .panel .no-code-btn,
.site-footer a {
    text-decoration: underline;
}

.access-popup-brand {
    position: fixed;
    right: 48px;
    bottom: 48px;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;
    width: auto;
    z-index: 41;
}

.access-popup-brand-mobile {
    display: none;
}

.access-popup-brand-logo,
.wheel-stage-brand-logo,
.terms-brand-logo {
    filter: none;
    background: transparent;
    object-fit: contain;
}

.access-popup-hero {
    margin: 0 auto 14px;
    overflow: visible;
}

.access-popup-hero-logo {
    width: min(24vw, 200px);
    max-width: 200px;
    min-width: 130px;
    object-fit: contain;
}

.access-popup-brand-logo {
    width: min(12vw, 82px);
    max-width: 82px;
    min-width: 56px;
}

.stage-credit {
    position: fixed;
    left: 24px;
    bottom: 10px;
    z-index: 42;
    margin: 0;
    max-width: min(42vw, 360px);
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: left;
    pointer-events: none;
}

.stage-credit a {
    color: inherit;
    text-decoration: underline;
    pointer-events: auto;
}

.modal-credit {
    display: none;
    position: relative;
    z-index: 2;
    margin: 18px auto 0;
    max-width: min(100%, 360px);
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
}

.modal-credit a {
    color: inherit;
    text-decoration: underline;
}

.wheel-stage-brand {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.access-panel-dismissed .wheel-stage-brand {
    position: absolute;
    right: 24px;
    bottom: 26px;
    margin-top: 0;
    justify-content: flex-end;
    z-index: 6;
    width: auto;
}

.wheel-stage-brand-logo {
    width: min(14vw, 130px);
    max-width: 130px;
    max-height: 200px;
    min-width: 86px;
    height: auto;
}

.wheel-stage-glow {
    width: min(58vw, 520px);
    height: min(58vw, 520px);
    background: radial-gradient(circle at 50% 50%, rgba(193, 41, 51, 0.26) 0%, rgba(87, 12, 17, 0.16) 42%, rgba(0, 0, 0, 0) 76%);
    filter: blur(34px);
}

.wheel-wrap::before {
    inset: 0.87%;
    background: radial-gradient(50% 50% at 50% 50%, #b71f1f 0%, #b31f1f 44%, #ac1e1e 64%, #a11c1c 78%, #931919 88%, #7f1515 95%, #5f1010 100%);
    filter: none;
}

.wheel {
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.34);
}

.wheel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: url("/assets/roue.png") center/contain no-repeat;
    border: 0;
    box-shadow: none;
    z-index: 8;
    pointer-events: none;
}

.wheel::after {
    display: none;
}

.segment-label-text {
    gap: 0;
}

.segment-label-text strong {
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: var(--wheel-label-font-size);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: 0;
    text-shadow: none;
}

.segment-label-on-dark .segment-label-text strong {
    color: var(--vino-white);
}

.segment-label-on-light .segment-label-text strong {
    color: #511115;
}

.segment-label-big-winner .segment-label-text strong {
    width: 100%;
    color: var(--vino-white);
    font-size: var(--wheel-big-label-font-size);
    line-height: 1.08;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.segment-label-big-winner .segment-label-text strong:first-child {
    font-size: calc(var(--wheel-big-label-font-size) * 1.18);
}

.goal-center {
    background: url("/assets/centre-roue.png") center/contain no-repeat;
    border: 0;
    box-shadow: none;
}

.pointer {
    top: calc(-2px * var(--wheel-scale));
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.34));
}

.pointer-outer,
.pointer-inner {
    display: none;
}

.pointer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/assets/vignobles/wheel-pointer.svg") center top / contain no-repeat;
}

.big-winner-banner,
.reward-celebration-card,
.multi-spin-result-card,
.multi-spin-selection-card,
.share-modal-card,
.claim-modal-card,
.terms-card {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0;
    border: 1px solid transparent;
    border-image: var(--modal-panel-border);
    background: var(--modal-panel-background);
    box-shadow: var(--modal-panel-shadow);
    backdrop-filter: blur(10px);
}

.reward-celebration-card,
.claim-modal-card {
    background: var(--modal-panel-background);
}

.big-winner-banner::before,
.reward-celebration-card::before,
.multi-spin-result-card::before,
.multi-spin-selection-card::before,
.share-modal-card::before,
.claim-modal-card::before,
.terms-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 38%, rgba(146, 24, 31, 0.24) 0%, rgba(146, 24, 31, 0.06) 28%, rgba(0, 0, 0, 0) 70%),
        radial-gradient(circle at 50% 105%, rgba(193, 41, 51, 0.12) 0%, rgba(0, 0, 0, 0) 54%);
    pointer-events: none;
}

.reward-celebration-card::after,
.claim-modal-card::after,
.multi-spin-selection-card::after,
.share-modal-card::after {
    display: none;
}

.popup-brand-wrap {
    display: grid;
    justify-items: center;
    margin: 0 auto 14px;
    background: transparent;
}

.popup-brand-logo {
    display: block;
    width: min(100%, 46px);
    max-width: 46px;
    height: auto;
    background: transparent;
    filter: none;
}

.reward-celebration-card .popup-brand-logo {
    width: min(100%, 62px);
    max-width: 62px;
}

.reward-celebration-card::before {
    display: none;
}

.reward-celebration-card {
    padding-top: 28px;
}

.reward-celebration-close-btn {
    top: 12px;
    right: 13px;
}

.reward-celebration-kicker {
    width: min(100%, 300px);
    margin: 64px auto 18px;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: clamp(1.65rem, 5.6vw, 2rem);
    line-height: 1.08;
    text-align: center;
    text-transform: uppercase;
    color: var(--vino-white);
}

.reward-celebration-prize-frame {
    width: clamp(246px, 72vw, 308px);
    height: clamp(246px, 72vw, 308px);
    margin: 4px auto 18px;
}

.reward-celebration-divider {
    display: none;
}

.reward-celebration-title {
    width: min(100%, 280px);
    margin: 0 auto 8px;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: clamp(1.7rem, 5.8vw, 2rem);
    line-height: 0.96;
    font-weight: 400;
    text-align: center;
}

.reward-celebration-details {
    width: min(100%, 280px);
    margin: 0 auto 18px;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-size: 0.98rem;
    line-height: 1.18;
    font-weight: 500;
    text-align: center;
}

.big-winner-close-btn,
.reward-celebration-close-btn,
.multi-spin-close-btn,
.share-close-btn,
.claim-close-btn {
    color: var(--vino-white);
    font-size: 2rem;
    font-weight: 300;
    text-shadow: none;
}

.reward-celebration-kicker,
.claim-reward-kicker,
.multi-spin-result-kicker,
.multi-spin-selection-kicker,
.share-modal-kicker,
.big-winner-kicker {
    font-family: "Roboto", sans-serif;
    color: var(--vino-white);
    text-transform: uppercase;
}

.big-winner-kicker {
    margin: 8px 0 12px;
    font-family: "Arial Black", "Roboto", sans-serif;
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    line-height: 0.96;
    letter-spacing: 0.05em;
    background: linear-gradient(180deg, #f6646d 0%, #c12933 52%, #520e0e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.big-winner-logo,
.claim-big-winner-logo {
    width: calc(100% + 26px);
    max-width: none;
    margin: -8px -13px 18px;
    border-radius: 0;
    filter: none;
}

.big-winner-prize,
.reward-celebration-title,
.claim-reward-title,
.multi-spin-result-title,
.multi-spin-selection-title,
.share-modal-title {
    font-family: "Arial Black", "Roboto", sans-serif;
    color: var(--vino-white);
    text-transform: uppercase;
    letter-spacing: 0;
}

.big-winner-prize {
    font-size: clamp(1.7rem, 5.5vw, 2.35rem);
    line-height: 1.02;
}

.reward-celebration-title,
.claim-reward-title {
    font-size: clamp(1.6rem, 5.4vw, 2rem);
    line-height: 0.96;
}

.share-modal-title,
.multi-spin-selection-title {
    font-size: clamp(1.4rem, 4.8vw, 2rem);
    line-height: 1.02;
}

.reward-celebration-details,
.claim-reward-details,
.claim-reward-instructions,
.multi-spin-result-details,
.multi-spin-result-instructions,
.big-winner-contact,
.share-status,
.share-progress-text {
    color: var(--vino-white);
}

.reward-celebration-divider,
.claim-reward-divider,
.multi-spin-result-divider,
.big-winner-divider {
    width: 100%;
    height: 1px;
    background: rgba(193, 41, 51, 0.82);
}

.reward-image-frame {
    --reward-image-inset: clamp(28px, 6.8vw, 34px);
    --reward-photo-size: calc(100% - (var(--reward-image-inset) * 2));
    --reward-photo-offset-x: 0px;
    --reward-photo-offset-y: 0px;
    position: relative;
    display: block;
    box-sizing: border-box;
    aspect-ratio: 356 / 352;
    background: url("/assets/reward-bg.png") center / contain no-repeat;
    border: 0;
    box-shadow: none;
    overflow: hidden;
}

.reward-celebration-prize-frame,
.claim-reward-image-frame,
.multi-spin-result-image-frame {
    width: clamp(210px, 62vw, 284px);
    margin: 10px auto 16px;
}

.claim-reward-image-frame {
    width: 284px;
    --reward-photo-size: 213px;
    --reward-photo-offset-x: -8px;
    --reward-photo-offset-y: 3px;
}

.reward-celebration-prize-frame {
    width: min(356px, calc(100vw - 64px));
    height: min(356px, calc(100vw - 64px));
    max-width: 356px;
    aspect-ratio: auto;
    --reward-photo-size: 267px;
    --reward-photo-offset-x: -10px;
    --reward-photo-offset-y: 5px;
}

.multi-spin-selection-item-image-frame {
    width: clamp(200px, 58vw, 240px);
    margin: 0 auto;
}

.reward-celebration-prize-image,
.claim-reward-image,
.multi-spin-result-image,
.multi-spin-selection-item-image {
    position: absolute;
    top: calc(50% + var(--reward-photo-offset-y));
    left: calc(50% + var(--reward-photo-offset-x));
    display: block;
    width: var(--reward-photo-size);
    height: var(--reward-photo-size);
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    margin: 0;
    max-width: none;
    max-height: none;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.claim-reward-image {
    width: 213px;
    height: 213px;
}

.reward-celebration-prize-image {
    width: 267px;
    height: 267px;
}

.share-progress-track {
    gap: 16px;
}

.share-progress-step {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 0;
    background-color: transparent;
    background-image: url("/assets/centre.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-shadow: none;
    filter: grayscale(1) brightness(0.6);
    opacity: 0.72;
}

.share-progress-step::after {
    left: calc(100% + 7px);
    width: 38px;
    height: 1px;
    background: #d52534;
}

.share-progress-step.is-complete,
.share-progress-step.is-active {
    background-color: transparent;
    background-size: 100% 100%;
    box-shadow: none;
    filter: none;
    opacity: 1;
}

.share-links {
    gap: 18px;
}

.share-link-btn {
    min-height: 52px;
    font-family: "Arial Black", "Roboto", sans-serif;
    font-size: 0.95rem;
}

.share-modal-card {
    width: min(90vw, 685px);
    max-height: min(calc(100svh - 60px), 789px);
    padding: 18px 36px 30px;
}

.share-modal-card .popup-brand-wrap {
    display: none;
}

.share-close-btn {
    top: 10px;
    right: 11px;
}

.share-modal-kicker {
    width: 100%;
    max-width: 685px;
    margin: 0 auto 14px;
    text-align: center;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(251, 245, 246, 0.82);
}

.share-modal-title {
    margin: 0 auto 18px;
    width: 100%;
    max-width: 685px;
    text-align: center;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: 21px;
    line-height: 25px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffffff;
}

.share-progress {
    margin-top: 0;
    width: 100%;
    max-width: 685px;
    margin-left: auto;
    margin-right: auto;
}

.share-progress-track {
    justify-content: center;
    gap: 48px;
    width: 100%;
    margin-bottom: 14px;
}

.share-progress-step {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    filter: grayscale(1) brightness(0.22) contrast(0.9);
    opacity: 0.92;
}

.share-progress-step::after {
    left: calc(100% + 12px);
    width: 24px;
    height: 1px;
    background: rgba(193, 41, 51, 0.72);
}

.share-progress-step.is-complete::after {
    background: rgba(193, 41, 51, 1);
}

.share-progress-step.is-complete,
.share-progress-step.is-active {
    transform: none;
}

.share-progress-text {
    width: 100%;
    max-width: 685px;
    text-align: left;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: rgba(251, 245, 246, 0.68);
}

.share-links {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 685px;
    margin: 18px auto 0;
}

.share-link-btn {
    width: 100%;
    min-height: 53px;
    padding: 14px 16px;
    color: #fbf5f6;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: 21px;
    line-height: 25px;
    font-weight: 400;
    letter-spacing: 0;
}

.reward-celebration-cta {
    width: min(100%, 294px);
    min-height: 53px;
    margin: 0 auto;
    padding: 14px 16px;
    font-size: 21px;
    line-height: 25px;
}

@media (min-width: 641px) {
    .share-modal-title,
    .share-progress,
    .share-progress-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .share-progress-track {
        width: 260px;
        margin-left: auto;
        margin-right: auto;
    }

    .share-links {
        max-width: 685px;
        grid-template-columns: repeat(2, minmax(0, 294px));
        gap: 14px;
        justify-content: center;
    }

    .share-link-btn {
        min-height: 53px;
        padding: 14px 16px;
        font-size: 21px;
        line-height: 25px;
        white-space: nowrap;
    }
}

.claim-modal-card .form-consent,
.claim-modal-card .form-consent a {
    color: var(--vino-white);
}

.claim-modal-card .form-consent input[type="checkbox"] {
    accent-color: var(--vino-red-bright);
}

.claim-modal.is-big-winner .popup-brand-wrap {
    display: none;
}

.claim-modal.is-big-winner .claim-modal-card {
    width: min(90vw, 353px);
    max-height: min(calc(100svh - 60px), 789px);
    padding: 18px 29px 30px;
}

.claim-modal.is-big-winner .claim-close-btn {
    top: 10px;
    right: 11px;
}

.claim-reward-preview.is-big-winner .claim-reward-kicker {
    width: 100%;
    margin: 4px auto 12px;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: clamp(3rem, 12vw, 4.25rem);
    line-height: 0.9;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    text-align: center;
    background: linear-gradient(180deg, #f6646d 0%, #c12933 50%, #520e0e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.claim-reward-preview.is-big-winner .claim-big-winner-logo {
    display: block;
    width: calc(100% + 34px);
    max-width: none;
    margin: 0 -17px 16px;
}

.claim-reward-preview.is-big-winner .claim-reward-title {
    width: 100%;
    max-width: 294px;
    margin: 0 auto 14px;
    font-family: "Cal Sans", "Arial Narrow", "Arial", sans-serif;
    font-size: 21px;
    line-height: 25px;
    font-weight: 400;
    text-align: center;
    color: var(--vino-white);
}

.claim-reward-preview.is-big-winner .claim-reward-divider {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    background: rgba(193, 41, 51, 0.82);
}

.claim-reward-preview.is-big-winner .claim-reward-instructions {
    width: 100%;
    max-width: 294px;
    margin: 0 auto 16px;
    font-family: "Roboto", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    color: var(--vino-white);
}

.claim-modal.is-big-winner .claim-modal-card .form {
    gap: 18px;
}

.claim-modal.is-big-winner .claim-modal-card .form label {
    color: var(--vino-white);
}

.claim-modal.is-big-winner .claim-modal-card #claim-submit-btn {
    margin-top: 4px;
}

.multi-spin-selection-list {
    gap: 26px;
}

.multi-spin-selection-item {
    padding: 4px 0 26px;
    border-bottom: 1px solid rgba(193, 41, 51, 0.82);
}

.multi-spin-selection-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.multi-spin-selection-item-image-wrap {
    margin-bottom: 20px;
}

.reward-celebration,
.multi-spin-result-modal,
.multi-spin-selection-modal,
.share-modal,
.claim-modal {
    overflow-x: hidden;
    overflow-y: auto;
    align-items: start;
    justify-items: center;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.reward-celebration-card,
.multi-spin-result-card,
.multi-spin-selection-card,
.share-modal-card,
.claim-modal-card {
    max-height: min(calc(100svh - 84px), calc(100vh - 84px));
}

.multi-spin-selection-item-title {
    margin: 0 0 12px;
    font-family: "Arial Black", "Roboto", sans-serif;
    font-size: clamp(1.9rem, 6vw, 2.5rem);
    line-height: 0.96;
    color: var(--vino-white);
    text-align: center;
    text-transform: uppercase;
}

.multi-spin-selection-item-details {
    margin: 0 0 18px;
    color: var(--vino-white);
    text-align: center;
    text-transform: uppercase;
}

.terms-page {
    max-width: 960px;
    padding: 28px 20px 40px;
}

.terms-card {
    padding: 26px 22px 30px;
}

.terms-hero-logo {
    width: min(100%, 280px);
}

.terms-card h1 {
    margin-bottom: 6px;
    font-family: "Arial Black", "Roboto", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 0.98;
    text-transform: uppercase;
    color: var(--vino-white);
}

.terms-card .subtitle {
    color: var(--vino-cream);
    text-transform: uppercase;
}

.terms-card p,
.terms-card li,
.terms-card div {
    color: var(--vino-white);
}

@media (min-width: 981px) {
    .access-panel-dismissed .wheel-hero-logo {
        width: min(14vw, 250px);
        min-width: 200px;
        max-width: 250px;
    }
}

@media (max-width: 980px) {
    .page.page-wheel-stage::before {
        inset: 86px 18px 24px;
    }

    .page-wheel-stage .panel {
        width: min(92vw, 380px);
        top: 44px;
        max-height: calc(100vh - 70px);
    }

    .page-wheel-stage .panel h1 {
        left: 0;
        width: 100%;
        max-width: 100%;
        font-size: 42px;
        line-height: 44px;
        transform: none;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) {
        left: 0;
        width: 100%;
        max-width: 100%;
        font-size: 20px;
        line-height: 24px;
        transform: none;
    }

    .share-modal-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .share-progress-step::after {
        width: 34px;
    }

    .access-popup-hero-logo {
        width: min(40vw, 176px);
        max-width: 176px;
        min-width: 120px;
    }

    .wheel-hero {
        margin-bottom: 14px;
    }

    .wheel-hero-logo {
        width: min(42vw, 220px);
        min-width: 150px;
    }

    .access-panel-dismissed .wheel-hero-logo {
        width: min(42vw, 220px);
        min-width: 150px;
    }

    .wheel-stage-brand-logo {
        width: min(14vw, 76px);
        min-width: 62px;
        max-width: 76px;
    }
}

@media (max-width: 640px) {
    body::before {
        left: -1380px;
        top: -1280px;
        opacity: 0.4;
    }

    body::after {
        left: calc(100% - 260px);
        top: -620px;
        opacity: 0.4;
    }

    .page.page-wheel-stage::before {
        inset: 102px 10px 54px;
    }

    .page-wheel-stage .panel {
        top: 72px;
        max-height: calc(100svh - 104px);
    }

    .page-wheel-stage .panel h1 {
        width: min(100%, 293px);
        max-width: 293px;
        margin-bottom: 18px;
        font-size: 28px;
        line-height: 29px;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) {
        width: min(100%, 313px);
        max-width: 313px;
        margin-bottom: 14px;
        gap: 8px;
        font-size: 16px;
        line-height: 19px;
    }

    .share-modal-card {
        width: min(calc(100vw - 20px), 370px);
        padding-left: 14px;
        padding-right: 14px;
    }

    .share-progress-step::after {
        width: 22px;
        left: calc(100% + 6px);
    }

    .share-links,
    .share-modal-kicker,
    .share-modal-title,
    .share-progress,
    .share-progress-text {
        max-width: 320px;
    }

    .share-link-btn {
        font-size: 17px;
        line-height: 20px;
        white-space: nowrap;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line + .subtitle-line {
        margin-top: 0;
    }

    .wheel-zone {
        padding: 12px 16px 44px;
    }

    .access-popup-brand {
        position: static;
        margin-top: 12px;
        display: flex;
        justify-content: center;
        width: 100%;
        z-index: auto;
    }

    .access-popup-brand-logo {
        width: min(18vw, 64px);
        min-width: 48px;
        max-width: 64px;
    }

    .wheel-hero {
        margin-bottom: 20px;
    }

    .wheel-hero-logo {
        width: min(46vw, 190px);
        min-width: 126px;
    }

    .access-panel-dismissed .wheel-stage-brand {
        position: absolute;
        right: max(16px, env(safe-area-inset-right, 0px));
        bottom: 48px;
        margin-top: 0;
        justify-content: flex-end;
        z-index: 6;
        width: auto;
    }

    .wheel-stage-brand-logo {
        width: min(22vw, 72px);
        min-width: 58px;
        max-width: 72px;
    }

    .big-winner-banner,
    .reward-celebration-card,
    .multi-spin-result-card,
    .multi-spin-selection-card,
    .share-modal-card,
    .claim-modal-card {
        width: min(100%, 353px);
        padding-left: 20px;
        padding-right: 20px;
        max-height: calc(100svh - 48px);
    }

    .share-modal-title,
    .multi-spin-selection-title {
        font-size: 1.1rem;
    }

    .share-link-btn,
    .claim-modal-card #claim-submit-btn,
    .multi-spin-primary-btn,
    .multi-spin-secondary-btn,
    .reward-celebration-cta {
        min-height: 50px;
        font-size: 0.9rem;
    }

    .terms-page {
        padding: 20px 12px 30px;
    }

.terms-card {
        padding: 20px 16px 24px;
    }
}

@media (max-width: 1681px) {
    .page-wheel-stage .panel h1 {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 38px;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link),
    .page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line {
        font-size: 20px;
    }
}

@media (max-width: 1680px) and (min-width: 1441px) {
    .wheel-hero-logo,
    .access-panel-dismissed .wheel-hero-logo {
        width: 12vw;
        min-width: 150px;
    }
}

@media (max-width: 1440px) and (min-width: 981px) {
    .wheel-hero-logo,
    .access-panel-dismissed .wheel-hero-logo {
        width: 10vw;
        min-width: 150px;
    }
}

.access-panel-dismissed .wheel-stage-brand-logo {
    max-width: 150px;
}

@media (max-width: 640px) {
    body {
        background: linear-gradient(129.74deg, #83032D 18.61%, #62001E 36.36%, #770028 54.11%, #4E0017 71.87%, #CD013F 89.62%);
    }

    .page.page-wheel-stage {
        background: linear-gradient(129.74deg, #83032D 18.61%, #62001E 36.36%, #770028 54.11%, #4E0017 71.87%, #CD013F 89.62%);
    }

    .page.page-wheel-stage::before {
        display: none;
    }

    .wheel-stage-brand,
    .access-panel-dismissed .wheel-stage-brand {
        display: none;
    }

    .wheel,
    .wheel::before,
    .wheel-spin-layer {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .wheel {
        isolation: isolate;
    }

    .wheel::before {
        transform: translateZ(0.01px);
    }

    .wheel-actions .debug-link-btn {
        font-size: 0;
        line-height: 0;
        text-indent: -9999px;
        white-space: nowrap;
    }

    .wheel-actions .debug-link-btn::before {
        text-indent: 0;
    }

    .page-wheel-stage .panel {
        top: 18px;
        width: min(calc(100vw - 24px), 360px);
        max-height: calc(100svh - 74px);
        border: 1px solid transparent;
        border-image: var(--modal-panel-border);
        background: var(--modal-panel-background);
        box-shadow: var(--modal-panel-shadow);
        backdrop-filter: blur(10px);
        padding-bottom: 24px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .reward-celebration,
    .multi-spin-result-modal,
    .multi-spin-selection-modal,
    .share-modal,
    .claim-modal {
        inset: 0;
        z-index: 260;
        padding: 8px 12px 8px;
    }

    .reward-celebration-kicker {
        margin-top: 50px;
    }

    .big-winner-banner,
    .reward-celebration-card,
    .multi-spin-result-card,
    .multi-spin-selection-card,
    .share-modal-card,
    .claim-modal-card {
        width: min(calc(100vw - 24px), 353px);
        max-height: calc(100svh - 16px);
        margin-bottom: 0;
    }

    body.overlay-scroll-locked .site-footer,
    html.overlay-scroll-locked .site-footer {
        display: none;
    }

    .access-popup-hero {
        margin-bottom: 18px;
    }

    .access-popup-hero-logo {
        width: 125px;
        min-width: 125px;
        max-width: 125px;
    }

    .access-popup-brand {
        position: static;
        display: grid;
        justify-items: center;
        width: 100%;
        margin: 18px auto 18px;
        transform: none;
        z-index: auto;
    }

    .access-popup-brand-desktop {
        display: none;
    }

    .access-popup-brand-mobile {
        display: grid;
    }

    .access-popup-brand-logo {
        width: 90px;
        min-width: 90px;
        max-width: 90px;
    }

    .stage-credit {
        position: static;
        max-width: calc(100vw - 24px);
        margin: 10px auto 0;
        font-size: 10px;
        text-align: center;
        pointer-events: none;
    }

    .modal-credit {
        display: block;
    }

    .page-wheel-stage .panel h1 {
        left: auto;
        width: min(100%, 320px);
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 28px;
        font-size: 24px;
        line-height: 1.08;
        text-align: center;
        text-wrap: balance;
        transform: none;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) {
        width: min(100%, 320px);
        max-width: 320px;
        gap: 10px;
        margin-bottom: 18px;
        font-size: 14px;
        line-height: 1.16;
        text-align: center;
        font-family: "Roboto", "Segoe UI", sans-serif;
        font-style: normal;
        font-weight: 400;
        text-transform: uppercase;
        transform: none;
        left: auto;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line {
        font-size: 14px;
        font-weight: 400;
        text-wrap: balance;
    }

    .page-wheel-stage .panel .subtitle:not(.small-link) .subtitle-line.is-bold {
        font-weight: 700;
    }

    .page-wheel-stage .panel .form {
        gap: 10px;
        width: 100%;
    }

    .page-wheel-stage .panel .form > label,
    .page-wheel-stage .panel .form > .form-submit-btn {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .page-wheel-stage .panel input:not([type="checkbox"]) {
        width: 100%;
        height: 48px;
        font-size: 0.95rem;
    }

    .form-submit-btn {
        width: calc(100% - 24px);
        height: 48px;
        font-size: 0.95rem;
    }

    .wheel-zone {
        justify-items: center;
        align-items: start;
    }

    .wheel-stage-frame,
    .access-panel-dismissed .wheel-stage-frame {
        position: relative;
        left: 50%;
        width: min(calc((100vw - 32px) * 1.15), 430px);
        min-height: min(calc((100vw - 32px) * 1.15), 430px);
        transform: translateX(calc(-50% - 14px));
        margin-left: auto;
        margin-right: auto;
    }

    .wheel-wrap,
    .access-panel-dismissed .wheel-wrap {
        position: relative;
        left: 50%;
        width: min(calc((100vw - 32px) * 1.15), 430px);
        max-width: min(calc((100vw - 32px) * 1.15), 430px);
        transform: translateX(calc(-50% - 14px));
        margin-left: auto;
        margin-right: auto;
        --wheel-label-width: 11.2ch;
        --wheel-big-label-width: 11ch;
        --wheel-label-font-size: 10px;
        --wheel-big-label-font-size: 11px;
    }

    .wheel-hero {
        transform: translateX(-14px);
    }

    .segment-label-text strong {
        text-wrap: balance;
        overflow-wrap: anywhere;
    }
}
