/* ════════════════════════════════════════════════════════════════
   PS5 Emulator — Custom PlayStation 5-inspired design system
   ════════════════════════════════════════════════════════════════ */

:root {
  /* PS5 brand palette */
  --ps-blue:        #006FCD;
  --ps-blue-light:  #00A8E8;
  --ps-blue-dark:   #003791;
  --ps-cyan:        #00E5FF;
  --ps-white:       #FFFFFF;
  --ps-black:       #0E1A2B;
  --ps-bg:          #0A1426;
  --ps-bg-2:        #122038;
  --ps-bg-3:        #1A2D4D;
  --ps-line:        rgba(0, 168, 232, 0.18);
  --ps-line-2:      rgba(255, 255, 255, 0.08);
  --ps-text:        #E8F1FB;
  --ps-text-2:      #A8C2DD;
  --ps-text-3:      #6E89A8;
  --ps-success:     #00D982;
  --ps-warn:        #FFB400;
  /* DualSense controller button colors */
  --btn-x:          #1AA9FF;
  --btn-circle:     #FF4F58;
  --btn-square:     #FF63E4;
  --btn-triangle:   #00E18A;
  /* Glass-morphism */
  --glass-bg:       rgba(18, 32, 56, 0.6);
  --glass-border:   rgba(0, 168, 232, 0.22);
  /* Typography */
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display:   'Inter', -apple-system, sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', Monaco, Consolas, monospace;
  /* Layout */
  --container:      1180px;
  --radius:         14px;
  --radius-lg:      22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--ps-bg);
  color: var(--ps-text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  /* Subtle wave-pattern PS5 splash vibe */
  background-image:
    radial-gradient(ellipse 60% 30% at 10% 0%, rgba(0, 111, 205, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 30% at 90% 100%, rgba(0, 229, 255, 0.10), transparent 60%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ── Skip link ── */
.skip {
  position: absolute; top: -100px; left: 8px; padding: .6rem 1rem;
  background: var(--ps-blue); color: #fff; border-radius: 8px; z-index: 9999;
}
.skip:focus { top: 8px; }

/* ════════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════════ */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(10, 20, 38, 0.78);
  border-bottom: 1px solid var(--ps-line);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: .9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; letter-spacing: -.01em; font-size: 1.05rem;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-cyan));
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 111, 205, .35);
}
.logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.logo-text { color: var(--ps-white); }
.logo-text em { color: var(--ps-cyan); font-style: normal; font-weight: 800; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  padding: .55rem 1rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  color: var(--ps-text-2); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ps-white); background: rgba(255,255,255,.05); }
.nav a.active { color: var(--ps-white); background: rgba(0, 168, 232, 0.15); }

.cta-pill {
  padding: .65rem 1.25rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-blue-light));
  color: #fff; font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: .45rem;
  box-shadow: 0 4px 18px rgba(0, 111, 205, .4);
  transition: transform .2s, box-shadow .2s;
}
.cta-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(0, 168, 232, .55); }

.hamburger { display: none; width: 40px; height: 40px; border-radius: 10px; padding: 8px; }
.hamburger span { display: block; height: 2px; background: var(--ps-white); margin: 4px 0; border-radius: 2px; transition: transform .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav { display: none; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--ps-line); background: rgba(10, 20, 38, .96); }
.mobile-nav.open { display: flex; flex-direction: column; gap: .5rem; }
.mobile-nav a { padding: .85rem 1rem; border-radius: 10px; background: rgba(255,255,255,.04); }
.mobile-nav a.active { background: var(--ps-blue); color: #fff; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; padding: 4rem 1.25rem 5rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 111, 205, .35), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0, 229, 255, .15), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem;
  border-radius: 999px; background: rgba(0, 217, 130, .14); border: 1px solid rgba(0, 217, 130, .3);
  font-size: .82rem; color: var(--ps-success); font-weight: 600; letter-spacing: .02em;
  margin-bottom: 1.25rem;
}
.hero-eyebrow .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ps-success); box-shadow: 0 0 12px var(--ps-success); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -.02em;
  margin-bottom: 1.25rem; color: var(--ps-white);
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--ps-cyan), var(--ps-blue-light) 50%, #fff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 1.08rem; color: var(--ps-text-2); margin-bottom: 1.8rem; max-width: 540px;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-primary {
  padding: .95rem 1.6rem; border-radius: 12px; font-weight: 600; font-size: 1rem;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-blue-light));
  color: #fff; display: inline-flex; align-items: center; gap: .5rem;
  box-shadow: 0 6px 22px rgba(0, 111, 205, .45); transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 168, 232, .6); }
.btn-ghost {
  padding: .95rem 1.6rem; border-radius: 12px; font-weight: 600;
  background: rgba(255,255,255,.06); color: var(--ps-white);
  border: 1px solid var(--glass-border);
  display: inline-flex; align-items: center; gap: .5rem; transition: background .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

.hero-stats {
  display: flex; gap: 1.5rem; margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--ps-line-2);
}
.hero-stats .stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--ps-cyan); font-family: var(--font-display); }
.hero-stats .stat span { font-size: .78rem; color: var(--ps-text-3); text-transform: uppercase; letter-spacing: .05em; }

/* DualSense controller visualization */
.controller {
  position: relative; aspect-ratio: 1.1/1; max-width: 460px; margin: 0 auto;
}
.controller-shell {
  position: absolute; inset: 8% 2%;
  background: linear-gradient(160deg, #F4F8FB 0%, #DDE7F0 50%, #BCC9D6 100%);
  border-radius: 50% / 35%;
  box-shadow:
    inset 0 -20px 60px rgba(0, 50, 110, .15),
    0 40px 80px rgba(0, 50, 110, .35),
    0 0 0 4px rgba(0, 168, 232, .12);
}
.controller-touchpad {
  position: absolute; top: 30%; left: 50%; transform: translateX(-50%);
  width: 38%; height: 18%; background: rgba(0,0,0,.08); border-radius: 14px;
  border: 1px solid rgba(0,0,0,.06);
}
.controller-lightbar {
  position: absolute; top: 28%; left: 12%; right: 12%; height: 6px;
  background: linear-gradient(90deg, transparent, var(--ps-cyan), transparent);
  filter: blur(6px); opacity: .9; animation: lightbar 3s ease-in-out infinite;
}
@keyframes lightbar { 0%, 100% { opacity: .9; } 50% { opacity: .4; } }
.controller-stick {
  position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2d2d2d, #0a0a0a);
  border: 6px solid #f4f8fb; bottom: 22%;
  box-shadow: inset 0 4px 8px rgba(0,0,0,.5), 0 4px 12px rgba(0,0,0,.3);
}
.controller-stick.left { left: 14%; }
.controller-stick.right { right: 14%; }
.controller-buttons { position: absolute; top: 38%; right: 8%; width: 30%; aspect-ratio: 1; }
.btn-face {
  position: absolute; width: 32%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  font-size: 1.2rem; box-shadow: inset 0 2px 4px rgba(255,255,255,.3), 0 2px 8px rgba(0,0,0,.4);
}
.btn-face.triangle { top: 0; left: 34%; background: var(--btn-triangle); }
.btn-face.circle   { top: 34%; right: 0; background: var(--btn-circle); }
.btn-face.cross    { bottom: 0; left: 34%; background: var(--btn-x); }
.btn-face.square   { top: 34%; left: 0; background: var(--btn-square); }
.controller-status {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  padding: .35rem .85rem; background: var(--ps-bg-2); border-radius: 999px;
  border: 1px solid var(--ps-line);
  font-size: .75rem; color: var(--ps-cyan); font-family: var(--font-mono);
  display: flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.controller-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ps-success); box-shadow: 0 0 8px var(--ps-success);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════════
   SECTIONS — common
   ════════════════════════════════════════════════════════════════ */
.section { padding: 4rem 1.25rem; }
.section-inner { max-width: var(--container); margin: 0 auto; }
.section-label {
  display: inline-block; padding: .3rem .7rem; border-radius: 6px;
  background: rgba(0, 168, 232, .15); color: var(--ps-cyan);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; color: var(--ps-white);
  margin-bottom: 1rem;
}
.section h2 .grad { background: linear-gradient(135deg, var(--ps-cyan), var(--ps-blue-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { font-size: 1.05rem; color: var(--ps-text-2); max-width: 680px; margin-bottom: 2.5rem; }

/* Glass panel base */
.panel {
  background: var(--glass-bg); backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  padding: 1.5rem;
}

/* ── Game library grid ── */
.game-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem; margin-top: 1.5rem;
}
.game-card {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; color: #fff; cursor: default;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--ps-line);
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0, 168, 232, .25); }
.game-card .game-title { font-weight: 700; font-size: 1rem; line-height: 1.2; margin-bottom: .25rem; }
.game-card .game-meta { font-size: .72rem; opacity: .8; }
.game-card .badge {
  position: absolute; top: .75rem; right: .75rem;
  padding: .25rem .55rem; border-radius: 999px; background: rgba(0,0,0,.55);
  font-size: .65rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; backdrop-filter: blur(6px);
}
.game-card .badge.excl { background: linear-gradient(135deg, var(--ps-blue), var(--ps-cyan)); }

.game-card[class*=" g"], .game-card[class^="g"] {
  background-size: cover; background-position: center;
}
.game-card[class*=" g"]::before, .game-card[class^="g"]::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 70%, rgba(0,0,0,.85) 100%);
  pointer-events: none;
}
.game-card .game-title, .game-card .game-meta { position: relative; z-index: 1; }
.game-card.g1 { background-image: url("../img/games/spiderman2.jpg"); }
.game-card.g2 { background-image: url("../img/games/godofwar-ragnarok.jpg"); }
.game-card.g3 { background-image: url("../img/games/horizon-forbidden-west.jpg"); }
.game-card.g4 { background-image: url("../img/games/returnal.jpg"); }
.game-card.g5 { background-image: url("../img/games/ratchet-clank.jpg"); }
.game-card.g6 { background-image: url("../img/games/demons-souls.jpg"); }
.game-card.g7 { background-image: url("../img/games/final-fantasy-xvi.jpg"); }
.game-card.g8 { background-image: url("../img/games/stellar-blade.jpg"); }

/* ── Table ── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--ps-line); }
table.ps-table {
  width: 100%; border-collapse: collapse; background: var(--ps-bg-2);
  font-size: .94rem;
}
.ps-table th, .ps-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--ps-line-2); }
.ps-table th {
  font-weight: 700; color: var(--ps-cyan); font-size: .8rem; text-transform: uppercase;
  letter-spacing: .05em; background: rgba(0, 111, 205, .12);
}
.ps-table tr:last-child td { border-bottom: 0; }
.ps-table tbody tr:hover { background: rgba(0, 168, 232, .04); }
.ps-table .yes { color: var(--ps-success); font-weight: 600; }
.ps-table .partial { color: var(--ps-warn); font-weight: 600; }
.ps-table .no { color: var(--ps-text-3); }

/* ── Numbered list (PS5 trophy style) ── */
.numbered {
  list-style: none; counter-reset: step;
  display: grid; gap: 1rem; margin: 1.5rem 0;
}
.numbered li {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 1rem;
  padding: 1.1rem 1.25rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); align-items: start;
}
.numbered li::before {
  content: counter(step, decimal-leading-zero); grid-column: 1;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--ps-cyan), var(--ps-blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.numbered h3 { font-size: 1.05rem; color: var(--ps-white); margin-bottom: .3rem; }
.numbered p { font-size: .92rem; color: var(--ps-text-2); margin: 0; }

/* ── Bulleted list ── */
.bullets {
  list-style: none; display: grid; gap: .75rem; margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.bullets li {
  padding: 1rem 1.1rem 1rem 3rem; background: rgba(0, 168, 232, .06);
  border-left: 3px solid var(--ps-cyan); border-radius: 0 12px 12px 0;
  position: relative; font-size: .94rem; color: var(--ps-text);
}
.bullets li::before {
  content: ''; position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--ps-cyan), var(--ps-blue));
  display: grid; place-items: center;
  box-shadow: 0 0 12px rgba(0, 229, 255, .4);
}
.bullets li::after {
  content: ''; position: absolute; left: 1.45rem; top: 50%; transform: translate(0, -55%) rotate(45deg);
  width: 5px; height: 9px; border: 2px solid #fff; border-top: 0; border-left: 0;
}
.bullets li strong { color: var(--ps-white); font-weight: 700; }

/* ── Cards row ── */
.cards-row {
  display: grid; gap: 1.25rem; margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.feature-card {
  padding: 1.5rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--ps-cyan); }
.feature-card .ico {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-cyan));
  margin-bottom: .9rem;
}
.feature-card .ico svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.feature-card h3 { font-size: 1.1rem; color: var(--ps-white); margin-bottom: .35rem; }
.feature-card p { font-size: .9rem; color: var(--ps-text-2); }

/* ── Platform tiles ── */
.platform-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; margin: 1.5rem 0; }
.platform-tile {
  padding: 1.75rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
.platform-tile::before {
  content: ''; position: absolute; top: 0; right: 0; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(0, 168, 232, .25), transparent 70%);
  pointer-events: none;
}
.platform-tile h3 { font-size: 1.4rem; color: var(--ps-white); margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; }
.platform-tile h3 .os-ico { width: 32px; height: 32px; }
.platform-tile .req-list { list-style: none; margin: 1rem 0; }
.platform-tile .req-list li { padding: .4rem 0; font-size: .92rem; color: var(--ps-text-2); display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ps-line-2); }
.platform-tile .req-list li:last-child { border-bottom: 0; }
.platform-tile .req-list li strong { color: var(--ps-white); }
.platform-tile a.link {
  display: inline-flex; align-items: center; gap: .4rem; color: var(--ps-cyan);
  font-weight: 600; font-size: .92rem; margin-top: .5rem;
}
.platform-tile a.link:hover { color: var(--ps-white); }

/* ── FAQ ── */
.faq-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-item {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  padding: 1.1rem 1.3rem; cursor: pointer; font-weight: 600; color: var(--ps-white);
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; width: 16px; height: 16px;
  border-right: 2px solid var(--ps-cyan); border-bottom: 2px solid var(--ps-cyan);
  transform: rotate(45deg); transition: transform .25s; flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .answer { padding: 0 1.3rem 1.2rem; color: var(--ps-text-2); font-size: .95rem; }
.faq-item .answer a { color: var(--ps-cyan); border-bottom: 1px solid currentColor; }

/* ── CTA section ── */
.cta-band {
  margin: 0 1.25rem 4rem; padding: 3rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ps-blue-dark), var(--ps-blue), var(--ps-blue-light));
  text-align: center; max-width: var(--container); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(0, 229, 255, .25), transparent 50%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 580px; margin-left: auto; margin-right: auto; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--ps-blue); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.cta-band .btn-primary:hover { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.35); }

/* ── Activity cards (PS5 home-menu style) ── */
.activity-row {
  display: grid; gap: 1rem; margin: 1.5rem 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.activity-card {
  padding: 1.25rem; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius); position: relative; overflow: hidden;
}
.activity-card .stamp {
  position: absolute; top: 1rem; right: 1rem; font-family: var(--font-mono);
  font-size: .7rem; color: var(--ps-cyan); opacity: .6;
}
.activity-card .big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--ps-white); line-height: 1; margin: .5rem 0 .25rem; }
.activity-card .label { font-size: .82rem; color: var(--ps-text-3); text-transform: uppercase; letter-spacing: .05em; }

/* ── Footer ── */
.footer {
  padding: 2.5rem 1.25rem 2rem; border-top: 1px solid var(--ps-line);
  background: rgba(10, 20, 38, .6);
}
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; gap: 1.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col h4 { font-size: .82rem; color: var(--ps-text-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .8rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .9rem; color: var(--ps-text-2); }
.footer-col a:hover { color: var(--ps-cyan); }
.footer-brand p { font-size: .9rem; color: var(--ps-text-2); margin-top: .75rem; }
.footer-bot {
  padding-top: 1.25rem; border-top: 1px solid var(--ps-line-2);
  display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; color: var(--ps-text-3);
}
.footer-bot strong { color: var(--ps-text-2); }

/* ════════════════════════════════════════════════════════════════
   MOBILE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav, .cta-pill { display: none; }
  .hamburger { display: block; }
  .hero { padding: 2.5rem 1.25rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .controller { max-width: 320px; }
  .hero-stats { flex-wrap: wrap; gap: 1rem 1.5rem; }
  .section { padding: 3rem 1.25rem; }
  .platform-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 1.9rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .65rem; }
  .game-card { padding: .65rem; }
  .game-card .game-title { font-size: .85rem; }
  .numbered li { grid-template-columns: 42px 1fr; padding: .9rem 1rem; }
  .numbered li::before { font-size: 1.25rem; }
  .ps-table { font-size: .82rem; }
  .ps-table th, .ps-table td { padding: .65rem .7rem; }
  .cta-band { margin: 0 1rem 3rem; padding: 2rem 1.25rem; }
}
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .bullets { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   EMULATOR DASHBOARD — fills hero right side (replaces controller)
   ════════════════════════════════════════════════════════════════ */
.emu-dashboard {
  width: 100%; max-width: 470px; margin: 0 auto;
  border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #0f1d33 0%, #07101e 100%);
  border: 1px solid rgba(0, 168, 232, .22);
  box-shadow:
    0 40px 80px rgba(0, 50, 110, .45),
    0 0 0 1px rgba(0, 168, 232, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: var(--font-sans);
  position: relative;
}
.emu-dashboard::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(0, 229, 255, .12), transparent 60%);
}

/* ── Titlebar (default) ── */
.dash-titlebar {
  padding: .85rem 1rem; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid rgba(0, 168, 232, .15);
  background: rgba(255, 255, 255, .03);
}
.dash-titlebar-left { display: flex; align-items: center; gap: .7rem; }
.dash-tb-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ps-blue), var(--ps-cyan));
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: .68rem; color: #fff; letter-spacing: .5px;
}
.dash-title { color: var(--ps-white); font-weight: 700; font-size: .92rem; line-height: 1.1; }
.dash-sub   { color: var(--ps-text-3); font-family: var(--font-mono); font-size: .68rem; }
.dash-status {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .68rem; color: var(--ps-success);
  letter-spacing: 1px;
}
.dash-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ps-success); box-shadow: 0 0 8px var(--ps-success);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ── Body ── */
.dash-body { padding: 1.1rem 1.1rem 1.3rem; display: grid; gap: 1.1rem; position: relative; }
.dash-section { display: grid; gap: .55rem; }
.dash-section-label {
  font-family: var(--font-mono); font-size: .65rem;
  color: var(--ps-text-3); letter-spacing: 1.5px;
}

/* FPS readout */
.dash-fps {
  display: grid; grid-template-columns: auto auto 1fr; gap: .55rem; align-items: center;
}
.dash-fps-num {
  font-family: var(--font-display); font-size: 2.25rem; font-weight: 800;
  color: var(--ps-cyan); line-height: 1;
}
.dash-fps-unit { font-family: var(--font-mono); font-size: .72rem; color: var(--ps-text-3); letter-spacing: 1px; align-self: end; padding-bottom: .35rem; }
.dash-fps-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.05); overflow: hidden; }
.dash-fps-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, var(--ps-blue), var(--ps-cyan));
  box-shadow: 0 0 8px var(--ps-cyan);
}
.dash-graph { width: 100%; height: 44px; }

/* Stat rows */
.dash-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .42rem 0; border-bottom: 1px dashed rgba(255,255,255,.05);
  font-size: .82rem;
}
.dash-stat-row:last-child { border-bottom: 0; }
.dash-stat-key { color: var(--ps-text-2); }
.dash-stat-val { color: var(--ps-white); font-family: var(--font-mono); font-size: .72rem; }
.dash-stat-val.ok { color: var(--ps-success); }
.dash-stat-val.ok::before { content: '● '; color: var(--ps-success); }

/* DualSense buttons row */
.dash-buttons {
  display: flex; gap: .55rem; justify-content: center; padding: .25rem 0 0;
  border-top: 1px solid rgba(0, 168, 232, .12); padding-top: 1rem;
}
.dash-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.4);
}
.dash-btn.t { background: var(--btn-triangle); }
.dash-btn.c { background: var(--btn-circle); }
.dash-btn.x { background: var(--btn-x); }
.dash-btn.s { background: var(--btn-square); }

/* ════════ WINDOWS 11 variant ════════ */
.emu-dashboard--win {
  background: linear-gradient(160deg, #1a2238 0%, #0a1424 100%);
}
.dash-titlebar--win {
  padding: .55rem .85rem; background: rgba(0, 70, 150, .3);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--ps-text); font-weight: 500;
}
.dash-win-icon {
  display: inline-flex; align-items: center; gap: .45rem;
}
.dash-win-icon svg { width: 14px; height: 14px; }
.dash-win-controls { display: flex; gap: .15rem; }
.dash-win-controls span {
  width: 28px; height: 22px; display: grid; place-items: center;
  font-size: .85rem; color: var(--ps-text-2); cursor: default;
  border-radius: 0;
}
.dash-win-controls span:hover { background: rgba(255,255,255,.08); }
.dash-win-controls .close:hover { background: #e81123; color: #fff; }

/* ════════ macOS variant ════════ */
.emu-dashboard--mac {
  background: linear-gradient(160deg, #1a2238 0%, #050b16 100%);
  border-radius: 12px;
}
.dash-titlebar--mac {
  padding: .7rem .85rem; background: linear-gradient(180deg, #1a253f, #131c30);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem;
  font-size: .8rem; color: var(--ps-text-2); font-weight: 500; position: relative;
}
.dash-mac-lights { display: flex; gap: .42rem; }
.dash-mac-lights span {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.dash-mac-lights .r { background: #ff5f57; }
.dash-mac-lights .y { background: #febc2e; }
.dash-mac-lights .g { background: #28c840; }
.dash-mac-title { text-align: center; font-family: var(--font-sans); }
.dash-mac-pad { width: 54px; }

/* Mobile */
@media (max-width: 900px) {
  .emu-dashboard { max-width: 420px; }
}
@media (max-width: 420px) {
  .dash-fps-num { font-size: 1.8rem; }
  .dash-stat-row { font-size: .78rem; }
}
