:root {
    --primary-color: #b76e79;
    /* Rose Gold */
    --secondary-color: #f8e1e7;
    /* Soft Pink */
    --accent-color: #722f37;
    /* Deep Burgundy */
    --text-color: #4a4a4a;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    /* Background handled by video */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: end;
    overflow: hidden;
    color: var(--text-color);
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: contain;
}

/* Optional: Dark overlay to ensure text readability over video */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Adjust opacity as needed */
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    padding: 20px;
    width: 100%;
    max-width: 800px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    padding: 1rem 1rem;
    text-align: center;
    animation: fadeIn 1.5s ease-out;
    margin-bottom:50px;
}

.title {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.date {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-style: italic;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.separator {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    padding-bottom: 1.5rem;
}

.message {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--text-color);
    opacity: 0.8;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mute Button */
#mute-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#mute-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 600px) {
    .title {
        font-size: 3rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .number {
        font-size: 2.5rem;
    }

    .separator {
        display: none;
    }

    .time-unit {
        min-width: 60px;
        background: rgba(255, 255, 255, 0.3);
        padding: 10px;
        border-radius: 10px;
    }
}