/* style.css - Design 3: Console Living-Room Glass UI (PlayStation 5 Media Bar Style) */

:root {
  /* Fluid Type Scale */
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base: clamp(0.95rem, 0.92rem + 0.2vw, 1.03rem);
  --text-lg: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem);
  --text-xl: clamp(1.35rem, 1.18rem + 0.75vw, 1.75rem);
  --text-2xl: clamp(1.65rem, 1.35rem + 1.4vw, 2.35rem);
  --text-3xl: clamp(1.9rem, 1.45rem + 1.9vw, 2.75rem);
  --text-hero: clamp(2.1rem, 1.55rem + 2.2vw, 3.1rem);

  /* 4px Spacing System */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Console Living-Room Glass Palette (Design 3) */
  --color-bg: #090d18;
  --color-bg-deep: #060911;
  --color-bg-elevated: rgba(255, 255, 255, 0.03);
  --color-surface: rgba(255, 255, 255, 0.055);
  --color-surface-2: rgba(255, 255, 255, 0.088);
  --color-surface-solid: #111728;

  /* Text Hierarchy */
  --color-text: #ffffff;
  --color-text-cream: #ffffff;
  --color-text-lavender: rgba(255, 255, 255, 0.78);
  --color-text-muted: rgba(255, 255, 255, 0.6);
  --color-text-faint: rgba(255, 255, 255, 0.44);
  --color-text-dark: #090d18;

  /* Console Living-Room Accents */
  --color-accent: #38bdf8;
  --color-accent-soft: rgba(56, 189, 248, 0.16);
  --color-pink-pill: #38bdf8;
  --color-gold-pill: #38bdf8;
  --color-lime-pill: #2ee59d;
  --color-yellow-menu: #38bdf8;

  /* Radii & Shadows (Zero Box Borders) */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.125rem;
  --radius-2xl: 1.375rem;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 16px 36px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 24px 52px rgba(0, 0, 0, 0.58);

  --transition-interactive: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-wide: 1310px;

  /* Typography */
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Visually hidden helper for SEO & Screen Readers inside SVG controller icons */
.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;
}

/* Atmospheric Console Backdrop on Body */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 780px;
  background-image: url('./assets/leonida-skyline.webp');
  background-size: cover;
  background-position: center top;
  opacity: 0.28;
  filter: saturate(1.15);
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 75% 18%, rgba(45, 104, 255, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(9, 13, 24, 0.35) 0%, rgba(9, 13, 24, 0.88) 440px, #090d18 820px);
  pointer-events: none;
  z-index: -1;
}

/* Hide old top ribbon so Console Media Bar sits cleanly at top */
.sunset-accent-bar {
  display: none;
}

/* 1. Console Media Bar Header (Borderless, Glowing Active Dot) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(9, 13, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: 18px clamp(var(--space-4), 4vw, var(--space-8));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  min-height: 38px;
}

.brand-mark {
  display: none;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-title {
  display: none;
}

.brand-domain {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

/* Console Media Tabs */
.pill-nav {
  display: none;
  align-items: center;
  gap: 28px;
  background: transparent;
  padding: 0;
}

@media (min-width: 860px) {
  .pill-nav {
    display: inline-flex;
  }
}

.pill-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 4px 2px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-interactive);
}

.pill-nav__link:hover {
  color: #ffffff;
}

.pill-nav__link[aria-current='page'] {
  background: transparent;
  color: #ffffff;
  font-weight: 700;
}

.pill-nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.menu-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

.menu-toggle__bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* 2. Slide-Out Navigation Drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 9, 17, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: none;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 900px) {
  .nav-drawer {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.nav-drawer[aria-hidden='false'] {
  display: grid;
}

.nav-drawer__art {
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
}

@media (min-width: 900px) {
  .nav-drawer__art {
    display: flex;
  }
}

.nav-drawer__poster {
  max-width: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nav-drawer__panel {
  background: rgba(255, 255, 255, 0.03);
  padding: var(--space-8) clamp(var(--space-6), 5vw, var(--space-12));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  min-width: 0;
  width: 100%;
  max-width: 100vw;
}

.nav-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-6);
}

.nav-drawer__close {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  flex-shrink: 0;
}

.nav-drawer__list {
  list-style: none;
  margin-block: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  padding-block: var(--space-2);
  line-height: 1.1;
}

.nav-drawer__link:hover,
.nav-drawer__link[aria-current='page'] {
  color: #ffffff;
}

.nav-drawer__footer {
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* 3. Layout Containers */
.container {
  max-width: var(--content-wide);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 4vw, var(--space-8));
}

/* 4. Split Console Hero Section (Floating Key Art Tile on Left + Copy on Right) */
.hero-section {
  padding-top: clamp(var(--space-4), 2.5vw, var(--space-6));
  padding-bottom: clamp(var(--space-4), 2vw, var(--space-6));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 400px 1fr;
    gap: 38px;
  }
  .hero-grid .mosaic-showcase {
    order: -1;
  }
}

.hero-grid > * {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  line-height: 1.2;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 12px;
}

.hero-h1 span {
  color: #ffffff;
}

.hero-lead {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.58;
  margin-bottom: 8px;
  max-width: 76ch;
}

.hero-lead strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 76ch;
}

/* Floating Key Art Tile (Zero Border, Deep Console Shadow) */
.mosaic-showcase {
  background: transparent;
  border: none;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mosaic-showcase__img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
  display: block;
}

.mosaic-showcase__img--keyart {
  aspect-ratio: 16 / 9.2;
  object-fit: cover;
  object-position: center;
  height: auto;
}

.mosaic-showcase__caption {
  display: none;
}

/* 5. Borderless Console Filter Bar & Frosted Glass Cheat Rows */
.database-section {
  padding-top: var(--space-2);
  padding-bottom: clamp(var(--space-12), 6vw, var(--space-20));
}

.filter-bar {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-bar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.platform-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
}

.platform-tab {
  min-height: 36px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  border: none;
  white-space: nowrap;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.platform-tab:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.platform-tab[aria-pressed='true'] {
  background: #ffffff;
  color: #090d18;
  font-weight: 700;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 340px;
}

@media (max-width: 680px) {
  .filter-bar__top {
    flex-direction: column;
    align-items: stretch;
  }
  .platform-tabs {
    display: flex;
    width: 100%;
    overflow-x: auto;
  }
  .platform-tab {
    flex: 1;
    padding-inline: var(--space-3);
    text-align: center;
  }
  .search-box {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

.search-input {
  width: 100%;
  min-height: 40px;
  padding: 8px 18px 8px 38px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: none;
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.82rem;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.13);
  outline: none;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 0;
  border-top: none;
}

.cat-pill {
  min-height: 34px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  border: none;
  white-space: nowrap;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.cat-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
}

.cat-pill[aria-pressed='true'] {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
}

/* Frosted Glass Horizontal Cheat Strips (Zero Box Borders) */
.table-wrapper {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow-x: visible;
  box-shadow: none;
}

.cheat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.cheat-table thead th {
  background: transparent;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: left;
  padding: 0 22px 4px;
  border: none;
  white-space: nowrap;
}

.cheat-table tbody tr {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--transition-interactive);
}

.cheat-table tbody tr:hover {
  background: var(--color-surface-2);
}

.cheat-table td {
  padding: 18px 22px;
  border: none;
  vertical-align: middle;
  font-size: var(--text-sm);
}

.cheat-table tbody tr td:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.cheat-table tbody tr td:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.cheat-effect-cell {
  min-width: 220px;
  max-width: 280px;
}

.cheat-effect-cat {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 3px;
}

.cheat-effect-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2);
}

.cheat-effect-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  display: block;
}

.cheat-effect-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  display: block;
  margin-top: 3px;
  line-height: 1.4;
}

.status-badge--mobile {
  display: none;
}

/* Living-Room SVG Controller Button Icons (Design 3) */
.input-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: 390px;
}

.seo-comma {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.btn-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Circular PlayStation & Xbox Face Buttons (32px) */
.btn-glyph--ps-cross,
.btn-glyph--ps-circle,
.btn-glyph--ps-square,
.btn-glyph--ps-triangle,
.btn-glyph--xb-a,
.btn-glyph--xb-b,
.btn-glyph--xb-x,
.btn-glyph--xb-y {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(12, 16, 28, 0.92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
}

.btn-glyph--xb-y { color: #facc15; }
.btn-glyph--xb-b { color: #ff6b6b; }
.btn-glyph--xb-a { color: #4ade80; }
.btn-glyph--xb-x { color: #60a5fa; }

/* D-Pad Directional Buttons (30px Rounded Square with SVG Arrow) */
.btn-glyph--dpad {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

/* Shoulder & Trigger Buttons (L1, R1, L2, R2, LB, RB, LT, RT) */
.btn-glyph--bumper {
  height: 30px;
  padding-inline: 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* PC Console Keyword + PC-Only Copy Button + 1-999 Phone */
.pc-code-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pc-prefix {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
}

.pc-code-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.phone-code-inline {
  display: block;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.phone-code-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-accent);
  background: transparent;
  border: none;
  padding: 0;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.status-badge.status-badge--mobile {
  display: none;
}

/* Copy Button - Visible ONLY on PC Cheat Codes View (White Pill Button) */
.copy-pc-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: none;
  color: #090d18;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}

.copy-pc-btn:hover {
  background: var(--color-accent);
  color: #090d18;
}

.copy-pc-btn[data-copied='true'] {
  background: var(--color-lime-pill);
  color: #090d18;
}

/* Platform Column Filtering Rules */
.cheat-table[data-platform-filter='all'] .col-phone {
  display: none;
}

.cheat-table[data-platform-filter='ps5'] .col-xbox,
.cheat-table[data-platform-filter='ps5'] .col-pc {
  display: none;
}
.cheat-table[data-platform-filter='ps5'] .input-sequence {
  max-width: 580px;
}

.cheat-table[data-platform-filter='xbox'] .col-ps5,
.cheat-table[data-platform-filter='xbox'] .col-pc {
  display: none;
}
.cheat-table[data-platform-filter='xbox'] .input-sequence {
  max-width: 580px;
}

.cheat-table[data-platform-filter='pc'] .col-ps5,
.cheat-table[data-platform-filter='pc'] .col-xbox {
  display: none;
}
.cheat-table[data-platform-filter='pc'] .phone-code-inline {
  display: none;
}
.cheat-table[data-platform-filter='pc'] .copy-pc-btn {
  display: inline-flex;
}

/* Responsive Mobile Cards for Cheat Table (< 820px) */
@media (max-width: 820px) {
  .cheat-table thead {
    display: none;
  }
  .cheat-table,
  .cheat-table tbody {
    display: block;
    width: 100%;
  }
  .cheat-table tbody tr {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 12px;
  }
  .cheat-table td,
  .cheat-table tbody tr td:first-child,
  .cheat-table tbody tr td:last-child {
    display: block;
    width: 100%;
    padding: 8px 0;
    border-radius: 0;
  }
  .cheat-effect-cell {
    max-width: 100%;
    padding-top: 0;
  }
  .status-badge.status-badge--mobile {
    display: inline-flex;
    flex-shrink: 0;
  }
  .cheat-table .col-status {
    display: none;
  }
  .input-sequence {
    max-width: 100%;
  }
  .cheat-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 6px;
  }
  .cheat-table[data-platform-filter='all'] td.col-pc::before {
    content: 'PC CONSOLE (~) & 1-999 PHONE';
  }
  .cheat-table[data-platform-filter='all'] .pc-code-group {
    display: inline-flex;
    margin-right: 12px;
  }
  .cheat-table[data-platform-filter='all'] .phone-code-inline {
    display: inline-block;
    margin-top: 0;
  }
}

/* 6. Borderless Glass Entry Method Strip & Editorial Sections */
.methods-section {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  background: transparent;
  border: none;
}

.section-header {
  margin-bottom: var(--space-6);
  max-width: 68ch;
}

.eyebrow-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 6px;
  display: block;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.method-card {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 18px;
  padding: 24px;
}

.method-card__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
  display: block;
}

.method-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.method-card__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

/* 7. Borderless Frosted Editorial Split Cards */
.editorial-section {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}

.rockstar-banner-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: var(--space-8);
}

.rockstar-banner-card:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .rockstar-banner-card {
    grid-template-columns: 0.92fr 1.08fr;
  }
}

.rockstar-banner-card > * {
  min-width: 0;
}

.rockstar-banner-card__media {
  min-height: 260px;
}

.rockstar-banner-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rockstar-banner-card__content {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.display-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--space-4);
}

.editorial-prose p {
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--text-sm);
  line-height: 1.68;
  margin-bottom: var(--space-4);
}

.editorial-prose p:last-child {
  margin-bottom: 0;
}

/* 8. Platform Spoke Hub Cards & Clean Reference Tables */
.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 18px;
  margin-bottom: var(--space-10);
}

.media-card {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  overflow: hidden;
  border: none;
  text-decoration: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}

.media-card:hover {
  transform: translateY(-3px);
  background: var(--color-surface-2);
}

.media-card__thumb {
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0d1324;
}

.media-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: var(--space-3);
}

.media-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.32;
}

.media-card__meta {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.media-card__meta span {
  white-space: nowrap;
}

.data-grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 920px) {
  .data-grid-2col {
    grid-template-columns: 1fr 1fr;
  }
}

.data-grid-2col > * {
  min-width: 0;
}

.info-panel {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 18px;
  padding: clamp(var(--space-5), 3vw, var(--space-6));
  overflow-x: auto;
}

.info-panel__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  padding: 11px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  font-size: var(--text-sm);
  vertical-align: middle;
}

.mini-table tr:last-child td {
  border-bottom: none;
}

.mini-table th {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
}

.nowrap-cell {
  white-space: nowrap;
}

/* 9. Frosted Glass FAQ Accordion Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 900px;
}

.faq-item {
  background: var(--color-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.faq-item[open] {
  background: var(--color-surface-2);
}

.faq-question {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 160ms ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 22px 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--text-sm);
  line-height: 1.66;
}

/* 10. Console Living-Room Footer */
.site-footer {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  background: rgba(6, 9, 17, 0.85);
  border-top: none;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-5);
}

.footer-nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
}

.footer-nav-links a:hover {
  color: var(--color-accent);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.46);
  margin-inline: auto;
  max-width: 72ch;
  line-height: 1.6;
}

.text-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-interactive);
}

.text-link:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ==========================================================================
   NEW DESIGN 3 EXCLUSIVE SECTIONS (Zero reused layouts from Website #1)
   ========================================================================== */

/* 1. Hero Quick-Specs Telemetry Strip */
.hero-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.hero-spec-pill {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.hero-spec-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 4px;
}

.hero-spec-val {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

/* 2. Leonida Smartphone 1-999 Dialer Showcase Grid */
.dialer-showcase-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: stretch;
}

.phone-glass-mockup {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.09) 0%, rgba(15, 23, 42, 0.78) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 32px;
  padding: 26px 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.phone-carrier {
  color: #38bdf8;
  font-weight: 700;
}

.phone-screen-display {
  background: rgba(9, 13, 24, 0.65);
  border-radius: 20px;
  padding: 18px 16px;
  text-align: center;
  margin-bottom: 16px;
}

.phone-screen-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4ade80;
  margin-bottom: 6px;
  display: block;
}

.phone-screen-num {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  display: block;
}

.phone-screen-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  display: block;
}

.phone-saved-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.phone-contact-row {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.phone-contact-name {
  font-weight: 600;
  color: #f1f5f9;
}

.phone-contact-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #38bdf8;
}

.phone-keypad-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.phone-key {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 8px 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
}

.phone-key span {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.08em;
}

.dialer-editorial-panel {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 28px;
  padding: 36px 38px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dialer-editorial-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 8px 0 16px;
}

.dialer-editorial-panel p {
  font-size: 0.96rem;
  color: #94a3b8;
  line-height: 1.72;
  margin-bottom: 16px;
}

.dialer-split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}

.dialer-mini-card {
  background: rgba(9, 13, 24, 0.55);
  border-radius: 18px;
  padding: 20px 22px;
}

.dialer-mini-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.dialer-mini-card p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* 3. Asymmetric Leonida Biome & Spawn Clearance Bento Grid */
.biome-bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.biome-bento-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.biome-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
}

.biome-glass-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.biome-glass-card--tall img {
  height: 310px;
}

.biome-card-body {
  padding: 26px 28px 30px;
}

.biome-card-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 8px;
}

.biome-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.biome-card-body p {
  font-size: 0.91rem;
  color: #94a3b8;
  line-height: 1.68;
  margin-bottom: 14px;
}

.biome-code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.biome-chip {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

/* 4. Cheat Input Troubleshooting & Save-File Protection Matrix */
.troubleshoot-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.troubleshoot-row {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 260px 1fr 220px;
  gap: 24px;
  align-items: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.ts-symptom-tag {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f472b6;
  margin-bottom: 6px;
}

.ts-symptom-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.28;
}

.ts-cause-text {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
}

.ts-fix-pill {
  background: rgba(9, 13, 24, 0.6);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.ts-fix-pill strong {
  display: block;
  color: #38bdf8;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}

/* 5. Cheat Stacking & Timer Rules 3-Column Glass Matrix */
.stacking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stack-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.stack-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  margin-bottom: 14px;
}

.stack-card h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.stack-card p {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.66;
  margin-bottom: 16px;
}

.stack-example-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-example-list li {
  background: rgba(9, 13, 24, 0.52);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stack-example-list code {
  font-family: var(--font-mono);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.8rem;
}

/* 6. 2-Column Console Glass Q&A Grid (Replaces single-column accordion) */
.faq-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.faq-glass-q {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.32;
}

.faq-glass-a {
  font-size: 0.91rem;
  color: #94a3b8;
  line-height: 1.68;
  margin: 0;
}

/* Responsive rules for new Design 3 sections */
@media (max-width: 1024px) {
  .hero-specs-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .dialer-showcase-grid {
    grid-template-columns: 1fr;
  }
  .biome-bento-grid {
    grid-template-columns: 1fr;
  }
  .troubleshoot-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .stacking-grid {
    grid-template-columns: 1fr;
  }
  .faq-bento-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .dialer-split-cards {
    grid-template-columns: 1fr;
  }
  .dialer-editorial-panel {
    padding: 24px 20px;
  }
}

.section-block > .container > .section-title {
  margin-top: 8px;
  margin-bottom: 28px;
}

.ts-cause-text code,
.dialer-editorial-panel code,
.stack-card code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 6px;
}

.hero-sub a,
.footer-desc a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 600;
}

.hero-sub a:hover,
.footer-desc a:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .platform-tab {
    font-size: 0.74rem;
    padding: 7px 10px;
  }
}

/* Ensure hero visual always renders on the left on desktop and platform tabs wrap cleanly on mobile */
.hero-grid .hero-visual {
  order: -1;
}
@media (max-width: 960px) {
  .hero-grid .hero-visual {
    order: 0;
  }
}
@media (max-width: 680px) {
  .platform-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}

/* ==========================================================================
   DESIGN 3 CONSOLE GLASS FOOTER & UTILITY CLASSES
   ========================================================================== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.pc-code-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.site-footer {
  padding-block: clamp(44px, 6vw, 72px) clamp(32px, 4vw, 48px);
  background: rgba(5, 8, 16, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: left;
  margin-top: clamp(40px, 6vw, 72px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 14px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-dot {
  color: #38bdf8;
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.68;
  color: #94a3b8;
  max-width: 54ch;
  margin: 0;
}

.footer-desc a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
}

.footer-desc a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f8fafc;
  margin: 0 0 14px 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 150ms ease, transform 150ms ease;
  display: inline-flex;
  align-items: center;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  background: rgba(15, 23, 42, 0.55);
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 0.78rem;
  color: #64748b;
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-brand .brand-mark {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* ==========================================================================
   GRANDTHEFTAUTOVICHEATS.COM - 1:1 HERO ARTWORK & DESKTOP/MOBILE UI POLISH
   ========================================================================== */

/* 1. Brand Domain Sizing for grandtheftautovicheats.com */
.brand-domain {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.35vw, 1.12rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.pill-nav {
  gap: clamp(14px, 1.8vw, 24px);
}

/* 2. Exact 1:1 Square Hero Artwork on Desktop & Mobile */
.mosaic-showcase {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52);
  background: rgba(15, 23, 42, 0.6);
}

.mosaic-showcase__img,
.mosaic-showcase__img--keyart {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: 22px;
  display: block;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 390px 1fr;
    gap: 44px;
    align-items: center;
  }
  .hero-grid .mosaic-showcase {
    order: -1;
    max-width: 390px;
  }
}

@media (max-width: 1023px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero-grid .mosaic-showcase {
    order: 0;
    max-width: 360px;
    margin-inline: auto;
  }
}

/* 3. Uniform Single-Line Hero Quick-Specs Pills */
.hero-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.hero-spec-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
  padding: 12px 15px;
  border-radius: 16px;
}

.hero-spec-label {
  white-space: nowrap;
  font-size: 0.64rem;
}

.hero-spec-val {
  white-space: nowrap;
  font-size: 0.88rem;
  line-height: 1.25;
}

@media (max-width: 1120px) {
  .hero-specs-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .hero-specs-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .hero-spec-pill {
    padding: 11px 12px;
  }
  .hero-spec-val {
    font-size: 0.82rem;
  }
}

/* 4. Generous Section Spacing & Heading Hierarchy */
.section-block {
  padding-block: clamp(44px, 6vw, 76px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.16;
  margin-top: 6px;
  margin-bottom: 28px;
}

/* 5. Equal-Height 2x2 Biome Bento Grid & 3-Column Stacking Grid */
.biome-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.biome-glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.biome-glass-card img {
  width: 100%;
  height: 230px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 0;
}

.biome-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 26px 28px 28px;
}

.biome-code-chips {
  margin-top: auto;
  padding-top: 8px;
}

.stack-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.stack-example-list {
  margin-top: auto;
  padding-top: 8px;
}

.faq-glass-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 900px) {
  .biome-bento-grid {
    grid-template-columns: 1fr;
  }
}

/* 6. Mobile 2x2 Equal-Width Platform Tabs & Clean Filter Bar */
@media (max-width: 680px) {
  .platform-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }
  .platform-tab {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    padding: 9px 10px;
  }
  .category-pills {
    gap: 6px;
  }
  .cat-pill {
    font-size: 0.74rem;
    padding: 6px 12px;
  }
}

/* 7. Polished Hamburger Menu & Perfectly Centered SVG Close (X) Button */
.menu-toggle,
.nav-drawer__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle:hover,
.nav-drawer__close:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.nav-drawer__close svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: auto;
  flex-shrink: 0;
  pointer-events: none;
}

/* Prevent long domain names or URLs from widening grid tracks on 375px mobile */
.hero-grid > *,
.faq-bento-grid > *,
.bento-3col > *,
.biome-bento-grid > *,
.dialer-showcase-grid > * {
  min-width: 0;
}

.hero-h1,
.section-title,
.faq-glass-q,
.faq-glass-a,
.hero-lead {
  overflow-wrap: anywhere;
}
