/* Финальный UI: большой заголовок, 8 секторов и кнопка в центре колеса. */

/* Верхняя часть без панели и обводки. */
.topbar--title {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 28px 0 8px;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.topbar--title::after {
    display: none;
}

.site-title {
    width: 100%;
    max-width: 1100px;
    margin: 0;
    overflow: visible;
    padding-inline: 0.12em;
    color: #fff;
    background: linear-gradient(180deg, #fff 0%, #ffe3f3 29%, #ff78c2 62%, #bd59f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter:
        drop-shadow(0 4px 0 rgba(91, 20, 95, 0.72))
        drop-shadow(0 16px 34px rgba(255, 38, 157, 0.28));
    font-size: clamp(2.8rem, 12.8vw, 7rem);
    font-weight: 950;
    letter-spacing: -0.055em;
    line-height: 0.9;
    text-align: center;
    text-wrap: balance;
    -webkit-text-fill-color: transparent;
}

.site-title__subtitle {
    margin: 14px 0 0;
    color: #d8c5dc;
    font-size: clamp(0.7rem, 2.8vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.availability {
    margin-top: 18px;
}

/* Колесо становится главным элементом экрана. */
.hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
    min-height: auto !important;
    padding-block: 24px 78px;
}

.hero__copy {
    text-align: center !important;
}

.hero .eyebrow {
    margin-bottom: 0;
}

.desktop-status {
    margin: 18px auto 0;
}

.wheel-stage {
    width: min(89vw, 650px);
}

/* Восемь номиналов внутри соответствующих секторов. */
.wheel-prize {
    position: absolute;
    z-index: 2;
    color: #fff;
    font-size: clamp(0.82rem, 3.6vw, 1.32rem);
    font-weight: 950;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 5px rgba(39, 3, 48, 0.68), 0 0 9px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    transform: translate(-50%, -50%);
}

.wheel-prize--1 { top: 16%; left: 50%; }
.wheel-prize--2 { top: 26%; left: 74%; transform: translate(-50%, -50%) rotate(45deg); }
.wheel-prize--3 { top: 50%; left: 84%; transform: translate(-50%, -50%) rotate(90deg); }
.wheel-prize--4 { top: 74%; left: 74%; transform: translate(-50%, -50%) rotate(135deg); }
.wheel-prize--5 { top: 84%; left: 50%; transform: translate(-50%, -50%) rotate(180deg); }
.wheel-prize--6 { top: 74%; left: 26%; transform: translate(-50%, -50%) rotate(225deg); }
.wheel-prize--7 { top: 50%; left: 16%; transform: translate(-50%, -50%) rotate(-90deg); }
.wheel-prize--8 { top: 26%; left: 26%; transform: translate(-50%, -50%) rotate(-45deg); }

/* Главная кнопка находится непосредственно в центре колеса. */
.wheel-hub {
    width: 23%;
    min-width: 68px;
    max-width: 118px;
    border: 4px solid rgba(255, 255, 255, 0.9);
    padding: 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 38%),
        linear-gradient(145deg, #ff1590 0%, #e42ab6 48%, #8e42e8 100%);
    box-shadow:
        0 0 0 7px rgba(77, 19, 91, 0.7),
        0 12px 28px rgba(32, 3, 39, 0.64),
        0 0 34px rgba(255, 38, 157, 0.58),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -8px 15px rgba(80, 15, 111, 0.28);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.wheel-hub [data-button-label] {
    max-width: 80%;
    color: #fff;
    font-size: clamp(0.5rem, 2.15vw, 0.82rem);
    font-weight: 950;
    letter-spacing: 0.045em;
    line-height: 1;
    text-shadow: 0 2px 7px rgba(64, 7, 69, 0.58);
}

.wheel-hub:hover:not(:disabled) {
    box-shadow:
        0 0 0 7px rgba(91, 23, 107, 0.74),
        0 15px 32px rgba(32, 3, 39, 0.68),
        0 0 48px rgba(255, 39, 160, 0.76),
        inset 0 2px 0 rgba(255, 255, 255, 0.36);
    filter: saturate(1.12);
    transform: translate(-50%, -50%) scale(1.06);
}

.wheel-hub:active:not(:disabled) {
    transform: translate(-50%, -50%) scale(0.96);
}

.wheel-hub:disabled {
    cursor: wait;
    filter: saturate(0.72);
}

.wheel-stage.is-spinning .wheel-hub {
    box-shadow:
        0 0 0 7px rgba(83, 22, 99, 0.72),
        0 12px 28px rgba(32, 3, 39, 0.64),
        0 0 48px rgba(174, 62, 255, 0.72);
}

/* Нижние элементы отодвинуты от светящегося обода колеса. */
.spin-counter {
    margin-top: 54px;
}

.coupon-balance {
    display: inline-flex;
    min-width: min(100%, 272px);
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 12px;
    border: 1px solid rgba(255, 102, 193, 0.34);
    border-radius: 20px;
    padding: 9px 10px 9px 16px;
    background:
        linear-gradient(110deg, rgba(255, 39, 158, 0.12), rgba(150, 61, 229, 0.13)),
        rgba(28, 13, 38, 0.92);
    box-shadow:
        0 15px 34px rgba(3, 0, 8, 0.32),
        0 0 26px rgba(255, 37, 157, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.coupon-balance__label {
    color: #eadbea;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.coupon-balance strong {
    display: grid;
    min-width: 94px;
    min-height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding-inline: 12px;
    color: #fff;
    background: linear-gradient(145deg, #ff319f, #a13feb);
    box-shadow: 0 8px 20px rgba(225, 38, 166, 0.31);
    font-size: 1.08rem;
    font-weight: 950;
    white-space: nowrap;
}

/* Условия следующего шага выделены контрастной плашкой. */
.subscription-notice {
    display: flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    margin: 14px 0 0;
    border: 1px solid rgba(255, 112, 194, 0.45);
    border-radius: 15px;
    padding: 12px 14px;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(255, 39, 157, 0.18), rgba(147, 61, 226, 0.16)),
        rgba(18, 8, 27, 0.9);
    box-shadow: 0 10px 24px rgba(2, 0, 7, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.45;
    text-align: center;
}

@media (min-width: 900px) {
    .wheel-stage {
        width: min(89vw, 650px);
    }
}

@media (max-width: 374px) {
    .site-title {
        font-size: 2.65rem;
    }

    .site-title__subtitle {
        max-width: 270px;
    }

    .wheel-stage {
        width: min(87vw, 650px);
    }
}
