* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(240, 147, 251, 0.9) 100%),
                url('logo.png') center center no-repeat;
    background-size: 400% 400%, cover;
    background-attachment: fixed;
    animation: gradientShift 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 60px 50px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
                0 0 60px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5em;
    margin-bottom: 50px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.time-box {
    background: rgba(255, 255, 255, 0.25);
    padding: 40px 25px;
    border-radius: 20px;
    min-width: 130px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

.time-box:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.5); }
}

.time {
    display: block;
    font-size: 4em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.label {
    display: block;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

#resetBtn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #667eea;
    border: none;
    padding: 18px 45px;
    font-size: 1.3em;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    margin-top: 10px;
}

#resetBtn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
}

#resetBtn:active {
    transform: translateY(0);
}

.colon {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 30px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .countdown {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .time-box {
        min-width: 100px;
        padding: 20px 15px;
    }
    
    .time {
        font-size: 2em;
    }
    
    .label {
        font-size: 1em;
    }
}
