/* ============================================================
   RGS STORE — Corporate Light Mode
   White & Orange finish without dark backgrounds
   ============================================================ */

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

:root {
    /* Brand Colors (Pure Orange / Black / White) */
    --primary:        #ff7a00;
    --primary-light:  #ffa04d;
    --primary-glow:   rgba(255, 122, 0, 0.1);
    --primary-soft:   rgba(255, 122, 0, 0.05);
    
    /* Secondary (Discord Blurple - for buttons/logos only) */
    --discord:        #5865f2;
    --discord-glow:   rgba(88, 101, 242, 0.1);

    /* Light Backgrounds - PREMIUM ORANGE-WHITE NEON */
    --bg-darkest:     #fafafa;
    --bg-dark:        #f8f9fa;
    --bg-surface:     #ffffff;
    --bg-surface2:    #f8fafc;
    --bg-glass:       rgba(255, 255, 255, 0.98);
    
    /* Legacy Sync */
    --neon-green:     #ff7a00;
    --neon-orange:    #ff7a00;
    --green:          #ff7a00;
    --orange:         #ff7a00;

    /* Text - PURE BLACK SYSTEM */
    --text-bright:    #1a1a1a;
    --text-main:      #1a1a1a;
    --text-dim:       #1a1a1a;
    --text-muted:     #4b5563;

    /* Borders */
    --border:         #e5e7eb;
    --border-hover:   #d1d5db;
    --border-primary: rgba(255, 122, 0, 0.2);

    /* Shadows */
    --shadow-card:    0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-glow:    0 0 20px rgba(255, 122, 0, 0.1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
    background: #fafafa;
    color: #1a1a1a;
    font-family: 'Outfit', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.25s; }
button { font-family: inherit; border: none; cursor: pointer; transition: 0.25s; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
.product-img-standard {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #ffffff; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Marquee Banner ──────────────────────────────────────── */
.marquee-bar {
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1001;
}
.marquee-inner {
    display: inline-block;
    animation: marquee-scroll 35s linear infinite;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ─── Glow Blobs ──────────────────────────────────────────── */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
.blob-green  { width: 700px; height: 700px; background: var(--green); top: -300px; right: -300px; }
.blob-orange { width: 500px; height: 500px; background: var(--orange); bottom: -200px; left: -200px; }

/* ─── Glassmorphism Navbar ────────────────────────────────── */
.navbar-premium {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.logo-brand {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: var(--green);
    flex-shrink: 0;
}
.logo-brand span { color: var(--text-bright); }

/* ─── Search ──────────────────────────────────────────────── */
.search-wrapper { flex: 1; max-width: 480px; position: relative; }
.search-input {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 0.7rem 1rem 0.7rem 2.75rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: 0.25s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus {
    border-color: var(--green);
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 15px var(--green-glow);
}
.search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ─── Nav Auth ────────────────────────────────────────────── */
.btn-nav-login {
    background: var(--green);
    color: #000;
    font-weight: 800;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-green);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-nav-login:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-nav-register {
    background: transparent;
    color: var(--green);
    border: 1.5px solid var(--green);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
}
.btn-nav-register:hover { background: var(--green-soft); }
.btn-cart-icon {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    flex-shrink: 0;
}
.btn-cart-icon:hover { border-color: var(--green); color: var(--green); }
.cart-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ─── User Profile Nav ────────────────────────────────────── */
.user-nav-group { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.user-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 0.4rem 0.875rem 0.4rem 0.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
}
.user-nav-link:hover { border-color: var(--green); }
.avatar-xs {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--green), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
    color: #000;
}
.btn-logout-sm {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
    border: 1px solid rgba(239,68,68,0.2);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.875rem;
    border-radius: var(--r-sm);
}
.btn-logout-sm:hover { background: rgba(239,68,68,0.2); }

/* ─── Category Pills ──────────────────────────────────────── */
.cat-scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 1.5rem; }
.cat-scroller::-webkit-scrollbar { display: none; }
.cat-pill {
    padding: 0.5rem 1.25rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    cursor: pointer;
    transition: 0.25s;
}
.cat-pill:hover { color: var(--text-main); border-color: var(--border-hover); }
.cat-pill.active {
    background: var(--green-soft);
    border-color: var(--green);
    color: var(--green);
}

/* ─── Product Grid & Card ─────────────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 4rem;
}
@media (max-width: 640px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3), var(--shadow-card);
}
.product-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    background: var(--bg-dark);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img img { transform: scale(1.08); }

.discount-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: linear-gradient(135deg, var(--orange), #c2410c);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    box-shadow: var(--shadow-orange);
}
.hot-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: linear-gradient(135deg, #ef4444, #991b1b);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    z-index: 2;
}

.product-card-body { padding: 1rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-cat {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--orange);
    margin-bottom: 5px;
}
.product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 2.5rem;
}
.product-price-row { margin-top: auto; }
.price-was { font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }
.price-now { font-size: 1.1rem; font-weight: 800; color: var(--green); }
.btn-detail {
    width: 100%;
    margin-top: 10px;
    background: var(--green-soft);
    color: var(--green);
    border: 1px solid var(--border-green);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.55rem;
    border-radius: var(--r-sm);
    text-align: center;
}
.btn-detail:hover { background: var(--green); color: #000; }

/* ─── CTA Buttons ─────────────────────────────────────────── */
.btn-primary {
    background: linear-gradient(135deg, var(--green), #15803d);
    color: #000;
    font-weight: 800;
    padding: 0.875rem 2rem;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-green);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 20px var(--green), 0 0 40px var(--green-glow); 
}

.btn-orange {
    background: linear-gradient(135deg, var(--orange), #c2410c);
    color: #fff;
    font-weight: 800;
    padding: 0.875rem 2rem;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-orange:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 0 20px var(--orange), 0 0 40px var(--orange-glow); 
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text-dim);
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: 0.25s;
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* ─── Premium Orange-White Neon Buttons ──────────────────── */
.btn-orange-neon {
    background: linear-gradient(135deg, #ff7a00, #ff9a44) !important;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.4) !important;
    color: white !important; 
    font-weight: bold; 
    border: none; 
    border-radius: 8px;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-orange-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.6) !important;
}

.btn-discord-neon {
    background: #5865F2 !important; 
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4) !important; 
    color: white !important; 
    font-weight: bold; 
    border: none; 
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-discord-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.6) !important;
}

.btn-admin-neon {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
    color: white !important;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-admin-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6) !important;
}

/* ─── Premium Hero Section ────────────────────────────────── */
.hero-section {
    height: 250px !important;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1614680376593-902f74cf0d41?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat !important;
    border-radius: 15px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    margin: 15px;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
    color: white !important;
}
.hero-section h1, .hero-section h2 { font-size: 24px !important; color: white !important; }
.hero-section p { font-size: 14px !important; color: rgba(255,255,255,0.85) !important; margin-bottom: 1rem !important; }

/* ─── Glass Cards ─────────────────────────────────────────── */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
}

/* ─── Forms ───────────────────────────────────────────────── */
.form-input {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: 0.25s;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 6px;
}

/* ─── Status Badges ───────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1px solid;
}
.badge-pending   { background: rgba(234,179,8,0.1);   color: #eab308; border-color: rgba(234,179,8,0.25);   }
.badge-processing{ background: rgba(59,130,246,0.1);  color: #3b82f6; border-color: rgba(59,130,246,0.25);  }
.badge-shipped   { background: rgba(249,115,22,0.1);  color: var(--orange); border-color: var(--border-orange); }
.badge-success   { background: rgba(34,197,94,0.1);   color: var(--green);  border-color: var(--border-green);  }
.badge-failed    { background: rgba(239,68,68,0.1);   color: #ef4444; border-color: rgba(239,68,68,0.25);   }
.badge-cancelled { background: rgba(100,116,139,0.1); color: #64748b; border-color: rgba(100,116,139,0.25);}
.badge-open      { background: rgba(59,130,246,0.1);  color: #3b82f6; border-color: rgba(59,130,246,0.25);  }
.badge-replied   { background: rgba(34,197,94,0.1);   color: var(--green);  border-color: var(--border-green);  }
.badge-closed    { background: rgba(100,116,139,0.1); color: #64748b; border-color: rgba(100,116,139,0.25);}

/* ─── Star Rating ─────────────────────────────────────────── */
.star-rating { display: flex; gap: 3px; }
.star { color: var(--text-muted); font-size: 1rem; cursor: pointer; transition: 0.15s; }
.star.active, .star:hover { color: #f59e0b; }

/* ─── Section Title ───────────────────────────────────────── */
.section-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title .icon-green { color: var(--green); }

/* ─── WhatsApp Float ──────────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 58px; height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    z-index: 9999999 !important;
    box-shadow: 0 0 15px rgba(37,211,102,0.6), 0 0 30px rgba(37,211,102,0.3);
    transition: 0.3s;
    pointer-events: auto !important;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 0 25px rgba(37,211,102,0.8); }

/* ─── CS Ticket Float ─────────────────────────────────────── */
.cs-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--orange), #ea580c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    z-index: 9999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    box-shadow: 0 0 15px var(--orange), 0 0 30px var(--orange-glow);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--orange-light);
}

.cs-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 32px var(--orange-glow);
}

/* ─── Shimmer Skeleton ────────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-surface2) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
    border-radius: var(--r-sm);
}

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.55s ease-out forwards; opacity: 0; }

/* ─── Toast ───────────────────────────────────────────────── */
#toast-area {
    position: fixed;
    top: 5rem; right: 1rem;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.toast-msg {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-bright);
    padding: 0.875rem 1.25rem;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-card);
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 280px;
}
.toast-msg.success { border-left: 3px solid var(--green); }
.toast-msg.error   { border-left: 3px solid #ef4444; }
.toast-msg.info    { border-left: 3px solid #3b82f6; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ─── Modal ───────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}
.modal-box {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    animation: fadeUp 0.3s ease-out;
}
.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-body { padding: 1.5rem; }
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}
.btn-close-modal:hover { color: var(--text-main); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── Footer ──────────────────────────────────────────────── */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 3.5rem 1.5rem 2rem;
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .search-wrapper { display: none; }
}
.footer-logo { font-size: 1.4rem; font-weight: 900; color: var(--green); margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    transition: 0.25s;
}
.footer-social a:hover { border-color: var(--green); color: var(--green); }
.footer-col h5 { font-size: 0.85rem; font-weight: 700; color: var(--text-bright); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; font-size: 0.82rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-bottom .dev-credit { color: #94a3b8; }
.footer-bottom .dev-name {
    color: #94a3b8;
    font-weight: 700;
    transition: 0.25s;
}
.footer-bottom .dev-name:hover { color: var(--orange); }

/* ─── Table ───────────────────────────────────────────────── */
.rgs-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.rgs-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.rgs-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
    vertical-align: middle;
}
.rgs-table tbody tr { transition: 0.2s; }
.rgs-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.rgs-table tbody tr:last-child td { border-bottom: none; }

/* ─── Dashboard Tabs ──────────────────────────────────────── */
.tab-nav { display: flex; gap: 4px; background: var(--bg-surface); padding: 4px; border-radius: var(--r-md); }
.tab-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dim);
    background: transparent;
    transition: 0.25s;
    white-space: nowrap;
}
.tab-btn.active { background: var(--green); color: #000; }
.tab-btn:hover:not(.active) { color: var(--text-main); }

/* ─── Credentials Box ─────────────────────────────────────── */
.credentials-box {
    background: var(--bg-dark);
    border: 1px solid var(--border-green);
    border-radius: var(--r-sm);
    padding: 0.875rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--green);
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 0.5rem;
}

/* ─── Review Card ─────────────────────────────────────────── */
.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    margin-bottom: 12px;
}
.review-card header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.reviewer-name { font-weight: 700; font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-comment { font-size: 0.875rem; color: var(--text-dim); margin-top: 6px; }

/* ─── Stat Card ───────────────────────────────────────────── */
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    transition: 0.3s;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.stat-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px; }
.stat-value { font-size: 1.75rem; font-weight: 900; color: var(--text-bright); }
.stat-icon { font-size: 1.5rem; margin-bottom: 8px; }

/* ─── Modern Glass & Effects ────────────────────────────── */
.glass-nav {
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

/* ─── Mobile Optimization ────────────────────────────────── */
@media (max-width: 768px) {
    .nav-container { padding: 0 1rem; }
    .logo-brand { font-size: 1.4rem; }
}

/* Specific for Order History Table in Mobile */
@media (max-width: 640px) {
    .rgs-table thead { display: none; }
    .rgs-table tr { 
        display: block; 
        margin-bottom: 1rem; 
        background: rgba(255,255,255,0.02); 
        border-radius: 12px;
        padding: 10px;
    }
    .rgs-table td { 
        display: flex; 
        justify-content: space-between; 
        padding: 8px 12px; 
        border: none;
        font-size: 0.8rem;
    }
    .rgs-table td::before { 
        content: attr(data-label); 
        font-weight: 800; 
        color: var(--text-dim); 
        text-transform: uppercase;
        font-size: 0.7rem;
    }

    /* Product Grid 2-columns explicitly */
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
}

/* ─── Hero Carousel ────────────────────────────────────────── */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
}
.carousel-slide {
    display: none;
    animation: fade-in 0.5s ease-in-out;
}
.carousel-slide.active {
    display: block;
}
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.3s;
}
.carousel-dot.active { background: var(--green); transform: scale(1.2); }

/* ─── Hamburger Menu (Mobile Sidebar) ────────────────────────── */
.hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-bright);
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .hamburger-btn { display: block; }
    .search-wrapper { display: none; }
    .search-wrapper.mobile-search-active { 
        display: block; 
        position: absolute; 
        top: 100%; left: 0; right: 0; 
        padding: 10px; 
        background: var(--bg-surface); 
        border-bottom: 1px solid var(--border);
    }
    
    .sidebar {
        position: fixed;
        top: 0; left: -100%;
        width: 260px; height: 100vh;
        background: var(--bg-dark);
        z-index: 10000;
        transition: 0.3s ease;
        padding: 1.5rem;
        border-right: 1px solid var(--border);
    }
    .sidebar.open { left: 0; }
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        backdrop-filter: blur(4px);
        z-index: 9999;
        display: none;
    }
    .sidebar-overlay.open { display: block; }
}

/* ─── Profile Picture Upload UI ───────────────────────────── */
.avatar-upload-wrapper {
    position: relative;
    width: 100px; height: 100px;
    border-radius: 50%;
    border: 2px dashed var(--border-green);
    display: flex; justify-content: center; align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;
}
.avatar-upload-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
}
.avatar-upload-input { display: none; }
.avatar-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex; justify-content: center; align-items: center;
    color: #fff; font-size: 0.8rem; font-weight: bold;
    opacity: 0; transition: 0.2s;
}
.avatar-upload-wrapper:hover .avatar-overlay { opacity: 1; }

/* ─── Table Responsive Wrapper ────────────────────────────── */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ─── Floating WhatsApp ───────────────────────────────────── */
.wa-float {
    position: fixed;
    z-index: 9999999;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s;
}
.wa-float:hover {
    transform: scale(1.1);
}

/* ─── Mobile Admin Off-canvas ─────────────────────────────── */
@media (max-width: 768px) {
    #admin-sidebar {
        position: fixed;
        top: 0; left: -100%;
        width: 260px; height: 100vh;
        z-index: 10000;
        transition: 0.3s ease;
    }
    #admin-sidebar.open { left: 0; }
    #admin-sidebar-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 9999; display: none;
    }
    #admin-sidebar-overlay.open { display: block; }
}

/* =========================================================
   TERMINATOR FINAL MANDATE — BLACK-ON-WHITE (DEV: E_VANN)
   Single authoritative override block. Highest cascade priority.
   All previous override blocks are consolidated here.
   ========================================================= */

/* 1. Nuclear background white — every container */
body, html, main, .offcanvas, .main-content,
.wrapper, .container, .main-container,
section, article, aside {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
}

/* 2. Kill pseudo-element blobs & gradients (preserve icon pseudo-elements) */
body::before, body::after,
.wrapper::before, .wrapper::after,
.main-bg::before, .main-bg::after,
header::before, header::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
    content: none !important;
    opacity: 0 !important;
}

/* 3. Force BLACK text on every readable element */
p, label, h1, h2, h3, h4, h5, h6,
.nav-link, li, td, th,
.text-muted, .text-gray-400, .text-gray-500,
.text-gray-600, .text-gray-700,
span:not(.cart-badge):not(.badge):not(.dev-name):not(.marquee-inner) {
    color: #000000 !important;
}

/* 4. Buttons — neon colours with WHITE text */
.btn                        { color: #ffffff !important; font-weight: bold; }
.btn-orange, .btn-primary   { background: #ff7a00 !important; color: #ffffff !important; border: none !important; }
.btn-pink                   { background: #ff007f !important; color: #ffffff !important; border: none !important; }
.btn-nav-login, .btn-login  { background: #ff7a00 !important; color: #ffffff !important; border-radius: 8px; padding: 8px 16px; font-weight: bold; display: inline-block !important; text-decoration: none; }
.btn-nav-register, .btn-register { background: #ff007f !important; color: #ffffff !important; border-radius: 8px; padding: 8px 16px; font-weight: bold; display: inline-block !important; text-decoration: none; }

/* 5. Navbar & sidebar always white */
nav, .navbar, #mobile-sidebar,
.sidebar-overlay + aside {
    background: #ffffff !important;
    border-bottom: 1px solid #eeeeee !important;
}

/* 6. Auth button containers — never hidden */
.auth-buttons, #nav-auth-container,
#sidebar-auth-container {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 8px;
}

/* 7. Cards, form controls & inputs — white + black text */
.card, .navbar, .modal-content, .product-card {
    background: #ffffff !important;
    border: 1px solid #e1e5eb !important;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04) !important;
}
.card, .form-control,
input[type="text"], input[type="email"],
input[type="password"], textarea, select, input {
    background-color: #ffffff !important;
    background: #f8f9fa !important;
    border: 1px solid #d1d5db !important;
    color: #000000 !important;
    border-radius: 8px;
}

/* 8. Mobile nav — buttons not clipped */
@media (max-width: 768px) {
    .navbar { flex-wrap: wrap; padding: 10px !important; }
    .navbar-brand { max-width: 40%; }
    #nav-auth-container { max-width: 55%; justify-content: flex-end; }
    .btn-nav-login, .btn-nav-register {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
    .auth-buttons .btn { padding: 6px 12px !important; font-size: 13px !important; }
}

/* 9. Banner helper */
.banner-container { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.banner-img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; display: block; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge {
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-orange { background: #fff7ed; color: #c2410c; border: 1px solid #ffedd5; }
.badge-green { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.badge-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #dbeafe; }
.badge-red { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}
.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}


/* ============================================================
   PREMIUM ORANGE x BLACK x WHITE — GLOBAL REINFORCEMENT
   ============================================================ */

.orange-accent-bar { width: 48px; height: 4px; background: linear-gradient(90deg, #ff7a00, #ff9a44); border-radius: 999px; margin-bottom: 1rem; }

.promo-strip { background: #1a1a1a; color: #fff; padding: 1rem 1.5rem; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1rem 0; }
.promo-strip-text { font-weight: 800; font-size: 0.9rem; }
.promo-strip-text span { color: #ff7a00; }

.premium-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 4px 24px rgba(0,0,0,0.04); transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden; }
.premium-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #ff7a00, #ff9a44, #ff7a00); opacity: 0; transition: opacity 0.3s; }
.premium-card:hover { border-color: rgba(255,122,0,0.3); box-shadow: 0 12px 40px rgba(255,122,0,0.12), 0 4px 20px rgba(0,0,0,0.06); transform: translateY(-4px); }
.premium-card:hover::before { opacity: 1; }

.product-card:hover { border-color: #ff7a00 !important; box-shadow: 0 8px 30px rgba(255,122,0,0.2), 0 4px 12px rgba(0,0,0,0.06) !important; transform: translateY(-6px) scale(1.01) !important; }
.price-now { color: #ff7a00 !important; }

.divider-premium { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,122,0,0.3), transparent); margin: 2rem 0; border: none; }

.marquee-bar { background: linear-gradient(135deg, #ff7a00, #e05000) !important; box-shadow: 0 2px 10px rgba(255,122,0,0.3); }

.glass-card { border: 1px solid #e5e7eb !important; transition: all 0.3s ease !important; }
.glass-card:hover { border-color: rgba(255,122,0,0.25) !important; box-shadow: 0 8px 30px rgba(255,122,0,0.08) !important; transform: translateY(-3px) !important; }

::-webkit-scrollbar-thumb { background: rgba(255,122,0,0.4) !important; }
::-webkit-scrollbar-thumb:hover { background: #ff7a00 !important; }

.cat-pill.active { background: linear-gradient(135deg, rgba(255,122,0,0.12), rgba(255,122,0,0.06)) !important; border-color: #ff7a00 !important; color: #ff7a00 !important; }
.cat-pill:hover { border-color: rgba(255,122,0,0.5) !important; color: #ff7a00 !important; }

.hero-section > div { position: relative; z-index: 2; }
.hero-section .btn-orange-neon, .hero-section .btn-discord-neon { font-size: 0.85rem !important; padding: 8px 18px !important; }

.btn-orange-neon { position: relative; overflow: hidden; }
.btn-orange-neon::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.btn-orange-neon:hover::after { left: 100%; }

.badge-premium { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, #ff7a00, #ff9a44); color: #fff; font-size: 0.68rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.8px; }

footer .footer-logo { color: #ff7a00 !important; }

/* FORCE RENDER DISCORD LOGIN */
a[href="/api/auth/discord"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* TOTAL REPAIR: FIXED BANNER */
.hero-section {
    height: 200px !important;
    min-height: 200px !important;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1614680376593-902f74cf0d41?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat !important;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px; margin: 10px; overflow: hidden;
}
.hero-section h1 { font-size: 20px !important; text-align: center; color: white !important; }

/* TOTAL REWRITE: PREMIUM DARK MODE & GLASSMORPHISM */
:root {
    --bg-main: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --neon-orange: #ff7a00;
    --neon-purple: #8b5cf6;
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    background: var(--bg-main) !important;
    color: var(--text-main) !important;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 16px;
}

/* Banner */
.hero-section {
    height: 200px !important;
    min-height: 200px !important;
    object-fit: cover;
    border-radius: 12px;
    margin: 10px;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1614680376593-902f74cf0d41?q=80&w=1000&auto=format&fit=crop') center/cover no-repeat !important;
}

/* Neons */
.neon-text-orange { text-shadow: 0 0 10px var(--neon-orange), 0 0 20px var(--neon-orange); }
.neon-text-purple { text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-purple); }

/* Floating WhatsApp */
.fab-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s;
}
.fab-wa:hover { transform: scale(1.1); }

/* Popup Responsive Fix */
.modal-box {
    width: 90% !important;
    max-width: 400px !important;
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    color: var(--text-main);
    border: 1px solid var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 122, 0, 0.2);
}
.btn-close-modal { color: var(--text-main); font-weight: bold; background: rgba(255,255,255,0.1); border-radius: 50%; padding: 5px 10px; }

