/* SECTION */
.countdown {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    color: #fff;
    overflow: hidden;
}

/* LIGHTER OVERLAY
   only dark on bottom 30% */
.countdown .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(64,18,21,0.85) 0%,
        rgba(64,18,21,0.78) 12%,
        rgba(64,18,21,0.65) 25%,
        rgba(64,18,21,0.45) 38%,
        rgba(64,18,21,0.25) 48%,
        rgba(64,18,21,0.10) 55%,
        rgba(64,18,21,0.00) 65%,
        rgba(64,18,21,0.00) 100%
    );
}

/* CONTENT */
.countdown .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(25px, 6vw, 70px) clamp(15px, 4vw, 40px);
    padding-bottom: 40px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.countdown .content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(4px, 1vw, 14px);
    
}

/* RINGS IMAGE under THE COUNTDOWN */
.countdown .rings {
    width: clamp(120px, 18vw, 180px);
    height: auto;
    display: block;
    margin-top: clamp(4px, 1vw, 10px);
    margin-bottom: clamp(0px, 1vw, 0px);
    opacity: 0.80;
    margin-top:-18px;
}

/* line 1 */
.countdown .top-line {
    font-size: clamp(1.6rem, 2vw, 1.2rem);
    font-family: 'British', serif;
    letter-spacing: clamp(3px, 1vw, 8px);
    margin-right: clamp(200px, 35vw, 620px);
    
}

/* line 2 */
.countdown h2 {
    margin: 0;
     font-family:'EB Garamond', serif;
    font-size: clamp(2rem, 7vw, 4.2rem);
    letter-spacing: clamp(2px, 1vw, 6px);
    font-weight: 200;
    line-height: 1;
}

/* line 3 */
.countdown p {
    margin: 0;
     font-family:'EB Garamond', serif;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
    letter-spacing: clamp(2px, 0.8vw, 5px);
    color: #ffffff;
    text-transform: uppercase;
}

/* TIMER */
.timer {
    margin-top: clamp(0px, 0vw, 20px);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(6px, 2vw, 22px);

    width: 100%;
}



.timer span {
    display: block;
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    font-family:'EB Garamond', serif;
    font-weight: 700;
    color: #C8A15D;
    line-height: 1;
}

.timer small {
    display: block;
    margin-top: 6px;
    font-size: clamp(0.8rem, 1.5vw, 0.8rem);
    letter-spacing: clamp(1px, 0.5vw, 2px);
    color: #fff;
}

@media (max-width: 480px) {
    .timer {
        gap: 5px;
    }

    .timer div {
        min-width: 62px;
        padding: 10px 6px;
    }
}



@media (min-width: 992px) {
    .countdown {
        background-position: top center;
    }
}















/* ── Scroll animations for "The" and "COUNTDOWN" ── */
.cd-animate {
    opacity: 0;
    transition: opacity 1.3s ease, transform 1.3s ease;
}

.cd-from-left {
    transform: translateX(-60px);
}

.cd-from-bottom {
    transform: translateY(50px);
}

.cd-animate.cd-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* stagger: COUNTDOWN starts slightly after "The" */
.countdown h2.cd-animate {
    transition-delay: 0.2s;
}