:root {
    --primary-color: #6a5acd;
    --accent-color: #d4a5a5;
    --text-color: #4a4a4a;
    /* Dark Grey for readability */
    --text-color-secondary: #6e6e6e;
    --glass-bg: rgba(255, 255, 255, 0.45);
    /* More opaque */
    --glass-border: rgba(255, 255, 255, 0.8);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Quicksand', sans-serif;
}

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

body {
    font-family: var(--font-body);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    /* Soft, static minimalistic background */
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* Optional: Very subtle floating animation for background interest without color shifting */
.background-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: -1;
    background: radial-gradient(circle at center, #ffe6e9 0%, transparent 60%);
    opacity: 0.6;
    animation: breathe 10s ease-in-out infinite alternate;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.container {
    padding: 20px;
    width: 100%;
    max-width: 700px;
    /* Slightly narrower for minimalism */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    width: 100%;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-3px);
}

h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    /* Solid color for consistency */
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.countdown-grid {
    display: flex;
    /* Changed to flex for better centering/spacing */
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 80px;
}

.time-unit::after {
    content: ':';
    position: absolute;
    right: -1.5rem;
    top: 5px;
    font-size: 2.5rem;
    color: var(--text-color-secondary);
    font-weight: 300;
    opacity: 0.5;
}

.time-unit:last-child::after {
    display: none;
}

.number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1;
    color: var(--text-color);
    /* Dark color ensures no fading */
    margin-bottom: 0.5rem;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-color-secondary);
    font-weight: 600;
}

#message {
    font-size: 1.5rem;
    margin-top: 2rem;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
        margin: 1rem;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .countdown-grid {
        gap: 1rem;
    }

    .time-unit {
        min-width: auto;
    }

    .time-unit::after {
        display: none;
        /* Hide colons on mobile for cleaner look */
    }

    .number {
        font-size: 2.5rem;
    }

    .label {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}