/* PHBet (phbet1.ph) Official Logo-Matched Aqua, Mint & Crown Gold UI/UX System */
:root {
  --bg: #051317;
  --surface: #0B2127;
  --surface-elevated: #112F36;
  --surface-soft: #07191E;
  --accent: #27E9E4;
  --accent-hover: #56EBE7;
  --accent-deep: #0CA6A2;
  --accent-2: #6AE375;
  --accent-2-hover: #4ADE80;
  --crown-gold: #FACC15;
  --crown-gold-hover: #FDE047;
  --crown-amber: #F59E0B;
  --text: #F2FEFE;
  --text-muted: #B6D8DC;
  --text-dim: #81ABB1;
  --border: #173D47;
  --border-strong: #255B66;
  --danger: #F87171;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --max-w: 1220px;
  --font-head: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-card: 0 12px 30px rgba(2, 10, 13, 0.48);
  --shadow-glow: 0 0 0 1px rgba(39, 233, 228, 0.24), 0 16px 40px rgba(2, 10, 13, 0.58);
  --shadow-gold: 0 8px 24px rgba(250, 204, 21, 0.30);
  --shadow-aqua: 0 8px 22px rgba(39, 233, 228, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 85% 42% at 50% -8%, rgba(39, 233, 228, 0.14), transparent 64%),
    radial-gradient(ellipse 46% 32% at 92% 14%, rgba(106, 227, 117, 0.09), transparent 58%),
    radial-gradient(ellipse 35% 26% at 8% 28%, rgba(250, 204, 21, 0.05), transparent 60%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
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, box-shadow 0.18s ease;
}
a:hover { color: var(--accent-2); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--crown-gold);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.24;
  margin-top: 0;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.82rem, 3.2vw, 2.58rem); font-weight: 700; margin-bottom: 0.9rem; }
h2 { font-size: clamp(1.36rem, 2.2vw, 1.78rem); font-weight: 700; margin-bottom: 0.85rem; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.28rem); font-weight: 600; margin-bottom: 0.6rem; color: var(--accent); }
p { margin-top: 0; margin-bottom: 1rem; color: var(--text-muted); }
p strong, li strong { color: var(--text); font-weight: 600; }

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

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--crown-gold);
  color: #051317;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 200;
}
.skip-link:focus { left: 16px; }

/* Header & Official PHBet Logo Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 19, 23, 0.93);
  backdrop-filter: blur(14px);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}
.brand-logo img {
  width: 135px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(106, 227, 117, 0.25));
}
.brand-logo:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 3px 14px rgba(39, 233, 228, 0.38));
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(39, 233, 228, 0.12);
  box-shadow: inset 0 0 0 1px rgba(39, 233, 228, 0.26);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Conversion Buttons: Crown Gold Primary + Electric Aqua Secondary */
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.btn-ghost-sm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(39, 233, 228, 0.10);
}
.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--crown-gold-hover) 0%, var(--crown-gold) 45%, var(--crown-amber) 100%);
  color: #051317;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.24);
}
.btn-gold-sm:hover {
  color: #051317;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--crown-gold-hover) 0%, var(--crown-gold) 48%, var(--crown-amber) 100%);
  color: #051317;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.28);
}
.btn-primary-cta:hover {
  color: #051317;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(250, 204, 21, 0.42);
}
.btn-secondary-guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: rgba(39, 233, 228, 0.10);
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
}
.btn-secondary-guide:hover {
  background: rgba(39, 233, 228, 0.20);
  color: var(--text);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-aqua);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--accent);
  cursor: pointer;
  font-size: 1.35rem;
}

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

/* Sub-nav Category Strip */
.subnav-strip {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--border);
}
.subnav-scroll {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.subnav-pill:hover, .subnav-pill.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(39, 233, 228, 0.14);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0 4px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '>'; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-current="page"] { color: var(--accent-2); font-weight: 600; }

/* Hero Section */
.hero-section {
  padding: 30px 0 28px;
}
.hero-card {
  background:
    radial-gradient(ellipse 65% 55% at 96% 8%, rgba(39, 233, 228, 0.14), transparent 62%),
    radial-gradient(ellipse 45% 45% at 4% 96%, rgba(106, 227, 117, 0.10), transparent 62%),
    linear-gradient(155deg, #0D2931 0%, #07191E 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--shadow-glow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}
.hero-grid.hero-single {
  grid-template-columns: 1.35fr 0.65fr;
}
.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(106, 227, 117, 0.14);
  border: 1px solid rgba(106, 227, 117, 0.42);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: 65ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(39, 233, 228, 0.18);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 8px rgba(106, 227, 117, 0.7);
  flex-shrink: 0;
}

.hero-visual-panel {
  display: flex;
  justify-content: center;
}
.hero-portrait-frame {
  width: 242px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.hero-portrait-frame img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
}

/* Interactive 3-Slide Hero Game Carousel (Homepage) */
.carousel-wrap {
  margin-top: 26px;
  position: relative;
}
.carousel-viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(39, 233, 228, 0.26);
  background: rgba(5, 19, 23, 0.72);
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 2.8vw, 30px);
}
.slide-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--crown-gold);
  margin-bottom: 8px;
}
.slide-title {
  font-family: var(--font-head);
  font-size: clamp(1.22rem, 2vw, 1.56rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.28;
  margin: 0 0 10px;
}
.slide-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.slide-pill {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
.slide-game-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.mini-game-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.mini-game-card:hover {
  border-color: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(39, 233, 228, 0.16);
}
.mini-game-card img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
}
.mini-game-meta {
  padding: 8px 10px;
}
.mini-game-name {
  display: block;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.22;
}
.mini-game-tag {
  display: block;
  font-size: 0.74rem;
  color: var(--accent);
  margin-top: 2px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  gap: 12px;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-dot {
  width: 32px;
  height: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  cursor: pointer;
  padding: 0;
}
.carousel-dot.is-active {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
}
.carousel-arrows {
  display: flex;
  gap: 8px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface-elevated);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}
.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(39, 233, 228, 0.14);
}

/* Quick Facts 4-Card Strip */
.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.quick-fact-card {
  background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}
.quick-fact-label {
  display: block;
  font-size: 0.77rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.quick-fact-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

/* Expert Insight & TL;DR Strip */
.eeat-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 30px;
}
.tldr-box, .expert-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.tldr-box { border-left: 4px solid var(--crown-gold); }
.expert-box { border-left: 4px solid var(--accent-2); }
.box-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tldr-box .box-eyebrow { color: var(--crown-gold); }
.expert-box .box-eyebrow { color: var(--accent-2); }
.tldr-box p, .expert-box p { margin-bottom: 0; font-size: 0.96rem; }

/* Popular Games 2x Retina Portrait Grid */
.games-grid-section {
  margin: 34px 0;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.games-portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.game-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(39, 233, 228, 0.16);
}
.game-card-media {
  position: relative;
  width: 100%;
  background: var(--bg);
}
.game-card-media img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: top center;
}
.game-card-body {
  padding: 15px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.game-card-tag {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.game-card-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.game-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.game-card-actions a {
  flex: 1;
  text-align: center;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
}
.game-btn-review {
  background: var(--surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.game-btn-review:hover { border-color: var(--accent); color: var(--accent); }
.game-btn-play {
  background: linear-gradient(135deg, var(--crown-gold-hover), var(--crown-amber));
  color: #051317;
}
.game-btn-play:hover {
  color: #051317;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.34);
}

/* Main Article Content Sections */
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 30px;
  align-items: start;
  padding-bottom: 42px;
}
.content-main { min-width: 0; }
.content-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(20px, 2.8vw, 30px);
  margin-bottom: 22px;
}
.answer-capsule {
  background: rgba(39, 233, 228, 0.08);
  border: 1px solid rgba(39, 233, 228, 0.30);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
}
.content-list, .content-steps {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--text-muted);
}
.content-list li, .content-steps li { margin-bottom: 8px; }
.content-list li::marker, .content-steps li::marker { color: var(--accent-2); font-weight: 700; }
.subsection-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.callout-box {
  background: rgba(106, 227, 117, 0.08);
  border: 1px solid rgba(106, 227, 117, 0.25);
  border-left: 4px solid var(--accent-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 16px 0 4px;
}
.callout-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-2);
  margin-right: 6px;
}

/* Responsive Scrollable Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-soft);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  font-size: 0.94rem;
}
caption {
  text-align: left;
  padding: 13px 15px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text);
  background: var(--surface-elevated);
  border-bottom: 1px solid var(--border-strong);
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  background: rgba(39, 233, 228, 0.11);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
}
td { color: var(--text-muted); }
td:first-child { color: var(--text); font-weight: 600; }
tbody tr:hover td { background: rgba(39, 233, 228, 0.04); }
tr:last-child td { border-bottom: none; }

/* Sidebar TOC & Quick Silo Card */
.content-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.sidebar-title {
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--crown-gold);
  margin: 0 0 12px;
}
.toc-list, .sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toc-list a, .sidebar-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid transparent;
}
.toc-list a:hover, .sidebar-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(39, 233, 228, 0.08);
}
.sidebar-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-cta-stack a { width: 100%; }

/* Directory & Related Link Mesh Cards */
.link-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(39, 233, 228, 0.14);
}
.link-card-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.link-card-title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.link-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
}

/* Responsible Gaming Band */
.rg-band {
  background: linear-gradient(135deg, rgba(39, 233, 228, 0.10), rgba(106, 227, 117, 0.09));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 22px;
}
.rg-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.rg-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
}
.rg-pill:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Interactive FAQ Accordions */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '-'; color: var(--accent-2); }
.faq-answer {
  padding: 12px 18px 16px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.faq-answer p { margin: 0; }

/* 3-Row Authority Footer */
.site-footer {
  background: var(--surface-soft);
  border-top: 2px solid var(--border-strong);
  padding: 44px 0 96px;
  margin-top: 24px;
}
.footer-row-1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--accent-2); }

.footer-row-2 {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-badge-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.footer-badge-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--crown-gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  min-width: 112px;
}
.trust-badge-img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}
.age-21-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--crown-gold-hover), var(--crown-amber));
  color: #051317;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
}
.age-21-link:hover {
  color: #051317;
  box-shadow: var(--shadow-gold);
}

.footer-row-3 {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.footer-legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

/* Accessible 21+ Age-Gate Dialog (Never blocks crawler DOM) */
.age-dialog {
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  max-width: 460px;
  width: calc(100% - 32px);
  padding: 26px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78);
}
.age-dialog::backdrop {
  background: rgba(3, 12, 15, 0.80);
  backdrop-filter: blur(6px);
}
.age-dialog-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-2);
  color: #051317;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.86rem;
  margin-bottom: 12px;
}
.age-dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.age-dialog-actions button, .age-dialog-actions a { flex: 1; min-height: 48px; }

/* Responsive Breakpoints */
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .hero-grid.hero-single { grid-template-columns: 1fr; }
  .carousel-slide { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .footer-row-1 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .brand-logo img { width: 116px; height: 48px; }
  .quick-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .eeat-strip { grid-template-columns: 1fr; }
  .games-portrait-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .slide-game-trio { gap: 8px; }
  .header-actions .btn-ghost-sm { display: none; }
  .sticky-mobile-bar { display: flex; }
  .footer-row-1 { grid-template-columns: 1fr; }
}
