/* ==========================================================================
   NovaEpin Design System - Theme Tokens & Variables
   Aesthetic: Cyberpunk / OLED Dark Glassmorphism (Figtree + JetBrains Mono)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Dark OLED (Default) */
  --bg-base: #07090e;
  --bg-surface: #0f1420;
  --bg-surface-glass: rgba(15, 20, 32, 0.75);
  --bg-surface-elevated: #161c2d;
  --bg-surface-hover: #1c2438;
  --bg-card: #0f1420;
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-subtle-box: rgba(0, 0, 0, 0.25);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(124, 58, 237, 0.5);
  --border-glow: rgba(6, 182, 212, 0.4);

  /* Brand Colors */
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #a78bfa;
  --primary-glow: rgba(124, 58, 237, 0.35);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.3);
  
  --accent-rose: #f43f5e;
  --accent-rose-hover: #e11d48;
  --accent-rose-glow: rgba(244, 63, 94, 0.4);

  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);

  --accent-amber: #f59e0b;

  /* Typography - Unified Customer Experience with Figtree */
  --font-display: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-price: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #07090e;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
  --shadow-neon-purple: 0 0 25px rgba(124, 58, 237, 0.45);
  --shadow-neon-cyan: 0 0 25px rgba(6, 182, 212, 0.35);
  --shadow-neon-rose: 0 0 25px rgba(244, 63, 94, 0.45);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Semantic Gaming Surfaces & Controls (Night Mode Default) */
  --surface-card: #0f1420;
  --surface-card-hover: #141b2d;
  --surface-inner: #080b12;
  --surface-input: #070a12;
  --surface-code: #060911;
  --surface-table-head: rgba(255, 255, 255, 0.03);
  --surface-table-row-hover: rgba(255, 255, 255, 0.025);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-inner: rgba(255, 255, 255, 0.06);
  --border-input: rgba(255, 255, 255, 0.13);
  --border-input-focus: #3b82f6;

  /* Layout */
  --max-w: 1280px;
  --header-h: 74px;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Mode Overrides (Day Mode) */
[data-theme="light"] {
  --bg-base: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.94);
  --bg-surface-elevated: #f8fafc;
  --bg-surface-hover: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-border: #e2e8f0;
  --bg-subtle-box: #f8fafc;
  --border-subtle: #e2e8f0;
  --border-active: rgba(79, 70, 229, 0.45);
  --border-glow: rgba(2, 132, 199, 0.3);

  /* Semantic Gaming Surfaces & Controls (Day Mode) */
  --surface-card: #ffffff;
  --surface-card-hover: #f8fafc;
  --surface-inner: #f8fafc;
  --surface-input: #ffffff;
  --surface-code: #f1f5f9;
  --surface-table-head: #f8fafc;
  --surface-table-row-hover: #f1f5f9;
  --border-card: #e2e8f0;
  --border-inner: #e2e8f0;
  --border-input: #cbd5e1;
  --border-input-focus: #2563eb;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  --accent-cyan: #0284c7;
  --accent-cyan-glow: rgba(2, 132, 199, 0.16);
  --accent-amber: #d97706;
  --accent-emerald: #059669;
  --accent-emerald-glow: rgba(5, 150, 105, 0.18);
  --accent-rose: #e11d48;
  --accent-rose-glow: rgba(225, 29, 72, 0.2);
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #6366f1;
  --primary-glow: rgba(79, 70, 229, 0.2);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.09);
  --shadow-neon-purple: 0 6px 20px rgba(79, 70, 229, 0.22);
  --shadow-neon-cyan: 0 6px 20px rgba(2, 132, 199, 0.2);
  --shadow-neon-rose: 0 6px 20px rgba(225, 29, 72, 0.22);
}

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

html {
  font-family: 'Figtree', var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Figtree', var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.15), transparent),
    radial-gradient(circle at 100% 40%, rgba(6, 182, 212, 0.08), transparent 40%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Figtree', var(--font-display);
}

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

button, input, select, textarea {
  font-family: 'Figtree', inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   Price & Monetary Typography (Strictly Figtree, No Slashed Zeroes)
   ========================================================================== */
.price,
.product-price,
.product-card-price,
.product-detail-price,
.hero-slide-price,
.flash-old-price,
.flash-new-price,
.market-price,
.search-item-price,
.cart-price,
.cart-total,
.order-total-price,
.order-item-price,
.acc-order-price,
.order-amount-text,
.wallet-hero-amount,
.wallet-widget-val,
.wallet-tx-amount,
.hud-wallet-balance,
.net-amount-highlight,
.user-pill-balance,
.user-dd-balance span,
.drawer-user-balance span,
.deposit-chip,
.chip-amount,
.btn-amount-chip,
.cat-start-price strong,
[class*="price"],
[class*="balance"],
[class*="amount"],
[id*="Price"],
[id*="price"],
[id*="Gross"],
[id*="Comm"],
[id*="Earnings"],
[id*="Cost"],
[id*="wth"],
[id*="Total"],
[id*="total"] {
  font-family: var(--font-price) !important;
  font-variant-numeric: normal !important;
  font-feature-settings: "zero" 0 !important;
}

