﻿/* Ultra-Modern Enhanced Countdown Timer Section with 3D Effects */
.countdown-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

/* Dynamic Background Image */
.countdown-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.3;
    filter: blur(2px);
    transition: all 0.5s ease;
}

.countdown-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(209, 19, 19, 0.3) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.section-dark-gradient {
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #1a1a1a 25%, 
        #2d1b1b 50%, 
        #1a1a1a 75%, 
        #0a0a0a 100%);
    color: #ffffff;
}

/* Enhanced 3D Background System */
.countdown-bg-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transform-style: preserve-3d;
}

/* 3D Depth Layers */
.bg-depth-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bg-depth-layer.layer-1 {
    background: linear-gradient(135deg, rgba(209, 19, 19, 0.1), transparent 70%);
    transform: translateZ(-100px);
    z-index: -3;
}

.bg-depth-layer.layer-2 {
    background: linear-gradient(225deg, rgba(255, 255, 255, 0.03), transparent 60%);
    transform: translateZ(-200px);
    z-index: -2;
}

.bg-depth-layer.layer-3 {
    background: linear-gradient(315deg, rgba(209, 19, 19, 0.05), transparent 80%);
    transform: translateZ(-300px);
    z-index: -1;
}

/* Enhanced Particle System Container */
.bg-particle-system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Dynamic Light Rays */
.bg-light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.light-ray {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(209, 19, 19, 0.3) 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(209, 19, 19, 0.3) 70%, 
        transparent 100%);
    transform-origin: center top;
    animation: lightRayPulse 4s ease-in-out infinite;
}

.light-ray.ray-1 {
    left: 20%;
    animation-delay: 0s;
}

.light-ray.ray-2 {
    left: 40%;
    animation-delay: 1s;
}

.light-ray.ray-3 {
    left: 60%;
    animation-delay: 2s;
}

.light-ray.ray-4 {
    left: 80%;
    animation-delay: 3s;
}

@keyframes lightRayPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(1); }
    50% { opacity: 0.6; transform: scaleY(1.2); }
}

/* Background elements */
.countdown-bg-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-geometric-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(209, 19, 19, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(209, 19, 19, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 68, 68, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 68, 68, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    animation: geometric-shift 25s linear infinite;
}

.bg-floating-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(209, 19, 19, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(255, 68, 68, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 45% 15%, rgba(209, 19, 19, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 75% 45%, rgba(255, 68, 68, 0.05) 0%, transparent 45%);
    animation: circles-float 30s ease-in-out infinite;
}

.bg-subtle-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(209, 19, 19, 0.02) 35px,
            rgba(209, 19, 19, 0.02) 70px
        );
    animation: waves-move 20s linear infinite;
}

@keyframes geometric-shift {
    0% { background-position: 0 0, 0 30px, 30px -30px, -30px 0px; }
    100% { background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px; }
}

@keyframes circles-float {
    0%, 100% { 
        background-position: 15% 25%, 85% 75%, 45% 15%, 75% 45%; 
        opacity: 1;
    }
    50% { 
        background-position: 25% 35%, 75% 65%, 55% 25%, 65% 35%; 
        opacity: 0.7;
    }
}

@keyframes waves-move {
    0% { background-position: 0 0; }
    100% { background-position: 70px 70px; }
}

/* Floating decorations */
.countdown-decorations-light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(209, 19, 19, 0.1), rgba(255, 68, 68, 0.08));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(209, 19, 19, 0.1);
    animation: element-float 8s ease-in-out infinite;
}

.element-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.element-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    right: 12%;
    animation-delay: 2s;
}

.element-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 15%;
    animation-delay: 4s;
}

.element-4 {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 25%;
    animation-delay: 6s;
}

@keyframes element-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Content styling */
.countdown-content {
    position: relative;
    z-index: 2;
    color: #333333;
}

/* Badge styling */
.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

/* Top badge styling */
.countdown-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(209, 19, 19, 0.9), rgba(255, 68, 68, 0.9));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(209, 19, 19, 0.3);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.countdown-badge-top i {
    font-size: 1.3rem;
    animation: rotate 4s linear infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 10px 30px rgba(209, 19, 19, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 15px 40px rgba(209, 19, 19, 0.5);
        transform: scale(1.02);
    }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.countdown-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, #d11313, #ff4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
}

/* Action buttons */
.countdown-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary-modern, .btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #d11313, #ff4444);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(209, 19, 19, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(209, 19, 19, 0.4);
    color: #ffffff;
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #ffffff;
}

/* Enhanced 3D Countdown Timer */
.countdown-timer-wrapper {
    position: relative;
    z-index: 2;
    perspective: 1200px;
}

.countdown-timer-3d {
    position: relative;
    margin-bottom: 50px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 35px;
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.4),
        0 15px 40px rgba(209, 19, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    overflow: hidden;
}

/* Timer Background Effects */
.timer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 35px;
    overflow: hidden;
}

.timer-glow-ring {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(209, 19, 19, 0.3) 90deg,
        transparent 180deg,
        rgba(255, 255, 255, 0.1) 270deg,
        transparent 360deg
    );
    animation: rotateGlow 8s linear infinite;
    z-index: -3;
}

.timer-particle-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(209, 19, 19, 0.2), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: particleBurst 3s ease-in-out infinite;
    z-index: -2;
}

.timer-energy-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(209, 19, 19, 0.05) 0%, 
        transparent 25%, 
        rgba(255, 255, 255, 0.02) 50%, 
        transparent 75%, 
        rgba(209, 19, 19, 0.05) 100%);
    animation: energyFlow 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes particleBurst {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}

@keyframes energyFlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* 🚀 ULTRA-FUTURISTIC COUNTDOWN TIMER DESIGN */

/* Main Futuristic Timer Container */
.futuristic-timer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(15px, 3vw, 30px);
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Desktop Layout with Energy Connections */
@media (min-width: 992px) {
    .futuristic-timer-container {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: clamp(30px, 5vw, 60px);
        padding: 40px 20px;
    }
    
    .desktop-only {
        display: block !important;
    }
}

/* 🎯 FUTURISTIC TIMER UNITS */
.timer-unit-futuristic {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(120px, 15vw, 180px);
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(209, 19, 19, 0.05) 50%,
        rgba(0, 0, 0, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(209, 19, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    transform-style: preserve-3d;
}

.timer-unit-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(209, 19, 19, 0.1) 50%, 
        transparent 70%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.timer-unit-futuristic:hover::before {
    opacity: 1;
}

.timer-unit-futuristic:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 15px 30px rgba(209, 19, 19, 0.3),
        0 0 30px rgba(209, 19, 19, 0.2);
    border-color: rgba(209, 19, 19, 0.3);
}

/* 🌟 HOLOGRAM EFFECTS */
.unit-hologram {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    z-index: -1;
}

.hologram-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(209, 19, 19, 0.6);
    border-radius: 50%;
    animation: hologramSpin 3s linear infinite;
}

.hologram-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: hologramSpin 2s linear infinite reverse;
}

.hologram-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(209, 19, 19, 0.8), transparent);
    border-radius: 50%;
    animation: hologramPulse 2s ease-in-out infinite;
}

.hologram-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hologram-particles::before,
.hologram-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(209, 19, 19, 0.8);
    border-radius: 50%;
    animation: particleOrbit 4s linear infinite;
}

.hologram-particles::before {
    top: 10px;
    left: 50%;
    animation-delay: 0s;
}

.hologram-particles::after {
    bottom: 10px;
    right: 50%;
    animation-delay: 2s;
}

@keyframes hologramSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hologramPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes particleOrbit {
    0% { transform: rotate(0deg) translateX(25px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(25px) rotate(-360deg); }
}

/* 💫 UNIT DISPLAY */
.unit-display {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.number-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.number-display {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(209, 19, 19, 1),
        0 0 40px rgba(209, 19, 19, 0.8),
        0 0 60px rgba(209, 19, 19, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.8);
    display: block;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(209, 19, 19, 0.8));
    -webkit-text-stroke: 1px rgba(209, 19, 19, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #ff6b6b 50%, #d11313 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-scanner {
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(209, 19, 19, 0.3) 50%, 
        transparent 100%);
    animation: scannerMove 3s ease-in-out infinite;
    z-index: 1;
}

.number-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(209, 19, 19, 0.2), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.timer-unit-futuristic:hover .number-glow-effect {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

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

/* 🎬 FUTURISTIC ANIMATION EFFECTS */
.timer-unit-futuristic .number-wrapper.futuristic-flip {
    animation: futuristicFlip 0.6s ease-in-out;
}

.hologram-core.hologram-burst {
    animation: hologramBurst 0.8s ease-out;
}

.number-glow-effect.glow-burst {
    opacity: 1 !important;
    animation: glowBurst 0.8s ease-out;
}

@keyframes futuristicFlip {
    0% { transform: rotateY(0deg) scale(1); }
    25% { transform: rotateY(90deg) scale(0.8); }
    50% { transform: rotateY(180deg) scale(1.1); }
    75% { transform: rotateY(270deg) scale(0.9); }
    100% { transform: rotateY(360deg) scale(1); }
}

@keyframes hologramBurst {
    0% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(209, 19, 19, 0.6);
    }
    50% { 
        transform: translate(-50%, -50%) scale(2); 
        opacity: 1;
        box-shadow: 0 0 30px rgba(209, 19, 19, 1);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(209, 19, 19, 0.6);
    }
}

@keyframes glowBurst {
    0% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0;
    }
    50% { 
        transform: translate(-50%, -50%) scale(2); 
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(1.5); 
        opacity: 0;
    }
}

/* 🏷️ UNIT LABELS */
.unit-label {
    position: relative;
    margin-top: 10px;
}

.label-text {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.label-underline {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d11313, transparent);
    transition: width 0.4s ease;
}

.timer-unit-futuristic:hover .label-underline {
    width: 100%;
}

/* ⚡ ENERGY FIELD EFFECTS */
.unit-energy-field {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(209, 19, 19, 0.02) 0%, 
        transparent 25%, 
        rgba(255, 255, 255, 0.01) 50%, 
        transparent 75%, 
        rgba(209, 19, 19, 0.02) 100%);
    border-radius: 20px;
    animation: energyFieldFlow 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes energyFieldFlow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

/* 🔗 ENERGY BEAM CONNECTIONS (Desktop Only) */
.desktop-only {
    display: none;
}

.energy-connections {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 1;
    pointer-events: none;
}

.energy-beam {
    position: absolute;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(209, 19, 19, 0.8) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(209, 19, 19, 0.8) 80%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(209, 19, 19, 0.6);
    animation: energyFlow 2s ease-in-out infinite alternate;
}

.energy-beam.beam-1 {
    left: 20%;
    width: 15%;
    animation-delay: 0s;
}

.energy-beam.beam-2 {
    left: 42%;
    width: 15%;
    animation-delay: 0.7s;
}

.energy-beam.beam-3 {
    left: 64%;
    width: 15%;
    animation-delay: 1.4s;
}

@keyframes energyFlow {
    0% { 
        opacity: 0.4; 
        transform: scaleX(0.8);
        box-shadow: 0 0 5px rgba(209, 19, 19, 0.4);
    }
    100% { 
        opacity: 1; 
        transform: scaleX(1.2);
        box-shadow: 0 0 20px rgba(209, 19, 19, 0.8);
    }
}

.timer-unit-inner {
    position: relative;
    padding: clamp(15px, 3vw, 25px) clamp(10px, 2vw, 20px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: clamp(12px, 2vw, 20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(209, 19, 19, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    width: 100%;
}

.timer-unit-3d:hover .timer-unit-inner {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 10px 25px rgba(209, 19, 19, 0.3);
}

.unit-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3), transparent);
    transform: translateX(-50%);
    z-index: -1;
}

/* Enhanced 3D Numbers */
.timer-number-3d {
    position: relative;
    margin-bottom: 15px;
    transform-style: preserve-3d;
}

.number-display {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(209, 19, 19, 0.8),
        0 0 40px rgba(209, 19, 19, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 0 rgba(255, 255, 255, 0.1);
    display: block;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(209, 19, 19, 0.6));
    -webkit-text-stroke: 1px rgba(209, 19, 19, 0.3);
}

.number-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(209, 19, 19, 0.3), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.number-reflection {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
    z-index: 1;
}

/* Number Animation Effects */
.timer-number-3d.number-flip .number-display {
    animation: numberFlip 0.6s ease-in-out;
}

.number-glow.glow-pulse {
    opacity: 1;
    animation: glowPulse 0.6s ease-out;
}

@keyframes numberFlip {
    0% { transform: rotateX(0deg); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

@keyframes glowPulse {
    0% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0; transform: scale(1); }
}

/* Enhanced 3D Labels */
.timer-label-3d {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Enhanced 3D Separators */
.timer-separator-3d {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-inner {
    position: relative;
    width: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-symbol {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 
        0 0 15px rgba(209, 19, 19, 0.8),
        0 0 30px rgba(209, 19, 19, 0.4),
        0 2px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(209, 19, 19, 0.5));
}

.separator-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(209, 19, 19, 0.2), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: separatorPulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.3); }
}

.timer-unit {
    text-align: center;
    color: #ffffff;
}

.timer-number {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff, #d11313);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(209, 19, 19, 0.3);
}

.timer-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-separator {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Expired countdown styles */
.countdown-expired {
    opacity: 0.6;
    filter: grayscale(50%);
}

.countdown-expired-message {
    text-align: center;
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 107, 0.3);
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% { 
        background: rgba(255, 107, 107, 0.1);
        border-color: rgba(255, 107, 107, 0.3);
    }
    50% { 
        background: rgba(255, 107, 107, 0.2);
        border-color: rgba(255, 107, 107, 0.5);
    }
}

/* Stats */
.countdown-stats {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #ffffff;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #d11313;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.scroll-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Enhanced Comprehensive Responsive Design */
@media (max-width: 1400px) {
    .countdown-section {
        min-height: 90vh;
        padding: 80px 0;
    }
    
    .countdown-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
        margin-bottom: 25px;
    }
    
    .countdown-timer-3d {
        padding: clamp(30px, 4vw, 45px);
        margin-bottom: 40px;
    }
    
    .timer-units-container {
        gap: clamp(12px, 3vw, 25px);
    }
    
    .timer-unit-3d {
        min-width: clamp(75px, 11vw, 110px);
    }
    
    .timer-unit-inner {
        padding: clamp(12px, 2.5vw, 22px) clamp(8px, 1.8vw, 18px);
    }
    
    .number-display {
        font-size: clamp(1.8rem, 5.5vw, 4rem);
    }
    
    .separator-symbol {
        font-size: clamp(1.8rem, 3.5vw, 3rem);
    }
    
    .floating-element-3d {
        opacity: 0.8;
    }
    
    .element-1 { width: 90px; height: 90px; }
    .element-2 { width: 55px; height: 55px; }
    .element-3 { width: 75px; height: 75px; }
    .element-4 { width: 35px; height: 35px; }
    .element-5 { width: 65px; height: 65px; }
    .element-6 { width: 45px; height: 45px; }
}

@media (max-width: 1200px) {
    .countdown-section {
        min-height: 85vh;
        padding: 70px 0;
    }
    
    .countdown-badge-top {
        padding: 14px 28px;
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .countdown-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
        max-width: 450px;
    }
    
    .countdown-timer-3d {
        padding: clamp(25px, 3.5vw, 40px);
        margin-bottom: 35px;
        border-radius: 30px;
    }
    
    .timer-units-container {
        gap: clamp(10px, 2.5vw, 20px);
    }
    
    .timer-unit-3d {
        min-width: clamp(70px, 10vw, 100px);
    }
    
    .timer-unit-inner {
        padding: clamp(10px, 2vw, 20px) clamp(6px, 1.5vw, 15px);
        border-radius: clamp(10px, 1.5vw, 18px);
    }
    
    .number-display {
        font-size: clamp(1.6rem, 5vw, 3.5rem);
    }
    
    .separator-symbol {
        font-size: clamp(1.6rem, 3vw, 2.8rem);
    }
    
    .timer-label-3d {
        font-size: clamp(0.8rem, 1.2vw, 0.95rem);
    }
    
    .countdown-stats {
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 991px) {
    .countdown-section {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .row.align-items-center {
        text-align: center;
    }
    
    .countdown-content {
        margin-bottom: 40px;
    }
    
    .countdown-title {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 20px;
    }
    
    .countdown-description {
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .countdown-timer-3d {
        padding: clamp(20px, 3vw, 35px);
        margin-bottom: 30px;
        border-radius: 25px;
    }
    
    .timer-units-container {
        gap: clamp(8px, 2vw, 15px);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-unit-3d {
        min-width: clamp(65px, 9vw, 90px);
        flex: 0 0 auto;
    }
    
    .timer-unit-inner {
        padding: clamp(8px, 1.8vw, 18px) clamp(5px, 1.2vw, 12px);
        border-radius: clamp(8px, 1.2vw, 15px);
    }
    
    .number-display {
        font-size: clamp(1.4rem, 4.5vw, 3rem);
        -webkit-text-stroke: 0.5px rgba(209, 19, 19, 0.4);
    }
    
    .separator-symbol {
        font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    }
    
    .timer-label-3d {
        font-size: clamp(0.7rem, 1vw, 0.9rem);
        letter-spacing: 1px;
    }
    
    .timer-separator-3d {
        order: 5; /* Move separators to end on mobile wrap */
    }
    
    /* Hide some 3D effects on mobile for performance */
    .timer-glow-ring,
    .timer-particle-burst {
        opacity: 0.3;
        animation-duration: 12s;
    }
    
    .timer-energy-field {
        opacity: 0.2;
    }
    
    .countdown-actions {
        justify-content: center;
        gap: 15px;
    }
    
    .countdown-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 120px;
    }
    
    .floating-element {
        opacity: 0.6;
    }
    
    .element-1 { width: 70px; height: 70px; top: 10%; left: 5%; }
    .element-2 { width: 45px; height: 45px; top: 75%; right: 8%; }
    .element-3 { width: 60px; height: 60px; bottom: 20%; left: 10%; }
    .element-4 { width: 30px; height: 30px; top: 35%; right: 20%; }
}

@media (max-width: 768px) {
    .countdown-section {
        min-height: 100vh;
        padding: 50px 0;
    }
    
    .countdown-badge-top {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .countdown-badge-top i {
        font-size: 1.1rem;
    }
    
    .countdown-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
        margin-bottom: 18px;
    }
    
    .countdown-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
        max-width: 350px;
    }
    
    .countdown-timer-3d {
        padding: clamp(15px, 2.5vw, 30px);
        margin-bottom: 25px;
        border-radius: 20px;
    }
    
    .timer-units-container {
        gap: clamp(6px, 1.5vw, 12px);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-unit-3d {
        min-width: clamp(55px, 8vw, 80px);
        flex: 0 0 auto;
    }
    
    .timer-unit-inner {
        padding: clamp(6px, 1.5vw, 15px) clamp(4px, 1vw, 10px);
        border-radius: clamp(6px, 1vw, 12px);
        background: rgba(255, 255, 255, 0.2);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
    }
    
    .number-display {
        font-size: clamp(1.2rem, 4vw, 2.5rem);
        -webkit-text-stroke: 0.5px rgba(209, 19, 19, 0.5);
        text-shadow: 
            0 0 15px rgba(209, 19, 19, 0.9),
            0 0 25px rgba(209, 19, 19, 0.5),
            0 1px 3px rgba(0, 0, 0, 0.8);
    }
    
    .timer-label-3d {
        font-size: clamp(0.6rem, 0.9vw, 0.8rem);
        margin-top: 6px;
        letter-spacing: 0.5px;
    }
    
    .separator-symbol {
        font-size: clamp(1.2rem, 2vw, 2rem);
    }
    
    /* Stack timer units in 2x2 grid on very small screens */
    @media (max-width: 480px) {
        .timer-units-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: clamp(8px, 2vw, 15px);
            max-width: 280px;
            margin: 0 auto;
        }
        
        .timer-separator-3d {
            display: none; /* Hide separators in grid layout */
        }
        
        .timer-unit-3d {
            min-width: auto;
            width: 100%;
        }
    }
    
    .btn-primary-modern, .btn-secondary-modern {
        padding: 14px 28px;
        font-size: 0.9rem;
        border-radius: 40px;
    }
    
    .countdown-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .countdown-section {
        padding: 40px 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .countdown-badge-top {
        padding: 10px 20px;
        font-size: 0.85rem;
        margin-bottom: 20px;
    }
    
    .countdown-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin-bottom: 15px;
    }
    
    .countdown-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 300px;
    }
    
    .countdown-timer-3d {
        padding: clamp(12px, 2vw, 25px);
        margin-bottom: 20px;
        border-radius: 18px;
    }
    
    .timer-units-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: clamp(6px, 1.5vw, 12px);
        max-width: 260px;
        margin: 0 auto;
    }
    
    .timer-unit-3d {
        min-width: auto;
        width: 100%;
        flex: none;
    }
    
    .timer-unit-inner {
        padding: clamp(5px, 1.2vw, 12px) clamp(3px, 0.8vw, 8px);
        border-radius: clamp(5px, 0.8vw, 10px);
        background: rgba(255, 255, 255, 0.25);
        border: 1px solid rgba(255, 255, 255, 0.4);
    }
    
    .number-display {
        font-size: clamp(1rem, 3.5vw, 2rem);
        -webkit-text-stroke: 0.3px rgba(209, 19, 19, 0.6);
        text-shadow: 
            0 0 12px rgba(209, 19, 19, 1),
            0 0 20px rgba(209, 19, 19, 0.6),
            0 1px 2px rgba(0, 0, 0, 0.9);
    }
    
    .timer-label-3d {
        font-size: clamp(0.55rem, 0.8vw, 0.75rem);
        margin-top: 4px;
        letter-spacing: 0.3px;
    }
    
    .timer-separator-3d {
        display: none; /* Hide separators in grid layout */
    }
    
    /* Disable heavy 3D effects on very small screens */
    .timer-glow-ring,
    .timer-particle-burst,
    .timer-energy-field {
        display: none;
    }
    
    .floating-element-3d {
        display: none;
    }
    
    .bg-light-rays {
        opacity: 0.3;
    }
    
    .countdown-actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn-primary-modern, .btn-secondary-modern {
        padding: 12px 24px;
        font-size: 0.85rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .countdown-stats {
        gap: 12px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Reduce background animations on mobile */
    .bg-geometric-pattern,
    .bg-floating-circles,
    .bg-subtle-waves {
        opacity: 0.5;
        animation-duration: 40s;
    }
    
    .floating-element {
        display: none; /* Hide floating elements on small screens */
    }
}

@media (max-width: 480px) {
    .countdown-section {
        padding: 30px 0;
        min-height: 95vh;
    }
    
    .countdown-badge-top {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-bottom: 18px;
    }
    
    .countdown-title {
        font-size: clamp(1.4rem, 2.8vw, 2rem);
        margin-bottom: 12px;
    }
    
    .countdown-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
        max-width: 280px;
    }
    
    .countdown-timer {
        gap: 6px;
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .timer-unit {
        min-width: 50px;
        max-width: 70px;
    }
    
    .timer-number {
        font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    }
    
    .timer-label {
        font-size: 0.7rem;
        margin-top: 3px;
    }
    
    .btn-primary-modern, .btn-secondary-modern {
        padding: 10px 20px;
        font-size: 0.8rem;
        max-width: 250px;
    }
    
    .countdown-stats {
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .countdown-section {
        padding: 25px 0;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .countdown-badge-top {
        padding: 6px 12px;
        font-size: 0.75rem;
        margin-bottom: 15px;
    }
    
    .countdown-title {
        font-size: clamp(1.2rem, 2.5vw, 1.8rem);
        margin-bottom: 10px;
    }
    
    .countdown-description {
        font-size: 0.8rem;
        margin-bottom: 15px;
        max-width: 260px;
    }
    
    .countdown-timer {
        gap: 4px;
        padding: 12px 8px;
        margin-bottom: 18px;
    }
    
    .timer-unit {
        min-width: 45px;
        max-width: 60px;
    }
    
    .timer-number {
        font-size: clamp(1.1rem, 2vw, 1.5rem);
    }
    
    .timer-label {
        font-size: 0.65rem;
        margin-top: 2px;
    }
    
    .btn-primary-modern, .btn-secondary-modern {
        padding: 8px 16px;
        font-size: 0.75rem;
        max-width: 220px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
}

/* Landscape orientation optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .countdown-section {
        min-height: 100vh;
        padding: 30px 0;
    }
    
    .row.align-items-center {
        min-height: auto;
    }
    
    .countdown-timer {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .timer-number {
        font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    }
    
    .countdown-stats {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn-primary-modern:hover,
    .btn-secondary-modern:hover {
        transform: none;
    }
    
    .btn-primary-modern:active {
        transform: scale(0.98);
    }
    
    .btn-secondary-modern:active {
        transform: scale(0.98);
    }
    
    .floating-element {
        animation-duration: 12s;
    }
    
    .bg-geometric-pattern,
    .bg-floating-circles,
    .bg-subtle-waves {
        animation-duration: 35s;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .countdown-badge-top {
        border: 3px solid #ffffff;
        background: #d11313;
    }
    
    .countdown-timer {
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(0, 0, 0, 0.8);
    }
    
    .timer-number {
        -webkit-text-fill-color: #ffffff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    .btn-primary-modern {
        border: 2px solid #ffffff;
    }
    
    .btn-secondary-modern {
        border: 2px solid #ffffff;
        background: rgba(255, 255, 255, 0.2);
    }
}

/* Performance Mode - Lightweight version for countdown */
.countdown-section.performance-mode {
    /* Disable expensive 3D transforms */
    perspective: none !important;
    transform-style: flat !important;
}

.countdown-section.performance-mode .bg-depth-layer,
.countdown-section.performance-mode .bg-floating-circles,
.countdown-section.performance-mode .bg-particle-system,
.countdown-section.performance-mode .bg-light-rays,
.countdown-section.performance-mode .floating-element-3d {
    display: none !important;
}

.countdown-section.performance-mode .countdown-timer-3d {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform: none !important;
}

.countdown-section.performance-mode .timer-unit-3d {
    transform: none !important;
}

/* 📱 MOBILE RESPONSIVE DESIGN - FUTURISTIC LAYOUT */
@media (max-width: 576px) {
    .countdown-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .countdown-badge-top {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .countdown-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .countdown-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .countdown-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .countdown-timer-3d {
        padding: 25px 15px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    /* Mobile Grid Layout - No Separators */
    .futuristic-timer-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px 10px;
        max-width: 100%;
    }
    
    .timer-unit-futuristic {
        min-height: clamp(100px, 12vw, 140px);
        border-radius: 15px;
    }
    
    .unit-hologram {
        width: 40px;
        height: 40px;
        top: -15px;
    }
    
    .number-display {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    
    .label-text {
        font-size: clamp(0.8rem, 1.2vw, 1rem);
        letter-spacing: 1px;
    }
    
    /* Hide energy connections on mobile */
    .energy-connections {
        display: none !important;
    }
    
    /* Reduce hologram effects on mobile for performance */
    .hologram-particles {
        display: none;
    }
    
    .countdown-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .stat-item {
        text-align: center;
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        backdrop-filter: blur(10px);
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

/* Large Mobile Responsive Design */
@media (min-width: 577px) and (max-width: 767px) {
    .timer-units-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        justify-items: center;
        align-items: center;
    }
    
    .timer-separator-3d {
        display: none !important;
    }
    
    .timer-unit-3d {
        min-width: 85px;
    }
    
    .number-display {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
}

/* 💻 TABLET RESPONSIVE DESIGN - FUTURISTIC LAYOUT */
@media (min-width: 768px) and (max-width: 991px) {
    .countdown-timer-3d {
        padding: 35px 25px;
    }
    
    .futuristic-timer-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        padding: 30px 15px;
    }
    
    .timer-unit-futuristic {
        min-height: clamp(130px, 14vw, 160px);
        border-radius: 18px;
    }
    
    .unit-hologram {
        width: 50px;
        height: 50px;
        top: -18px;
    }
    
    .number-display {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }
    
    .label-text {
        font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }
    
    /* Hide energy connections on tablet */
    .energy-connections {
        display: none !important;
    }
    
    .countdown-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .countdown-stats {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1400px) {
    .countdown-timer-3d {
        padding: 60px 40px;
    }
    
    .timer-units-container {
        gap: 40px;
    }
    
    .timer-unit-3d {
        min-width: 140px;
    }
    
    .number-display {
        font-size: 5rem;
    }
    
    .timer-label-3d {
        font-size: 1.2rem;
    }
}
    display: none !important;
}

.countdown-section.performance-mode .timer-bg-effects,
.countdown-section.performance-mode .timer-glow-ring,
.countdown-section.performance-mode .timer-particle-burst,
.countdown-section.performance-mode .timer-energy-field {
    display: none !important;
}

.countdown-section.performance-mode .countdown-timer-3d {
    transform: none !important;
    will-change: auto !important;
}

/* Reduce animations in performance mode */
.countdown-section.performance-mode * {
    animation-duration: 0.2s !important;
    transition-duration: 0.2s !important;
}

/* Disable complex gradients in performance mode */
.countdown-section.performance-mode .bg-geometric-pattern,
.countdown-section.performance-mode .enhanced-pattern {
    background: rgba(255, 255, 255, 0.05) !important;
}
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .countdown-badge-top,
    .floating-element,
    .bg-geometric-pattern,
    .bg-floating-circles,
    .bg-subtle-waves,
    .timer-separator,
    .scroll-arrow {
        animation: none;
    }
    
    .btn-primary-modern:hover,
    .btn-secondary-modern:hover {
        transform: none;
        transition: background-color 0.2s ease;
    }
}
/* Ensure circle-fill uses gradient and overrides any conflicting styles */
.timer-container .unit-circle .circle-fill {
    fill: none !important;
    stroke: url(#countdown-gradient) !important;
    stroke-width: 6 !important;
    stroke-linecap: round !important;
    stroke-dasharray: 339.292 !important;
    transition: stroke-dashoffset 1s ease !important;
}

/* Responsive adjustments for circle stroke width */
@media (max-width: 767px) {
    .timer-container .unit-circle .circle-fill {
        stroke-width: 5 !important;
    }
}
@media (max-width: 575px) {
    .timer-container .unit-circle .circle-fill {
        stroke-width: 4 !important;
    }
}
@media (max-width: 480px) {
    .timer-container .unit-circle .circle-fill {
        stroke-width: 4 !important;
    }
}
