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

/* ===== LIGHT MODE (DEFAULT) ===== */
:root {
  --bg-deepest: #F8FAFC;
  --bg-deep: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-surface: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #CBD5E1;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --yellow: #D97706;
  --yellow-dim: rgba(217, 119, 6, 0.08);
  --blue: #2563EB;
  --blue-dim: rgba(37, 99, 235, 0.08);
  --red: #DC2626;
  --red-dim: rgba(220, 38, 38, 0.08);
  --green: #16A34A;
  --green-dim: rgba(22, 163, 74, 0.08);
  --purple: #7C3AED;
  --purple-dim: rgba(124, 58, 237, 0.08);
  --amber: #D97706;
  --amber-dim: rgba(217, 119, 6, 0.08);
  --cyan: #0891B2;
  --region-uk: #6366F1;
  --region-us: #2563EB;
  --region-ca: #DC2626;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --chart-grid: rgba(0,0,0,0.06);
  --chart-text: #64748B;
  --tooltip-bg: #FFFFFF;
  --tooltip-border: #E2E8F0;
  --badge-po-bg: rgba(124, 58, 237, 0.1);
  --badge-po-text: #7C3AED;
  --badge-restock-bg: rgba(37, 99, 235, 0.1);
  --badge-restock-text: #2563EB;
  --badge-set-bg: rgba(217, 119, 6, 0.1);
  --badge-set-text: #B45309;
  --country-toggle-bg: #F1F5F9;
  --country-active-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --bg-deepest: #060D1B;
  --bg-deep: #0A1628;
  --bg-card: #111B2E;
  --bg-card-hover: #162035;
  --bg-surface: #1A2540;
  --border: #1E2D4A;
  --border-light: #253656;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --yellow: #FFD93D;
  --yellow-dim: rgba(255, 217, 61, 0.15);
  --blue: #3B82F6;
  --blue-dim: rgba(59, 130, 246, 0.15);
  --red: #EF4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  --green: #22C55E;
  --green-dim: rgba(34, 197, 94, 0.15);
  --purple: #A78BFA;
  --purple-dim: rgba(167, 139, 250, 0.15);
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.15);
  --cyan: #06B6D4;
  --region-uk: #A78BFA;
  --region-us: #3B82F6;
  --region-ca: #EF4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --chart-grid: rgba(30, 45, 74, 0.5);
  --chart-text: #64748B;
  --tooltip-bg: #1A2540;
  --tooltip-border: #253656;
  --badge-po-bg: rgba(167, 139, 250, 0.15);
  --badge-po-text: #A78BFA;
  --badge-restock-bg: rgba(59, 130, 246, 0.15);
  --badge-restock-text: #3B82F6;
  --badge-set-bg: rgba(255, 217, 61, 0.15);
  --badge-set-text: #FFD93D;
  --country-toggle-bg: #111B2E;
  --country-active-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deepest);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
.site-header {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.logo-text span { color: var(--yellow); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav { display: flex; gap: 4px; align-items: center; }

.nav-link {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.15s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-surface); }
.nav-link.active { color: var(--yellow); background: var(--yellow-dim); }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.theme-toggle:hover { border-color: var(--border-light); color: var(--text-primary); }

/* ===== COUNTRY TOGGLE ===== */
.country-toggle-wrapper {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.country-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
  white-space: nowrap;
}
.country-btn:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.country-btn .flag {
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.country-btn .label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.country-btn .check {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--border-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: all 0.15s;
  flex-shrink: 0;
  line-height: 1;
}

.country-btn.active .check {
  color: #fff;
  border-color: transparent;
}

.country-btn.active-uk {
  background: var(--region-uk);
  color: #fff;
  border-color: var(--region-uk);
  box-shadow: var(--country-active-shadow);
}
.country-btn.active-uk .check { background: rgba(255,255,255,0.25); }

.country-btn.active-us {
  background: var(--region-us);
  color: #fff;
  border-color: var(--region-us);
  box-shadow: var(--country-active-shadow);
}
.country-btn.active-us .check { background: rgba(255,255,255,0.25); }

.country-btn.active-ca {
  background: var(--region-ca);
  color: #fff;
  border-color: var(--region-ca);
  box-shadow: var(--country-active-shadow);
}
.country-btn.active-ca .check { background: rgba(255,255,255,0.25); }

/* ===== HERO ===== */
.hero {
  padding: 20px 0 28px;
  text-align: center;
}
.hero h1 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
  line-height: 1.1;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
}

/* ===== KPI STRIP ===== */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.kpi-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.kpi-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== SECTION ===== */
.section { margin-bottom: 28px; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title .icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ===== FILTERS ===== */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--text-primary); background: var(--bg-card); }
.filter-btn.active { background: var(--yellow); color: #fff; font-weight: 600; }

.search-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 13px;
  font-family: inherit;
  outline: none;
  width: 220px;
  transition: border-color 0.15s;
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--yellow); }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s, border-color 0.3s;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 16px;
}

/* ===== UPCOMING DROPS ===== */
.upcoming-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.upcoming-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.upcoming-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--amber));
}
.upcoming-card:hover {
  border-color: var(--border-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.upcoming-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.upcoming-status {
  font-size: 12px;
  color: var(--amber);
  font-weight: 500;
}

/* ===== TIMELINE ===== */
.timeline-chart {
  overflow-x: auto;
  padding-bottom: 8px;
}
.timeline-chart::-webkit-scrollbar { height: 6px; }
.timeline-chart::-webkit-scrollbar-track { background: var(--bg-surface); border-radius: 3px; }
.timeline-chart::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

.timeline-row {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-row:last-child { border-bottom: none; }

.timeline-label {
  width: 180px;
  min-width: 180px;
  font-size: 13px;
  font-weight: 500;
  padding-right: 16px;
}

.timeline-bars {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 400px;
}

.timeline-bar {
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  min-width: 20px;
  transition: opacity 0.15s;
  cursor: default;
}
.timeline-bar:hover { opacity: 0.85; }
.timeline-bar.announce { background: var(--blue); }
.timeline-bar.preorder { background: var(--green); }

.timeline-values {
  width: 120px;
  min-width: 120px;
  text-align: right;
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.timeline-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
}

/* ===== CHARTS ===== */
.chart-container {
  position: relative;
  height: 300px;
  width: 100%;
}

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
}

/* ===== TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
}

.data-table th {
  background: var(--bg-surface);
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s;
}
.data-table th:hover { color: var(--yellow); }
.data-table th .sort-arrow { margin-left: 4px; opacity: 0.5; font-size: 10px; }
.data-table th.sorted .sort-arrow { opacity: 1; color: var(--yellow); }

.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tbody tr {
  background: var(--bg-card);
  transition: background 0.1s;
}
.data-table tbody tr:hover { background: var(--bg-card-hover); }

.data-table .product-name {
  color: var(--text-primary);
  font-weight: 500;
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-po { background: var(--badge-po-bg); color: var(--badge-po-text); }
.badge-restock { background: var(--badge-restock-bg); color: var(--badge-restock-text); }
.badge-set { background: var(--badge-set-bg); color: var(--badge-set-text); }

.region-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-right: 3px;
  margin-bottom: 2px;
}
.region-tag.UK { background: rgba(99, 102, 241, 0.12); color: var(--region-uk); }
.region-tag.US { background: rgba(37, 99, 235, 0.12); color: var(--region-us); }
.region-tag.CA { background: rgba(220, 38, 38, 0.12); color: var(--red); }
.region-tag.EU { background: rgba(217, 119, 6, 0.12); color: var(--amber); }
.region-tag.AU { background: rgba(22, 163, 74, 0.12); color: var(--green); }

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-radius: 8px;
}

.stat-item-label { font-size: 13px; color: var(--text-secondary); }
.stat-item-value { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.page-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.page-btn:hover { border-color: var(--border-light); color: var(--text-primary); }
.page-btn.active { background: var(--yellow); color: #fff; border-color: var(--yellow); font-weight: 600; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.page-info { font-size: 13px; color: var(--text-muted); margin: 0 8px; }

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 48px;
  text-align: center;
}
.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-text a { color: var(--yellow); text-decoration: none; }
.footer-text a:hover { text-decoration: underline; }

/* ===== COUNTDOWN CARD ===== */
.countdown-card {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 40%, #4C1D95 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 32px 36px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.countdown-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.countdown-left {
  flex: 1;
  min-width: 0;
}
.countdown-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(196, 181, 253, 0.8);
  margin-bottom: 8px;
}
.countdown-title {
  font-size: 24px;
  font-weight: 800;
  color: #F5F3FF;
  margin-bottom: 4px;
  line-height: 1.2;
}
.countdown-subtitle {
  font-size: 14px;
  color: rgba(196, 181, 253, 0.7);
  margin-top: 6px;
}
.countdown-right {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.countdown-unit {
  text-align: center;
  min-width: 64px;
}
.countdown-number {
  font-size: 40px;
  font-weight: 900;
  color: #F5F3FF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
}
.countdown-unit-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(196, 181, 253, 0.6);
  margin-top: 4px;
}
.countdown-sep {
  font-size: 32px;
  font-weight: 700;
  color: rgba(196, 181, 253, 0.3);
  align-self: flex-start;
  margin-top: 4px;
}
.countdown-released {
  font-size: 18px;
  font-weight: 700;
  color: #A78BFA;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero { padding: 16px 0 20px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 14px; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kpi-card { padding: 14px; }
  .kpi-value { font-size: 22px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .upcoming-cards { grid-template-columns: 1fr; }
  .header-nav { display: none; }

  /* Timeline mobile */
  .timeline-stats { flex-direction: column; gap: 8px; }
  .timeline-label { width: 100px; min-width: 100px; font-size: 11px; padding-right: 8px; }
  .timeline-bars { min-width: 120px; }
  .timeline-values { width: 80px; min-width: 80px; font-size: 10px; }
  .timeline-bar { font-size: 9px; height: 20px; }

  /* Chart mobile */
  .chart-container { height: 260px; }

  /* Stats mobile */
  .stats-grid { grid-template-columns: 1fr; }

  /* Filters mobile */
  .filters { flex-direction: column; align-items: stretch; }
  .search-input { width: 100%; }

  /* Table mobile */
  .data-table { font-size: 12px; min-width: 600px; }
  .data-table th { padding: 10px 10px; font-size: 10px; }
  .data-table td { padding: 8px 10px; }
  .table-wrapper { -webkit-overflow-scrolling: touch; }

  /* Section headers mobile */
  .section-header { flex-direction: column; align-items: flex-start; }

  /* Countdown mobile */
  .countdown-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .countdown-right { justify-content: center; }
  .countdown-title { font-size: 20px; }
  .countdown-number { font-size: 32px; }
  .countdown-unit { min-width: 52px; }

  /* Country buttons tablet */
  .country-toggle-section { padding: 20px 0 4px; }
  .country-btn { padding: 12px 20px; font-size: 15px; min-width: 160px; }
  .country-btn .flag { font-size: 22px; }

  /* Footer mobile */
  .site-footer { padding: 24px 0; margin-top: 32px; }

  /* Pagination mobile */
  .pagination { gap: 4px; }
  .page-btn { padding: 6px 10px; font-size: 12px; }
  .page-info { font-size: 12px; margin: 0 4px; }
}

@media (max-width: 580px) {
  .country-toggle-wrapper { flex-direction: column; align-items: stretch; gap: 8px; }
  .country-btn { min-width: unset; width: 100%; padding: 14px 24px; font-size: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .kpi-strip { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 13px; }
  .kpi-card { padding: 12px; }
  .kpi-value { font-size: 20px; }
  .card { padding: 14px; }
  .chart-container { height: 220px; }
  .timeline-label { width: 80px; min-width: 80px; font-size: 10px; }
  .timeline-values { display: none; }
  .section-title { font-size: 16px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.animate-in { animation: fadeIn 0.3s ease-out forwards; }
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deepest); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }
