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

body, html {
    min-height: 100vh;
    min-height: 100dvh;
    font-family: 'Montserrat', sans-serif;
    background-color: #050505;
    overflow-x: hidden;
}

body {
    background-image: url('bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Melancholic dark fade */
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(20, 10, 15, 0.7) 100%);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.glass-panel {
    background: rgba(30, 25, 30, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 4rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: fadeIn 2s ease-out;
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.title {
    font-family: 'Cormorant Garamond', serif;
    color: #e0d8dd;
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
}

.number {
    font-size: 4.5rem;
    font-weight: 200;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
    transition: text-shadow 0.3s ease;
}

.time-block:hover .number {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a99fa5;
    font-weight: 300;
}

.separator {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 200;
    margin-top: -1.5rem;
    animation: pulse 2s infinite;
}

.message {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #b5abb1;
    font-size: 1.3rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

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

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

@media (max-width: 768px) {
    .glass-panel {
        padding: 2.5rem 2rem;
    }
    
    .title {
        font-size: 2rem;
        letter-spacing: 3px;
        margin-bottom: 2.5rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .number {
        font-size: 3.2rem;
    }
    
    .label {
        font-size: 0.75rem;
    }
    
    .separator {
        font-size: 2.5rem;
        margin-top: -1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .glass-panel {
        padding: 2rem 1rem;
        border-radius: 16px;
    }
    
    .title {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 1.8rem;
    }
    
    .countdown {
        gap: 0.2rem;
    }
    
    .number {
        font-size: 2.2rem;
    }
    
    .label {
        font-size: 0.55rem;
        letter-spacing: 0.5px;
    }
    
    .separator {
        font-size: 1.8rem;
        margin-top: -0.8rem;
    }
    
    .time-block {
        min-width: 50px;
    }
    
    .message {
        font-size: 1.1rem;
    }
}
