/* Holding page ("close") styles - only loaded when $page === 'close' */

/* "page reconstructing" menu item */
.nav-reconstructing {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-family: 'Amatic SC', cursive;
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.reconstruct-bee {
    display: inline-block;
    font-size: 1.4rem;
    animation: bee-buzz 2.4s ease-in-out infinite;
}

.reconstruct-sun {
    display: inline-block;
    font-size: 1.3rem;
    animation: sun-spin 6s linear infinite;
}

.reconstruct-dots span {
    display: inline-block;
    animation: dot-bounce 1.4s ease-in-out infinite;
}
.reconstruct-dots span:nth-child(2) { animation-delay: 0.2s; }
.reconstruct-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bee-buzz {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(4px, -5px) rotate(10deg); }
    40%  { transform: translate(-3px, -2px) rotate(-8deg); }
    60%  { transform: translate(5px, 3px) rotate(6deg); }
    80%  { transform: translate(-4px, -4px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes sun-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes dot-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%           { transform: translateY(-6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .reconstruct-bee, .reconstruct-sun, .reconstruct-dots span { animation: none; }
}

/* Big countdown below the video */
.close-countdown {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    text-align: center;
    color: #fff;
}

.close-countdown-title {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.close-countdown-date {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--star-gold, #ffd400);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.close-countdown .countdown {
    display: flex;
    justify-content: center;
    gap: clamp(0.75rem, 3vw, 2.5rem);
    flex-wrap: wrap;
}

.close-countdown .countdown-item {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 212, 0, 0.5);
    border-radius: 24px;
    padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem);
    min-width: clamp(120px, 20vw, 220px);
}

.close-countdown .countdown-number {
    font-family: 'Amatic SC', cursive;
    font-size: clamp(4rem, 12vw, 9rem);
    font-weight: 800;
    line-height: 1;
    color: var(--star-gold, #ffd400);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.close-countdown .countdown-label {
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .nav-reconstructing {
        justify-content: center;
        padding: 0.75rem 0;
    }
    .close-countdown .countdown-item {
        min-width: 40%;
    }
}
