/* ============================================
   DEAD GODS - Luxury Streetwear
   Dark theme with glass morphism and metal vines
   ============================================ */

:root {
    /* Core Colors */
    --bg-primary: #030305;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #12121a;
    
    /* Accent Gradient - Purple spectrum */
    --accent-1: #7b2cbf;
    --accent-2: #9d4edd;
    --accent-3: #c77dff;
    --accent-4: #e0aaff;
    --accent-blue: #5e60ce;
    --accent-gold: #d4a574;
    
    /* Text */
    --text: #ffffff;
    --text-muted: rgba(255,255,255,0.6);
    --text-dim: rgba(255,255,255,0.3);
    
    /* Glass - More visible */
    --glass-bg: rgba(20,20,35,0.6);
    --glass-border: rgba(255,255,255,0.1);
    --glass-glow: rgba(157,78,221,0.15);
    
    /* Misc */
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
    --font-display: 'Cinzel', serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background: var(--bg-primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMATED GRADIENT BACKGROUND
   ============================================ */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background: var(--bg-primary);
    overflow: hidden;
}

.bg-gradient::before,
.bg-gradient::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
}

.bg-gradient::before {
    background: 
        radial-gradient(ellipse 50% 40% at 30% 30%, rgba(123,44,191,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 70% 60%, rgba(94,96,206,0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 30% at 50% 80%, rgba(157,78,221,0.1) 0%, transparent 40%);
    animation: gradientDrift 25s ease-in-out infinite;
}

.bg-gradient::after {
    background: 
        radial-gradient(ellipse 45% 45% at 60% 40%, rgba(199,125,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(94,96,206,0.08) 0%, transparent 50%);
    animation: gradientDrift 30s ease-in-out infinite reverse;
}

@keyframes gradientDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(3%, -2%) rotate(1deg); }
    66% { transform: translate(-2%, 3%) rotate(-1deg); }
}

/* ============================================
   METAL VINES CONTAINERS
   ============================================ */
.vines-container {
    position: fixed;
    top: 0;
    width: 350px;
    height: 100%;
    pointer-events: none;
    z-index: 100; /* In front of content on desktop */
    overflow: visible;
    transition: opacity 0.3s ease;
}

.vines-left { 
    left: -30px; 
}

.vines-right { 
    right: -30px; 
}

/* Tablet - vines behind content, slightly faded */
@media (max-width: 1200px) {
    .vines-container {
        z-index: 1; /* Behind content */
        opacity: 0.6;
        width: 280px;
    }
    .vines-left { left: -60px; }
    .vines-right { right: -60px; }
}

/* Smaller tablets - more faded */
@media (max-width: 900px) {
    .vines-container {
        opacity: 0.35;
        width: 220px;
    }
    .vines-left { left: -80px; }
    .vines-right { right: -80px; }
}

/* Mobile - hidden */
@media (max-width: 600px) {
    .vines-container {
        display: none;
    }
}

/* ============================================
   GLASS MORPHISM - More visible
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(150%);
    -webkit-backdrop-filter: blur(25px) saturate(150%);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.2);
}

/* ============================================
   NAVIGATION - Thicker and more glassy
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: all var(--transition);
    background: rgba(10,10,20,0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav.scrolled {
    background: rgba(5,5,12,0.85);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.1rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-inner .logo {
    margin-right: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo with purple gradient */
.logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    background: linear-gradient(
        135deg,
        var(--accent-4) 0%,
        var(--accent-3) 25%,
        var(--accent-2) 50%,
        var(--accent-blue) 75%,
        var(--accent-3) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoShimmer 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(157,78,221,0.4));
}

@keyframes logoShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-3);
}

.nav-link.active::after {
    width: 100%;
    background: var(--accent-3);
}

/* Cart Button */
.cart-btn {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text);
    padding: 0.6rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn:hover {
    background: rgba(157,78,221,0.2);
    border-color: var(--accent-2);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-2);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: rgba(10,10,20,0.95);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transition: right var(--transition);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.cart-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

.cart-close:hover {
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.75rem;
    border: 1px solid var(--glass-border);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-dim);
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-3);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-fast);
}

.cart-item-remove:hover {
    color: #ef4444;
}

.cart-empty {
    padding: 3rem;
    text-align: center;
    color: var(--text-muted);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.cart-footer.hidden {
    display: none;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total span:last-child {
    color: var(--accent-3);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 50%, var(--accent-blue) 100%);
    color: var(--text);
    box-shadow: 0 4px 20px rgba(123,44,191,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(123,44,191,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
    background: rgba(157,78,221,0.1);
    border-color: var(--accent-2);
}

.btn-full { width: 100%; text-align: center; }

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.btn.added {
    background: #22c55e !important;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.section.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-blue));
    margin: 0 auto;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
    text-align: center;
    flex-direction: column;
}

.hero-content {
    animation: fadeUp 1s ease-out 0.3s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.title-word {
    display: block;
    position: relative;
    background: linear-gradient(
        135deg,
        var(--text) 0%,
        var(--accent-4) 20%,
        var(--accent-3) 40%,
        var(--accent-2) 60%,
        var(--accent-blue) 80%,
        var(--accent-3) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 6s ease infinite;
    filter: drop-shadow(0 0 40px rgba(157,78,221,0.3));
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 1s ease-out 0.7s both;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: bounce 2.5s ease-in-out infinite;
}

.scroll-arrow {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--text-dim), transparent);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 9px;
    height: 9px;
    border-right: 1px solid var(--text-dim);
    border-bottom: 1px solid var(--text-dim);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-12px); opacity: 0.5; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: grid;
    gap: 2.5rem;
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-3), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* ============================================
   SHOP SECTION
   ============================================ */
.section-shop {
    min-height: auto;
    padding-top: 8rem;
    display: block;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.categories-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filters-extra {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-toggle:hover,
.filter-toggle.active {
    background: rgba(157,78,221,0.1);
    border-color: var(--accent-2);
    color: var(--text);
}

.sort-select {
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
}

.sort-select option {
    background: var(--bg-secondary);
}

/* Filter Panel */
.filter-panel {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.filter-panel.active {
    display: grid;
}

.filter-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-range input {
    width: 80px;
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
}

.price-range span {
    color: var(--text-dim);
}

.color-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.color-btn span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.color-btn:hover,
.color-btn.active {
    background: rgba(157,78,221,0.1);
    border-color: var(--accent-2);
    color: var(--text);
}

#clear-filters {
    align-self: end;
}

.category-btn {
    padding: 0.7rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent-2);
    border-color: var(--accent-2);
    color: var(--text);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 5;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition);
    min-height: 380px;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(157,78,221,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-card.hide {
    display: none;
}

/* Shop grid collapsed - show 1 row with fade */
.products-grid.collapsed {
    max-height: 450px;
    overflow: hidden;
}

.products-grid.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, 
        rgba(3,3,5,0) 0%, 
        rgba(3,3,5,0.8) 50%, 
        rgba(3,3,5,1) 100%
    );
    pointer-events: none;
    z-index: 5;
}

.shop-toggle-wrap {
    text-align: center;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.products-grid.collapsed + .shop-toggle-wrap {
    margin-top: -3rem;
    padding-top: 1rem;
}

#shop-toggle {
    padding: 1rem 2.5rem;
    position: relative;
    z-index: 10;
}

.product-image {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.9) saturate(0.9);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1);
}

.product-placeholder {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--accent-2);
    color: var(--text);
}

.product-badge.bestseller {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3,3,5,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.product-overlay .btn {
    min-width: 140px;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.25rem;
}

.product-info h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.product-price {
    color: var(--accent-3);
    font-weight: 600;
    font-size: 1rem;
}

/* Product Quick View Modal */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.product-modal {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background var(--transition-fast);
}

.product-modal .modal-close:hover {
    background: var(--accent-2);
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    display: flex;
    flex-direction: column;
}

.modal-image {
    background: var(--bg-secondary);
    aspect-ratio: 4/5;
    overflow: hidden;
    flex: 1;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    overflow-x: auto;
}

.modal-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s;
    padding: 0;
    background: none;
}

.modal-thumb:hover {
    opacity: 0.9;
}

.modal-thumb.active {
    opacity: 1;
    border-color: var(--accent-2);
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.modal-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-2);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    width: fit-content;
}

.modal-badge:empty {
    display: none;
}

.modal-badge.bestseller {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.modal-details h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-3);
    margin-bottom: 1.5rem;
}

.modal-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-option {
    margin-bottom: 1.5rem;
}

.modal-option label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.size-options,
.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.size-btn,
.color-opt-btn {
    padding: 0.6rem 1rem;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.size-btn:hover,
.size-btn.selected,
.color-opt-btn:hover,
.color-opt-btn.selected {
    background: var(--accent-2);
    border-color: var(--accent-2);
}

.modal-stock {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-stock.low {
    color: #f59e0b;
}

.modal-add-cart {
    margin-top: auto;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        aspect-ratio: 1;
    }
    
    .modal-details {
        padding: 1.5rem;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .categories-nav {
        justify-content: center;
    }
    
    .filters-extra {
        justify-content: center;
    }
}

/* ============================================
   EXCLUSIVES / DROPS
   ============================================ */
.exclusive-gate {
    max-width: 500px;
    margin: 0 auto;
}

.gate-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gate-content {
    padding: 3rem;
    text-align: center;
}

.gate-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.gate-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.gate-form {
    display: flex;
    gap: 0.75rem;
}

.gate-form input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.gate-form input:focus {
    border-color: var(--accent-2);
}

.gate-hint {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.gate-hint a {
    color: var(--accent-3);
    text-decoration: none;
}

.error-text {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

.exclusive-content {
    animation: fadeUp 0.6s ease;
}

.drops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.drop-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
}

.drop-image {
    min-height: 300px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.drop-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.drop-badge.live {
    background: rgba(34,197,94,0.2);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.3);
}

.drop-badge.upcoming {
    background: rgba(157,78,221,0.2);
    color: var(--accent-3);
    border: 1px solid rgba(157,78,221,0.3);
}

.drop-placeholder {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text-dim);
}

.drop-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drop-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.drop-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-3);
    margin-bottom: 0.5rem;
}

.drop-stock {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cd-item {
    text-align: center;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    min-width: 55px;
}

.cd-num {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-3);
}

.cd-label {
    font-size: 0.6rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.contact-form-wrap,
.contact-info {
    padding: 2.5rem;
}

.contact-form-wrap h3,
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

.success-msg {
    padding: 1rem;
    background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.3);
    color: #22c55e;
    margin-top: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.social-link:hover {
    color: var(--accent-3);
}

.contact-details {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.contact-details p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--accent-3);
    text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 50;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* Footer Settings Row */
.footer-settings {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

/* Dark/Light Mode Toggle */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-mode-toggle {
    position: relative;
    width: 60px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.theme-mode-toggle:hover {
    border-color: var(--accent-3);
}

.theme-mode-toggle .mode-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: opacity 0.3s;
}

.theme-mode-toggle .moon {
    left: 8px;
    opacity: 1;
}

.theme-mode-toggle .sun {
    right: 8px;
    opacity: 0.4;
}

.theme-mode-toggle .toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Light mode active state */
body.light-mode .theme-mode-toggle .toggle-thumb {
    left: calc(100% - 27px);
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

body.light-mode .theme-mode-toggle .moon {
    opacity: 0.4;
}

body.light-mode .theme-mode-toggle .sun {
    opacity: 1;
}

.mode-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.language-btn:hover {
    border-color: var(--accent-3);
    background: rgba(255,255,255,0.08);
}

.language-btn .chevron {
    transition: transform 0.2s;
}

.language-selector.open .language-btn .chevron {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,15,20,0.98);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 100;
}

.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
}

.lang-option:hover {
    background: rgba(147,51,234,0.15);
    color: var(--text);
}

.lang-option.active {
    background: rgba(147,51,234,0.2);
    color: var(--accent-3);
}

/* ============================================
   LIGHT MODE THEME
   ============================================ */
body.light-mode {
    --bg: #f5f4f0;
    --bg-secondary: #ffffff;
    --text: #1a1a1a;
    --text-muted: #555555;
    --text-dim: #888888;
    --glass-bg: rgba(255,255,255,0.85);
    --glass-border: rgba(0,0,0,0.1);
    --accent: #7c3aed;
    --accent-1: #7c3aed;
    --accent-2: #9333ea;
    --accent-3: #8b5cf6;
    --accent-4: #a855f7;
}

/* Background gradient for light mode */
body.light-mode {
    background: #f5f4f0 !important;
}

body.light-mode .bg-gradient {
    background: #f5f4f0 !important;
}

body.light-mode .bg-gradient::before,
body.light-mode .bg-gradient::after {
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%) !important;
}

body.light-mode .section {
    background: transparent;
}

/* Navigation */
body.light-mode .nav {
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    backdrop-filter: blur(20px);
}

body.light-mode .nav-link {
    color: #333;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: var(--accent);
}

body.light-mode .hamburger span {
    background: #333;
}

/* Logo */
body.light-mode .logo {
    background: linear-gradient(135deg, #1a1a1a, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .logo-text {
    background: linear-gradient(135deg, #1a1a1a, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Hero Section */
body.light-mode .hero-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #7c3aed 50%, #1a1a1a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .hero-subtitle {
    color: #555;
}

body.light-mode .section-title {
    color: #1a1a1a;
}

body.light-mode .section-subtitle {
    color: #666;
}

/* Product Cards */
body.light-mode .product-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

body.light-mode .product-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

body.light-mode .product-info h3 {
    color: #1a1a1a;
}

body.light-mode .product-price {
    color: var(--accent);
}

body.light-mode .product-badge {
    background: var(--accent);
}

/* Buttons */
body.light-mode .btn-primary {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    color: white;
}

body.light-mode .btn-secondary {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.15);
    color: #333;
}

body.light-mode .btn-secondary:hover {
    background: rgba(0,0,0,0.1);
}

/* Forms */
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.12);
    color: #1a1a1a;
}

body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
    color: #999;
}

/* Gate Content / Exclusive Access */
body.light-mode .gate-content {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .gate-content h2 {
    color: #1a1a1a;
}

body.light-mode .gate-content p {
    color: #666;
}

/* Filter Panel */
body.light-mode .filter-panel {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .filter-panel h4 {
    color: #1a1a1a;
}

body.light-mode .category-btn {
    background: rgba(0,0,0,0.05);
    color: #555;
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .category-btn:hover,
body.light-mode .category-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

body.light-mode .color-btn {
    border-color: rgba(0,0,0,0.2);
}

/* Product Modal */
body.light-mode .product-modal-content {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .modal-product-name {
    color: #1a1a1a;
}

body.light-mode .modal-product-desc {
    color: #666;
}

body.light-mode .size-btn {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.15);
    color: #333;
}

body.light-mode .size-btn:hover,
body.light-mode .size-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Social Proof */
body.light-mode .social-proof {
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, transparent 100%);
}

body.light-mode .social-proof-item {
    background: rgba(255,255,255,0.95);
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* About Section */
body.light-mode .about-content p {
    color: #555;
}

body.light-mode .value-card {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .value-card h3 {
    color: #1a1a1a;
}

body.light-mode .value-card p {
    color: #666;
}

/* Contact Section */
body.light-mode .contact-info p {
    color: #555;
}

body.light-mode .social-link {
    background: rgba(0,0,0,0.05);
    color: #555;
}

body.light-mode .social-link:hover {
    background: var(--accent);
    color: white;
}

/* Footer */
body.light-mode .footer {
    background: rgba(255,255,255,0.95);
    border-top: 1px solid rgba(0,0,0,0.08);
}

body.light-mode .footer-brand p {
    color: #666;
}

body.light-mode .footer-links a {
    color: #555;
}

body.light-mode .footer-links a:hover {
    color: var(--accent);
}

body.light-mode .footer-bottom {
    border-top-color: rgba(0,0,0,0.08);
    color: #888;
}

body.light-mode .theme-mode-toggle {
    background: rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.15);
}

body.light-mode .language-btn {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.12);
    color: #333;
}

body.light-mode .language-dropdown {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .lang-option {
    color: #555;
}

body.light-mode .lang-option:hover {
    background: rgba(124,58,237,0.1);
    color: #333;
}

body.light-mode .lang-option.active {
    background: rgba(124,58,237,0.15);
    color: var(--accent);
}

/* Account Modal */
body.light-mode .account-modal,
body.light-mode .wishlist-modal {
    background: rgba(255,255,255,0.98);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .auth-tab {
    color: #666;
}

body.light-mode .auth-tab.active {
    color: var(--accent);
}

body.light-mode .account-details h3 {
    color: #1a1a1a;
}

/* Cart Page */
body.light-mode .cart-items-section {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .cart-items-header {
    border-bottom-color: rgba(0,0,0,0.08);
    color: #888;
}

body.light-mode .cart-item-row {
    border-bottom-color: rgba(0,0,0,0.06);
}

body.light-mode .item-details h4 {
    color: #1a1a1a;
}

body.light-mode .cart-summary {
    background: rgba(255,255,255,0.95);
}

body.light-mode .cart-summary h3 {
    color: #1a1a1a;
}

body.light-mode .summary-row span:first-child {
    color: #666;
}

body.light-mode .quantity-control {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .qty-btn {
    color: #333;
}

body.light-mode .qty-btn:hover {
    background: rgba(0,0,0,0.08);
}

/* Countdown */
body.light-mode .countdown-item .value {
    background: rgba(0,0,0,0.05);
    color: #1a1a1a;
}

body.light-mode .countdown-item .label {
    color: #888;
}

/* Vines - reduce opacity in light mode */
body.light-mode .vine-container {
    opacity: 0.15;
    filter: invert(0.8);
}

/* Announcement Bar in light mode */
body.light-mode .announcement-bar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Exclusives Page light mode */
body.light-mode .exclusive-hero h1 {
    background: linear-gradient(135deg, #1a1a1a, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .exclusive-badge {
    background: rgba(124,58,237,0.1);
    border-color: rgba(124,58,237,0.3);
}

body.light-mode .exclusive-card {
    background: rgba(255,255,255,0.95);
    border-color: rgba(0,0,0,0.08);
}

body.light-mode .exclusive-info h3 {
    color: #1a1a1a;
}

body.light-mode .exclusive-desc {
    color: #666;
}

body.light-mode .exclusive-meta {
    border-bottom-color: rgba(0,0,0,0.08);
}

body.light-mode .stock-tag {
    background: rgba(255,255,255,0.95);
    color: #22c55e;
}

body.light-mode .upcoming-info h3 {
    color: #1a1a1a;
}

body.light-mode .upcoming-info > p {
    color: #666;
}

body.light-mode .drop-category-title {
    color: #1a1a1a;
}

body.light-mode .entrance-overlay {
    background: radial-gradient(ellipse at center, rgba(245,244,240,0.98), rgba(245,244,240,0.95));
}

body.light-mode .entrance-title {
    background: linear-gradient(135deg, #1a1a1a, #7c3aed, #1a1a1a);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode .entrance-welcome {
    color: #7c3aed;
}

body.light-mode .entrance-sub {
    color: #666;
}

/* ============================================
   UTILITIES
   ============================================ */
.hidden { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .drops-grid {
        grid-template-columns: 1fr;
    }
    
    .drop-card {
        grid-template-columns: 1fr 1.5fr;
    }
}

@media (max-width: 768px) {
    .nav-inner {
        padding: 0.9rem 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(3,3,5,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(-100%);
        transition: transform var(--transition);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .drop-card {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .gate-form {
        flex-direction: column;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.15em;
    }
}

/* ============================================
   EXCLUSIVES PAGE
   ============================================ */

/* ---- LUXURY ENTRANCE ANIMATION ---- */
.entrance-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.entrance-overlay.fade-out {
    animation: entranceFadeOut 1.5s ease-out forwards;
    animation-delay: 3s;
}

.entrance-overlay.skip {
    display: none;
}

.entrance-inner {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* Pulsing glow behind text */
.entrance-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(157,78,221,0.4) 0%, rgba(123,44,191,0.2) 30%, transparent 70%);
    animation: entranceGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes entranceGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Expanding lines */
.entrance-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.entrance-lines span {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    opacity: 0;
}

.entrance-lines span:nth-child(1),
.entrance-lines span:nth-child(2) {
    width: 0;
    height: 1px;
    top: 50%;
    left: 50%;
    animation: lineExpandH 1s ease-out forwards;
}

.entrance-lines span:nth-child(2) {
    animation-delay: 0.2s;
    top: calc(50% + 80px);
}

.entrance-lines span:nth-child(3),
.entrance-lines span:nth-child(4) {
    width: 1px;
    height: 0;
    left: 50%;
    top: 50%;
    background: linear-gradient(180deg, transparent, var(--accent-gold), transparent);
    animation: lineExpandV 1s ease-out forwards;
    animation-delay: 0.4s;
}

.entrance-lines span:nth-child(4) {
    animation-delay: 0.6s;
    left: calc(50% + 150px);
}

@keyframes lineExpandH {
    0% { width: 0; opacity: 0; transform: translateX(0); }
    50% { opacity: 1; }
    100% { width: 100vw; opacity: 0; transform: translateX(-50%); }
}

@keyframes lineExpandV {
    0% { height: 0; opacity: 0; transform: translateY(0); }
    50% { opacity: 1; }
    100% { height: 100vh; opacity: 0; transform: translateY(-50%); }
}

/* Text animations */
.entrance-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.entrance-welcome {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--accent-gold);
    opacity: 0;
    animation: entranceTextFade 1s ease-out forwards;
    animation-delay: 0.5s;
}

.entrance-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(
        135deg,
        var(--accent-gold) 0%,
        #fff 25%,
        var(--accent-gold) 50%,
        var(--accent-3) 75%,
        var(--accent-gold) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.8);
    animation: entranceTitleReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.8s;
    filter: drop-shadow(0 0 60px rgba(212,165,116,0.5));
}

.entrance-title::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: inherit;
    filter: blur(30px);
    opacity: 0.5;
    z-index: -1;
}

.entrance-sub {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: entranceTextFade 1s ease-out forwards;
    animation-delay: 1.5s;
}

@keyframes entranceTextFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes entranceTitleReveal {
    0% { opacity: 0; transform: scale(0.8); }
    60% { opacity: 1; }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes entranceFadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Particles */
.entrance-particles {
    position: absolute;
    inset: -100px;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-out forwards;
}

.particle:nth-child(odd) {
    background: var(--accent-3);
}

.particle.large {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 10px var(--accent-gold);
}

@keyframes particleFloat {
    0% { 
        opacity: 0; 
        transform: translateY(0) scale(0);
    }
    20% { 
        opacity: 1; 
        transform: scale(1);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-200px) scale(0.5);
    }
}

/* Content reveal after entrance */
#exclusive-content > *:not(.entrance-overlay) {
    opacity: 0;
}

#exclusive-content.revealed > *:not(.entrance-overlay) {
    animation: contentReveal 1s ease-out forwards;
}

#exclusive-content.revealed .exclusive-hero {
    animation-delay: 0.1s;
}

#exclusive-content.revealed .exclusive-drops-section {
    animation-delay: 0.3s;
}

@keyframes contentReveal {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Skip entrance for returning users */
#exclusive-content.skip-entrance .entrance-overlay {
    display: none;
}

#exclusive-content.skip-entrance > * {
    opacity: 1;
    animation: none;
}

.exclusive-page .section-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exclusive-page .gate-content {
    padding: 3rem 4rem;
    text-align: center;
    max-width: 500px;
}

.exclusive-page .gate-content h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.exclusive-page .gate-content > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.gate-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-3);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.gate-link:hover {
    color: var(--accent-4);
}

/* Exclusive Hero */
.exclusive-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.exclusive-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.exclusive-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(157,78,221,0.15);
    border: 1px solid rgba(157,78,221,0.3);
    color: var(--accent-3);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.exclusive-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exclusive-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Exclusive Drops Section */
.exclusive-drops-section {
    min-height: auto;
    padding: 2rem 3rem 6rem;
}

.drop-category {
    margin-bottom: 5rem;
}

.drop-category-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* Exclusive Product Grid */
.exclusive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.exclusive-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: all var(--transition);
}

.exclusive-card:hover {
    transform: translateY(-10px);
    border-color: rgba(157,78,221,0.4);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.exclusive-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.exclusive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.exclusive-card:hover .exclusive-image img {
    transform: scale(1.08);
}

.stock-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.8);
    color: #22c55e;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 2;
}

.glow-effect {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 100%, rgba(157,78,221,0.3), transparent 60%);
    pointer-events: none;
    animation: glowPulse 3s ease infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.exclusive-info {
    padding: 1.5rem;
}

.exclusive-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.exclusive-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.exclusive-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.exclusive-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-3);
}

.exclusive-edition {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Upcoming Drop */
.upcoming-drop {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
}

.upcoming-image {
    position: relative;
    min-height: 350px;
}

.upcoming-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(123,44,191,0.4), rgba(94,96,206,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-overlay span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.upcoming-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upcoming-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.upcoming-info > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.upcoming-info .countdown {
    margin-bottom: 1.5rem;
}

/* Past Drops */
.past-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.past-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.past-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.5;
}

.past-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.past-overlay span {
    display: block;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.1);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.past-overlay p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Exclusives */
@media (max-width: 1024px) {
    .exclusive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .upcoming-drop {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .exclusive-grid {
        grid-template-columns: 1fr;
    }
    
    .past-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exclusive-page .gate-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .past-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CART PAGE
   ============================================ */
.cart-page {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.cart-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.cart-page-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.05em;
}

.continue-shopping {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.continue-shopping:hover {
    color: var(--accent-3);
}

/* Empty State */
.cart-empty-state {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.cart-empty-state h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.cart-empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Cart Layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Cart Items Section */
.cart-items-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
}

.cart-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.cart-item-row:last-child {
    border-bottom: none;
}

.col-product {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-dim);
}

.item-details h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.item-variant {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.col-price,
.col-total {
    font-weight: 500;
}

.col-total {
    color: var(--accent-3);
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 0.25rem;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.qty-btn:hover {
    background: rgba(255,255,255,0.1);
}

.qty-value {
    width: 30px;
    text-align: center;
    font-weight: 500;
}

.remove-btn {
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid transparent;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    color: #ef4444;
    border-color: rgba(239,68,68,0.3);
}

/* Cart Summary */
.cart-summary {
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-row span:first-child {
    color: var(--text-muted);
}

.summary-row.promo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.summary-row.promo input {
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.btn-sm {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
}

.summary-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 1.5rem 0;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.summary-row.total span:first-child {
    color: var(--text);
}

.summary-row.total span:last-child {
    color: var(--accent-3);
}

.checkout-btn {
    margin-bottom: 1.5rem;
}

.payment-methods {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 1.5rem;
}

/* Cart button active state */
.cart-btn.active {
    background: rgba(157,78,221,0.2);
    border-color: var(--accent-2);
}

/* Responsive Cart */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-items-header {
        display: none;
    }
    
    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
        background: rgba(255,255,255,0.02);
        margin-bottom: 1rem;
    }
    
    .col-product {
        flex-direction: column;
        text-align: center;
    }
    
    .col-price::before { content: 'Price: '; color: var(--text-dim); }
    .col-quantity::before { content: 'Qty: '; color: var(--text-dim); }
    .col-total::before { content: 'Total: '; color: var(--text-dim); }
    
    .col-price,
    .col-quantity,
    .col-total {
        display: flex;
        justify-content: space-between;
    }
    
    .cart-page-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   USER ACCOUNTS & WISHLIST
   ============================================ */

/* Nav Icon Buttons */
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
    text-decoration: none;
}

.nav-icon-btn:hover {
    color: var(--accent-3);
}

.nav-icon-btn.hidden {
    display: none;
}

.wishlist-count, .cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent-2);
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Modal */
.account-modal-overlay,
.wishlist-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.account-modal-overlay.active,
.wishlist-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.account-modal,
.wishlist-modal {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.account-modal-overlay.active .account-modal,
.wishlist-modal-overlay.active .wishlist-modal {
    transform: translateY(0);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.auth-tab:hover {
    color: var(--text);
}

.auth-tab.active {
    color: var(--accent-3);
    border-bottom-color: var(--accent-3);
}

/* Auth Forms */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-2);
    box-shadow: 0 0 0 2px rgba(157,78,221,0.2);
}

.auth-error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #ef4444;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Account Info (when logged in) */
.account-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.account-details h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.account-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent-2);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.account-role.vip {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
}

.account-role.elite {
    background: linear-gradient(135deg, #d4a574, #f0c987);
    color: #000;
}

.account-email {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.account-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s;
}

.account-link:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent-3);
}

/* Wishlist Modal */
.wishlist-modal {
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.wishlist-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.wishlist-items {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.wishlist-item:last-child {
    border-bottom: none;
}

.wishlist-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    flex: 1;
}

.wishlist-item-info h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.wishlist-item-info .price {
    color: var(--accent-3);
    font-weight: 600;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wishlist-item-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

.wishlist-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.wishlist-empty svg {
    opacity: 0.3;
    margin-bottom: 1rem;
}

/* Wishlist Heart on Product Cards */
.wishlist-heart {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.2s;
    z-index: 5;
}

.wishlist-heart:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

.wishlist-heart.active {
    color: #ef4444;
}

.wishlist-heart.active svg {
    fill: #ef4444;
}

/* VIP/Elite badges on products for early access */
.early-access-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
}

/* ============================================
   SITE OPTIONS ADMIN
   ============================================ */

/* Toggles */
.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 2rem;
}

.setting-row:last-of-type {
    border-bottom: none;
}

.setting-info {
    flex: 1;
}

.setting-info strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.setting-info span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.4;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
    margin-left: auto;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 28px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle input:checked + .toggle-slider {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
}

.toggle input:checked + .toggle-slider::before {
    left: calc(100% - 25px);
}

.toggle:hover .toggle-slider {
    background: rgba(255,255,255,0.2);
}

.toggle input:checked + .toggle-slider:hover {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
}

/* Theme Dropdown Selector */
.theme-selector {
    max-width: 500px;
}

.theme-dropdown {
    position: relative;
}

.theme-selected {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.theme-selected:hover {
    border-color: rgba(147, 51, 234, 0.5);
    background: rgba(0,0,0,0.5);
}

.theme-selected-preview {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.theme-selected-info {
    flex: 1;
}

.theme-selected-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.theme-selected-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.theme-arrow {
    transition: transform 0.2s;
    color: var(--text-muted);
}

.theme-dropdown.open .theme-arrow {
    transform: rotate(180deg);
}

.theme-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(15,15,20,0.98);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.theme-dropdown.open .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.theme-option:last-child {
    border-bottom: none;
}

.theme-option:hover {
    background: rgba(147, 51, 234, 0.1);
}

.theme-option.active {
    background: rgba(147, 51, 234, 0.15);
}

.theme-option-preview {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.theme-option-info {
    flex: 1;
}

.theme-option-name {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.theme-option-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.theme-option .theme-check {
    color: var(--accent);
}

/* Theme Previews */
.theme-selected-preview.default,
.theme-option-preview.default { background: linear-gradient(135deg, #0a0a0a, #1a0a2e, #0a0a0a); }
.theme-selected-preview.christmas,
.theme-option-preview.christmas { background: linear-gradient(135deg, #1a472a, #8b0000, #c4a747); }
.theme-selected-preview.halloween,
.theme-option-preview.halloween { background: linear-gradient(135deg, #1a0a1a, #ff6b00, #4a0080); }
.theme-selected-preview.valentines,
.theme-option-preview.valentines { background: linear-gradient(135deg, #4a0020, #ff1493, #ff69b4); }
.theme-selected-preview.blackfriday,
.theme-option-preview.blackfriday { background: linear-gradient(135deg, #000, #1a1a1a, #c4a747); }
.theme-selected-preview.newyear,
.theme-option-preview.newyear { background: linear-gradient(135deg, #0a0a2a, #c4a747, #0a0a2a); }
.theme-selected-preview.summer,
.theme-option-preview.summer { background: linear-gradient(135deg, #ff6b35, #f7931e, #00d4ff); }

/* ============================================
   SOCIAL PROOF BADGES
   ============================================ */
.social-proof {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 2rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 4;
    pointer-events: none;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text);
    background: rgba(0,0,0,0.6);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    width: fit-content;
    animation: socialProofPulse 3s ease-in-out infinite;
}

.social-proof-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.social-proof-item.viewing {
    color: #22c55e;
}

.social-proof-item.sold {
    color: #f59e0b;
}

.social-proof-item.low-stock {
    color: #ef4444;
    animation: lowStockPulse 1.5s ease-in-out infinite;
}

@keyframes socialProofPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes lowStockPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--accent);
    color: white;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    display: none;
}

.announcement-bar.active {
    display: block;
}

.announcement-bar + .nav {
    top: 45px;
}

body.has-announcement {
    padding-top: 45px;
}

body.has-announcement .nav {
    top: 45px;
}

/* ============================================
   SEASONAL THEMES
   ============================================ */

/* Christmas Theme */
body.theme-christmas {
    --accent: #c4a747;
    --accent-1: #22c55e;
    --accent-2: #dc2626;
    --accent-3: #c4a747;
    --accent-4: #16a34a;
    --accent-gold: #c4a747;
}

body.theme-christmas .bg-gradient {
    background: linear-gradient(-45deg, #0a1a0f, #1a0a0a, #0a1a0f, #1a0a0a) !important;
    background-size: 400% 400%;
}

body.theme-christmas .bg-gradient::before,
body.theme-christmas .bg-gradient::after {
    background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%) !important;
}

/* Snowfall effect */
body.theme-christmas::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='1.5' fill='white' fill-opacity='0.6'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='1' fill='white' fill-opacity='0.4'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='2' fill='white' fill-opacity='0.3'/%3E%3C/svg%3E");
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: christmasSnow 20s linear infinite;
    pointer-events: none;
    z-index: 9998;
}

/* Christmas ornaments on sides */
body.theme-christmas::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        #dc2626 0px, #dc2626 20px,
        #22c55e 20px, #22c55e 40px,
        #c4a747 40px, #c4a747 60px
    );
    z-index: 9999;
    box-shadow: 0 0 20px rgba(220,38,38,0.5);
}

@keyframes christmasSnow {
    0% { background-position: 0 0, 50px 0, 100px 0; }
    100% { background-position: 100px 300px, 150px 400px, 200px 500px; }
}

/* Christmas nav glow */
body.theme-christmas .nav {
    border-bottom: 1px solid rgba(196,167,71,0.3);
    box-shadow: 0 0 30px rgba(220,38,38,0.1);
}

body.theme-christmas .logo {
    background: linear-gradient(135deg, #dc2626, #c4a747, #22c55e);
    -webkit-background-clip: text;
}

/* Halloween Theme */
body.theme-halloween {
    --accent: #ff6b00;
    --accent-1: #ff6b00;
    --accent-2: #9333ea;
    --accent-3: #ff6b00;
    --accent-4: #f97316;
    --accent-gold: #ff6b00;
}

body.theme-halloween .bg-gradient {
    background: linear-gradient(-45deg, #0a0508, #1a0a1a, #0a0508, #15051a) !important;
    background-size: 400% 400%;
}

body.theme-halloween .bg-gradient::before,
body.theme-halloween .bg-gradient::after {
    background: radial-gradient(circle, rgba(255,107,0,0.12) 0%, transparent 70%) !important;
}

/* Spooky fog effect */
body.theme-halloween::before {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: linear-gradient(to top, rgba(147,51,234,0.15), transparent);
    pointer-events: none;
    z-index: 9998;
    animation: halloweenFog 8s ease-in-out infinite;
}

/* Spooky border */
body.theme-halloween::after {
    content: '';
    position: fixed;
    inset: 0;
    border: 3px solid transparent;
    border-image: linear-gradient(135deg, #ff6b00, transparent, #9333ea, transparent, #ff6b00) 1;
    pointer-events: none;
    z-index: 9997;
}

@keyframes halloweenFog {
    0%, 100% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 0.8; transform: translateY(-20px); }
}

body.theme-halloween .logo {
    background: linear-gradient(135deg, #ff6b00, #9333ea);
    -webkit-background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255,107,0,0.5));
}

/* Valentine's Theme */
body.theme-valentines {
    --accent: #ec4899;
    --accent-1: #ec4899;
    --accent-2: #f43f5e;
    --accent-3: #ec4899;
    --accent-4: #db2777;
    --accent-gold: #f0abfc;
}

body.theme-valentines .bg-gradient {
    background: linear-gradient(-45deg, #1a0812, #2d0a1a, #1a0812, #2d0a1a) !important;
    background-size: 400% 400%;
}

body.theme-valentines .bg-gradient::before,
body.theme-valentines .bg-gradient::after {
    background: radial-gradient(circle, rgba(236,72,153,0.12) 0%, transparent 70%) !important;
}

/* Floating hearts */
body.theme-valentines::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ec4899' fill-opacity='0.15' d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    animation: valentinesFloat 30s linear infinite;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.5;
}

@keyframes valentinesFloat {
    0% { background-position: 0 0; }
    100% { background-position: 200px -400px; }
}

body.theme-valentines .logo {
    background: linear-gradient(135deg, #ec4899, #f43f5e, #f0abfc);
    -webkit-background-clip: text;
}

/* Black Friday Theme */
body.theme-blackfriday {
    --accent: #c4a747;
    --accent-1: #c4a747;
    --accent-2: #c4a747;
    --accent-3: #c4a747;
    --accent-4: #eab308;
    --accent-gold: #c4a747;
}

body.theme-blackfriday .bg-gradient {
    background: linear-gradient(-45deg, #000, #050505, #000, #0a0a0a) !important;
    background-size: 400% 400%;
}

body.theme-blackfriday .bg-gradient::before,
body.theme-blackfriday .bg-gradient::after {
    background: radial-gradient(circle, rgba(196,167,71,0.08) 0%, transparent 70%) !important;
}

/* Gold shimmer effect */
body.theme-blackfriday::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(196,167,71,0.03) 45%,
        rgba(196,167,71,0.08) 50%,
        rgba(196,167,71,0.03) 55%,
        transparent 60%
    );
    background-size: 200% 200%;
    animation: blackfridayShimmer 3s ease infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes blackfridayShimmer {
    0% { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
}

body.theme-blackfriday .logo {
    background: linear-gradient(135deg, #c4a747, #fff, #c4a747);
    -webkit-background-clip: text;
    filter: drop-shadow(0 0 30px rgba(196,167,71,0.4));
}

/* Sale banner for Black Friday */
body.theme-blackfriday::after {
    content: 'SALE';
    position: fixed;
    top: 60px;
    right: -35px;
    background: linear-gradient(135deg, #c4a747, #eab308);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* New Year Theme */
body.theme-newyear {
    --accent: #c4a747;
    --accent-1: #c4a747;
    --accent-2: #a3a3a3;
    --accent-3: #c4a747;
    --accent-4: #eab308;
    --accent-gold: #c4a747;
}

body.theme-newyear .bg-gradient {
    background: linear-gradient(-45deg, #05051a, #0a0a2a, #05051a, #0a051a) !important;
    background-size: 400% 400%;
}

body.theme-newyear .bg-gradient::before,
body.theme-newyear .bg-gradient::after {
    background: radial-gradient(circle, rgba(196,167,71,0.1) 0%, transparent 70%) !important;
}

/* Sparkles effect */
body.theme-newyear::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, #c4a747 100%, transparent),
        radial-gradient(2px 2px at 40% 70%, #fff 100%, transparent),
        radial-gradient(1px 1px at 60% 20%, #c4a747 100%, transparent),
        radial-gradient(2px 2px at 80% 50%, #a3a3a3 100%, transparent),
        radial-gradient(1px 1px at 10% 80%, #fff 100%, transparent),
        radial-gradient(2px 2px at 90% 10%, #c4a747 100%, transparent);
    background-size: 200px 200px;
    animation: newyearSparkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes newyearSparkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

body.theme-newyear .logo {
    background: linear-gradient(135deg, #c4a747, #fff, #a3a3a3, #c4a747);
    background-size: 200% auto;
    -webkit-background-clip: text;
    animation: newyearShimmer 3s linear infinite;
}

@keyframes newyearShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Summer Theme */
body.theme-summer {
    --accent: #f97316;
    --accent-1: #f97316;
    --accent-2: #06b6d4;
    --accent-3: #f97316;
    --accent-4: #eab308;
    --accent-gold: #fbbf24;
}

body.theme-summer .bg-gradient {
    background: linear-gradient(-45deg, #0c3a5a, #0a4a6e, #0c3a5a, #084a5e) !important;
    background-size: 400% 400%;
}

body.theme-summer .bg-gradient::before,
body.theme-summer .bg-gradient::after {
    background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%) !important;
}

/* Sun rays effect */
body.theme-summer::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(249,115,22,0.1) 0%, transparent 50%);
    animation: summerSun 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 9998;
}

@keyframes summerSun {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

body.theme-summer .logo {
    background: linear-gradient(135deg, #f97316, #eab308, #06b6d4);
    -webkit-background-clip: text;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: loadingPulse 2s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    position: relative;
}

.loading-spinner::before,
.loading-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
}

.loading-spinner::before {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255,255,255,0.1);
}

.loading-spinner::after {
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent-2);
    animation: loadingSpin 1s linear infinite;
}

@keyframes loadingSpin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================
   LIVE CHAT BUTTON
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(157,78,221,0.4);
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(157,78,221,0.6);
}

.chat-button svg {
    width: 28px;
    height: 28px;
    color: white;
    transition: transform 0.3s ease;
}

.chat-button.open svg {
    transform: rotate(90deg);
}

.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chat-header-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: white;
    margin-bottom: 0.15rem;
}

.chat-header-info span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-header-info .status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.chat-header-info .status-dot.offline {
    background: #ef4444;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-message.bot {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
}

.chat-input-area input:focus {
    border-color: var(--accent-2);
}

.chat-input-area button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-input-area button:hover {
    background: var(--accent-1);
}

.chat-input-area button svg {
    width: 18px;
    height: 18px;
    color: white;
}

/* Light mode adjustments */
body.light-mode .loading-screen {
    background: #f5f5f7;
}

body.light-mode .loading-logo {
    -webkit-text-fill-color: transparent;
}

body.light-mode .loading-spinner::before {
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .chat-window {
    background: #fff;
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .chat-message.bot {
    background: #f3f4f6;
    border-color: rgba(0,0,0,0.1);
    color: #1a1a2e;
}

body.light-mode .chat-input-area {
    border-color: rgba(0,0,0,0.1);
}

body.light-mode .chat-input-area input {
    background: #f3f4f6;
    border-color: rgba(0,0,0,0.1);
    color: #1a1a2e;
}

@media (max-width: 480px) {
    .chat-window {
        width: calc(100vw - 48px);
        right: -12px;
    }
    
    .chat-button {
        width: 54px;
        height: 54px;
    }
}
