:root {
  --bg: #0B0E14;
  --surface: #121824;
  --surface-2: #182030;
  --surface-3: #1E293B;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --accent-2: #10B981;
  --accent-2-soft: rgba(16, 185, 129, 0.14);
  --text: #F8FAFC;
  --text-body: #E2E8F0;
  --text-muted: #94A3B8;
  --border: rgba(248, 250, 252, 0.10);
  --border-gold: rgba(245, 158, 11, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --max-w: 1220px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 0%, rgba(245, 158, 11, 0.08), transparent 42%),
    radial-gradient(circle at 86% 6%, rgba(16, 185, 129, 0.07), transparent 36%);
  color: var(--text-body);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.24;
  margin-top: 0;
}

h1 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
h2 { font-size: clamp(1.38rem, 2.2vw, 1.85rem); font-weight: 700; margin-top: 40px; margin-bottom: 14px; }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.32rem); font-weight: 700; margin-top: 26px; margin-bottom: 10px; color: #FDE68A; }
p { margin: 0 0 16px; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease; }
a:hover { color: #FDE68A; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
strong { color: var(--text); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: #0B0E14; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { left: 12px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.brand-link { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-link img { width: 176px; height: 42px; object-fit: contain; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
  color: var(--text-body); font-size: 0.92rem; font-weight: 600;
  padding: 8px 11px; border-radius: var(--radius-sm); white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] {
  color: var(--text); background: var(--surface-2);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-ghost-sm {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.24); color: var(--text);
  font-weight: 600; font-size: 0.9rem; background: transparent;
}
.btn-ghost-sm:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.btn-gold-sm {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 60%, #D97706 100%);
  color: #0B0E14; font-weight: 800; font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28);
}
.btn-gold-sm:hover { color: #0B0E14; transform: translateY(-1px); filter: brightness(1.06); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}

.mobile-drawer {
  display: none; background: var(--surface); border-bottom: 1px solid var(--border); padding: 14px 20px 20px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mobile-drawer a {
  display: flex; align-items: center; min-height: 44px; padding: 0 12px;
  background: var(--surface-2); border-radius: var(--radius-sm); color: var(--text); font-weight: 600; font-size: 0.92rem;
}

/* Category Subnav Strip */
.subnav-strip {
  background: var(--surface); border-bottom: 1px solid var(--border);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.subnav-list {
  display: flex; align-items: center; gap: 8px; padding: 10px 0; list-style: none; margin: 0;
}
.subnav-list li { margin: 0; flex-shrink: 0; }
.subnav-list a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px;
  border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-body); font-size: 0.84rem; font-weight: 600;
}
.subnav-list a:hover { border-color: var(--border-gold); color: var(--accent); }

/* Hero Section */
.hero-section {
  padding: 36px 0 32px;
  border-bottom: 1px solid var(--border);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr 1fr; gap: 28px; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid var(--border-gold);
  color: #FDE68A; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }
.hero-lead { font-size: 1.05rem; color: var(--text-body); margin-bottom: 22px; max-width: 62ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.btn-primary-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 55%, #D97706 100%);
  color: #0B0E14; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}
.btn-primary-cta:hover { color: #0B0E14; transform: translateY(-2px); filter: brightness(1.06); }

.btn-secondary-guide {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid rgba(16, 185, 129, 0.45);
  color: #A7F3D0; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.96rem;
}
.btn-secondary-guide:hover { background: var(--accent-2-soft); color: #ECFDF5; border-color: var(--accent-2); }

.trust-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.82rem; font-weight: 600; color: var(--text-body);
}
.trust-pill strong { color: var(--accent-2); }

/* Interactive 3-Slide Hero Carousel */
.carousel-shell {
  position: relative; background: var(--surface); border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow);
}
.carousel-track-wrap { overflow: hidden; border-radius: var(--radius-md); }
.carousel-track {
  display: flex; transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.carousel-slide { flex: 0 0 100%; min-width: 100%; }
.slide-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px;
}
.slide-badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-2-soft); color: #6EE7B7; font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
}
.slide-title {
  font-family: 'Outfit', sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--text); margin: 4px 0 4px;
}
.slide-copy { font-size: 0.86rem; color: var(--text-muted); margin: 0 0 12px; }
.slide-trio {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.slide-card {
  display: block; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.slide-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.slide-card img {
  width: 100%; aspect-ratio: 440 / 528; object-fit: cover; object-position: top center;
}
.slide-card-cap {
  padding: 7px 8px; font-size: 0.76rem; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}

.carousel-controls {
  display: flex; align-items: center; justify-content: space-between; margin-top: 12px;
}
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 28px; height: 8px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(248, 250, 252, 0.2); padding: 0; transition: background-color 0.2s, width 0.2s;
}
.carousel-dot[aria-selected="true"] { background: var(--accent); width: 42px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Compliance Bar */
.compliance-strip {
  background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 0;
  font-size: 0.84rem;
}
.compliance-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.age-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: rgba(185, 28, 28, 0.22); border: 1px solid rgba(248, 113, 113, 0.45);
  color: #FECACA; font-weight: 700; font-size: 0.8rem;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0 6px; font-size: 0.86rem; color: var(--text-muted);
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(148, 163, 184, 0.55); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Main Layout */
.content-wrap { padding: 28px 0 56px; }
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; align-items: start;
}
.article-main { min-width: 0; }

/* Spec Matrix / Cards / Callouts */
.spec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0 32px;
}
.spec-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px;
}
.spec-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.spec-val { font-family: 'Outfit', sans-serif; font-size: 1.24rem; font-weight: 800; color: var(--text); margin: 4px 0; }
.spec-note { font-size: 0.82rem; color: var(--accent-2); }

.answer-capsule {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(18, 24, 36, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 14px 0 20px;
  color: var(--text);
}

.callout-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.09), rgba(18, 24, 36, 0.95));
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
}

/* Portrait Game Grid */
.game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0 32px;
}
.game-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--border-gold); }
.game-thumb-wrap { position: relative; background: #0B0E14; overflow: hidden; }
.game-thumb-wrap img {
  width: 100%; aspect-ratio: 440 / 528; object-fit: cover; object-position: top center;
}
.game-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(11, 14, 20, 0.88); border: 1px solid var(--border-gold);
  color: #FDE68A; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.game-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.game-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; color: var(--text); margin: 0 0 4px; }
.game-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 12px; }
.game-actions { margin-top: auto; display: flex; gap: 8px; }
.game-actions a {
  flex: 1; text-align: center; min-height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700;
}
.game-btn-play { background: var(--accent); color: #0B0E14; }
.game-btn-play:hover { background: #FBBF24; color: #0B0E14; }
.game-btn-info { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); }
.game-btn-info:hover { border-color: var(--accent); color: var(--accent); }

/* Tables */
.table-wrap {
  width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface); margin: 20px 0 28px;
}
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.93rem; }
thead { background: var(--surface-2); }
th {
  text-align: left; padding: 13px 15px; font-family: 'Outfit', sans-serif;
  color: #FDE68A; font-weight: 700; border-bottom: 1px solid var(--border-gold); white-space: nowrap;
}
td { padding: 12px 15px; border-bottom: 1px solid var(--border); color: var(--text-body); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(248, 250, 252, 0.025); }
.status-ok {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-2-soft); color: #6EE7B7; font-size: 0.78rem; font-weight: 700;
}

/* Hub Cards & Spoke Mesh */
.hub-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 22px 0 32px;
}
.hub-card {
  display: flex; flex-direction: column; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.hub-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.hub-card-title { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.06rem; color: var(--text); margin-bottom: 6px; }
.hub-card-desc { font-size: 0.88rem; color: var(--text-muted); margin: 0 0 10px; }
.hub-card-link { font-size: 0.84rem; font-weight: 700; color: var(--accent); margin-top: auto; }

/* Sidebar */
.sidebar-stack { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 92px; }
.side-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px;
}
.side-card-gold { border-color: var(--border-gold); }
.side-title {
  font-family: 'Outfit', sans-serif; font-size: 1.04rem; font-weight: 700; color: var(--text); margin: 0 0 12px;
}
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.side-links li { margin: 0; }
.side-links a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text-body); font-size: 0.88rem; font-weight: 600;
  border: 1px solid transparent;
}
.side-links a:hover { border-color: var(--border-gold); color: var(--accent); }

/* FAQ Accordions */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 32px; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden;
}
details.faq-item[open] { border-color: var(--border-gold); }
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 1.02rem; color: var(--text);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; font-size: 1.3rem; color: var(--accent); font-weight: 700; flex-shrink: 0;
}
details.faq-item[open] summary::after { content: "-"; }
.faq-ans { padding: 0 20px 18px; color: var(--text-body); font-size: 0.95rem; }

/* Analyst Desk Box */
.analyst-box {
  background: var(--surface); border: 1px solid var(--border-gold); border-radius: var(--radius-md);
  padding: 20px 22px; margin: 32px 0; display: flex; gap: 16px; align-items: flex-start;
}
.analyst-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #F59E0B, #10B981);
  color: #0B0E14; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.analyst-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.05rem; color: var(--text); margin: 0 0 2px; }
.analyst-role { font-size: 0.84rem; color: var(--accent); font-weight: 700; margin: 0 0 8px; }
.analyst-bio { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* 3-Row Authority Footer */
.site-footer {
  background: #07090D; border-top: 1px solid var(--border); padding: 48px 0 36px; margin-top: 40px;
}
.footer-row-1 {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  padding-bottom: 32px; border-bottom: 1px solid var(--border);
}
.footer-col-title {
  font-family: 'Outfit', sans-serif; font-size: 0.92rem; font-weight: 800; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { margin: 0; }
.footer-col a { color: var(--text-muted); font-size: 0.88rem; }
.footer-col a:hover { color: var(--text); }

.footer-row-2 {
  padding: 24px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
}
.trust-strip-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.trust-strip-label {
  font-family: 'Outfit', sans-serif; font-size: 0.78rem; font-weight: 800;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; min-width: 112px;
}
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trust-badges img { height: 34px; width: auto; border-radius: 6px; }
.provider-pill {
  padding: 5px 11px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-body); font-size: 0.78rem; font-weight: 700;
}

.footer-row-3 {
  padding-top: 22px; display: flex; flex-direction: column; gap: 10px;
  font-size: 0.84rem; color: var(--text-muted);
}
.footer-legal-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal-links a { color: var(--text-body); font-weight: 600; }

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(11, 14, 20, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-gold);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-sticky-bar a { flex: 1; min-height: 48px; }

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar-stack { position: static; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-row-1 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .mobile-sticky-bar { display: flex; }
  .header-actions .btn-ghost-sm { display: none; }
  .game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hub-grid { grid-template-columns: 1fr; }
  .footer-row-1 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .analyst-box { flex-direction: column; }
  .slide-trio { gap: 7px; }
}
