/* ==========================================================================
   INTERACTIVE USA MAP PORTAL — MODERN LIGHTWEIGHT ARCHITECTURE
   Supports 3 Live Switchable Design Directions:
   1. [data-theme="editorial"] (Default: Clean Editorial Light)
   2. [data-theme="dark"]      (Adaptive Slate Dark Mode)
   3. [data-theme="neobento"]  (Bold Neo-Bento High-Contrast)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/outfit-latin.woff2') format('woff2');
}

@view-transition {
  navigation: auto;
}

/* ── 1. Default Theme: Clean Editorial Light ── */
:root,
[data-theme="editorial"] {
  --bg-body: #f8fafc;
  --bg-mesh: radial-gradient(at 15% 10%, rgba(14, 165, 233, 0.08) 0px, transparent 50%),
             radial-gradient(at 85% 20%, rgba(245, 158, 11, 0.07) 0px, transparent 50%),
             radial-gradient(at 50% 80%, rgba(30, 58, 138, 0.05) 0px, transparent 55%);
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.86);
  --bg-subtle: #f1f5f9;
  --bg-subtle-hover: #e2e8f0;
  --bg-nav: rgba(15, 23, 42, 0.88);
  --bg-footer: #0f172a;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;

  --primary: #0f3d6e;
  --primary-light: #0284c7;
  --accent: #0ea5e9;
  --accent-warm: #f59e0b;
  --accent-coral: #f43f5e;
  --accent-emerald: #10b981;

  --border-color: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --border-width: 1px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
  --shadow-card-hover: 0 16px 36px -6px rgba(14, 165, 233, 0.14);

  --hero-gradient: linear-gradient(135deg, #0b2948 0%, #0f4c81 55%, #0284c7 100%);
  --sotd-gradient: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fde68a 100%);
  --sotd-text: #78350f;
  --games-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0284c7 100%);

  --map-canvas-bg: #ffffff;
  --map-stroke: #ffffff;
  --map-stroke-width: 0.75;
  --map-hover-stroke: #0f172a;
}

/* ── 2. Option 2: Adaptive Slate Dark Mode ── */
[data-theme="dark"] {
  --bg-body: #090d16;
  --bg-mesh: radial-gradient(at 15% 10%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
             radial-gradient(at 85% 20%, rgba(251, 191, 36, 0.08) 0px, transparent 50%),
             radial-gradient(at 50% 80%, rgba(99, 102, 241, 0.08) 0px, transparent 55%);
  --bg-surface: #111827;
  --bg-surface-glass: rgba(17, 24, 39, 0.85);
  --bg-subtle: #1e293b;
  --bg-subtle-hover: #334155;
  --bg-nav: rgba(9, 13, 22, 0.88);
  --bg-footer: #050811;

  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-on-dark: #f8fafc;

  --primary: #38bdf8;
  --primary-light: #7dd3fc;
  --accent: #38bdf8;
  --accent-warm: #fbbf24;
  --accent-coral: #fb7185;
  --accent-emerald: #34d399;

  --border-color: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --border-width: 1px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 45px -10px rgba(0, 0, 0, 0.65);
  --shadow-card-hover: 0 16px 36px -6px rgba(56, 189, 248, 0.22);

  --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0369a1 100%);
  --sotd-gradient: linear-gradient(135deg, #451a03 0%, #78350f 60%, #92400e 100%);
  --sotd-text: #fef3c7;
  --games-gradient: linear-gradient(135deg, #111827 0%, #1e1b4b 60%, #0284c7 100%);

  --map-canvas-bg: #111827;
  --map-stroke: #1e293b;
  --map-stroke-width: 0.65;
  --map-hover-stroke: #ffffff;
}

/* ── 3. Option 3: Bold Neo-Bento (High-Contrast Architectural) ── */
[data-theme="neobento"] {
  --bg-body: #f4f1ea;
  --bg-mesh: none;
  --bg-surface: #ffffff;
  --bg-surface-glass: #ffffff;
  --bg-subtle: #ebe6dc;
  --bg-subtle-hover: #ded8cc;
  --bg-nav: #0f172a;
  --bg-footer: #0f172a;

  --text-main: #09090b;
  --text-secondary: #27272a;
  --text-muted: #52525b;
  --text-on-dark: #ffffff;

  --primary: #0f172a;
  --primary-light: #2563eb;
  --accent: #2563eb;
  --accent-warm: #ea580c;
  --accent-coral: #e11d48;
  --accent-emerald: #059669;

  --border-color: #0f172a;
  --border-strong: #0f172a;
  --border-width: 2px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-xs: 2px 2px 0px #0f172a;
  --shadow-sm: 4px 4px 0px #0f172a;
  --shadow-md: 5px 5px 0px #0f172a;
  --shadow-lg: 8px 8px 0px #0f172a;
  --shadow-card-hover: 7px 7px 0px #2563eb;

  --hero-gradient: #ffffff;
  --sotd-gradient: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  --sotd-text: #09090b;
  --games-gradient: linear-gradient(135deg, #18181b 0%, #27272a 100%);

  --map-canvas-bg: #ffffff;
  --map-stroke: #0f172a;
  --map-stroke-width: 0.6;
  --map-hover-stroke: #0f172a;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-body);
  background-image: var(--bg-mesh);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

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

img, svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  transition: color 0.18s ease;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION BAR & THEME SWITCHER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 1000;
  padding: 0 20px;
  margin-top: 14px;
  view-transition-name: site-navbar;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.site-header.nav-hidden {
  transform: translateY(-130%);
  pointer-events: none;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-width) solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 8px 20px 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-md);
  font-family: 'Outfit', sans-serif;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-highlight-coral {
  color: #fb7185;
}

.brand-highlight-sky {
  color: #38bdf8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 5px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.18s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  background: var(--accent);
  color: #ffffff;
}

/* States Mega Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 540px;
  max-width: 90vw;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-search-wrap {
  margin-bottom: 12px;
}

.dropdown-filter-input {
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.85rem;
  outline: none;
}

.dropdown-filter-input:focus {
  border-color: #38bdf8;
}

.dropdown-states-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.dropdown-state-item {
  padding: 6px 10px;
  border-radius: 8px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-state-item:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #ffffff;
}

.dropdown-state-item.current {
  background: rgba(56, 189, 248, 0.22);
  color: #38bdf8;
  font-weight: 700;
}

.test-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  display: inline-block;
}

/* Modes Sliding-Down Menu in Navbar */
.nav-modes-menu {
  width: 210px;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(-50%) translateY(-10px) scaleY(0.92);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.22s ease;
}

.nav-modes-dropdown:hover .nav-modes-menu,
.nav-modes-dropdown:focus-within .nav-modes-menu,
.nav-modes-dropdown.open .nav-modes-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scaleY(1);
}

.mode-menu-item {
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
}

.mode-menu-item-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.mode-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
}

.mode-dot-editorial {
  background: #f8fafc;
  border: 1.5px solid #0284c7;
}

.mode-dot-dark {
  background: #090d16;
  border: 1.5px solid #38bdf8;
}

.mode-dot-neobento {
  background: #facc15;
  border: 1.5px solid #ffffff;
}

.mode-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mode-menu-item.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.mode-menu-check {
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.mode-menu-item.active .mode-menu-check {
  opacity: 1;
}

/* Mobile Drawer Modes Group */
.mobile-modes-group {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-modes-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding: 0 12px 6px;
  display: block;
}

.mobile-modes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

/* Legacy Live Design Switcher (if used anywhere) */
.theme-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  gap: 3px;
}

.theme-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.theme-btn:hover {
  color: #ffffff;
}

.theme-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  max-width: 1200px;
  margin: 8px auto 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Breadcrumb & Theme Banner */
.subbar {
  max-width: 1200px;
  margin: 18px auto 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}

.breadcrumb a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   HOME PAGE: HERO & INTERACTIVE MAP WORKSPACE
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-main {
  flex: 1;
  padding: 14px 0 64px;
}

.hero-header {
  text-align: center;
  max-width: 820px;
  margin: 10px auto 28px;
  padding: 0 20px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  border: var(--border-width) solid var(--border-color);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 12px;
}

.hero-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto;
}

/* Search & Quick Controls Toolbar */
.map-toolbar {
  max-width: 1160px;
  margin: 0 auto 18px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.search-box-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.state-search-input {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.94rem;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all 0.2s ease;
}

.state-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.state-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 6px;
  z-index: 500;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.state-search-results.open {
  display: block;
}

.state-search-results li {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

.state-search-results li:hover,
.state-search-results li.sr-active {
  background: var(--bg-subtle);
  color: var(--accent);
}

.search-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-item-flag {
  width: 28px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

.search-item-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.map-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.pill-action-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.pill-action-btn.primary-cta {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.pill-action-btn.primary-cta:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
}

/* Interactive Map Card Container */
.map-stage-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.map-card {
  background: var(--map-canvas-bg);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 28px 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.map-svg-viewport {
  width: 100%;
  position: relative;
}

.map-svg-viewport svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 620px;
}

/* Clean modern map styling while preserving pastel regional identity */
.map-svg-viewport path,
.map-svg-viewport polygon {
  stroke: var(--map-stroke) !important;
  stroke-width: var(--map-stroke-width) !important;
  cursor: pointer;
  transition: filter 0.18s ease, opacity 0.2s ease, transform 0.18s ease;
}

.map-svg-viewport path:hover,
.map-svg-viewport polygon:hover,
.map-svg-viewport .state-active {
  stroke: var(--map-hover-stroke) !important;
  stroke-width: 1.6px !important;
  filter: brightness(1.06) drop-shadow(0 6px 12px rgba(15, 23, 42, 0.25));
}

.map-svg-viewport.region-filtering path:not(.region-match),
.map-svg-viewport.region-filtering polygon:not(.region-match) {
  opacity: 0.22;
  filter: grayscale(65%);
}

/* Enhanced Floating Map Tooltip (with Flag, Capital, Population, Region) */
.map-rich-tooltip {
  position: fixed;
  pointer-events: none;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 12px 15px;
  min-width: 220px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.97);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.map-rich-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mtt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mtt-flag {
  width: 38px;
  height: 25px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mtt-title-group {
  display: flex;
  flex-direction: column;
}

.mtt-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
}

.mtt-nick {
  font-size: 0.72rem;
  color: #94a3b8;
  font-style: italic;
}

.mtt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 0.76rem;
}

.mtt-stat-label {
  color: #94a3b8;
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mtt-stat-val {
  color: #f8fafc;
  font-weight: 700;
}

.mtt-cta {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.7rem;
  color: #38bdf8;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-legend-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.map-filter-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.map-region-filter-btn {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.map-region-filter-btn:hover,
.map-region-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   HOME SECTIONS: STATS STRIP, DYK, SOTD, RECORDS, COMPARE, REGIONS
   ========================================================================== */
.section-wrap {
  max-width: 1160px;
  margin: 28px auto 0;
  padding: 0 20px;
}

/* Stats Strip */
.stats-strip {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px 32px;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  align-items: center;
  gap: 20px;
}

.stats-flag-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 20px;
  border-right: 1px solid var(--border-color);
}

.stats-flag-wrap img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-xs);
}

.stats-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats-strip-val {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stats-strip-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stats-strip-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.stats-strip-label {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Did You Know Ticker */
.dyk-bar {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 58px;
}

.dyk-badge {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.dyk-text-wrap {
  flex: 1;
  position: relative;
  min-height: 1.5em;
  display: flex;
  align-items: center;
}

.dyk-text {
  font-size: 0.94rem;
  color: var(--text-main);
  font-weight: 500;
  display: none;
}

.dyk-text.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.dyk-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.dyk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dyk-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 99px;
}

/* Two-Column Feature Row: State of the Day + US State Records */
.home-bento-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

.sotd-card {
  background: var(--sotd-gradient);
  color: var(--sotd-text);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sotd-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-bottom: 12px;
}

.sotd-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.sotd-name {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sotd-nick {
  font-size: 0.95rem;
  font-style: italic;
  opacity: 0.8;
  margin: 4px 0 16px;
}

.sotd-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 24px;
  margin-bottom: 16px;
}

.sotd-stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.sotd-stat-value {
  font-size: 0.98rem;
  font-weight: 800;
}

.sotd-fact {
  font-size: 0.92rem;
  line-height: 1.55;
  padding-left: 12px;
  border-left: 3px solid currentColor;
  margin-bottom: 18px;
  opacity: 0.9;
}

.sotd-images {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.sotd-flag {
  width: 170px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.sotd-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, background 0.18s ease;
}

.sotd-link:hover {
  transform: translateY(-2px);
  background: #1e293b;
  color: #ffffff;
}

/* US State Records Card */
.surface-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.record-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.record-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.record-item img {
  width: 56px;
  height: 36px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-xs);
}

.record-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  background: var(--primary);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-bottom: 5px;
}

.record-state {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
}

.record-value {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Compare Two States & Explore By Region */
.compare-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.compare-selects select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.compare-selects select:focus {
  border-color: var(--accent);
}

.compare-table {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border-width) solid var(--border-strong);
}

.ct-cell {
  padding: 11px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-head {
  background: var(--bg-subtle);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.ct-label {
  justify-content: flex-start;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.ct-val {
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.ct-val.best {
  color: var(--accent);
}

.ct-flag-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
}

.ct-flag-cell img {
  height: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-xs);
}

.compare-prompt {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
}

/* Explore by Region */
.region-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.region-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-subtle);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
}

.region-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 10px;
}

.region-state-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  transition: all 0.18s ease;
}

.region-state-pill:hover {
  border-color: var(--accent);
  background: var(--bg-surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.region-state-pill img {
  width: 34px;
  height: 22px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.region-state-pill span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Games CTA Banner */
.games-cta-card {
  background: var(--games-gradient);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.games-cta-eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
}

.games-cta-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.games-cta-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 18px;
}

.games-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, background 0.18s ease;
}

.games-cta-link:hover {
  transform: translateY(-2px);
  background: #e0f2fe;
  color: #0f172a;
}

.games-cta-icons {
  display: flex;
  gap: 14px;
  font-size: 2.6rem;
  opacity: 0.85;
}

/* Recently Visited */
.recently-visited-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rv-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.rv-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.rv-item img {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 3px;
}

.rv-item span {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Informational / Editorial Footer Content on Home */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.editorial-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.editorial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 16px 0 6px;
}

.editorial-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.content-list {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.content-list li {
  margin-bottom: 6px;
}

.gov-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gov-card {
  background: var(--bg-subtle);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.18s ease;
}

.gov-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.gov-card a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.gov-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.faq-item {
  background: var(--bg-subtle);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   STATE DASHBOARD PAGE (CALIFORNIA)
   ========================================================================== */
.state-hero {
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 0 20px;
}

.state-hero-banner {
  background: var(--hero-gradient);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  border: var(--border-width) solid var(--border-strong);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.state-hero-flag-wrap {
  position: relative;
}

.flag-img {
  width: 168px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: block;
}

.state-hero-title-group h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 6px;
}

.state-hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.live-status {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-item {
  display: flex;
  flex-direction: column;
}

.status-item + .status-item {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

.status-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.status-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

/* Neo-Bento Mode: State Hero & Page Hero match standard card surface (not blue) */
[data-theme="neobento"] .state-hero-banner,
[data-theme="neobento"] .page-hero-banner {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

[data-theme="neobento"] .state-hero-title-group h1,
[data-theme="neobento"] .page-hero-banner h1 {
  color: var(--text-main);
}

[data-theme="neobento"] .state-hero-title-group p,
[data-theme="neobento"] .page-hero-banner p {
  color: var(--text-secondary);
}

[data-theme="neobento"] .page-hero-banner .section-eyebrow {
  color: var(--text-muted) !important;
}

[data-theme="neobento"] .flag-img {
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
}

[data-theme="neobento"] .hero-badge {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1.5px solid var(--border-strong);
  backdrop-filter: none;
}

[data-theme="neobento"] .live-status {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-xs);
  backdrop-filter: none;
}

[data-theme="neobento"] .status-item + .status-item {
  border-left-color: var(--border-strong);
}

[data-theme="neobento"] .status-label {
  color: var(--text-muted);
}

[data-theme="neobento"] .status-value {
  color: var(--text-main);
}

/* Quick Jump Section Pills on State Page */
.state-quicknav {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.state-quicknav a {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: all 0.15s ease;
}

.state-quicknav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* 3-Column Bento Dashboard */
.dashboard-container {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 310px 1fr 320px;
  gap: 24px;
  align-items: start;
}

.grid-col-left,
.grid-col-center,
.grid-col-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bento-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Quick Stats 2x2 */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 14px 10px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.2s ease;
}

.stat-box[data-tooltip] {
  cursor: help;
  border-style: dashed;
  border-color: var(--accent);
}

.stat-box[data-tooltip]:hover {
  transform: translateY(-3px);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 4px;
  display: block;
}

/* Map & Seal */
.map-img-wrap {
  position: relative;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.map-img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  cursor: zoom-in;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  transition: transform 0.2s ease;
}

.map-img:hover {
  transform: scale(1.03);
}

.zoom-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.seal-img {
  width: 124px;
  height: 124px;
  display: block;
  margin: 0 auto;
}

/* Flag Meaning */
.flag-meaning-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flag-meaning-img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  padding: 6px;
}

.flag-symbol-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flag-symbol-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.flag-sym-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* State Symbols */
.symbols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.symbol-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.symbol-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.symbol-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
}

.symbol-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

/* Famous Natives */
.natives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.native-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.native-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.native-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-main);
}

.native-field {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.native-born {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Top Cities & Hubs */
.city-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
}

.city-item:last-child {
  margin-bottom: 0;
}

.city-rank {
  background: var(--primary);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.city-info h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
}

.city-info .pop {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.city-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* State Rankings */
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.rank-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.rank-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.rank-badge {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent);
}

.rank-track {
  background: var(--bg-subtle);
  border-radius: 99px;
  height: 9px;
  overflow: hidden;
}

.rank-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  width: 0%;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.rank-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* Neighbors */
.neighbors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.neighbor-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.18s ease;
}

.neighbor-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.neighbor-flag {
  width: 36px;
  height: 24px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.neighbor-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.neighbor-rel {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.neighbor-country {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: span 2;
}

.neighbors-meta {
  display: flex;
  margin-top: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.neighbors-meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.neighbors-meta-item + .neighbors-meta-item {
  border-left: 1px solid var(--border-color);
  padding-left: 14px;
}

.neighbors-meta-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

.neighbors-meta-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
}

.neighbors-meta-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
}

/* Also Like Strip */
.also-like-section,
.quiz-section {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.also-like-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.also-like-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.also-like-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.also-like-flag {
  width: 42px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.also-like-name {
  font-size: 0.9rem;
  font-weight: 800;
  display: block;
}

.also-like-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Trivia Quiz */
.quiz-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.quiz-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.quiz-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.quiz-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.quiz-q {
  background: var(--bg-subtle);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-q-num {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quiz-q-text {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-main);
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}

.quiz-opt {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  font-family: inherit;
}

.quiz-opt:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.quiz-opt.correct {
  background: #dcfce7;
  border-color: #16a34a;
  color: #14532d;
  font-weight: 800;
}

.quiz-opt.wrong {
  background: #fee2e2;
  border-color: #dc2626;
  color: #7f1d1d;
}

.quiz-score-bar {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  display: none;
  text-align: center;
}

.quiz-score-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.quiz-score-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.quiz-retry {
  margin-top: 12px;
  padding: 9px 24px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* Prev / Next State Navigation */
.state-nav {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
  gap: 16px;
}

.state-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  flex: 1;
  max-width: 280px;
}

.state-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.state-nav-btn.next {
  justify-content: flex-end;
  text-align: right;
}

.state-nav-hint {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  display: block;
}

.state-nav-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

/* Premium Tooltip & Lightbox */
.premium-tooltip {
  position: fixed;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-size: 0.86rem;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease;
  white-space: pre-line;
}

.tooltip-title {
  font-weight: 800;
  color: #38bdf8;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.map-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.82);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-lightbox-overlay.active {
  display: flex;
}

.map-lightbox-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 720px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.map-lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   SITE FOOTER & BACK TO TOP
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  color: #cbd5e1;
  padding: 56px 24px 40px;
  margin-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.region-box h4 {
  color: #38bdf8;
  font-size: 0.88rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.footer-region-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.footer-state-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 2px 5px;
  border-radius: 4px;
}

.footer-state-link:hover,
.footer-state-link.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.2);
}

.footer-links {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
}

.footer-disclaimer {
  max-width: 920px;
  margin: 18px auto 0;
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  line-height: 1.55;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.22s ease;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .dashboard-container {
    grid-template-columns: 1fr 1fr;
  }
  .grid-col-right {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .home-bento-row,
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .state-hero-banner {
    grid-template-columns: auto 1fr;
  }
  .live-status {
    grid-column: span 2;
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-flag-wrap {
    grid-column: span 2;
    justify-content: center;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 12px;
  }
  .footer-regions,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .dashboard-container,
  .grid-col-right,
  .compare-selects,
  .sotd-header,
  .state-hero-banner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .sotd-images {
    align-items: flex-start;
  }
  .games-cta-card {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }
  .footer-regions,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .theme-switcher .theme-label-text {
    display: none;
  }
}

/* ==========================================================================
   SECONDARY PAGES: REGIONS, ABOUT, CONTACT, PRIVACY, 404 & GAMES
   ========================================================================== */
.breadcrumb-nav {
  max-width: 1160px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.breadcrumb-nav li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.45;
}

.breadcrumb-nav a {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.page-hero {
  max-width: 1160px;
  margin: 18px auto 0;
  padding: 0 20px;
  width: 100%;
}

.content-section {
  max-width: 1160px;
  margin: 28px auto 64px;
  padding: 0 20px;
  width: 100%;
}

.toolbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 6px;
  border: var(--border-width) solid var(--border-strong);
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
  transition: all 0.18s ease;
}

.toolbar-cta:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-1px);
}

.page-hero-banner {
  background: var(--hero-gradient);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-md);
  border: var(--border-width) solid var(--border-strong);
  position: relative;
  overflow: hidden;
}

.page-hero-banner h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.page-hero-banner p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  line-height: 1.6;
}

/* US Regions Page */
.regions-overview-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: 28px;
}

.regions-overview-card img {
  max-width: 920px;
  width: 100%;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.regions-overview-card img:hover {
  transform: scale(1.015);
}

.regions-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.region-detail-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.region-detail-card:hover {
  box-shadow: var(--shadow-md);
}

.region-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.region-card-head h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.region-dot {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  display: inline-block;
}

.region-stats-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-stat-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.region-map-thumb-wrap {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.region-map-thumb-wrap img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  border-radius: 8px;
}

.region-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.region-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.16s ease;
}

.region-chip-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.region-chip-link img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

/* About, Contact & Privacy Pages */
.info-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.info-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.info-card h2,
.info-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-card p,
.info-card li {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.info-card p + p {
  margin-top: 12px;
}

.info-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.info-card li + li {
  margin-top: 8px;
}

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  margin-top: 24px;
}

.modern-form-group {
  margin-bottom: 18px;
}

.modern-form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 7px;
}

.modern-input,
.modern-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: var(--border-width) solid var(--border-strong);
  background: var(--bg-subtle);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modern-input:focus,
.modern-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}

.modern-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 6px;
  border: none;
  background: var(--accent);
  color: #090d16;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.modern-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* Games Hub & Game Arena */
.games-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.game-hub-card {
  background: var(--bg-surface);
  border: var(--border-width) solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
}

.game-hub-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.game-hub-visual {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.game-hub-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-hub-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--accent);
  margin-bottom: 10px;
}

.game-hub-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.game-hub-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.game-hub-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--accent);
}

@media (max-width: 860px) {
  .regions-bento-grid,
  .info-bento-grid,
  .contact-layout,
  .games-hub-grid {
    grid-template-columns: 1fr;
  }
}
