/* ═══════════ Scroll Indicator ═══════════ */

.scroll-indicator {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 45;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}

.scroll-indicator__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

/* "Scroll" label */
.scroll-indicator__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Animated vertical line */
.scroll-indicator__line {
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
    animation: scroll-line-pulse 2s ease-in-out infinite;
}

/* Chevron */
.scroll-indicator__chevron {
    width: 52px;
    height: 52px;
    animation: scroll-chevron-bounce 2s ease-in-out infinite;
}

/* Animations */
@keyframes scroll-line-pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes scroll-chevron-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(5px);
        opacity: 1;
    }
}

/* Make scrolled-header state switch color */
#site-super-header.scrolled~.scroll-indicator .scroll-indicator__inner {
    color: rgba(12, 17, 28, 0.7);
}

/* Mobile - slightly smaller & closer to bottom */
@media (max-width: 640px) {
    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator__label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .scroll-indicator__line {
        height: 60px;
    }

    .scroll-indicator__chevron {
        width: 42px;
        height: 42px;
    }
}