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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a2a2a2 0%, #3e3e3e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.countdown-container {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(30, 30, 30, 0.37);
    max-width: 700px;
    width: 90%;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
    background-image: url('/static/images/wodhack_notitle.png');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
}

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


.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    min-width: 100px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    touch-action: manipulation;
}

.time-unit:hover {
    transform: scale(1.05);
}

.time-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
}

.time-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.message {
    margin-top: 2rem;
    margin-left: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    text-align: left;
}



.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.mention{
    font-style: italic;
    font-size: 0.8rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}



/* Mobile Styles */
@media (max-width: 768px) {
    .countdown-container {
        padding: 1.5rem;
        width: 95%;
        margin: 1rem auto;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .countdown {
        gap: 0.8rem;
        margin: 1.5rem 0;
    }
    
    .time-unit {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }
    
    .time-number {
        font-size: 1.8rem;
    }
    
    .time-label {
        font-size: 0.8rem;
    }

}

/* iOS Safari specific fixes */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .countdown-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .countdown-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .time-unit {
        min-width: 60px;
        padding: 0.8rem 0.3rem;
    }
    
    .time-number {
        font-size: 1.5rem;
    }
    
    .time-label {
        font-size: 0.7rem;
    }
}