/* <!-- Code By Wasi Noori - Emerald Studio --> */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a1525;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1525 0%, #1a2332 25%, #0f1b2a 50%, #1e2b3d 75%, #0a1525 100%);
    overflow: hidden;
}

.background-waves::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse 800px 600px at 20% 30%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 80% 70%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    animation: float-background 20s ease-in-out infinite;
}

.background-waves::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 100px,
            rgba(14, 165, 233, 0.01) 100px,
            rgba(14, 165, 233, 0.01) 200px
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 150px,
            rgba(14, 165, 233, 0.015) 150px,
            rgba(14, 165, 233, 0.015) 300px
        );
    animation: wave-flow 25s linear infinite;
}

@keyframes float-background {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    33% { 
        transform: translateY(-30px) translateX(20px) scale(1.05);
        opacity: 0.9;
    }
    66% { 
        transform: translateY(20px) translateX(-15px) scale(0.95);
        opacity: 0.8;
    }
}

@keyframes wave-flow {
    0% { transform: translate(-200px, -200px) rotate(0deg); }
    100% { transform: translate(0px, 0px) rotate(360deg); }
}

.content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.logo-section {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.main-logo {
    width: auto;
    height: 240px;
    max-width: 400px;
    filter: drop-shadow(0 10px 30px rgba(14, 165, 233, 0.3));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 10px 30px rgba(14, 165, 233, 0.3));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 15px 40px rgba(14, 165, 233, 0.5));
        transform: scale(1.02);
    }
}

.countdown-section {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.countdown-box {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(14, 165, 233, 0.1);
    position: relative;
    overflow: hidden;
}

.countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    animation: pulse 2s ease-in-out infinite;
}

.time-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    transition: all 0.3s ease;
}

.time-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.time-separator {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    animation: blink 2s ease-in-out infinite;
}

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

@keyframes blink {
    0%, 50%, 100% { opacity: 0.4; }
    25%, 75% { opacity: 0.8; }
}

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

@media (max-width: 768px) {
    .main-logo {
        height: 180px;
        max-width: 320px;
    }
    
    .countdown-box {
        gap: 20px;
        padding: 20px 30px;
    }
    
    .time-number {
        font-size: 2.5rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }
    
    .time-separator {
        font-size: 2rem;
    }
    
    .time-block {
        min-width: 60px;
    }

    .logo-section {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        height: 120px;
        max-width: 280px;
    }

    .countdown-box {
        gap: 15px;
        padding: 18px 25px;
    }
    
    .time-number {
        font-size: 2rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .time-separator {
        font-size: 1.8rem;
    }

    .logo-section {
        margin-bottom: 50px;
    }
}

