/* 
 * Modern Scroll Indicator - Octor
 * Componentized & Decoupled
 * Path: assets/css/components/modern-scroll.css
 */

.modern-scroll-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-decoration: none;
    transition: all 0.4s ease;
}

.scroll-arrow-glass {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(12, 224, 122, 0.6);
    font-size: 18px;
    animation: modernScrollFloat 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
}

.modern-scroll-container:hover .scroll-arrow-glass {
    background: rgba(12, 224, 122, 0.1);
    border-color: rgba(12, 224, 122, 0.3);
    color: #0CE07A;
    transform: translateY(5px);
}

@keyframes modernScrollFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(12, 224, 122, 0);
    }
    50% {
        transform: translateY(12px);
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    }
}

/* Light Theme Adaptability */
[data-theme="light"] .scroll-arrow-glass {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(1, 99, 53, 0.4);
}

[data-theme="light"] .modern-scroll-container:hover .scroll-arrow-glass {
    background: rgba(12, 224, 122, 0.08);
    color: #016335;
}

/* Mobile & Tablet Adaptability: Hide to prevent overlapping the buttons */
@media (max-width: 1199px) {
    .modern-scroll-container {
        display: none !important;
    }
}
