/**
 * Hero Scroll Indicator Component Styles
 * Elegant scroll indicator with smooth animations
 */

/* =================================================================
   HERO SCROLL INDICATOR
   ================================================================= */

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
}

.scroll-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.75;
}

.scroll-wrapper:hover {
    opacity: 1;
    transform: translateY(-3px);
}

/* =================================================================
   SCROLL MOUSE
   ================================================================= */

.scroll-mouse {
    position: relative;
    width: 22px;
    height: 38px;
    border: 2px solid rgba(248, 191, 48, 0.35);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 6px;
    background: rgba(15, 23, 42, 0.55);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.scroll-wrapper:hover .scroll-mouse {
    border-color: rgba(248, 191, 48, 0.6);
    background: rgba(15, 23, 42, 0.7);
}

.scroll-dot {
    width: 3px;
    height: 8px;
    background: rgba(248, 191, 48, 0.8);
    border-radius: 2px;
    animation: scroll-dot-bounce 2.2s ease-in-out infinite;
}

@keyframes scroll-dot-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.6;
    }
}

/* =================================================================
   SCROLL TEXT
   ================================================================= */

.scroll-text {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* =================================================================
   SCROLL ARROW
   ================================================================= */


.scroll-arrow {
    width: 14px;
    height: 14px;
    color: rgba(248, 191, 48, 0.8);
    opacity: 0.85;
    animation: arrow-bounce 2.3s ease-in-out infinite;
}

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

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

/* =================================================================
   SCROLL GLOW EFFECT
   ================================================================= */

.scroll-wrapper::before { display: none; }

/* =================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================= */

@media (max-width: 768px) {
    .hero-scroll-indicator {
        bottom: 1.5rem;
    }
    
    .scroll-mouse {
        width: 20px;
        height: 36px;
        border-radius: 10px;
        padding-top: 5px;
    }
    
    .scroll-dot {
        width: 3px;
        height: 6px;
    }
    
    .scroll-text {
        font-size: 0.625rem;
    }
    
    .scroll-arrow {
        width: 14px;
        height: 14px;
    }
}

/* =================================================================
   ACCESSIBILITY
   ================================================================= */

@media (prefers-reduced-motion: reduce) {
    .scroll-dot,
    .scroll-arrow {
        animation: none;
    }
    
    .scroll-wrapper:hover {
        transform: none;
    }
}
