/**
 * Filename: navigation.css
 * Author: Amey Thakur
 * GitHub: https://github.com/Amey-Thakur
 * Repository: https://github.com/Amey-Thakur/CLAUDE-SPINNER-WORDS
 * Release Date: 2026-03-27
 * License: MIT
 *
 * Tech Stack: CSS3 Transitions & Positioning
 *
 * Description: 
 * Styles for the navigation elements and floating action components.
 * Adheres to the core technical theme and symmetrical aesthetic.
 */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 4px;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: 'JetBrains Mono', monospace;
}

.back-to-top.reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #f18e6c;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 119, 87, 0.3);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}

.back-to-top .btn-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 11px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    .back-to-top .btn-label {
        font-size: 8px;
    }

    .back-to-top svg {
        width: 14px;
        height: 14px;
    }
}
