/* ── CSS VÒNG QUAY MAY MẮN & HŨ JACKPOT ───────────────────────────── */
.cf-page-lucky-wheel .wheel-page,
.cf-page-wheel .wheel-page {
    width: min(1240px, calc(100% - 36px));
    margin: 36px auto 76px;
    position: relative;
    z-index: 2;
}

/* Hero Banner */
.cf-wheel-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid rgba(243, 155, 39, 0.28);
    border-radius: 4px;
    background: radial-gradient(ellipse at 88% 42%, rgba(243, 155, 39, 0.15), transparent 45%), linear-gradient(135deg, #131822 0%, #090C12 80%);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}
.cf-wheel-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.cf-wheel-hero-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #FFFFFF;
}
.cf-wheel-hero-copy p {
    max-width: 660px;
    margin: 0;
    color: #94A3B8;
    font-size: 14px;
    line-height: 1.8;
}
.cf-wheel-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
    color: #CBD5E1;
    font-size: 12px;
    font-weight: 700;
}
.cf-wheel-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.cf-wheel-hero-mark {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 140px;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(243, 155, 39, 0.35);
    border-radius: 4px;
    background: linear-gradient(145deg, rgba(243, 155, 39, 0.15), rgba(255, 255, 255, 0.02));
    color: #F39B27;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(243, 155, 39, 0.1);
}
.cf-wheel-hero-mark i {
    font-size: 38px;
    text-shadow: 0 0 25px rgba(243, 155, 39, 0.6);
}
.cf-wheel-hero-mark span {
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Winner Modal */
.cf-wheel-winner-modal {
    display: none !important;
}
.cf-wheel-winner-modal[hidden] {
    display: none !important;
}
.cf-wheel-winner-modal.is-active {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 999998;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cf-wheel-winner-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.cf-wheel-winner-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(180deg, #1A1710 0%, #0D0E14 100%);
    border: 1px solid rgba(243, 155, 39, 0.4);
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85), 0 0 35px rgba(243, 155, 39, 0.2);
    padding: 28px 24px 24px;
    text-align: center;
}
.cf-wheel-winner-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cf-wheel-winner-close:hover {
    background: rgba(255, 59, 48, 0.25);
    border-color: #ff3b30;
    color: #ffffff;
}

/* Jackpot Board */
.cf-jackpot-board {
    margin: 24px 0;
    background: linear-gradient(180deg, rgba(25, 20, 10, 0.85) 0%, rgba(10, 15, 24, 0.95) 100%);
    border: 1px solid rgba(243, 155, 39, 0.35);
    border-radius: 4px;
    padding: 22px 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(243, 155, 39, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Wheel Canvas Area */
.cf-wheel-stage-card {
    background: #0D111A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}
.cf-wheel-wrap {
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
    .cf-wheel-grid {
        grid-template-columns: 1fr !important;
    }
    .cf-wheel-hero {
        padding: 26px 20px;
    }
    .cf-wheel-hero-mark {
        display: none;
    }
}

