/* ========================================
   RESPONSIVE STYLES
   Media queries for all breakpoints
======================================== */

/* Tablet & Below (992px) */
@media (max-width: 992px) {

    /* Canvas */
    .canvas-spotlight {
        background: radial-gradient(circle 220px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(10, 10, 10, 0.15) 0%,
                rgba(10, 10, 10, 0.93) 100%);
    }

    /* Navigation */
    .floating-nav {
        position: fixed;
        padding: 0 20px;
        top: 20px;
    }

    .center-nav {
        display: none;
        position: fixed;
        left: 50%;
        top: 80px;
        transform: translateX(-50%);
        flex-direction: column;
        width: auto;
        min-width: 280px;
        max-width: 320px;
        padding: 20px;
        gap: 10px;
        border-radius: 20px;
        z-index: 1002;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .center-nav.active {
        display: flex;
    }

    .center-nav .nav-item {
        text-align: center;
        padding: 12px 20px;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: block;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
    }

    .right-actions {
        gap: 8px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .stats-row {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile (768px) */
@media (max-width: 768px) {

    /* Canvas */
    .canvas-spotlight {
        background: radial-gradient(circle 180px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(10, 10, 10, 0.2) 0%,
                rgba(10, 10, 10, 0.93) 100%);
    }

    /* Navigation */
    .floating-nav {
        padding: 0 15px;
        top: 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-33 svg {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }

    .logo-container {
        padding: 8px 15px;
    }

    .center-nav {
        top: 70px;
        width: auto;
        min-width: 260px;
        padding: 15px;
        border-radius: 20px;
    }

    .right-actions {
        gap: 5px;
        /* Smaller gap to fit all buttons */
        align-items: center;
    }

    /* Resize Action Buttons for Mobile */
    .action-btn {
        padding: 6px 10px;
        /* Smaller padding */
        font-size: 0.75rem;
        /* Smaller text */
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
        /* Icon size */
        width: 36px;
        /* Square-ish for icon */
        height: 36px;
    }

    .currency-btn {
        padding: 6px 8px;
        font-size: 0.7rem;
    }

    .login-btn {
        display: flex;
        padding: 5px 10px;
        /* More compact */
        font-size: 0.65rem;
        /* Smaller text */
        height: 36px;
        white-space: nowrap;
        align-items: center;
        justify-content: center;
    }

    /* Ensure toggle doesn't touch actions */
    .mobile-menu-toggle {
        margin: 0 auto;
        /* Keep centering */
        margin-right: 15px;
        /* Add gap to the right */
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {

    /* Canvas */
    .canvas-spotlight {
        background: radial-gradient(circle 140px at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(10, 10, 10, 0.25) 0%,
                rgba(10, 10, 10, 0.93) 100%);
    }

    /* Navigation */
    .floating-nav {
        padding: 0 10px;
        top: 10px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-33 svg {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }

    .logo-container {
        padding: 6px 12px;
    }

    .mobile-menu-toggle {
        padding: 6px 12px;
        font-size: 1rem;
    }

    .center-nav {
        top: 60px;
        width: auto;
        min-width: 240px;
        padding: 12px;
        border-radius: 20px;
    }

    .center-nav .nav-item {
        padding: 10px 15px;
        font-size: 13px;
    }

    .cart-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 0 1rem 0 2rem !important;
    }

    /* Ultra-small screen navigation fixes */
    .right-actions {
        gap: 3px;
    }

    .action-btn, .login-btn, .currency-btn {
        padding: 4px 6px !important;
        font-size: 0.6rem !important;
        height: 32px !important;
    }

    .cart-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }
}