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

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 1rem;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
}

.dark {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: #334155;
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.2s, color 0.2s;
}

h1, h2, h3, .font-display {
  font-family: 'Outfit', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

/* Glass header */
.glass-header {
  background: color-mix(in srgb, var(--bg-secondary) 80%, transparent);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* Trade card hover */
.trade-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.trade-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Safe area for mobile bottom nav */
.safe-area-pb {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Hide scrollbar for slider */
.game-slider::-webkit-scrollbar { display: none; }
.game-slider { -ms-overflow-style: none; scrollbar-width: none; }
