*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    color: #fff;
    background: #000;
}

/* ===== Сторінка ===== */

.lucky-wheel-v2 {
    position: relative;
    overflow: hidden;
    background: #000;
}

.lucky-wheel-v2__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px 40px;
    text-align: center;
}

.lucky-wheel-v2__title,
.lucky-wheel-v2__subtitle,
.lucky-wheel-v2__button,
.lucky-wheel-v2__tg-button,
.lucky-wheel-v2__status,
.lucky-wheel-v2__caption {
    position: relative;
    z-index: 1;
}

.lucky-wheel-v2__title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.lucky-wheel-v2__subtitle {
    max-width: 560px;
    margin: -4px 0 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 400;
}

.lucky-wheel-v2__subtitle[hidden] {
    display: none;
}

/* ===== Сцена з колесом ===== */

.lucky-wheel-v2__stage {
    position: relative;
    width: min(360px, 92vw);
    aspect-ratio: 1;
    margin: 0 auto 24px;
}

/* Пурпурове сяйво за колесом (у макеті — картинка 5288.png) */
.lucky-wheel-v2__glow {
    position: absolute;
    inset: -48%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 224, 255, 0.42) 0%, rgba(232, 90, 255, 0.36) 9%, rgba(177, 32, 240, 0.28) 22%, rgba(106, 22, 190, 0.2) 38%, rgba(52, 16, 120, 0.1) 54%, rgba(0, 0, 0, 0) 68%),
        radial-gradient(circle at 36% 38%, rgba(233, 0, 172, 0.24) 0%, rgba(150, 0, 140, 0.12) 35%, transparent 60%),
        radial-gradient(circle at 66% 60%, rgba(82, 40, 220, 0.2) 0%, transparent 58%);
}

.lucky-wheel-v2__glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.05) 0deg 2deg,
        rgba(255, 255, 255, 0) 2deg 11deg
    );
    -webkit-mask-image: radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.8) 34%, rgba(0, 0, 0, 0.35) 52%, transparent 68%);
    mask-image: radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.8) 34%, rgba(0, 0, 0, 0.35) 52%, transparent 68%);
}

/* Стрілка-вказівник — золотий сектор кола (Figma Ellipse 7, 163×90 на колесі 472) */
.lucky-wheel-v2__pointer {
    position: absolute;
    z-index: 4;
    top: -10px;
    left: 50%;
    width: 18%;
    transform: translateX(-50%);
}

.lucky-wheel-v2__pointer svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Диск */
.lucky-wheel-v2__disc {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border: 8px solid #f2c94c;
    border-radius: 50%;
    background: #1d1d2b;
    box-shadow:
        0 0 0 2px #a8780f,
        inset 0 0 0 2px #b8860f,
        0 0 56px rgba(242, 201, 76, 0.22),
        0 26px 60px rgba(0, 0, 0, 0.55);
    transition: transform 3.8s cubic-bezier(0.13, 0.74, 0.09, 1);
}

.lucky-wheel-v2.is-cooldown .lucky-wheel-v2__disc {
    filter: saturate(0.55) brightness(0.55);
}

.lucky-wheel-v2__disc.no-transition {
    transition: none;
}

/* Сектори-клини: clip-path, кут і градієнт задаються з config.js */
.lucky-wheel-v2__sector {
    position: absolute;
    inset: 0;
}

/* Програшний сектор (Figma Component 1): майже прозора сіра заливка + сітка хрестиків
   лише біля обода (перший ряд) і ближче до центру (останні ряди), чисто за текстом */
.lucky-wheel-v2__sector--loss {
    background: radial-gradient(circle at 50% 4%, rgb(255 255 255 / 45%) 0%, rgba(151, 155, 167, 0) 72%);
}

.lucky-wheel-v2__sector--loss::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='33'%20height='33'%3E%3Cg%20stroke='%23ffffff'%20stroke-width='1.2'%20opacity='0.35'%3E%3Cpath%20d='M9%209L24%2024'/%3E%3Cpath%20d='M24%209L9%2024'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 7% 7%;
    background-position: center top;
    -webkit-mask-image: linear-gradient(to bottom,
        #000 0%, #000 14%,
        transparent 17%, transparent 30%,
        #000 33%, #000 39%,
        transparent 44%);
    mask-image: linear-gradient(to bottom, #000 3%, #000 3%, transparent 9%, transparent 20%, #000 31%, #000 58%, transparent 70%);
}

/* Тонкі роздільники між секторами (градієнт — із config.js) */
.lucky-wheel-v2__dividers {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

/* Підсвічування виграшного сектора */
.lucky-wheel-v2__flash {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.18) 38%, rgba(255, 255, 255, 0) 52%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.lucky-wheel-v2__flash.is-on {
    opacity: 1;
}

/* Контент секторів */
.lucky-wheel-v2__segment {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2%;
    color: #fff;
    font-weight: 800;
    pointer-events: none;
}

.lucky-wheel-v2__segment--loss {
    padding-top: 9%;
}

.lucky-wheel-v2__segment-casino {
    max-width: 42%;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.9;
}

.lucky-wheel-v2__segment-coin {
    margin-top: 1%;
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.lucky-wheel-v2__segment-prize {
    max-width: 42%;
    margin-top: 7px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lucky-wheel-v2__segment-sub {
    max-width: 26%;
    margin-top: 4px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.lw2-logo {
    display: grid;
    min-width: 28px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 12px;
    font-size: 6.5px;
    font-weight: 900;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.lw2-logo--empty {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.lw2-logo--img {
    object-fit: cover;
}

/* Центр колеса — золота «монета» (Figma center.svg, обід r75 + грань r69.5 на колесі 472) */
.lucky-wheel-v2__hub {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 33%;
    aspect-ratio: 1;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    color: #9e1414;
    /* Обід: вертикальний градієнт #F7DA8A(верх) → #9B7E4B(низ) + діагональний білий блиск (color-dodge) */
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, #f7da8a 0%, #9b7e4b 100%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    font-family: "Sansita", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 800;
    line-height: 0.95;
}

/* Внутрішня грань монети: інвертований градієнт #C0803C(верх) → #FFC862(низ) + м'який центральний відблиск */
.lucky-wheel-v2__hub::before {
    content: "";
    position: absolute;
    inset: 3%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 77%),
        linear-gradient(180deg, #c0803c 0%, #ffc862 100%);
}

.lucky-wheel-v2__hub-logo {
    position: relative;
    z-index: 1;
    font-size: 22px;
}

.lucky-wheel-v2__hub img {
    position: relative;
    z-index: 1;
    width: 64%;
    height: 64%;
    object-fit: contain;
}

/* ===== Кнопки та підписи ===== */

.lucky-wheel-v2__button,
.lucky-wheel-v2__tg-button,
.lucky-wheel-v2__claim {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.lucky-wheel-v2__button {
    min-width: 252px;
    min-height: 52px;
    padding: 12px 32px;
    color: #0e0f14;
    background: #fff;
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.lucky-wheel-v2__button:disabled {
    opacity: 0.7;
    cursor: default;
}

.lucky-wheel-v2__button[hidden],
.lucky-wheel-v2__tg-button[hidden] {
    display: none;
}

.lucky-wheel-v2__tg-button {
    gap: 10px;
    min-width: 252px;
    min-height: 52px;
    padding: 3px 26px 3px 3px;
    color: #fff;
    background: linear-gradient(90deg, #39c7ff 0%, #006eff 100%);
    font-size: 14px;
    box-shadow: 0 12px 28px rgba(0, 110, 255, 0.35);
    justify-content: flex-start;
}

.lucky-wheel-v2__tg-plane {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: #fff;
}

.lucky-wheel-v2__tg-plane svg {
    width: 18px;
    height: 18px;
    margin: 1px 2px 0 0;
    fill: #2aa5e4;
}

.lucky-wheel-v2__status {
    margin: 16px 0 0;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.lucky-wheel-v2__status strong {
    font-weight: 800;
}

.lucky-wheel-v2__status.is-error {
    color: #ff8a8a;
}

.lucky-wheel-v2__caption {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 400;
}

/* ===== Модалки ===== */

.lucky-wheel-v2__overlay {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lucky-wheel-v2__overlay[hidden] {
    display: none;
}

.lucky-wheel-v2__modal {
    position: relative;
    width: min(393px, calc(100vw - 32px));
    overflow: hidden;
    border-radius: 32px;
    padding: 12px;
    text-align: center;
}

.lucky-wheel-v2__modal--win {
    color: #fff;
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(57, 199, 255, 0.35) 0%, rgba(57, 199, 255, 0) 45%),
        radial-gradient(130% 110% at 12% 100%, rgba(219, 0, 175, 0.5) 0%, rgba(219, 0, 175, 0) 52%),
        radial-gradient(140% 120% at 50% 45%, #7a2bf0 0%, #5a22d8 48%, #2f16b5 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.lucky-wheel-v2__modal--loss {
    color: #fff;
    /* градієнт зліва #45548A → справа #5E618B */
    background: linear-gradient(90deg, #45548a 0%, #5e618b 100%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.lucky-wheel-v2__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
}

.lucky-wheel-v2__close svg {
    width: 18px;
    height: 18px;
}

.lucky-wheel-v2__close--loss {
    color: rgba(255, 255, 255, 0.8);
}

/* Виграш */
.lucky-wheel-v2__modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.lucky-wheel-v2__modal-logo .lw2-logo {
    width: 96px;
    min-width: 96px;
    border-radius: 26px;
    font-size: 17px;
}

.lucky-wheel-v2__modal-casino {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.92;
}

.lucky-wheel-v2__modal-title {
    color: #fff;
    margin: 0;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.lucky-wheel-v2__modal-sub {
    font-size: 18px;
    line-height: 1.5;
}

.lucky-wheel-v2__modal-conditions {
    max-width: 300px;
    margin: 12px auto 0;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.82;
}

.lucky-wheel-v2__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
    background: #15151552;
    backdrop-filter: blur(14px)
}

.lucky-wheel-v2__steps span {
    opacity: 0.7;
}

.lucky-wheel-v2__code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 10px 0 -30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 12px 14px 35px;
    background: rgba(10, 6, 40, 0.35);
}

.lucky-wheel-v2__code-value {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.lucky-wheel-v2__copy {
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.lucky-wheel-v2__copy svg {
    width: 20px;
    height: 20px;
}

.lucky-wheel-v2__copy.is-copied {
    color: #4dffc3;
}

.lucky-wheel-v2__claim {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    color: #18103a;
    background: #fff;
    font-size: 15px;
}

.lucky-wheel-v2__validity {
    margin: 12px 0 0;
    font-size: 12px;
    opacity: 0.7;
}

/* Програш */
.lucky-wheel-v2__loss-emoji {
    margin-top: 6px;
    font-size: 44px;
    line-height: 1;
}

.lucky-wheel-v2__modal-title--loss {
    margin-top: 12px;
}

.lucky-wheel-v2__loss-sub {
    color: #fff;
    margin: 8px 0 0;
    font-size: 16px;
}

.lucky-wheel-v2__tg-block {
    margin-top: 20px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 28px;
    border-bottom-left-radius: 28px;
    padding: 16px 0 0;
    backdrop-filter: blur(14px);
    background: #15151585;
}

.lucky-wheel-v2__tg-block-title {
    color: #fff;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    padding: 0 10px;
}

.lucky-wheel-v2__tg-block-desc {
    color: #fff;
    margin: 8px 0 14px;
    font-size: 12px;
    line-height: 1.45;
    padding: 0 10px;
}

.lucky-wheel-v2__tg-block .lucky-wheel-v2__tg-button {
    width: 100%;
    min-width: 0;
}

/* ===== Десктоп (min-width — mobile-first) ===== */

@media (min-width: 768px) {
    .lucky-wheel-v2__inner {
        padding: 120px 20px 170px;
    }

    .lucky-wheel-v2__title {
        margin-bottom: 25px;
        font-size: 52px;
    }

    .lucky-wheel-v2__subtitle {
        margin: -6px 0 18px;
        font-size: 15px;
    }

    .lucky-wheel-v2__stage {
        width: min(472px, 86vw);
        margin-bottom: 30px;
    }

    .lucky-wheel-v2__disc {
        border-width: 10px;
    }

    .lucky-wheel-v2__segment-casino {
        margin-top: 5px;
        font-size: 14px;
    }

    .lucky-wheel-v2__segment-coin {
        font-size: 38px;
    }

    .lucky-wheel-v2__segment-prize {
        font-size: 38px;
    }

    .lucky-wheel-v2__segment-sub {
        margin-top: 5px;
        font-size: 11px;
    }

    .lw2-logo {
        min-width: 34px;
        font-size: 8px;
    }

    .lucky-wheel-v2__hub-logo {
        font-size: 30px;
    }

    .lucky-wheel-v2__button,
    .lucky-wheel-v2__tg-button {
        min-width: 280px;
        font-size: 16px;
    }

    .lucky-wheel-v2__status {
        margin-top: 18px;
        font-size: 16px;
    }

    .lucky-wheel-v2__caption {
        margin-top: 12px;
        font-size: 13px;
    }

    .lucky-wheel-v2__overlay {
        padding: 20px;
    }

    .lucky-wheel-v2__steps {
        font-size: 13px;
    }
}

/* ===== v2: баланс коінів ===== */

.lucky-wheel-v2__balance {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    border: 1px solid rgba(242, 201, 76, 0.45);
    border-radius: 999px;
    padding: 8px 18px;
    background: rgba(242, 201, 76, 0.1);
}

.lucky-wheel-v2__balance-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.lucky-wheel-v2__balance-value .js-lw2-balance {
    color: #f2c94c;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

/* ===== v2: модалка виграшу коінів ===== */

.lucky-wheel-v2__coins-emoji {
    margin-top: 10px;
    font-size: 56px;
    line-height: 1;
}

.lucky-wheel-v2__modal--win .lucky-wheel-v2__modal-title {
    margin-top: 12px;
}

.lucky-wheel-v2__coins-balance {
    margin: 14px 0 16px;
    font-size: 14px;
    opacity: 0.85;
}

/* ===== v2: маркет бонусів ===== */

.lucky-wheel-v2__market {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 16px 64px;
}

.lucky-wheel-v2__market-title {
    margin: 0 0 6px;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    text-align: center;
}

.lucky-wheel-v2__market-subtitle {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

.lucky-wheel-v2__market-subtitle[hidden] {
    display: none;
}

.lucky-wheel-v2__market-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.lw2-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 18px;
    background: linear-gradient(160deg, rgba(122, 43, 240, 0.16) 0%, rgba(20, 16, 44, 0.9) 55%, rgba(10, 8, 24, 0.95) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.lw2-card.is-purchased {
    border-color: rgba(77, 255, 195, 0.35);
}

.lw2-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lw2-card__head .lw2-logo {
    width: 48px;
    min-width: 48px;
    border-radius: 12px;
    font-size: 8px;
}

.lw2-card__names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lw2-card__casino {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.lw2-card__amount {
    color: #f2c94c;
    font-size: 18px;
    font-weight: 800;
}

.lw2-card__title {
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.lw2-card__desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.4;
}

.lw2-card__footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.lw2-card__buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    color: #0e0f14;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.lw2-card__buy.is-locked,
.lw2-card__buy:disabled {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    cursor: default;
}

.lw2-card__code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px dashed rgba(77, 255, 195, 0.5);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(10, 6, 40, 0.45);
}

.lw2-card__code-value {
    color: #4dffc3;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    word-break: break-all;
}

.lw2-card__copy {
    display: grid;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.lw2-card__copy svg {
    width: 20px;
    height: 20px;
}

.lw2-card__copy.is-copied {
    color: #4dffc3;
}

.lw2-card__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.lw2-card__bot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 999px;
    padding: 12px 20px;
    color: #fff;
    background: linear-gradient(90deg, #39c7ff 0%, #006eff 100%);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 110, 255, 0.3);
}

.lucky-wheel-v2__back-button {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: 40px auto 0;
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lucky-wheel-v2__back-button:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
}

.lucky-wheel-v2__back-button[hidden] {
    display: none;
}

@media (min-width: 560px) {
    .lucky-wheel-v2__market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .lucky-wheel-v2__market-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .lucky-wheel-v2__inner {
        padding-bottom: 64px;
    }

    .lucky-wheel-v2__balance-value {
        font-size: 20px;
    }

    .lucky-wheel-v2__market {
        padding-bottom: 130px;
    }

    .lucky-wheel-v2__market-title {
        font-size: 34px;
    }
}
