/* ==========================================================================
   SLEEPING TIGER MODERNIZATION - MASTERMIND OS "CORE MESH"
   ========================================================================== */

:root {
    --glass-bg: rgba(15, 23, 42, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --neon-cyan: #22d3ee;
    --neon-pink: #ec4899;
    --neon-purple: #8b5cf6;
    --neon-glow: 0 0 15px rgba(34, 211, 238, 0.4);
}

/* --- COSMIC FLOW BACKGROUND --- */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0b0b0f;
    overflow: hidden;
}

.cosmic-bg::before,
.cosmic-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at center, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(236, 72, 153, 0.1) 25%, 
        rgba(34, 211, 238, 0.05) 50%, 
        transparent 75%);
    animation: cosmic-swirl 30s linear infinite;
    filter: blur(60px);
}

.cosmic-bg::after {
    background: radial-gradient(circle at center, 
        rgba(34, 211, 238, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 30%, 
        transparent 70%);
    animation: cosmic-swirl 45s linear infinite reverse;
    opacity: 0.7;
}

@keyframes cosmic-swirl {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

/* --- GLASS PANELS --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-panel-neon {
    border: 1px solid rgba(34, 211, 238, 0.3);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.1);
}

/* --- PRODUCT & LOCATION CARDS --- */
.product-card-glass {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-glass:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(30, 30, 45, 0.6);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.2);
}

/* --- NAVIGATION CAPSULE --- */
.nav-capsule {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.nav-capsule.scrolled {
    margin-top: 0;
    border-radius: 0 0 20px 20px;
    width: 100%;
}

.navbar-brand img {
    filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.5));
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.5);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .card-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.psychedelic-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradient-text 5s ease infinite;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-content {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}

/* --- SURFACE DOCTRINE: SLIDE ENGINE --- */
.slide-rail {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 85vh;
    gap: 0;
    scrollbar-width: none;
}

.slide-rail::-webkit-scrollbar {
    display: none;
}

.surface-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.slide-content {
    z-index: 10;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.surface-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-visual-field {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.4;
    filter: blur(40px);
    transition: all 1.2s ease;
}

.surface-slide.active .slide-visual-field {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Slide Specific Card Patterns */
.product-silhouette {
    width: 120px;
    height: 160px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-silhouette img {
    width: 80%;
    height: auto;
    filter: grayscale(1) brightness(0.5);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.product-silhouette:hover img {
    filter: grayscale(0) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

.store-capsule {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.store-capsule:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 211, 238, 0.2);
    background: rgba(20, 30, 50, 0.6);
}

.capsule-identity-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    margin: 1.5rem 0;
    border-radius: 2px;
}

.btn-capsule {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-capsule:hover {
    background: var(--neon-cyan);
    color: #000 !important;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.6);
    transform: translateY(-2px);
    text-decoration: none;
}

.wholesale-panel {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.wholesale-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
}

.hero-glow {
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.4), 0 0 40px rgba(236, 72, 153, 0.3);
}

/* --- TASTYIGNITER COMPONENT OVERRIDES --- */
.local-layout-wrapper .categories .nav-link,
.local-layout-wrapper .menu-list .menu-item,
.local-layout-wrapper .cart-box,
.local-layout-wrapper .cart-items .cart-item {
    background: rgba(20, 20, 30, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
}

.local-layout-wrapper .menu-item-name,
.local-layout-wrapper .menu-item-price,
.local-layout-wrapper .cart-total {
    color: var(--neon-cyan) !important;
}

.local-layout-wrapper h1, 
.local-layout-wrapper h2, 
.local-layout-wrapper h3, 
.local-layout-wrapper h4, 
.local-layout-wrapper h5, 
.local-layout-wrapper h6 {
    color: #fff !important;
}

.local-layout-wrapper .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

@keyframes gradient-text {

    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- BUTTONS --- */
.btn-neon {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.btn-neon:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.6);
}

/* --- TICKER FOOTER --- */
.footer-ticker {
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid var(--neon-purple);
    padding: 1rem 0;
}

.ticker-content {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 2rem;
    color: var(--neon-purple);
    font-family: monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
}
