/*  ════════════════════════════════════════
       SECTION 2 — COUNTDOWN (green)
    ════════════════════════════════════════ */
#s2 {
    background: linear-gradient(
        170deg,
        #010a00 0%,
        #042204 22%,
        #0a4808 44%,
        #186e10 65%,
        #289218 82%,
        #40ae20 100%
    );
}

/* green corners s2 */
#s2 .corner-tl,
#s2 .corner-tr {
    border-top-color: rgba(140, 245, 62, 0.72);
}

#s2 .corner-tl,
#s2 .corner-bl {
    border-left-color: rgba(140, 245, 62, 0.72);
}

#s2 .corner-tr,
#s2 .corner-br {
    border-right-color: rgba(140, 245, 62, 0.72);
}

#s2 .corner-bl,
#s2 .corner-br {
    border-bottom-color: rgba(140, 245, 62, 0.72);
}

#s2 .scroll-nudge span {
    color: rgba(162, 248, 72, 0.8);
}

#s2 .scroll-nudge .arrow-dn {
    border-right-color: rgba(162, 248, 72, 0.8);
    border-bottom-color: rgba(162, 248, 72, 0.8);
}

.cd-scene {
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 3vw, 32px);
    text-align: center;
    padding: 20px;
}

.cd-eyebrow {
    font-family: "Fredoka One", cursive;
    font-size: clamp(13px, 1.9vw, 18px);
    letter-spacing: 2px;
    color: #c8f050;
    background: rgba(0, 0, 0, 0.32);
    border-radius: 40px;
    padding: 7px 22px;
    border: 3px solid rgba(160, 240, 60, 0.38);
    box-shadow: 0 3px 0 rgba(0, 40, 0, 0.4);
}

.cd-title {
    font-family: "Fredoka One", cursive;
    font-size: clamp(28px, 5.8vw, 58px);
    color: #c8f050;
    line-height: 1.1;
    -webkit-text-stroke: 2px rgba(0, 55, 0, 0.38);
}

.cd-grid {
    display: flex;
    align-items: flex-start;
    gap: clamp(6px, 2vw, 20px);
}

.cd-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cd-box {
    width: clamp(68px, 14vw, 120px);
    height: clamp(68px, 14vw, 120px);
    background: rgba(0, 0, 0, 0.38);
    border: 4px solid #c8f050;
    border-radius: 18px;
    box-shadow:
        0 5px 0 rgba(0, 50, 0, 0.55),
        inset 0 2px 0 rgba(200, 240, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cd-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(180, 240, 60, 0.1) 0%,
        transparent 50%
    );
}

.cd-num {
    font-family: "Fredoka One", cursive;
    font-size: clamp(28px, 7.5vw, 64px);
    color: #c8f050;
    line-height: 1;
    position: relative;
}

.cd-label {
    font-family: "Fredoka One", cursive;
    font-size: clamp(9px, 1.5vw, 13px);
    letter-spacing: 3px;
    color: rgba(185, 245, 85, 0.85);
    text-transform: uppercase;
}

.cd-sep {
    font-family: "Fredoka One", cursive;
    font-size: clamp(28px, 7.5vw, 64px);
    color: rgba(160, 232, 62, 0.65);
    line-height: 1;
    margin-top: clamp(6px, 2vw, 14px);
}

.cd-date {
    font-family: "Fredoka One", cursive;
    font-size: clamp(11px, 1.8vw, 16px);
    letter-spacing: 1px;
    color: rgba(192, 248, 112, 0.82);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    padding: 7px 22px;
    border: 3px solid rgba(160, 240, 60, 0.32);
    box-shadow: 0 3px 0 rgba(0, 40, 0, 0.4);
}

.jungle-glow {
    position: absolute;
    z-index: 0;
    width: min(66vw, 66vh);
    height: min(66vw, 66vh);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(88, 208, 28, 0.18) 0%,
        rgba(18, 115, 4, 0.09) 44%,
        transparent 70%
    );
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.firefly {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #aef838;
    z-index: 2;
    box-shadow: 0 0 6px #aef838;
    animation: flicker var(--fd2, 2.4s) ease-in-out infinite;
    animation-delay: var(--fd2delay, 0s);
}

@keyframes flicker {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.6);
    }

    45% {
        opacity: 1;
        transform: translateY(-16px) scale(1.3);
    }

    55% {
        opacity: 0.6;
    }
}
