/* -------------------------------------------
   PREMIUM GLASSMOPHISUM SCROLL BUTONU
--------------------------------------------- */
.smart-scroll-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 9998;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 4, 41, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 12px rgba(217, 4, 41, 0.15);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* İkon Kutusu */
.scroll-icon-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-icon-box i {
    position: absolute;
    font-size: 16px;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

/* Çift Ok Geçiş Durumları */
.smart-scroll-btn.scroll-down .icon-up {
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
}

.smart-scroll-btn.scroll-down .icon-down {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.smart-scroll-btn.scroll-up .icon-down {
    opacity: 0;
    transform: translateY(8px);
    visibility: hidden;
}

.smart-scroll-btn.scroll-up .icon-up {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Hover Etkisi (Sade & Asil Parlama) */
.smart-scroll-btn:hover {
    background: #d90429;
    border-color: #ef233c;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(217, 4, 41, 0.5);
}

.smart-scroll-btn:hover .scroll-icon-box i {
    color: #ffffff;
}

/* Sola Açılan Şık Tooltip */
.smart-scroll-btn .scroll-tooltip {
    position: absolute;
    right: 58px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(13, 17, 23, 0.95);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 1px solid rgba(217, 4, 41, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.smart-scroll-btn .scroll-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(13, 17, 23, 0.95);
}

.smart-scroll-btn:hover .scroll-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .smart-scroll-btn {
        right: 15px;
        bottom: 20px;
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }

    .smart-scroll-btn .scroll-tooltip {
        display: none;
    }
}