/* ==========================================================================
   Karachi Punching Designer - Master Luxury Dark Theme System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Ultra Luxury Dark Obsidian Palette */
    --bg-main: #0B0E17;
    --bg-darker: #06080F;
    --bg-card: rgba(18, 24, 38, 0.75);
    --bg-card-hover: rgba(26, 35, 54, 0.9);
    
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --gold-dark: #D97706;
    --gold-glow: rgba(245, 158, 11, 0.35);
    
    --cyan: #00F2FE;
    --cyan-glow: rgba(0, 242, 254, 0.25);
    --accent-blue: #38BDF8;
    
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    
    --border-color: rgba(255, 255, 255, 0.1);
    --border-gold: rgba(245, 158, 11, 0.4);
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 15px 35px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 12px 35px rgba(245, 158, 11, 0.3);
    --shadow-cyan: 0 12px 35px rgba(0, 242, 254, 0.25);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(0, 242, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 0% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.text-gold { color: var(--gold-light); }
.text-cyan { color: var(--cyan); }
.text-gradient {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 50%, #00F2FE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #000000;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
    text-shadow: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.25);
}

.btn-cyan {
    background: linear-gradient(135deg, var(--cyan) 0%, #00B4DB 100%);
    color: #000000;
    font-weight: 800;
    box-shadow: var(--shadow-cyan);
}

.btn-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 45px rgba(0, 242, 254, 0.4);
    background: linear-gradient(135deg, #38BDF8 0%, var(--cyan) 100%);
}

/* Glassmorphism Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(11, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-normal);
}

.site-header.scrolled {
    padding: 12px 0;
    background: rgba(6, 8, 15, 0.95);
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Pristine 3D Transparent Logo & High-Contrast Typography */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo .logo-img-3d {
    width: 48px;
    height: 48px;
    object-fit: contain;
    mix-blend-mode: normal;
    filter: drop-shadow(0 4px 14px rgba(245, 158, 11, 0.45));
    transition: var(--transition-fast);
}

.brand-logo:hover .logo-img-3d {
    transform: scale(1.08) rotate(4deg);
    filter: drop-shadow(0 6px 20px rgba(245, 158, 11, 0.6));
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
}

.brand-subtitle {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-top: 1px;
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3));
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-light), var(--cyan));
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mega Dropdown & Navigation Styling */
.nav-dropdown-item {
    position: relative;
    display: inline-block;
}

.dropdown-arrow {
    font-size: 0.85rem;
    margin-left: 4px;
    transition: transform var(--transition-fast);
}

.nav-dropdown-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 780px;
    background: rgba(11, 14, 23, 0.98);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
}

.nav-dropdown-item:hover .mega-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 24px;
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-column a {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition-fast);
    display: block;
}

.mega-column a:hover {
    color: #000000;
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

/* Nav Auth Links (Login / Register) */
.nav-auth-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-auth-link:hover, .nav-auth-link.active {
    color: var(--gold-light);
    background: rgba(245, 158, 11, 0.15);
}

/* Circular Category Carousel */
.cat-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-carousel-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cat-carousel-track::-webkit-scrollbar {
    display: none;
}

.cat-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    min-width: 120px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 5;
    user-select: none;
    transition: transform var(--transition-fast);
}

.cat-circle-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--border-gold);
    padding: 5px;
    background: rgba(18, 24, 38, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: all 0.35s ease;
    overflow: hidden;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.cat-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.cat-circle-item:hover .cat-circle-img {
    border-color: var(--gold-light);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.55);
    transform: translateY(-6px) scale(1.04);
}

.cat-circle-item:hover .cat-circle-img img {
    transform: scale(1.12);
}

.cat-circle-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s ease;
    cursor: pointer !important;
}

.cat-circle-item:hover .cat-circle-name {
    color: var(--gold-light);
}

.cat-nav-btn {
    background: none;
    border: none;
    outline: none;
    color: var(--gold-light);
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: none;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.4));
}

.cat-nav-btn:hover {
    background: none;
    border: none;
    color: #FFFFFF;
    transform: scale(1.3);
    box-shadow: none;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.9));
}

/* Small 8-Card Showcase Grid */
.mini-tab-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    text-decoration: none;
}

.mini-tab-link:hover, .mini-tab-link.active {
    color: var(--gold-light);
    background: rgba(245, 158, 11, 0.12);
}

.mini-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.mini-product-card {
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(18, 24, 38, 0.85);
    min-width: 0;
}

.mini-product-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15);
}

.mini-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 95%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #06080F;
    margin-bottom: 8px;
}

.mini-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.mini-product-card:hover .mini-card-thumb img {
    transform: scale(1.08);
}

.mini-wishlist-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(11, 14, 23, 0.85);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.mini-wishlist-btn:hover, .mini-wishlist-btn.active {
    color: #EF4444;
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.2);
}

.mini-card-body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mini-price-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.mini-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--gold-light);
}

.mini-stars {
    color: #F59E0B;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

.mini-title-link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.3em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mini-title-link:hover {
    color: var(--gold-light);
}

.mini-cart-btn {
    width: 100%;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
    margin-top: 2px;
}

.mini-cart-btn:hover {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #000000;
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

@media (max-width: 900px) {
    .mini-products-grid {
        grid-template-columns: repeat(8, minmax(110px, 1fr));
        overflow-x: auto;
    }
}

/* FLASH SALE Section Styling */
.flash-tab-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 6px;
    position: relative;
    text-decoration: none;
    transition: var(--transition-fast);
}

.flash-tab-link:hover, .flash-tab-link.active {
    color: #FFFFFF;
}

.flash-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FCD34D, #F59E0B);
    border-radius: 3px;
}

.flash-products-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
}

.flash-product-card {
    position: relative;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(18, 24, 38, 0.88);
    min-width: 0;
}

.flash-product-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.2);
}

.flash-pct-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10B981;
    color: #000000;
    font-weight: 900;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
}

.flash-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 90%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #06080F;
}

.flash-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.flash-product-card:hover .flash-card-thumb img {
    transform: scale(1.08);
}

/* Flash Countdown Timer Bar */
.flash-timer-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    padding: 4px 2px;
    margin: 8px 0;
    text-align: center;
}

.timer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.t-val {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--gold-light);
}

.t-lbl {
    font-size: 0.58rem;
    color: var(--text-muted);
    font-weight: 600;
}

.flash-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flash-save-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #F87171;
}

.flash-card-title-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.flash-card-title-link:hover {
    color: var(--gold-light);
}

.flash-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.flash-old-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.flash-sale-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--gold-light);
}

.flash-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.flash-add-btn {
    flex-grow: 1;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.flash-add-btn:hover {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    color: #000000;
    border-color: #F59E0B;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.flash-wish-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.flash-wish-btn:hover, .flash-wish-btn.active {
    color: #EF4444;
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.2);
}

@media (max-width: 900px) {
    .flash-products-grid {
        grid-template-columns: repeat(8, minmax(110px, 1fr));
        overflow-x: auto;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.cart-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.cart-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    background: rgba(245, 158, 11, 0.12);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: #000000;
    font-weight: 900;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    background: none;
    border: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.15) 0%, rgba(0, 242, 254, 0.06) 50%, transparent 80%), var(--bg-main);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #FFFFFF;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 680px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
    text-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    padding: 40px 30px;
    position: relative;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(0, 242, 254, 0.1) 100%);
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition-normal);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.2);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #000000;
    box-shadow: 0 8px 25px var(--gold-glow);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: #FFFFFF;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Store Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-thumb {
    position: relative;
    width: 100%;
    padding-top: 80%;
    background: #06080F;
    overflow: hidden;
}

.product-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card:hover .product-thumb img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 14, 23, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    color: #FFFFFF;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold-light);
}

.format-pill {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--cyan);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Portfolio Slider */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    user-select: none;
    border: 1px solid var(--border-color);
}

.ba-img-after, .ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-img-after {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gold-light);
    cursor: ew-resize;
    box-shadow: 0 0 15px var(--gold-light);
}

.ba-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold);
    color: #000000;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--gold-glow);
}

/* Why Us & VIP Grids */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vip-banner-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Form Controls & Wizard */
.wizard-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(18, 24, 38, 0.8);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px var(--gold-glow);
    background: rgba(26, 35, 54, 0.95);
}

.file-dropzone {
    border: 2px dashed var(--border-gold);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    background: rgba(245, 158, 11, 0.04);
    cursor: pointer;
    transition: var(--transition-normal);
}

.file-dropzone:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--gold-light);
}

/* Footer */
.site-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--gold-light);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 600;
}
.alert-success { background: rgba(16, 185, 129, 0.18); border: 1px solid #10B981; color: #34D399; }
.alert-danger { background: rgba(239, 68, 68, 0.18); border: 1px solid #EF4444; color: #F87171; }
.alert-warning { background: rgba(245, 158, 11, 0.18); border: 1px solid #F59E0B; color: #FCD34D; }

/* Native Mobile App Bottom Navigation Bar */
.mobile-app-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: rgba(6, 8, 15, 0.96);
    border-top: 1px solid var(--border-gold);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
}

.app-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-fast);
    flex: 1;
    padding: 6px 0;
}

.app-nav-item svg {
    stroke: var(--text-muted);
    transition: var(--transition-fast);
}

.app-nav-item.active, .app-nav-item:hover {
    color: var(--gold-light);
}

.app-nav-item.active svg, .app-nav-item:hover svg {
    stroke: var(--gold-light);
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.5));
}

.app-cart-badge {
    top: -6px;
    right: -10px;
}

/* Stats Section Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-card {
    padding: 16px 10px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile & Tablet Responsive Media Queries */
@media (max-width: 900px) {
    .promo-poster-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 2.8rem; }
    .services-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    html, body {
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden !important;
        padding-bottom: 65px !important;
    }

    .container {
        padding: 0 16px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .stat-card {
        padding: 12px 6px !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 0.75rem !important;
    }

    .mobile-app-bottom-bar {
        display: flex !important;
    }

    /* Hide desktop hamburger & nav popup on mobile */
    .mobile-toggle {
        display: none !important;
    }

    .nav-menu {
        display: none !important;
    }

    /* Header Responsive Layout Fixes */
    .site-header {
        padding: 10px 0 !important;
    }

    .brand-logo {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }

    .brand-logo .logo-img-3d {
        width: 36px !important;
        height: 36px !important;
    }

    .brand-title {
        font-size: 0.95rem !important;
        letter-spacing: 0px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .brand-subtitle {
        font-size: 0.6rem !important;
        letter-spacing: 1.5px !important;
        white-space: nowrap !important;
    }

    .nav-actions {
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .site-header .cart-icon-btn {
        display: none !important;
    }

    .nav-auth-link {
        font-size: 0.8rem !important;
        padding: 4px 8px !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .hero-section {
        min-height: auto !important;
        padding-top: 85px !important;
        padding-bottom: 40px !important;
    }

    .hero-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 24px !important;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .services-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .ba-slider-container {
        height: 300px !important;
    }

    .glass-card {
        padding: 18px 14px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Mini Showcase & Flash Sale Mobile Responsive Fixes */
    .mini-products-grid, .flash-products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        overflow-x: visible !important;
    }

    .mini-product-card, .flash-product-card {
        flex: unset !important;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 8px !important;
    }

    .mini-cart-btn {
        padding: 6px 4px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    .flash-wish-btn, .mini-wishlist-btn {
        display: none !important;
    }

    .flash-timer-box {
        padding: 4px 2px !important;
        gap: 2px !important;
        margin: 6px 0 !important;
    }

    .t-val {
        font-size: 0.82rem !important;
    }

    .t-lbl {
        font-size: 0.55rem !important;
    }

    .flash-actions {
        gap: 0 !important;
        margin-top: 6px !important;
    }

    .flash-add-btn {
        width: 100% !important;
        display: block !important;
        text-align: center !important;
        padding: 7px 4px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    /* Horizontal scrollable category tab bar on mobile */
    .mini-tabs-bar > div:first-child {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        padding-bottom: 4px !important;
        scrollbar-width: none !important;
    }

    .mini-tabs-bar > div:first-child::-webkit-scrollbar {
        display: none !important;
    }

    /* Product Card Mobile Layout Fixes */
    .product-card .product-details {
        padding: 12px 10px !important;
    }

    .product-card .product-title {
        font-size: 0.88rem !important;
        line-height: 1.25 !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.5em;
    }

    .product-price-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        margin-top: auto !important;
        width: 100% !important;
    }

    .product-price {
        font-size: 1.1rem !important;
    }

    .product-card-btn,
    .product-price-row .btn,
    .product-price-row .btn-gold,
    .product-price-row .btn-outline {
        width: 100% !important;
        padding: 8px 4px !important;
        font-size: 0.78rem !important;
        border-radius: var(--radius-full) !important;
        text-align: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }

    /* Why Us & VIP Membership Mobile Layout Fixes */
    .why-us-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .why-us-grid .glass-card {
        padding: 24px 20px !important;
    }

    .vip-banner-wrapper {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .vip-banner-wrapper .section-title {
        font-size: 1.85rem !important;
        line-height: 1.2 !important;
    }

    .vip-banner-wrapper h3 {
        font-size: 1.15rem !important;
        margin-bottom: 10px !important;
    }

    .vip-banner-wrapper p {
        font-size: 0.92rem !important;
        margin-bottom: 20px !important;
    }

    .vip-banner-wrapper .btn-gold {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
        border-radius: var(--radius-full) !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .vip-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .vip-plans-grid .glass-card {
        transform: none !important;
    }

    /* Footer Mobile Spacing & Bottom Gap Cleanup */
    .site-footer {
        margin-top: 40px !important;
        padding: 40px 0 0 0 !important;
    }

    .footer-grid {
        margin-bottom: 20px !important;
        gap: 20px !important;
    }

    .footer-bottom {
        padding-top: 15px !important;
        padding-bottom: 10px !important;
        text-align: center !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 72px !important;
        padding-bottom: 30px !important;
    }

    .hero-title {
        font-size: 1.65rem !important;
    }

    .container {
        padding: 0 10px !important;
    }

    .brand-logo {
        gap: 6px !important;
    }

    .brand-logo .logo-img-3d {
        width: 30px !important;
        height: 30px !important;
    }

    .brand-title {
        font-size: 0.82rem !important;
    }

    .brand-subtitle {
        font-size: 0.52rem !important;
        letter-spacing: 1px !important;
    }

    .nav-auth-link {
        font-size: 0.75rem !important;
        padding: 3px 6px !important;
    }

    .products-grid, .mini-products-grid, .flash-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .flash-add-btn {
        font-size: 0.7rem !important;
        padding: 6px 2px !important;
    }

    .ba-slider-container {
        height: 280px !important;
    }
}

/* Interactive Image Magnifier & Security Protection */
.zoom-box-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 12px;
    overflow: hidden;
    background: #000000;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.zoom-box-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.15s cubic-bezier(0.1, 0.7, 0.1, 1);
    pointer-events: none;
}

.zoom-security-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
}

.zoom-hint-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(9, 11, 16, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    pointer-events: none;
    z-index: 12;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}
