/* ============================================
   WEDDING COUNTDOWN — Redesigned
   ============================================ */

.countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 2.5rem 2rem;
    gap: 0;
    position: relative;
}

.countdown-numbers {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.countdown-unit {
    text-align: center;
    min-width: 60px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    color: #3d3530;
    line-height: 1;
    display: block;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 8px rgba(255, 252, 248, 0.8);
    transition: transform 0.3s ease;
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(61, 53, 48, 0.5);
    display: block;
    margin-top: 0.3rem;
}

.countdown-dot {
    font-size: 1.5rem;
    color: rgba(212, 184, 150, 0.5);
    align-self: flex-start;
    margin-top: 0.8rem;
}

/* Dancing couple */
.countdown-couple {
    position: relative;
    margin-top: 2.5rem;
    text-align: center;
}

.countdown-couple-img {
    width: 180px;
    height: auto;
    opacity: 0.85;
    animation: couple-sway 5.5s ease-in-out infinite;
    transform-origin: center bottom;
    position: relative;
    z-index: 1;
}

.countdown-couple-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 184, 150, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes couple-sway {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1.5deg); }
    75% { transform: rotate(-1.5deg); }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Floating rose petals */
.countdown-petals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.countdown-petal {
    position: absolute;
    top: -8px;
    width: 6px;
    height: 6px;
    border-radius: 50% 0 50% 0;
    animation: countdown-petal-fall 14s ease-in-out infinite;
}

.countdown-petal--1  { left: 8%;  background: rgba(232, 196, 188, 0.5); animation-delay: 0s; }
.countdown-petal--2  { left: 18%; background: rgba(250, 240, 230, 0.5); animation-delay: 1.5s; width: 5px; height: 5px; }
.countdown-petal--3  { left: 30%; background: rgba(232, 196, 188, 0.4); animation-delay: 3s; }
.countdown-petal--4  { left: 45%; background: rgba(250, 240, 230, 0.5); animation-delay: 4.5s; width: 7px; height: 7px; }
.countdown-petal--5  { left: 55%; background: rgba(232, 196, 188, 0.5); animation-delay: 2s; }
.countdown-petal--6  { left: 68%; background: rgba(250, 240, 230, 0.4); animation-delay: 5.5s; width: 5px; height: 5px; }
.countdown-petal--7  { left: 78%; background: rgba(232, 196, 188, 0.5); animation-delay: 7s; }
.countdown-petal--8  { left: 88%; background: rgba(250, 240, 230, 0.5); animation-delay: 3.5s; }
.countdown-petal--9  { left: 40%; background: rgba(232, 196, 188, 0.4); animation-delay: 8s; width: 5px; height: 5px; }
.countdown-petal--10 { left: 60%; background: rgba(250, 240, 230, 0.5); animation-delay: 6s; }

@keyframes countdown-petal-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.3; }
    100% { transform: translateY(calc(100vh)) rotate(220deg); opacity: 0; }
}

/* Bokeh orb behind couple */
.countdown-bokeh {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.countdown-bokeh-orb {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: countdown-bokeh-float 8s ease-in-out infinite;
}

@keyframes countdown-bokeh-float {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
    50% { transform: translateX(-50%) translateY(-15px); opacity: 0.7; }
}

@media (max-width: 768px) {
    .countdown-value {
        font-size: 2rem;
    }

    .countdown-numbers {
        gap: 0.5rem;
    }

    .countdown-unit {
        min-width: 45px;
    }

    .countdown-label {
        font-size: 0.55rem;
    }

    .countdown-couple-img {
        width: 130px;
    }

    .countdown-dot {
        font-size: 1rem;
    }
}

