/* 🌌 LOTTERY COUNTDOWN & PRIZE VAULT 🌌 */

/* ===================================== */
/* 🏆 WINNER PRIZE VAULT */
/* ===================================== */

.winner-prize-vault {
    background: #2b2b2b;
    padding: 2rem 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 2rem auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.prize-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: #d4af37;
    margin: 0;
    text-transform: uppercase;
}

.winner-prize-vault .prize-amount {
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-prize-vault .prize-value {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    font-family: Arial, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: pulsePrize 2s ease-in-out infinite;
}

@keyframes pulsePrize {
    0%, 100% {
        transform: scale(1);
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.5),
            0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        text-shadow:
            0 2px 10px rgba(0, 0, 0, 0.5),
            0 0 15px rgba(255, 255, 255, 0.7),
            0 0 30px rgba(255, 255, 255, 0.4);
    }
}

/* Responsive for tablets */
@media (max-width: 1024px) {
    .prize-title {
        font-size: 2rem;
    }
    .winner-prize-vault .prize-value {
        font-size: 3rem;
    }
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .winner-prize-vault {
        padding: 1.5rem 2rem;
    }
    .prize-title {
        font-size: 1.5rem;
    }
    .winner-prize-vault .prize-value {
        font-size: 2.5rem;
    }
}

/* ===================================== */
/* ⏰ DOOMSDAY INTERFACE SECTION */
/* ===================================== */

.doomsday-interface {
    position: relative;
    min-height: 500px;
    background: 
        radial-gradient(circle at 30% 20%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, 
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.9) 50%,
            rgba(15, 23, 42, 0.95) 100%);
    border-radius: 24px;
    border: 2px solid transparent;
    backdrop-filter: blur(20px) saturate(180%);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 100px rgba(239, 68, 68, 0.2);
}

.doomsday-interface::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg,
        rgba(239, 68, 68, 0.05) 0%,
        transparent 30%,
        transparent 70%,
        rgba(168, 85, 247, 0.05) 100%);
    border-radius: 24px;
    animation: doomsdayAura 5s ease-in-out infinite;
    z-index: 1;
}

@keyframes doomsdayAura {
    0%, 100% { 
        background-position: 0% 0%;
        opacity: 0.5;
    }
    50% { 
        background-position: 100% 100%;
        opacity: 0.9;
    }
}

.clock-chamber {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
}

/* ===================================== */
/* TIME DISTORTION CANVAS */
/* ===================================== */

.time-distortion {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    z-index: 2;
    opacity: 0.4;
    pointer-events: none;
}

.temporal-field {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.1) 0%, transparent 60%),
        conic-gradient(from 180deg at 50% 50%, 
            rgba(239, 68, 68, 0.1), 
            rgba(168, 85, 247, 0.1), 
            rgba(59, 130, 246, 0.1), 
            rgba(239, 68, 68, 0.1));
    border-radius: 24px;
    animation: temporalDistortion 15s linear infinite;
    opacity: 0.6;
}

@keyframes temporalDistortion {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ===================================== */
/* TIME NEXUS */
/* ===================================== */

.time-nexus {
    position: relative;
    text-align: center;
    z-index: 20;
}

.nexus-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    z-index: 1;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(239, 68, 68, 0.8) 0%,
        rgba(239, 68, 68, 0.4) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
}

.core-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.core-rings::before,
.core-rings::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(239, 68, 68, 0.6);
    border-radius: 50%;
    animation: coreRings 3s ease-out infinite;
}

.core-rings::before {
    width: 80px;
    height: 80px;
    top: -10px;
    left: -10px;
    animation-delay: 0s;
}

.core-rings::after {
    width: 100px;
    height: 100px;
    top: -20px;
    left: -20px;
    animation-delay: -1.5s;
}

@keyframes coreRings {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* ===================================== */
/* TIME SEGMENTS */
/* ===================================== */

.time-segments {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.time-pod {
    position: relative;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    border: 2px solid transparent;
    backdrop-filter: blur(15px);
    text-align: center;
    min-width: 80px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.time-pod.critical {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 
        0 10px 30px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(239, 68, 68, 0.2);
}

.time-pod.warning {
    border-color: rgba(255, 193, 7, 0.6);
    box-shadow: 
        0 10px 30px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 193, 7, 0.2);
}

.time-pod.normal {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 
        0 10px 30px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(34, 197, 94, 0.2);
}

.pod-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.time-pod.critical .pod-glow {
    background: rgba(239, 68, 68, 0.1);
    animation: criticalGlow 1s ease-in-out infinite alternate;
}

.time-pod.warning .pod-glow {
    background: rgba(255, 193, 7, 0.1);
    animation: warningGlow 2s ease-in-out infinite alternate;
}

.time-pod.normal .pod-glow {
    background: rgba(34, 197, 94, 0.1);
}

@keyframes criticalGlow {
    from { opacity: 0.3; }
    to { opacity: 0.7; }
}

@keyframes warningGlow {
    from { opacity: 0.2; }
    to { opacity: 0.5; }
}

.pod-frame {
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 18px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: frameShimmer 4s ease-in-out infinite;
    opacity: 0;
}

.time-pod:hover .pod-frame {
    opacity: 1;
}

@keyframes frameShimmer {
    0%, 100% {
        background-position: -100% -100%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.time-digit {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 0.5rem;
    text-shadow: 
        0 0 20px currentColor,
        0 2px 4px rgba(0, 0, 0, 0.5);
    animation: digitGlow 2s ease-in-out infinite alternate;
}

.time-pod.critical .time-digit {
    color: #ef4444;
}

.time-pod.warning .time-digit {
    color: #fbbf24;
}

.time-pod.normal .time-digit {
    color: #22c55e;
}

@keyframes digitGlow {
    from {
        text-shadow: 
            0 0 20px currentColor,
            0 2px 4px rgba(0, 0, 0, 0.5);
    }
    to {
        text-shadow: 
            0 0 30px currentColor,
            0 0 50px currentColor,
            0 2px 4px rgba(0, 0, 0, 0.5);
    }
}

.time-unit {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.urgency-pulse {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: urgencyPulse 1s ease-in-out infinite;
    box-shadow: 0 0 10px #ef4444;
}

@keyframes urgencyPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* ===================================== */
/* TIME WARNING */
/* ===================================== */

.time-warning {
    position: relative;
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.warning-flash {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg,
        transparent,
        rgba(239, 68, 68, 0.3),
        transparent);
    animation: warningFlash 2s ease-in-out infinite;
    border-radius: 20px;
}

@keyframes warningFlash {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

.warning-text {
    position: relative;
    font-size: 1.1rem;
    color: #ef4444;
    font-weight: 900;
    z-index: 2;
    text-shadow: 
        0 0 10px rgba(239, 68, 68, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: warningTextPulse 1.5s ease-in-out infinite;
}

@keyframes warningTextPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.warning-subtitle {
    position: relative;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
    z-index: 2;
}

/* ===================================== */
/* CLOCK ATMOSPHERIC EFFECTS */
/* ===================================== */

.clock-atmosphere {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 3;
    border-radius: 24px;
    overflow: hidden;
}

.temporal-wisps {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(239, 68, 68, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(59, 130, 246, 0.04) 0%, transparent 40%);
    animation: wispFloat 12s ease-in-out infinite;
}

@keyframes wispFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 100%;
        opacity: 0.6;
    }
    33% {
        background-position: 25% 25%, 75% 75%, 75% 25%;
        opacity: 0.8;
    }
    66% {
        background-position: 75% 10%, 25% 90%, 25% 75%;
        opacity: 0.7;
    }
}

.chronon-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        linear-gradient(0deg, transparent 48%, rgba(239, 68, 68, 0.08) 49%, rgba(239, 68, 68, 0.08) 51%, transparent 52%),
        linear-gradient(90deg, transparent 48%, rgba(168, 85, 247, 0.06) 49%, rgba(168, 85, 247, 0.06) 51%, transparent 52%);
    animation: chrononFlow 6s linear infinite;
    opacity: 0.4;
}

@keyframes chrononFlow {
    0% {
        background-position: 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 100%, 100% 0%;
    }
}

/* ===================================== */
/* RESPONSIVE DESIGN */
/* ===================================== */

@media (max-width: 1024px) {
    .cosmic-doomsday-container {
        gap: 3rem;
        max-width: 1200px;
        min-height: 550px;
    }
    
    .cosmic-vault,
    .doomsday-interface {
        min-height: 450px;
    }
    
    .prize-orb {
        width: 160px;
        height: 160px;
    }
    
    .orb-core {
        width: 100px;
        height: 100px;
    }
    
    .digit-counter {
        font-size: 2.2rem;
    }
    
    .time-segments {
        gap: 1.5rem;
    }
    
    .time-digit {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .cosmic-doomsday-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
        min-height: auto;
    }
    
    .cosmic-vault,
    .doomsday-interface {
        min-height: 400px;
        margin: 0 1rem;
    }
    
    .vault-chamber,
    .clock-chamber {
        padding: 1.5rem;
    }
    
    .prize-orb {
        width: 140px;
        height: 140px;
        margin-bottom: 1.5rem;
    }
    
    .orb-core {
        width: 90px;
        height: 90px;
    }
    
    .digit-counter {
        font-size: 2rem;
    }
    
    .vault-title {
        font-size: 1.5rem;
    }
    
    .time-segments {
        gap: 1rem;
    }
    
    .time-pod {
        padding: 1rem 0.8rem;
        min-width: 70px;
    }
    
    .time-digit {
        font-size: 1.8rem;
    }
    
    .warning-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cosmic-vault,
    .doomsday-interface {
        min-height: 350px;
        border-radius: 16px;
    }
    
    .vault-chamber,
    .clock-chamber {
        padding: 1rem;
    }
    
    .prize-orb {
        width: 120px;
        height: 120px;
    }
    
    .orb-core {
        width: 80px;
        height: 80px;
    }
    
    .digit-counter {
        font-size: 1.8rem;
    }
    
    .vault-title {
        font-size: 1.3rem;
    }
    
    .time-segments {
        gap: 0.8rem;
    }
    
    .time-pod {
        padding: 0.8rem 0.6rem;
        min-width: 60px;
    }
    
    .time-digit {
        font-size: 1.5rem;
    }
    
    .time-unit {
        font-size: 0.6rem;
    }
    
    .warning-text {
        font-size: 0.9rem;
    }
}

/* ===================================== */
/* ULTRA HIGH-END EFFECTS */
/* ===================================== */

@media (min-width: 1440px) and (min-height: 900px) {
    .cosmic-doomsday-container {
        min-height: 650px;
    }
    
    .cosmic-vault,
    .doomsday-interface {
        min-height: 550px;
        filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.3));
    }
    
    .prize-orb {
        width: 200px;
        height: 200px;
    }
    
    .orb-core {
        width: 140px;
        height: 140px;
    }
    
    .digit-counter {
        font-size: 3rem;
    }
    
    .vault-title {
        font-size: 2rem;
    }
    
    .time-digit {
        font-size: 2.5rem;
    }
}

/* ===================================== */
/* PERFORMANCE OPTIMIZATIONS */
/* ===================================== */

.cosmic-vault *,
.doomsday-interface * {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* GPU Acceleration */
.cosmic-vault,
.doomsday-interface,
.vault-energy-field,
.temporal-field,
.crystal-formation,
.time-distortion,
.vault-atmosphere *,
.clock-atmosphere * {
    will-change: transform, opacity;
    transform: translateZ(0);
}

/* ===================================== */
/* 🎮 EPIC MICRO-ANIMATIONS & HOVER EFFECTS */
/* ===================================== */

/* Prize value hover effects */
.prize-value {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
}

.prize-value:hover {
    transform: scale(1.08) translateY(-2px);
    text-shadow: 
        0 0 30px #ffd700, 
        0 0 40px #ffd700,
        0 0 50px rgba(255, 215, 0, 0.8);
    animation: prizeHover 0.8s ease-in-out infinite alternate;
}

@keyframes prizeHover {
    0% { filter: hue-rotate(0deg) brightness(1); }
    100% { filter: hue-rotate(30deg) brightness(1.2); }
}

/* Orb core interactive effects */
.orb-core {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.orb-core:hover {
    transform: scale(1.15);
    filter: brightness(1.3) saturate(1.2);
    animation: orbHover 1s ease-in-out infinite alternate;
}

@keyframes orbHover {
    0% { 
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.8),
            0 0 80px rgba(255, 215, 0, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }
    100% { 
        box-shadow: 
            0 0 60px rgba(255, 215, 0, 1),
            0 0 120px rgba(255, 215, 0, 0.6),
            0 0 160px rgba(168, 85, 247, 0.4),
            inset 0 0 40px rgba(255, 255, 255, 0.6);
    }
}

/* Energy rings hover acceleration */
.energy-rings:hover .energy-ring {
    animation-duration: 2s !important;
    border-width: 3px;
    filter: drop-shadow(0 0 15px currentColor);
}

/* Countdown number interactive effects */
.countdown-number {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.countdown-number:hover {
    transform: scale(1.1) rotateY(10deg);
    color: #ff6b6b;
    text-shadow: 
        0 0 20px #ff6b6b,
        0 0 30px rgba(255, 107, 107, 0.6);
}

/* Time pod pulse on hover */
.time-pod:hover {
    animation: timePodHover 1.5s ease-in-out infinite;
}

@keyframes timePodHover {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.02);
        filter: brightness(1.2) hue-rotate(15deg);
    }
}

/* Floating micro-animations for particles */
.floating-gem {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #ffd700, #ff8c00);
    border-radius: 50%;
    animation: floatingGem 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes floatingGem {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-15px) rotate(90deg) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(0.8);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-10px) rotate(270deg) scale(1.1);
        opacity: 0.9;
    }
}

/* Sparkle effects */
.sparkle-burst {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: sparkleBurst 2s ease-out infinite;
    pointer-events: none;
}

@keyframes sparkleBurst {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Interactive glow for clickable elements */
.cosmic-interactive {
    position: relative;
    overflow: visible;
}

.cosmic-interactive::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.3),
        rgba(168, 85, 247, 0.3),
        rgba(59, 130, 246, 0.3),
        rgba(255, 215, 0, 0.3));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.cosmic-interactive:hover::after {
    opacity: 1;
    animation: glowPulse 1.5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { filter: blur(8px) brightness(1); }
    100% { filter: blur(12px) brightness(1.5); }
}

/* Entrance animations for containers */
.cosmic-vault.animate-in {
    animation: vaultEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes vaultEntrance {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(45deg) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: perspective(1000px) rotateX(20deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) scale(1);
    }
}

.doomsday-interface.animate-in {
    animation: doomsdayEntrance 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}

@keyframes doomsdayEntrance {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(-45deg) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: perspective(1000px) rotateX(-20deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) scale(1);
    }
}

/* Staggered element animations */
.stagger-animation {
    animation: staggerIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations */
.cosmic-vault,
.doomsday-interface,
.prize-orb,
.time-pod,
.energy-ring,
.countdown-number {
    will-change: transform, opacity, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .cosmic-vault,
    .doomsday-interface,
    .vault-energy-field,
    .temporal-field,
    .energy-rings *,
    .time-pod *,
    .vault-atmosphere *,
    .clock-atmosphere *,
    .floating-gem,
    .sparkle-burst,
    .cosmic-interactive::after {
        animation: none !important;
        transition: none !important;
    }
}
/* ===================================== */
/* NEXT LOTTERY FLIP COUNTDOWN */
/* ===================================== */

.next-lottery-countdown {
    background: #2b2b2b;
    padding: 3rem 2rem 5rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem auto;
    max-width: 1200px;
}

.countdown-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: #ffffff;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.flip-countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.flip-card {
    position: relative;
    width: 200px;
    height: 250px;
    perspective: 1000px;
}

.flip-card-top {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.flip-card-top span {
    font-size: 7rem;
    font-weight: 700;
    color: #e0e0e0;
    font-family: Arial, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

.flip-card-label {
    position: absolute;
    bottom: -50px;
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: #d4af37;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .flip-countdown {
        gap: 1.5rem;
    }

    .flip-card {
        width: 150px;
        height: 200px;
    }

    .flip-card-top span,
    .flip-card-bottom span {
        font-size: 5.5rem;
    }

    .countdown-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .countdown-title {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .flip-countdown {
        gap: 1rem;
    }

    .flip-card {
        width: 100px;
        height: 140px;
    }

    .flip-card-top span,
    .flip-card-bottom span {
        font-size: 3.5rem;
    }

    .flip-card-label {
        font-size: 0.9rem;
        bottom: -35px;
    }

    .next-lottery-countdown {
        padding: 2rem 1rem 4rem 1rem;
    }
}

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

    .flip-card {
        width: 70px;
        height: 100px;
    }

    .flip-card-top span,
    .flip-card-bottom span {
        font-size: 2.5rem;
    }

    .flip-card-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
    }

    .flip-countdown {
        gap: 0.5rem;
    }
}
