/* 8k-8.ph - Official 8K8 Imperial Crimson, Crown Gold & Obsidian Velvet Mobile-First Design System */
:root {
  --bg: #0D0609;
  --surface: #170B10;
  --surface-elevated: #231118;
  --surface-deep: #11070B;
  --border: #3B1823;
  --border-strong: #632436;
  --accent: #E11D2E;
  --accent-hover: #C8102E;
  --accent-deep: #990B1A;
  --accent-soft: rgba(225, 29, 46, 0.16);
  --accent2: #FACC15;
  --accent2-hover: #FDE047;
  --accent2-deep: #F59E0B;
  --accent2-soft: rgba(250, 204, 21, 0.14);
  --text: #FFF8F0;
  --text-secondary: #E7D6DA;
  --text-muted: #B69AA2;
  --link: #FDE047;
  --link-hover: #FEF08A;
  --success: #10B981;
  --danger: #EF4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --max-w: 1220px;
  --font-head: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-card: 0 12px 32px rgba(6, 2, 4, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 75% 42% at 20% -8%, rgba(225, 29, 46, 0.22), transparent 68%),
    radial-gradient(ellipse 55% 35% at 85% 4%, rgba(250, 204, 21, 0.10), transparent 62%);
  min-height: 100vh;
  overflow-x: clip;
  -webkit-tap-highlight-color: rgba(250, 204, 21, 0.18);
}
body.drawer-open { overflow: hidden; }

a { color: var(--link); text-decoration: none; transition: color 0.15s ease; overflow-wrap: anywhere; }
a:hover { color: var(--link-hover); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--text);
  line-height: 1.24;
  margin-top: 0;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.55rem, 3.2vw, 2.55rem); font-weight: 700; margin-bottom: 14px; }
h2 { font-size: clamp(1.25rem, 2.3vw, 1.8rem); font-weight: 700; margin-top: 34px; margin-bottom: 12px; }
h3 { font-size: clamp(1.06rem, 1.6vw, 1.3rem); font-weight: 600; margin-top: 22px; margin-bottom: 10px; }
p { margin-top: 0; margin-bottom: 16px; color: var(--text-secondary); overflow-wrap: break-word; }
ul, ol { margin-top: 0; margin-bottom: 18px; padding-left: 20px; color: var(--text-secondary); }
li { margin-bottom: 8px; overflow-wrap: break-word; }
strong { color: var(--text); }
code {
  background: rgba(250, 204, 21, 0.10);
  color: #FEF08A;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

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

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

/* Sticky Header with Official 8K8 Crowned Logo */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 6, 9, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 70px;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0; min-height: 44px;
}
.brand-link:hover { text-decoration: none; }
.brand-logo-img {
  height: 46px; width: auto;
  filter: drop-shadow(0 3px 10px rgba(225, 29, 46, 0.35));
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-secondary); font-weight: 500; font-size: 0.94rem;
  padding: 8px 11px; border-radius: var(--radius-sm); text-decoration: none;
  white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: #FEF08A; background: rgba(225, 29, 46, 0.18);
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.btn-ghost-sm, .btn-gold-sm, .btn-primary-cta, .btn-secondary-guide {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
  border-radius: var(--radius-pill); cursor: pointer; border: 1px solid transparent;
  text-align: center; white-space: nowrap;
  transition: transform 0.14s ease, box-shadow 0.16s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn-ghost-sm:hover, .btn-gold-sm:hover, .btn-primary-cta:hover, .btn-secondary-guide:hover {
  text-decoration: none; transform: translateY(-1px);
}
.btn-ghost-sm {
  min-height: 44px; padding: 0 18px; font-size: 0.92rem;
  color: var(--text); background: var(--surface-elevated); border-color: var(--border-strong);
}
.btn-ghost-sm:hover { background: #2D141D; border-color: var(--accent2); color: #FEF08A; }

.btn-gold-sm {
  min-height: 44px; padding: 0 20px; font-size: 0.92rem;
  color: #1A080B;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 50%, #F59E0B 100%);
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.28);
}
.btn-gold-sm:hover {
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 50%, #FACC15 100%);
  color: #1A080B;
  box-shadow: 0 6px 22px rgba(250, 204, 21, 0.42);
}

.btn-primary-cta {
  min-height: 48px; padding: 12px 26px; font-size: 0.98rem;
  color: #1A080B;
  background: linear-gradient(135deg, #FEF08A 0%, #FACC15 48%, #F59E0B 100%);
  border-color: rgba(254, 240, 138, 0.65);
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.30);
}
.btn-primary-cta:hover {
  background: linear-gradient(135deg, #FEF9C3 0%, #FDE047 48%, #FACC15 100%);
  color: #1A080B;
  box-shadow: 0 10px 28px rgba(250, 204, 21, 0.45);
}

.btn-secondary-guide {
  min-height: 48px; padding: 12px 22px; font-size: 0.98rem;
  color: #FFFFFF;
  background: linear-gradient(135deg, #EF233C 0%, #E11D2E 52%, #B20206 100%);
  border-color: rgba(250, 204, 21, 0.42);
  box-shadow: 0 8px 22px rgba(225, 29, 46, 0.32);
}
.btn-secondary-guide:hover {
  background: linear-gradient(135deg, #F43F5E 0%, #E11D2E 52%, #C8102E 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(225, 29, 46, 0.46);
}

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

/* Sub-Nav Horizontal Touch Strip */
.subnav-strip {
  background: var(--surface-deep);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.subnav-strip::-webkit-scrollbar { display: none; }
.subnav-list {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 0; list-style: none; margin: 0; white-space: nowrap;
}
.subnav-list li { margin: 0; flex-shrink: 0; }
.subnav-list a {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px;
  font-size: 0.87rem; font-weight: 500; color: var(--text-secondary);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
  text-decoration: none;
}
.subnav-list a:hover {
  border-color: var(--accent2); color: #FEF08A; background: var(--surface-elevated);
}

/* Mobile Slide-Out Drawer */
.mobile-drawer {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 3, 5, 0.82); backdrop-filter: blur(5px);
}
.mobile-drawer.open { display: flex; justify-content: flex-end; }
.mobile-drawer-panel {
  width: min(320px, 88vw); height: 100%; background: var(--surface);
  border-left: 1px solid var(--border-strong);
  padding: 18px 18px calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 9px;
}
.mobile-drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px;
}
.mobile-drawer-panel a {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  background: var(--surface-deep); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-weight: 500; text-decoration: none;
}
.mobile-drawer-panel a:hover { border-color: var(--accent2); color: #FEF08A; }
.mobile-drawer-panel a.btn-primary-cta {
  justify-content: center; border-radius: var(--radius-pill);
  color: #1A080B; background: linear-gradient(135deg, #FEF08A 0%, #FACC15 48%, #F59E0B 100%);
  border-color: rgba(254, 240, 138, 0.65); font-weight: 700;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 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; padding: 0; margin: 0;
}
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: #FDE047; }

/* Hero + 3-Slide Carousel */
.hero-section { padding: 22px 0 14px; }
.hero-shell {
  background: linear-gradient(145deg, #1D0B12 0%, #14080D 58%, #280B14 100%);
  border: 1px solid var(--border-strong);
  border-top: 2px solid rgba(250, 204, 21, 0.55);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.hero-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--accent-soft); border: 1px solid rgba(225, 29, 46, 0.48);
  color: #FECDD3; font-size: 0.82rem; font-weight: 600; margin-bottom: 12px; line-height: 1.35;
}
.hero-lead { font-size: 1.02rem; color: var(--text-secondary); margin-bottom: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 500;
  background: var(--surface-deep); border: 1px solid var(--border); color: var(--text-secondary);
}
.chip-gold {
  border-color: rgba(250, 204, 21, 0.52); color: #FEF08A; background: var(--accent2-soft);
}

/* Carousel */
.carousel-wrap {
  position: relative; margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--border);
}
.carousel-controls-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px;
}
.carousel-title-label { font-family: var(--font-head); font-weight: 700; font-size: 0.94rem; color: #FEF08A; }
.carousel-nav { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.carousel-btn {
  min-width: 44px; min-height: 44px; border-radius: var(--radius-pill);
  background: var(--surface-deep); border: 1px solid var(--border-strong);
  color: var(--text); font-size: 1.2rem; cursor: pointer;
}
.carousel-btn:hover { background: var(--accent); border-color: var(--accent2); color: #FFFFFF; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth; scrollbar-width: none; gap: 0;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 100%; width: 100%; scroll-snap-align: start;
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; align-items: center;
  background: var(--surface-deep); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px;
}
.carousel-slide h2 { margin-top: 0; font-size: clamp(1.12rem, 2vw, 1.32rem); margin-bottom: 8px; }
.slide-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.carousel-dot {
  width: 30px; height: 12px; border-radius: var(--radius-pill);
  border: 0; background: var(--border-strong); cursor: pointer; padding: 0;
}
.carousel-dot[aria-selected="true"] { background: var(--accent2); width: 44px; }

/* Portrait 5:6 Game Cards (440x528 Retina) */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
  margin: 18px 0 24px;
}
.game-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.game-card:hover {
  transform: translateY(-3px); border-color: var(--accent2);
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.22);
}
.game-thumb-wrap {
  position: relative; width: 100%; aspect-ratio: 5 / 6; background: var(--surface-deep); overflow: hidden;
}
.game-thumb-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
}
.game-badge {
  position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px);
  background: rgba(13, 6, 9, 0.90); color: #FEF08A;
  border: 1px solid rgba(250, 204, 21, 0.55);
  font-size: 0.72rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card-body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.game-card-title { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--text); }
.game-card-meta { font-size: 0.81rem; color: var(--text-muted); }
.game-card-link {
  margin-top: auto; padding-top: 8px; font-size: 0.85rem; font-weight: 600; color: var(--link);
}

/* Trust Highlights Bar */
.trust-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 24px;
}
.trust-tile {
  background: linear-gradient(155deg, var(--surface) 0%, var(--surface-deep) 100%);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md); padding: 14px 16px; min-width: 0;
}
.trust-tile-k { font-size: 0.76rem; color: #FDE047; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.trust-tile-v { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--text); margin-top: 4px; line-height: 1.3; }

/* Main Article & Section Layout */
.page-main { padding: 12px 0 42px; }
.content-shell {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.content-section { margin-top: 30px; }

.expert-box {
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.14), rgba(23, 11, 16, 0.94));
  border: 1px solid rgba(225, 29, 46, 0.42);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 16px 0 20px;
}
.expert-box-title { font-family: var(--font-head); font-weight: 700; color: #FEF08A; margin-bottom: 6px; font-size: 0.95rem; }

.tldr-box {
  background: var(--surface-deep); border: 1px solid rgba(250, 204, 21, 0.45);
  border-left: 4px solid var(--accent2);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 16px 0 22px;
}
.tldr-label { font-family: var(--font-head); font-weight: 700; color: #FACC15; margin-bottom: 6px; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; }

.answer-capsule {
  background: rgba(16, 7, 11, 0.90); border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent2);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 16px;
  color: var(--text); font-weight: 500;
}

.callout-warn {
  background: rgba(250, 204, 21, 0.10); border: 1px solid rgba(250, 204, 21, 0.42);
  border-radius: var(--radius-md); padding: 16px 18px; margin: 18px 0;
}
.callout-rg {
  background: rgba(16, 185, 129, 0.10); border: 1px solid rgba(16, 185, 129, 0.38);
  border-radius: var(--radius-md); padding: 18px; margin: 24px 0;
}

/* Responsive Scrollable Tables with Mobile Sticky First Column */
.table-wrap {
  position: relative;
  width: 100%; max-width: 100%;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  margin: 16px 0 22px; background: var(--surface-deep);
}
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.93rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th {
  font-family: var(--font-head); font-weight: 700; color: #FEF08A;
  background: linear-gradient(180deg, #2C1019 0%, #210C13 100%);
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(225, 29, 46, 0.08); }

/* Interactive PHP Turnover & VIP Rebate Calculator */
.calc-card {
  background: linear-gradient(155deg, #1E0B13 0%, #14080D 100%);
  border: 1px solid var(--accent2);
  border-radius: var(--radius-lg); padding: 22px; margin: 24px 0;
  box-shadow: 0 12px 34px rgba(13, 6, 9, 0.65), inset 0 1px 0 rgba(250, 204, 21, 0.25);
}
.calc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.calc-badge {
  background: linear-gradient(135deg, #E11D2E, #B20206); color: #FEF08A;
  border: 1px solid rgba(250, 204, 21, 0.55);
  padding: 5px 13px; border-radius: var(--radius-pill); font-size: 0.8rem; font-weight: 700;
}
.calc-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; align-items: start; }
.calc-field { margin-bottom: 14px; }
.calc-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; color: var(--text); }
.calc-input, .calc-select {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font-family: var(--font-body);
  font-size: 16px; /* Prevents iOS Safari auto-zoom on focus */
}
.calc-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.calc-preset-btn {
  min-height: 42px; padding: 0 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong); background: var(--surface-elevated);
  color: var(--text-secondary); font-weight: 600; font-size: 0.86rem; cursor: pointer;
}
.calc-preset-btn:hover, .calc-preset-btn.active {
  background: var(--accent); color: #FFFFFF; border-color: var(--accent2);
}
.calc-results {
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: var(--radius-md); padding: 16px;
}
.calc-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.calc-kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 12px; min-width: 0;
}
.calc-kpi-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 4px; }
.calc-kpi-val { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.calc-kpi-val.gold { color: #FACC15; }
.calc-kpi-val.green { color: #34D399; }
.calc-note {
  font-size: 0.88rem; color: var(--text-secondary);
  background: rgba(225, 29, 46, 0.12); border: 1px solid rgba(225, 29, 46, 0.38);
  border-radius: var(--radius-sm); padding: 12px; margin: 0;
}

/* Link Cards & Directory Grids */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 18px 0 24px; }
.info-card {
  background: var(--surface-deep); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 16px; display: flex; flex-direction: column; gap: 8px;
  min-width: 0; transition: border-color 0.16s ease, transform 0.15s ease;
}
.info-card:hover { border-color: var(--accent2); transform: translateY(-2px); }
.info-card h3 { margin: 0; font-size: 1.02rem; color: var(--text); }
.info-card p { margin: 0; font-size: 0.91rem; }
.info-card a.card-cta { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 0.9rem; color: var(--link); }

/* FAQ Accordion (<details>) */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.faq-item {
  background: var(--surface-deep); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 15px 18px; min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-head); font-weight: 600; color: var(--text); line-height: 1.38;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--accent2); flex-shrink: 0; }
.faq-item[open] summary::after { content: "-"; color: var(--accent); }
.faq-body { padding: 12px 18px 16px; color: var(--text-secondary); border-top: 1px solid rgba(59, 24, 35, 0.75); }
.faq-body p:last-child { margin-bottom: 0; }

/* 3-Row Authority Footer */
.site-footer {
  background: #080305; border-top: 1px solid var(--border-strong);
  padding: 40px 0 calc(96px + env(safe-area-inset-bottom)); margin-top: 36px;
}
.footer-row-1 {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.footer-col h3 { font-size: 0.92rem; color: #FACC15; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a {
  display: inline-block; padding: 3px 0; color: var(--text-secondary); font-size: 0.9rem;
}
.footer-col a:hover { color: #FEF08A; }

.footer-row-2 {
  padding: 22px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.trust-strip-label { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: #FACC15; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-badges-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.trust-badges-row img { height: 36px; width: auto; border-radius: 8px; }

.footer-row-3 { padding-top: 20px; font-size: 0.87rem; color: var(--text-muted); }
.footer-21-bar {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  background: var(--surface); border: 1px solid rgba(225, 29, 46, 0.55);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 14px;
  color: var(--text); font-weight: 600;
}
.footer-21-bar a { color: #FACC15; font-weight: 700; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 10px; }

/* Sticky Mobile Bottom Conversion Bar */
.sticky-mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(13, 6, 9, 0.96); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.55);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
.sticky-mobile-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin: 0 auto; }

/* 21+ Crawler-Safe Dialog */
dialog.age-dialog {
  background: var(--surface); color: var(--text); border: 1px solid var(--accent2);
  border-radius: var(--radius-lg); max-width: 460px; width: calc(100% - 28px);
  padding: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.80);
}
dialog.age-dialog::backdrop { background: rgba(8, 3, 5, 0.84); backdrop-filter: blur(4px); }
.age-pill {
  display: inline-block; background: var(--accent); color: #FFFFFF; font-family: var(--font-head);
  font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 12px; font-size: 0.85rem;
}
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Tablet Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-top, .carousel-slide, .calc-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-row-1 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile Smartphone Breakpoint (<= 640px, optimized for 360px-430px PH Android & iPhone) */
@media (max-width: 640px) {
  .container { padding: 0 14px; }
  .header-inner { min-height: 62px; gap: 8px; }
  .brand-logo-img { height: 38px; }
  .header-actions .btn-ghost-sm { display: none; }
  .header-actions .btn-gold-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }

  .hero-section { padding: 14px 0 10px; }
  .hero-shell { padding: 16px 14px; border-radius: 14px; }
  .hero-eyebrow { font-size: 0.76rem; padding: 5px 11px; border-radius: 10px; }
  .hero-lead { font-size: 0.96rem; margin-bottom: 16px; }
  .hero-top { gap: 16px; }
  .hero-chips { gap: 6px; }
  .chip { font-size: 0.76rem; padding: 4px 10px; }

  /* Full-width thumb-reachable Dual-CTAs on phones */
  .cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; align-items: stretch; }
  .cta-row .btn-primary-cta,
  .cta-row .btn-secondary-guide,
  .cta-row .btn-ghost-sm,
  .cta-row .btn-gold-sm {
    width: 100%; padding: 10px 8px; font-size: 0.84rem; min-height: 46px; white-space: nowrap;
  }

  /* 3-Slide Carousel compact mobile framing */
  .carousel-controls-bar { gap: 8px; }
  .carousel-title-label { font-size: 0.86rem; line-height: 1.3; }
  .carousel-btn { min-width: 40px; min-height: 40px; font-size: 1.1rem; }
  .carousel-slide { padding: 14px; gap: 14px; }
  .slide-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .slide-trio .game-badge { font-size: 0.62rem; padding: 2px 5px; top: 4px; left: 4px; }

  /* Crisp 2-column Portrait Game Gallery & 2x2 Trust Grid on Mobile */
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card-body { padding: 10px; }
  .game-card-title { font-size: 0.88rem; }
  .game-card-meta { font-size: 0.75rem; }
  .game-card-link { font-size: 0.76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 18px; }
  .trust-tile { padding: 12px; }
  .trust-tile-k { font-size: 0.69rem; }
  .trust-tile-v { font-size: 0.92rem; }

  /* Content & Calculator Mobile Comfort */
  .content-shell { padding: 16px 14px; border-radius: 14px; }
  .calc-card { padding: 16px 14px; border-radius: 14px; }
  .calc-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .calc-preset-btn { min-height: 42px; padding: 0 8px; font-size: 0.84rem; }
  .calc-results { padding: 12px; }
  .calc-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .calc-kpi { padding: 10px; }
  .calc-kpi-val { font-size: 1.04rem; }

  /* Tables: compact sticky first column on mobile swipe */
  table { min-width: 460px; font-size: 0.86rem; }
  th, td { padding: 10px 10px; }
  th:first-child, td:first-child {
    position: sticky; left: 0; z-index: 1;
    background: var(--surface-deep);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.35);
    max-width: 135px;
  }
  th:first-child { background: #260E16; z-index: 2; }

  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; gap: 12px; }

  /* Clean 2-column Footer Directory on Mobile */
  .footer-row-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .footer-col a { padding: 5px 0; font-size: 0.86rem; }
  .trust-badges-row { gap: 8px; }
  .trust-badges-row img { height: 32px; }

  .sticky-mobile-cta { display: block; }
}

/* Ultra-narrow Android screens (<= 380px) */
@media (max-width: 380px) {
  .cta-row { grid-template-columns: 1fr; }
  .calc-presets { grid-template-columns: repeat(2, 1fr); }
  .footer-row-1 { grid-template-columns: 1fr; }
}
