/* Floating Scroll Buttons */
.floating-scroll-buttons {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.floating-scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1a2e;
    border: 2px solid rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4),
                0 0 20px rgba(251, 191, 36, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
}

.floating-scroll-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-scroll-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5),
                0 0 30px rgba(251, 191, 36, 0.3);
}

.floating-scroll-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.floating-scroll-btn i {
    transition: transform 0.3s ease;
}

.floating-scroll-btn:hover i {
    transform: scale(1.2);
}

/* Scroll to Top Button */
.floating-scroll-btn.scroll-top {
    animation: floatUp 2s ease-in-out infinite;
}

/* Scroll to Bottom Button */
.floating-scroll-btn.scroll-bottom {
    animation: floatDown 2s ease-in-out infinite;
}

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes floatDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-scroll-buttons {
        right: 1rem;
        bottom: 1rem;
        gap: 0.75rem;
    }
    
    .floating-scroll-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .floating-scroll-buttons {
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .floating-scroll-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4),
                    0 0 20px rgba(251, 191, 36, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(251, 191, 36, 0.6),
                    0 0 30px rgba(251, 191, 36, 0.4);
    }
}

.floating-scroll-btn.show {
    animation: pulse 2s ease-in-out infinite;
}

