/* Explain: CSS for the scroll hint element that appears on mobile/tablet. */
.scroll-hint {
    position: fixed;
    left: 50%;
    bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(4, 8, 16, 0.62);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.78rem;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    opacity: 0;
    transform: translate(-50%, 0.85rem);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.25s ease, border-color 0.25s ease;
}

.scroll-hint.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.scroll-hint:hover,
.scroll-hint:focus-visible {
    background: rgba(4, 8, 16, 0.78);
    border-color: var(--accent-color);
}

.scroll-hint i {
    color: var(--accent-color);
    font-size: 0.9rem;
    animation: scroll-hint-bounce 1.9s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

@media (max-width: 1023px) {
    .scroll-hint {
        display: inline-flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-hint,
    .scroll-hint i {
        animation: none;
    }
}