
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 110ms;
  animation-timing-function: ease-out;
}

:root {
  --bg: #050608;
  --bg-2: #0a0c10;
  --bg-3: #10131a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fa;
  --text-2: #b4bfd2;
  --text-3: #8f9cb2;
  --accent: #0070d1;
  --accent-hi: #3ea6ff;
  --ok: #1db978;
  --maxw: 1240px;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; }

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

/* ===== Minimalist Editorial Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(5, 6, 8, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
}
.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 22px;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 36px rgba(0, 112, 209, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.16s ease;
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -21px;
  height: 1.5px;
  background: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #050608;
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.15s ease, transform 0.12s ease;
}
.nav-cta:hover { opacity: 0.88; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: var(--bg-2);
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 8px;
  width: 36px; height: 36px;
  cursor: pointer;
}

/* ===== Buttons (High-Contrast Studio Pills) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s ease;
}
.btn-white {
  background: #ffffff;
  color: #050608;
}
.btn-white:hover { background: #e6ebf2; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}
.btn-accent:hover { background: #0d82e8; }

/* ===== Typography ===== */
.kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hi);
  display: inline-block;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 18px 0 0;
  max-width: 600px;
}

.mono { font-family: var(--font-mono); }

/* ===== Cinematic Full-Bleed Hero (index.html) ===== */
.hero-cinema {
  padding: 84px 0 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.hero-center .lead {
  margin: 20px auto 0;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual-wrap {
  position: relative;
  margin: 48px auto 0;
  max-width: 1120px;
}
.hero-visual-wrap img {
  width: 100%;
  border-radius: 18px 18px 0 0;
  display: block;
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

/* Interactive Telemetry Strip anchored beneath Hero visual */
.telemetry-strip {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 20px 0;
}
.telemetry-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.console-switcher {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.sw-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.sw-btn:hover { color: var(--text); border-color: var(--line-strong); }
.sw-btn.active {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
  font-weight: 600;
}

.telemetry-readout {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.readout-item span { color: var(--text-3); margin-right: 6px; }
.readout-item strong { color: var(--text); font-weight: 500; }
.readout-fps { color: #39e59b !important; }

/* ===== Architectural Hairline Sections ===== */
.band {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.band-alt { background: var(--bg-2); }

.hairline-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 48px;
}
.hairline-cell {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--line);
}
.hairline-cell:not(:first-child) { padding-left: 32px; }
.hairline-cell:last-child { border-right: none; padding-right: 0; }
.cell-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 22px;
  display: block;
}
.hairline-cell p {
  margin: 10px 0 0;
  color: var(--text-2);
  font-size: 14.5px;
}

/* Split Editorial Showcase */
.split-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.split-media img {
  width: 100%;
  height: auto;
  display: block;
}
.spec-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.spec-list li span:first-child { color: var(--text-2); }
.spec-list li span:last-child { font-family: var(--font-mono); color: var(--text); font-size: 13px; text-align: right; }

/* ===== Clean Comparison & Spec Tables ===== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th, td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
tr:last-child td { border-bottom: none; }
th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 500;
}
td.col-pb, th.col-pb {
  color: var(--text);
  background: rgba(0, 112, 209, 0.09);
  font-weight: 600;
}

/* ===== Page Header (Inner Pages) ===== */
.page-head {
  padding: 68px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== Filter Toolbar ===== */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.14s ease;
}
.pill:hover { color: var(--text); border-color: var(--line-strong); }
.pill.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #050608;
  font-weight: 600;
}

.search-input {
  width: 280px;
  max-width: 100%;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease;
}
.search-input:focus { border-color: #ffffff; }

/* ===== PlayBox Store Editorial Spotlight & Borderless Poster Grid ===== */
.store-spotlight {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 36px 0 52px;
  border-bottom: 1px solid var(--line);
}
.spotlight-art {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 30% 30%, #0d2b4e 0%, #070a10 72%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

.poster-card {
  display: flex;
  flex-direction: column;
  group: poster;
}
.poster-media {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1017;
  border: 1px solid var(--line);
  position: relative;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, transform 0.22s ease;
}
.poster-card:hover .poster-media {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}
.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  transition: transform 0.3s ease;
}
.poster-card:hover .poster-media img { transform: scale(1.04); }

.poster-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.poster-fallback.dc  { background: radial-gradient(circle at 50% 30%, #3d1e0c 0%, #0a0c12 75%); }
.poster-fallback.n64 { background: radial-gradient(circle at 50% 30%, #0d3320 0%, #0a0c12 75%); }
.poster-fallback.psp { background: radial-gradient(circle at 50% 30%, #0d274a 0%, #0a0c12 75%); }
.poster-fallback span {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.85);
}
.poster-fallback small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

.poster-meta {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.poster-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.poster-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.poster-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  flex-shrink: 0;
}
.poster-desc {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.poster-foot {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.poster-size {
  font-family: var(--font-mono);
  color: var(--text-3);
  font-size: 11.5px;
}
.poster-dl {
  font-weight: 600;
  color: var(--text);
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: all 0.15s ease;
}
.poster-dl:hover {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
}

/* ===== 26 Consoles Architectural Table/Grid ===== */
.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.console-row-card {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.15s ease;
}
.console-row-card:hover { background: var(--bg-2); }
.con-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.con-code {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hi);
  letter-spacing: 0.06em;
}
.con-status {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  color: var(--ok);
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.08);
}
.con-status.mode-hd {
  color: #58a6ff;
  border-color: rgba(88, 166, 255, 0.32);
  background: rgba(0, 112, 209, 0.14);
}
.con-status.mode-exp {
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.10);
}
.con-status.mode-remote {
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.40);
  background: rgba(251, 146, 60, 0.12);
}
.con-status.mode-mirror {
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.10);
}
.con-status.mode-pc {
  color: var(--text-1);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}
.con-notice {
  margin: 0 0 22px;
  padding: 13px 16px;
  border: 1px solid rgba(251, 146, 60, 0.32);
  border-left: 3px solid #fb923c;
  background: rgba(251, 146, 60, 0.06);
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.55;
}
.con-specs {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* ===== Live Gamepad Tester ===== */
.pad-stage {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  margin-top: 32px;
}
.pad-buttons {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.pad-btn {
  padding: 12px 6px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-2);
  transition: all 0.06s ease;
}
.pad-btn.pressed {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
  font-weight: 600;
}

/* ===== Download Hero Box ===== */
.dl-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 56px 0;
}
.dl-panel {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 32px;
  background: var(--bg-2);
}

/* ===== Interactive AMD FSR Before / After Comparison Slider ===== */
.fsr-compare {
  position: relative;
  margin-top: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 9;
  max-height: 480px;
  width: 100%;
  background: #000;
  user-select: none;
}
.fsr-layer {
  position: absolute;
  inset: 0;
}
.fsr-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fsr-raw img {
  filter: blur(1.4px) contrast(0.92) saturate(0.88);
  transform: scale(1.01);
}
.fsr-sharp {
  clip-path: inset(0 0 0 50%);
}
.fsr-sharp img {
  filter: contrast(1.08) saturate(1.1);
}
.fsr-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #ffffff;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}
.fsr-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: #050608;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}
.fsr-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.fsr-pill {
  position: absolute;
  top: 14px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(5, 6, 8, 0.82);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text);
  pointer-events: none;
}
.fsr-pill.left { left: 14px; }
.fsr-pill.right { right: 14px; border-color: rgba(62, 166, 255, 0.6); color: var(--accent-hi); }

/* ===== Clean FAQ Accordion ===== */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-3);
}
.faq-item[open] summary::after { content: '−'; color: var(--text); }
.faq-item p {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 14.5px;
  max-width: 780px;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  font-size: 13px;
  color: var(--text-3);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .console-grid { grid-template-columns: repeat(2, 1fr); }
  .split-showcase, .store-spotlight, .dl-grid { grid-template-columns: 1fr; gap: 32px; }
  .pad-buttons { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hairline-grid-3 { grid-template-columns: 1fr; }
  .hairline-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 0 !important; }
  .hairline-cell:last-child { border-bottom: none; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-cta { display: none; }
}
