/* ============================================================
   Daily Wheel styles
   ============================================================
   Split out of style.css, which is the full source stylesheet that
   combined.min.css is built from. combined.min.css stops just short of the
   wheel section, so daily-wheel.php was pulling in the whole of style.css to
   reach it - loading roughly 213KB of rules the page already had.

   Same arrangement resources-cards.css already uses: the shared base comes from
   combined.min.css, this adds only what one page needs.

   Regenerate with the wheel section of style.css if that file changes.
   ============================================================ */

/* ============================================
   DAILY WHEEL — PREMIUM GLASSMORPHISM EDITION
   ============================================ */

/* ---------- Background & Atmosphere ---------- */
.wheel-section {
    position: relative;
    background:
        radial-gradient(ellipse 120% 80% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 90%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, #0f0f23 0%, #050510 60%, #000000 100%);
}

.wheel-bg-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.wheel-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: wheelOrbFloat 12s ease-in-out infinite;
}

.wheel-bg-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.5), transparent 70%);
    top: -10%;
    left: -5%;
    animation-delay: 0s;
    animation-duration: 14s;
}

.wheel-bg-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.35), transparent 70%);
    top: 20%;
    right: -8%;
    animation-delay: -3s;
    animation-duration: 11s;
}

.wheel-bg-orb--3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25), transparent 70%);
    bottom: -5%;
    left: 30%;
    animation-delay: -6s;
    animation-duration: 16s;
}

.wheel-bg-orb--4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
    bottom: 30%;
    left: 10%;
    animation-delay: -9s;
    animation-duration: 13s;
}

@keyframes wheelOrbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.05); }
    50% { transform: translate(-20px, 15px) scale(0.95); }
    75% { transform: translate(15px, 25px) scale(1.02); }
}

.wheel-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
    pointer-events: none;
    animation: wheelGridScroll 25s linear infinite;
}

@keyframes wheelGridScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(64px); }
}

.wheel-bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

/* ---------- Particles ---------- */
.wheel-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.wheel-particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    background: rgba(99, 102, 241, 0.7);
    border-radius: 50%;
    filter: blur(1px);
    animation: wheelParticleFloat 8s ease-in-out infinite;
    animation-delay: var(--d);
}

@keyframes wheelParticleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    20% { opacity: 0.8; }
    40% { transform: translateY(-40px) translateX(12px); opacity: 0.5; }
    60% { transform: translateY(-70px) translateX(-8px); opacity: 0.7; }
    80% { transform: translateY(-35px) translateX(18px); opacity: 0.3; }
}

/* ---------- Header ---------- */
.wheel-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.wheel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.75rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    animation: wheelBadgePulse 3s ease-in-out infinite;
}

.wheel-badge-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: wheelDotPulse 2s ease-in-out infinite;
}

@keyframes wheelDotPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 14px rgba(74, 222, 128, 0.8); }
}

@keyframes wheelBadgePulse {
    0%, 100% { border-color: rgba(99, 102, 241, 0.25); }
    50% { border-color: rgba(99, 102, 241, 0.45); }
}

.wheel-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.wheel-title-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 25%, #ef4444 50%, #ec4899 75%, #8b5cf6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wheelTitleShimmer 4s linear infinite;
    filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.2));
}

@keyframes wheelTitleShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.wheel-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ---------- Two-Column Layout ---------- */
.wheel-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

.wheel-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.wheel-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ---------- Wheel Stage ---------- */
.wheel-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
}

.wheel-orbital-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    pointer-events: none;
}

.wheel-orbital-ring--1 {
    width: 110%;
    height: 110%;
    border-color: rgba(99, 102, 241, 0.08);
    animation: wheelOrbitSpin 30s linear infinite;
}

.wheel-orbital-ring--2 {
    width: 125%;
    height: 125%;
    border-color: rgba(139, 92, 246, 0.05);
    animation: wheelOrbitSpin 45s linear infinite reverse;
}

.wheel-orbital-ring--3 {
    width: 140%;
    height: 140%;
    border-color: rgba(245, 158, 11, 0.03);
    animation: wheelOrbitSpin 60s linear infinite;
}

@keyframes wheelOrbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-orbital-ring--1::after,
.wheel-orbital-ring--2::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.wheel-orbital-ring--1::after {
    background: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.wheel-orbital-ring--2::after {
    background: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.wheel-glow-center {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: wheelCenterGlow 4s ease-in-out infinite;
}

@keyframes wheelCenterGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* ---------- Wheel Wrapper ---------- */
.wheel-wrapper {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.2)) drop-shadow(0 0 80px rgba(99, 102, 241, 0.08));
}

.wheel-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 32px);
    height: calc(100% + 32px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.12);
    pointer-events: none;
    z-index: 0;
    animation: wheelOuterRingPulse 4s ease-in-out infinite;
}

.wheel-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% + 56px);
    height: calc(100% + 56px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.06);
    pointer-events: none;
    z-index: 0;
    animation: wheelOuterRingPulse 4s ease-in-out infinite 1s;
}

@keyframes wheelOuterRingPulse {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.015); }
}

.wheel-wrapper canvas {
    display: block;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    border-radius: 50%;
}

/* ---------- Arrow ---------- */
.wheel-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8)) drop-shadow(0 0 4px rgba(239, 68, 68, 0.3));
    animation: wheelArrowBob 2.5s ease-in-out infinite;
}

@keyframes wheelArrowBob {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* ---------- Spin Button ---------- */
.wheel-action-area {
    text-align: center;
}

.wheel-spin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 40%, #4f46e5 100%);
    background-size: 200% 200%;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 4px 16px rgba(99, 102, 241, 0.3),
        0 8px 32px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    animation: wheelSpinBtnGlow 3s ease-in-out infinite;
}

@keyframes wheelSpinBtnGlow {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(99, 102, 241, 0.3),
            0 4px 16px rgba(99, 102, 241, 0.3),
            0 8px 32px rgba(99, 102, 241, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(99, 102, 241, 0.5),
            0 4px 24px rgba(99, 102, 241, 0.5),
            0 8px 48px rgba(139, 92, 246, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.wheel-spin-btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 50%, rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.wheel-spin-btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.wheel-spin-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background-position: 100% 0;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.5),
        0 8px 30px rgba(99, 102, 241, 0.45),
        0 16px 60px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.wheel-spin-btn:active {
    transform: translateY(1px) scale(0.98);
    transition-duration: 0.1s;
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.3),
        0 2px 8px rgba(99, 102, 241, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wheel-spin-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.wheel-spin-btn:hover i {
    transform: rotate(180deg);
}

.wheel-spin-btn.opacity-60,
.wheel-spin-btn.cursor-not-allowed {
    animation: none !important;
    box-shadow: 0 0 0 1px rgba(100, 116, 139, 0.2) !important;
    background: rgba(30, 41, 59, 0.8) !important;
    color: #64748b !important;
    transform: none !important;
    cursor: not-allowed !important;
}

.wheel-spin-btn.opacity-60 .wheel-spin-btn-bg,
.wheel-spin-btn.cursor-not-allowed .wheel-spin-btn-bg {
    display: none !important;
}

/* ---------- Cooldown ---------- */
.wheel-cooldown {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    animation: wheelFadeIn 0.4s ease-out;
}

.wheel-cooldown.hidden {
    display: none !important;
}

@keyframes wheelFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.wheel-cooldown span {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.75rem;
    color: #a5b4fc;
    font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
}

.wheel-cooldown i {
    color: #818cf8;
    font-size: 1rem;
    animation: wheelSpinIcon 2s linear infinite;
}

@keyframes wheelSpinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---------- Info Cards (Right Panel) ---------- */
.wheel-info-card {
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(16px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.wheel-card-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.04), transparent);
    pointer-events: none;
    transition: left 0.6s ease;
}

.wheel-info-card:hover .wheel-card-shine {
    left: 150%;
}

.wheel-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1, #8b5cf6, transparent);
    opacity: 0.4;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.wheel-info-card:hover::before {
    opacity: 1;
}

.wheel-info-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 8px 32px rgba(99, 102, 241, 0.08),
        0 0 0 1px rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.wheel-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.wheel-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.6rem;
    color: #818cf8;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wheel-info-card:hover .wheel-card-icon {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.15);
}

.wheel-info-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wheel-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.wheel-card-footer {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(99, 102, 241, 0.08);
}

/* Status indicators */
.wheel-status-available,
.wheel-status-spun {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 0.85rem;
    border-radius: 0.65rem;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.wheel-status-available.hidden,
.wheel-status-spun.hidden,
.wheel-last-reward.hidden,
.wheel-coupon-card.hidden {
    display: none !important;
}

.wheel-status-available {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.wheel-status-spun {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.15);
}

.wheel-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.wheel-status-dot--green {
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
    animation: wheelStatusPulse 2s ease-in-out infinite;
}

.wheel-status-dot--amber {
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    animation: wheelStatusPulse 2s ease-in-out infinite;
}

@keyframes wheelStatusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Last reward */
.wheel-last-reward {
    padding: 0.75rem;
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.12);
    border-radius: 0.65rem;
    animation: wheelFadeIn 0.4s ease-out;
}

#lastRewardInfo {
    position: relative;
    overflow: hidden;
}

#lastRewardInfo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #ea580c);
    pointer-events: none;
    z-index: 1;
}

.wheel-last-reward-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}

.wheel-last-reward-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fbbf24;
}

/* Coupon card in sidebar */
.wheel-coupon-card {
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 0.65rem;
    animation: wheelFadeIn 0.4s ease-out;
}

.wheel-coupon-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.wheel-coupon-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wheel-coupon-code-small {
    flex: 1;
    font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 800;
    color: #818cf8;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Copy button */
.wheel-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.wheel-copy-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.wheel-copy-btn:active {
    transform: translateY(0);
}

/* Rules list */
.wheel-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.wheel-rules-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.5;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.06);
    transition: background 0.2s ease;
}

.wheel-rules-list li:last-child {
    border-bottom: none;
}

.wheel-rules-list li:hover {
    background: rgba(99, 102, 241, 0.03);
}

.wheel-rule-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #818cf8;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* Browse button */
.wheel-browse-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 0.75rem;
    color: #a5b4fc;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.wheel-browse-btn:hover {
    background: rgba(99, 102, 241, 0.14);
    border-color: rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.12);
    transform: translateY(-2px);
}

.wheel-browse-arrow {
    transition: transform 0.3s ease;
}

.wheel-browse-btn:hover .wheel-browse-arrow {
    transform: translateX(4px);
}

/* Section title */
.wheel-section-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

/* ---------- Modal ---------- */
.wheel-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wheel-modal-overlay.active {
    display: flex;
}

.wheel-modal {
    position: relative;
    max-width: 440px;
    width: 100%;
    border-radius: 1.25rem;
    overflow: hidden;
    animation: wheelModalEnter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wheel-modal-glow {
    position: absolute;
    inset: -2px;
    border-radius: 1.25rem;
    background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #6366f1);
    opacity: 0.5;
    filter: blur(6px);
    animation: wheelModalGlowSpin 4s linear infinite;
    z-index: 0;
}

@keyframes wheelModalGlowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wheel-modal-border {
    position: absolute;
    inset: 0;
    border-radius: 1.25rem;
    border: 1px solid rgba(99, 102, 241, 0.3);
    z-index: 1;
    pointer-events: none;
}

.wheel-modal-inner {
    position: relative;
    z-index: 2;
    background: linear-gradient(160deg, #111827 0%, #0f172a 40%, #111827 100%);
    border-radius: 1.23rem;
    padding: 2.5rem 2rem;
    text-align: center;
    overflow: hidden;
}

.wheel-modal-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.08), transparent 70%);
    pointer-events: none;
}

@keyframes wheelModalEnter {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wheel-modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.4));
    animation: wheelModalIconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes wheelModalIconBounce {
    from { opacity: 0; transform: scale(0.3) rotate(-10deg); }
    60% { transform: scale(1.1) rotate(3deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.wheel-modal-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
}

.wheel-modal-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
}

.wheel-modal-coupon {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.85rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.wheel-modal-coupon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.06), transparent);
    animation: wheelShimmer 3s infinite;
}

@keyframes wheelShimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

.wheel-modal-coupon-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.wheel-modal-coupon-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wheel-coupon-code {
    flex: 1;
    font-family: 'SF Mono', 'Consolas', 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.08);
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
    letter-spacing: 0.08em;
    text-align: center;
}

.wheel-modal-expiry {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
}

.wheel-modal-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.wheel-btn-browse {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.wheel-btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

.wheel-btn-browse:active {
    transform: translateY(0);
}

.wheel-btn-close {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1.75rem;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    font-weight: 700;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wheel-btn-close:hover {
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .wheel-layout {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }

    .wheel-stage {
        padding: 2rem;
    }
}

@media (max-width: 900px) {
    .wheel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wheel-right {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .wheel-right .wheel-info-card {
        flex: 1;
        min-width: 280px;
    }

    .wheel-title {
        font-size: 2.25rem;
    }

    .wheel-subtitle {
        font-size: 0.95rem;
    }

    .wheel-header {
        margin-bottom: 2rem;
    }

    .wheel-stage {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .wheel-section {
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .wheel-title {
        font-size: 1.75rem;
    }

    .wheel-subtitle {
        font-size: 0.85rem;
    }

    .wheel-header {
        margin-bottom: 1.5rem;
    }

    .wheel-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem 0.3rem 0.6rem;
    }

    .wheel-stage {
        padding: 1rem;
    }

    .wheel-orbital-ring--3 {
        display: none;
    }

    .wheel-wrapper canvas {
        max-width: 320px;
    }

    .wheel-wrapper::before {
        width: calc(100% + 20px);
        height: calc(100% + 20px);
    }

    .wheel-wrapper::after {
        display: none;
    }

    .wheel-spin-btn {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
        border-radius: 0.85rem;
    }

    .wheel-right {
        flex-direction: column;
    }

    .wheel-right .wheel-info-card {
        min-width: auto;
    }

    .wheel-info-card {
        padding: 1rem 1.25rem;
    }

    .wheel-modal-inner {
        padding: 2rem 1.5rem;
    }

    .wheel-modal-title {
        font-size: 1.35rem;
    }

    .wheel-modal-icon {
        font-size: 3rem;
    }

    .wheel-modal-coupon-row {
        flex-direction: column;
    }

    .wheel-btn-browse,
    .wheel-btn-close {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .wheel-bg-orb--1 {
        width: 250px;
        height: 250px;
    }

    .wheel-bg-orb--2 {
        width: 200px;
        height: 200px;
    }

    .wheel-bg-orb--3,
    .wheel-bg-orb--4 {
        display: none;
    }

    .wheel-bg-grid {
        background-size: 48px 48px;
    }
}

@media (max-width: 380px) {
    .wheel-title {
        font-size: 1.5rem;
    }

    .wheel-spin-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }

    .wheel-wrapper canvas {
        max-width: 280px;
    }

    .wheel-modal {
        margin: 0.5rem;
    }

    .wheel-modal-inner {
        padding: 1.5rem 1.25rem;
    }

    .wheel-modal-actions {
        flex-direction: column;
    }

    .wheel-btn-browse,
    .wheel-btn-close {
        width: 100%;
    }
}
