/* 
   ==========================================================================
   CUSTOM SCROLLBAR - Tùy chỉnh thanh cuộn cho Tầng 4b.
   ========================================================================== 
*/

/* Ấn hoàn toàn thanh cuộn (Scrollbar) theo yêu cầu Lottie Scroll */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: none;
}

/* 
   ==========================================================================
   SCROLL DOWN INDICATOR (Lottie Style CSS) 
   ========================================================================== 
*/
.scroll-indicator {
    position: absolute;
    bottom: 80px;
    /* Nhích lên trên chút xíu vì mũi tên chạy tụt xuống */
    left: calc(320px + 28%);
    transform: translateX(-50%);
    z-index: 100;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
    display: flex;
    justify-content: center;
    width: 60px;
    height: 60px;
}

/* Ẩn bằng độ trong suốt để Fade-out cực mượt khi đã cuộn */
.scroll-indicator.hidden {
    opacity: 0 !important;
}

.scroll-chevron {
    position: absolute;
    width: 2rem;
    height: 0.48rem;
    opacity: 0;
    transform: scale(0.3);
    animation: move-arrow 3s ease-out infinite;
}

.scroll-chevron:first-child {
    animation: move-arrow 3s ease-out 1s infinite;
}

.scroll-chevron:nth-child(2) {
    animation: move-arrow 3s ease-out 2s infinite;
}

.scroll-chevron:before,
.scroll-chevron:after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.8);
}

.scroll-chevron:before {
    left: 0;
    transform: skewY(30deg);
}

.scroll-chevron:after {
    right: 0;
    width: 50%;
    transform: skewY(-30deg);
}

@keyframes move-arrow {
    25% {
        opacity: 1;
    }

    33.3% {
        opacity: 1;
        transform: translateY(2.28rem);
    }

    66.6% {
        opacity: 1;
        transform: translateY(3.12rem);
    }

    100% {
        opacity: 0;
        transform: translateY(4.8rem) scale(0.5);
    }
}