/* ===================================================================== */
/* FUTURISTIC FLOATING NAVBAR V2 (WORLD-CLASS, INTRIGUING, FULL-IMMERSION) */
/* Mastermind OS Edition — Sleeping Tiger Imports */
/* ===================================================================== */

:root {
    --neon-orange: #FF6B00;
    --neon-cyan: #22D3EE;
    --neon-pink: #EC4899;
    --neon-purple: #8B5CF6;
    --dark-bg: rgba(8, 12, 24, 0.98);
    --glass-blur: blur(24px) saturate(180%) contrast(1.1);
}

/* === MAIN NAVBAR CONTAINER === */
.navbar-futuristic {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    pointer-events: none;
    z-index: 1040;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 107, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.navbar-floating-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    pointer-events: auto;
    gap: 1.5rem;
}

/* === BRAND POD (HYPERDRIVE LOGO) === */
.navbar-brand-pod {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    overflow: visible;
    height: 36px;
    width: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.15), rgba(34, 211, 238, 0.1));
    border: 1px solid rgba(255, 107, 0, 0.3);
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 0deg, var(--neon-orange), var(--neon-cyan), var(--neon-pink), var(--neon-orange));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.navbar-brand-link:hover::before {
    opacity: 1;
    filter: blur(8px);
}

.navbar-brand-link img {
    height: 24px;
    width: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.6))
            drop-shadow(0 0 3px rgba(34, 211, 238, 0.3));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-brand-link:hover img {
    filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.8))
            drop-shadow(0 0 8px rgba(34, 211, 238, 0.6))
            drop-shadow(0 0 4px rgba(236, 72, 153, 0.5));
    transform: scale(1.15) translateY(-2px);
}

/* === ACTION RING (ALWAYS HORIZONTAL, NEVER WRAPS) === */
.navbar-action-ring {
    flex: 1 0 auto;
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
    min-width: fit-content;
    pointer-events: auto;
}

/* === POWER BUTTONS (WORLD-CLASS DESIGN) === */
.nav-ring-btn {
    position: relative;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    border: none;
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.8), rgba(25, 35, 60, 0.6));
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.5rem;
    flex-shrink: 0;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-ring-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-ring-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1.5px solid transparent;
    border-radius: 12px;
    background-clip: padding-box;
    opacity: 0;
    transition: all 0.25s ease;
}

/* === CATEGORIES BUTTON (ORANGE FIRE) === */
.nav-ring-categories {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.2), rgba(255, 107, 0, 0.1));
}

.nav-ring-categories:hover {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0.15));
    border-color: rgba(255, 107, 0, 0.5);
    color: #ffffff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.6),
                0 0 60px rgba(255, 107, 0, 0.3),
                0 12px 24px rgba(0, 0, 0, 0.4);
}

.nav-ring-categories:hover::before {
    opacity: 1;
}

.nav-ring-categories:active {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

/* === LOCATIONS BUTTON (CYAN DRIFT) === */
.nav-ring-locations {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.1));
}

.nav-ring-locations:hover {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.3), rgba(34, 211, 238, 0.15));
    border-color: rgba(34, 211, 238, 0.5);
    color: #ffffff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.6),
                0 0 60px rgba(34, 211, 238, 0.3),
                0 12px 24px rgba(0, 0, 0, 0.4);
}

.nav-ring-locations:hover::before {
    background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.3), transparent 70%);
    opacity: 1;
}

.nav-ring-locations:active {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.5),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

/* === CART BUTTON (PINK PULSE) === */
.nav-ring-cart {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(236, 72, 153, 0.1));
}

.nav-ring-cart:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.15));
    border-color: rgba(236, 72, 153, 0.5);
    color: #ffffff;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.6),
                0 0 60px rgba(236, 72, 153, 0.3),
                0 12px 24px rgba(0, 0, 0, 0.4);
}

.nav-ring-cart:hover::before {
    background: radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.3), transparent 70%);
    opacity: 1;
}

.nav-ring-cart:active {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.5),
                0 6px 12px rgba(0, 0, 0, 0.3);
}

/* === CART BADGE (LIVING INDICATOR) === */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--neon-orange);
    color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.8),
                0 0 24px rgba(255, 107, 0, 0.4);
    border: 2px solid rgba(8, 12, 24, 0.9);
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 107, 0, 0.8), 0 0 24px rgba(255, 107, 0, 0.4); }
    50% { transform: scale(1.15); box-shadow: 0 0 16px rgba(255, 107, 0, 1), 0 0 32px rgba(255, 107, 0, 0.6); }
}

/* === MENU DRAWER (FULL-SCREEN IMMERSION) === */
.navbar-menu-drawer {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(8, 12, 24, 0.98) 0%,
        rgba(15, 20, 35, 0.96) 50%,
        rgba(8, 12, 24, 0.98) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 5rem 3rem 3rem;
    overflow-y: auto;
    z-index: 1035;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-menu-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navbar-menu-drawer .nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.navbar-menu-drawer .nav-link {
    padding: 1.2rem 1.8rem !important;
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.02);
}

.navbar-menu-drawer .nav-link:hover {
    border-left-color: var(--neon-orange);
    background: rgba(255, 107, 0, 0.12);
    padding-left: 2.2rem !important;
    color: #ffffff;
    transform: translateX(4px);
}

.drawer-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.8), rgba(25, 35, 60, 0.6));
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    pointer-events: auto;
    backdrop-filter: blur(12px);
}

.drawer-close:hover {
    border-color: var(--neon-orange);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(255, 107, 0, 0.15));
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5),
                0 0 40px rgba(255, 107, 0, 0.2);
    transform: scale(1.1) rotate(90deg);
}

/* === SLIDER SPACE (FULL-SCREEN IMMERSION) === */
.slider-container,
.explore-slide-rail {
    margin-top: 0 !important;
    padding-top: 0 !important;
    min-height: calc(100vh - 80px);
    height: 100vh;
}

.slide-0,
.surface-slide-active {
    height: 100vh;
    overflow: hidden;
}

.slide-visual-field {
    height: 100% !important;
    width: 100% !important;
    position: relative;
}

/* === RESPONSIVE: STAY HORIZONTAL ALWAYS === */

/* TABLET (768px - 1024px) — BALANCED POWER */
@media (max-width: 1024px) {
    .navbar-floating-container {
        padding: 1rem 1.4rem;
        gap: 1.4rem;
    }

    .nav-ring-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.4rem;
        box-shadow: 0 0 25px rgba(255, 107, 0, 0.4),
                    0 0 50px rgba(255, 107, 0, 0.15),
                    0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .nav-ring-btn:hover {
        transform: translateY(-4px) scale(1.12);
        box-shadow: 0 0 35px rgba(255, 107, 0, 0.7),
                    0 0 70px rgba(255, 107, 0, 0.3),
                    0 14px 32px rgba(0, 0, 0, 0.35);
    }

    .navbar-brand-link {
        height: 34px;
        width: 34px;
    }

    .navbar-brand-link img {
        height: 22px;
    }

    .navbar-menu-drawer {
        padding: 4.5rem 2rem 2rem;
    }

    .navbar-menu-drawer .nav-link {
        padding: 1.1rem 1.6rem !important;
        font-size: 1.05rem;
    }
}

/* MEDIUM (576px - 768px) — STRONG PRESENCE */
@media (max-width: 768px) {
    .navbar-floating-container {
        padding: 1rem 1.2rem;
        gap: 1rem;
        justify-content: space-around;
    }

    .nav-ring-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.35rem;
        box-shadow: 0 0 24px rgba(255, 107, 0, 0.5),
                    0 0 48px rgba(255, 107, 0, 0.2),
                    0 8px 22px rgba(0, 0, 0, 0.3);
    }

    .nav-ring-btn:hover {
        transform: translateY(-4px) scale(1.11);
        box-shadow: 0 0 32px rgba(255, 107, 0, 0.8),
                    0 0 64px rgba(255, 107, 0, 0.4),
                    0 12px 28px rgba(0, 0, 0, 0.4);
    }

    .navbar-brand-link {
        height: 30px;
        width: 30px;
    }

    .navbar-brand-link img {
        height: 20px;
    }

    .navbar-menu-drawer {
        padding: 4rem 1.5rem 1.5rem;
    }

    .navbar-menu-drawer .nav-link {
        padding: 1rem 1.5rem !important;
        font-size: 1rem;
    }
}

/* MOBILE (480px - 576px) — FUTURISTIC COMPACT */
@media (max-width: 576px) {
    .navbar-floating-container {
        padding: 0.95rem 1rem;
        gap: 0.75rem;
        justify-content: space-around;
    }

    .nav-ring-btn {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1.25rem;
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.5),
                    0 0 40px rgba(255, 107, 0, 0.2),
                    0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .nav-ring-btn:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 0 28px rgba(255, 107, 0, 0.7),
                    0 0 56px rgba(255, 107, 0, 0.35),
                    0 10px 24px rgba(0, 0, 0, 0.35);
    }

    .navbar-brand-link {
        height: 28px;
        width: 28px;
    }

    .navbar-brand-link img {
        height: 19px;
    }

    .navbar-menu-drawer {
        padding: 3.5rem 1.2rem 1.2rem;
    }

    .navbar-menu-drawer .nav-link {
        padding: 0.95rem 1.4rem !important;
        font-size: 0.95rem;
    }
}

/* SMALL MOBILE (<480px) — AGGRESSIVE OPTIMIZATION */
@media (max-width: 480px) {
    .navbar-floating-container {
        padding: 0.9rem 0.9rem;
        gap: 0.65rem;
        justify-content: center;
    }

    .nav-ring-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.2rem;
        box-shadow: 0 0 18px rgba(255, 107, 0, 0.6),
                    0 0 36px rgba(255, 107, 0, 0.25),
                    0 4px 14px rgba(0, 0, 0, 0.3);
    }

    .nav-ring-btn:hover {
        transform: translateY(-3px) scale(1.09);
        box-shadow: 0 0 24px rgba(255, 107, 0, 0.75),
                    0 0 48px rgba(255, 107, 0, 0.4),
                    0 8px 18px rgba(0, 0, 0, 0.35);
    }

    .nav-ring-btn:active {
        transform: translateY(-1px) scale(1.06);
    }

    .navbar-brand-link {
        height: 26px;
        width: 26px;
    }

    .navbar-brand-link img {
        height: 18px;
    }

    /* CRITICAL: Never wrap, always horizontal */
    .navbar-action-ring {
        flex-wrap: nowrap;
        overflow-x: visible;
        justify-content: center;
    }

    .drawer-close {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .navbar-menu-drawer {
        padding: 3.2rem 1rem 1rem;
    }

    .navbar-menu-drawer .nav-link {
        padding: 0.9rem 1.2rem !important;
        font-size: 0.9rem;
    }
}

/* === ANIMATIONS (GPU-ACCELERATED) === */
@keyframes glow-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.nav-ring-btn {
    will-change: transform, box-shadow;
}

.navbar-brand-link {
    will-change: transform, filter;
}

.navbar-menu-drawer {
    will-change: opacity, visibility;
}
