/* tokens.css — Premium Glassmorphism Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --brand: #e50914;
  --brand-dark: #b1060f;
  --brand-gradient: linear-gradient(135deg, #e50914, #ff4b4b);
  --brand-soft: rgba(229, 9, 20, 0.15);
  --accent: #ffb800;
  --accent-gradient: linear-gradient(135deg, #ffb800, #ff8a00);

  /* Background - Premium Dark Gradient */
  --bg: #050508;
  --bg-gradient: radial-gradient(circle at top right, #1a1a2e 0%, #050508 60%);
  --bg-2: rgba(255, 255, 255, 0.03);
  --bg-3: rgba(255, 255, 255, 0.06);
  
  /* Glassmorphism Cards */
  --bg-card: rgba(20, 20, 28, 0.6);
  --bg-hover: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Text */
  --text: #ffffff;
  --text-2: #a0a0b8;
  --text-3: #6b6b78;

  /* Border */
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.12);

  /* Status */
  --ok: #10b981;
  --ok-soft: rgba(16, 185, 129, 0.15);
  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.15);
  --err: #ef4444;
  --err-soft: rgba(239, 68, 68, 0.15);
  --info: #3b82f6;
  --info-soft: rgba(59, 130, 246, 0.15);

  /* Tier */
  --tier-premium: #ffb800;
  --tier-standard: #3b82f6;
  --tier-basic: #10b981;

  /* Radius & shadow */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Layout */
  --sidebar-w: 260px;
  --max: 1200px;

  /* Fonts */
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", Monaco, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: var(--font);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: all 0.2s; }
a:hover { color: #ff4b4b; text-decoration: none; text-shadow: 0 0 8px rgba(229,9,20,0.4); }

button, input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  color: inherit;
}

img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* =================== UTILITIES =================== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .flex-1 { flex: 1; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.between { justify-content: space-between; } .items-center { align-items: center; }
.wrap { flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
