/* PlayGTA6Game: Leonida at dusk. Dark dusk shell, one sunlit "poolside" panel for the store list. */

:root {
  --night: #1b0f3a;
  --dusk: #2b1055;
  --flamingo: #ff4f9a;
  --sodium: #ff9e3d;
  --lagoon: #1fb7b0;
  --sand: #fff2e0;
  --pool: #fff8ef;
  --ink: #1b0f3a;
  --ink-soft: #57476f;
  --line: #e9d9c4;
  --xbox: #0f7f45;
  --ps: #2b3fb8;

  --display: 'Big Shoulders Display', Impact, 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--sand);
  font: 400 1.0625rem/1.6 var(--body);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
h2 {
  font: 800 clamp(2.4rem, 5vw, 3.6rem)/0.95 var(--display);
  letter-spacing: 0.01em;
  margin-bottom: 0.4em;
}
h3 { font-size: 1.125rem; line-height: 1.3; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.section-lede { max-width: 60ch; margin: 0 0 2rem; color: inherit; opacity: 0.85; }

:focus-visible { outline: 3px solid var(--sodium); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sand); color: var(--ink); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-head {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.brand { font: 900 1.6rem/1 var(--display); text-decoration: none; letter-spacing: 0.02em; }
.brand span { color: var(--sodium); }
.site-head nav { display: flex; gap: clamp(12px, 2.5vw, 28px); font-weight: 600; font-size: 0.95rem; }
.site-head nav a { text-decoration: none; opacity: 0.9; }
.site-head nav a:hover, .site-head nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
.site-head nav a[aria-current='page'] { color: var(--sodium); }

/* Hero: the one loud moment on the page */
.hero { position: relative; overflow: hidden; min-height: min(100svh, 900px); display: flex; align-items: center; }
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27, 15, 58, 0.82) 0%, rgba(27, 15, 58, 0.45) 48%, rgba(27, 15, 58, 0) 75%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding-top: 110px; padding-bottom: 80px;
}
.hero h1 {
  font: 900 clamp(3.4rem, 8.4vw, 7.2rem)/0.86 var(--display);
  letter-spacing: 0.005em;
  text-wrap: balance;
  text-shadow: 0 4px 0 var(--night);
}
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 34ch; margin: 1.25rem 0 1.5rem; text-shadow: 0 1px 2px var(--night); }
.launch { display: flex; align-items: baseline; gap: 14px; margin: 0 0 1.75rem; }
.launch-date {
  font: 800 2.4rem/1 var(--display); color: var(--night);
  background: var(--sodium); padding: 6px 12px 4px; border-radius: 4px;
  box-shadow: 0 0 0 3px var(--night), 0 0 24px rgba(255, 158, 61, 0.6);
}
.launch-status { font-weight: 700; font-size: 1.05rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--flamingo); color: #fff; font-weight: 700; text-decoration: none;
  border: 2px solid var(--flamingo);
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.cta:hover { background: #ff3489; transform: translateY(-1px); }
.cta-ghost { background: rgba(27, 15, 58, 0.55); border-color: var(--sand); }
.cta-ghost:hover { background: var(--sand); color: var(--ink); }
.byline { font-size: 0.85rem; opacity: 0.85; margin: 14px 0 0; max-width: 52ch; }

/* Short answer: the quotable summary straight under the hero */
.short { background: var(--night); padding: 56px 0 8px; }
.short h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--sodium); }
.short ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px; }
.short li { border-top: 2px solid var(--lagoon); padding-top: 10px; font-weight: 500; }

.hero-cases { display: flex; justify-content: center; gap: clamp(14px, 2.5vw, 30px); perspective: 1400px; }
.case { margin: 0; width: min(44%, 260px); }
.case .case-art { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 30px 60px rgba(14, 6, 32, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.case-ps5 { transform: rotate(-3deg); }
.case-xbox { transform: rotate(3deg) translateY(48px); }
.case figcaption { text-align: center; font-weight: 600; font-size: 0.9rem; margin-top: 14px; text-shadow: 0 1px 2px var(--night); }
.case figcaption a { text-decoration: none; }
.case figcaption a:hover { text-decoration: underline; }

/* Sub-pages: shorter hero, one cover */
.hero-sub { min-height: min(78svh, 720px); }
.hero-sub h1 { font-size: clamp(3rem, 6.6vw, 5.6rem); }
.hero-cases-single .case { width: min(70%, 300px); transform: rotate(-2deg); }
.crumbs { margin: 0 0 14px; font-size: 0.9rem; font-weight: 600; opacity: 0.85; }
.crumbs a { color: var(--sodium); }
.console-pick { margin: -1rem 0 2rem; color: var(--ink-soft); }
.console-pick a { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .case { animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .case-xbox { animation-delay: 0.12s; }
  @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
}

/* Stores: the sunlit panel */
.stores { background: var(--pool); color: var(--ink); padding: clamp(64px, 9vw, 110px) 0; }
.stores .section-lede { opacity: 1; color: var(--ink-soft); }
.store-table { width: 100%; border-collapse: collapse; }
.store-table thead th {
  text-align: left; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft);
  padding: 0 16px 12px; border-bottom: 2px solid var(--ink);
}
.store-table tbody tr { border-bottom: 1px solid var(--line); }
.store-table tbody tr:hover { background: #fff1de; }
.store-table th[scope='row'], .store-table td { padding: 20px 16px; vertical-align: middle; text-align: left; }
.store-name { font: 800 1.9rem/1 var(--display); letter-spacing: 0.01em; white-space: nowrap; }
.formats { display: flex; flex-wrap: wrap; gap: 6px; }
.formats span {
  font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: #ffe3c2; color: #6a3a0c; white-space: nowrap;
}
.note { color: var(--ink-soft); max-width: 42ch; }
.actions { display: flex; gap: 10px; justify-content: flex-end; }
.buy {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 92px; min-height: 46px; padding: 0 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none; color: #fff;
}
.buy-ps5 { background: var(--ps); }
.buy-xbox { background: var(--xbox); }
.buy-ps5:hover { background: #1f2f99; }
.buy-xbox:hover { background: #0a6537; }
.buy-none { background: transparent; color: var(--ink-soft); border: 1px dashed var(--line); font-weight: 500; font-size: 0.9rem; }
.official { margin: 28px 0 0; color: var(--ink-soft); }
.official a { color: var(--ink); font-weight: 600; }

.pickup { font-weight: 600; white-space: nowrap; }

/* How to buy: a real sequence, so it is numbered */
.howto { padding: clamp(64px, 9vw, 110px) 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.steps li { counter-increment: step; border-top: 2px solid rgba(255, 242, 224, 0.3); padding-top: 14px; }
.steps li::before { content: counter(step); display: block; font: 900 3rem/1 var(--display); color: var(--flamingo); margin-bottom: 8px; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps h3 { margin-bottom: 6px; }

/* Saving tips: not a sequence, so no numbers */
.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.tips li { border-top: 2px solid var(--lagoon); padding-top: 14px; }
.tips h3 { margin-bottom: 6px; }
.tips p { margin: 0; opacity: 0.88; font-size: 0.97rem; }

/* Deals and price tables */
.store-table-single .buy { min-width: 170px; }
.deal-price { font-weight: 700; color: #b0215f; }
.deal-price s { color: var(--ink-soft); font-weight: 400; margin-left: 6px; }
.price-table td { font-weight: 600; }

/* Cross-links between guides */
.more { padding: 56px 0; border-top: 1px solid rgba(255, 242, 224, 0.15); }
.more h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.more a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 2px solid var(--sand); border-radius: 999px; font-weight: 700; text-decoration: none; }
.more a:hover { background: var(--sand); color: var(--ink); }
.steps p { margin: 0; opacity: 0.88; font-size: 0.97rem; }

/* Method */
.method { padding: 0 0 clamp(64px, 9vw, 110px); }
.method ul { margin: 0; padding-left: 1.1em; max-width: 70ch; }
.method li { margin-bottom: 6px; }
.method li::marker { color: var(--lagoon); }

/* Editions */
.editions { padding: clamp(64px, 9vw, 110px) 0; background: var(--dusk); }
.edition-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; }
.edition { border: 1px solid rgba(255, 242, 224, 0.25); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; }
.edition-ultimate { border: 2px solid var(--sodium); background: linear-gradient(180deg, rgba(255, 158, 61, 0.12), rgba(255, 79, 154, 0.06)); }
.edition h3 { font: 800 1.8rem/1 var(--display); }
.price { font: 900 4.6rem/1 var(--display); margin: 14px 0 18px; color: var(--sodium); }
.price .cur { font-size: 0.5em; vertical-align: 0.8em; margin-right: 2px; }
.price .cents { font-size: 0.45em; }
.edition ul { margin: 0 0 28px; padding-left: 1.1em; flex: 1; }
.edition li { margin-bottom: 6px; }
.edition li::marker { color: var(--lagoon); }
.cta-quiet { background: transparent; border-color: var(--sand); }
.cta-quiet:hover { background: var(--sand); color: var(--ink); }

/* Facts */
.facts { padding: clamp(64px, 9vw, 110px) 0; }
.facts-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.box-note { border-left: 4px solid var(--lagoon); padding: 4px 0 4px 20px; }
.box-note h3 { color: var(--lagoon); margin-bottom: 6px; }
.box-note p { margin: 0; opacity: 0.9; }
.facts dl { margin: 0; border-top: 1px solid rgba(255, 242, 224, 0.2); }
.facts dl div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 242, 224, 0.2); }
.facts dt { font-weight: 700; color: var(--sodium); }
.facts dd { margin: 0; }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 110px) 0; background: var(--dusk); }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.qa h3 { margin-bottom: 6px; font-size: 1.15rem; }
.qa p { margin: 0; opacity: 0.88; max-width: 60ch; }
.sources-head { margin: 56px 0 10px; font-size: 1rem; }
.sources { margin: 0; padding-left: 1.1em; font-size: 0.92rem; opacity: 0.85; }

/* Footer and legal */
.site-foot { padding: 48px 0 64px; font-size: 0.9rem; color: rgba(255, 242, 224, 0.75); }
.site-foot p { max-width: 90ch; }
.legal { padding-top: 120px; padding-bottom: 60px; max-width: 760px; }
.legal h1 { font: 900 clamp(2.6rem, 6vw, 4rem)/0.95 var(--display); margin-bottom: 12px; }
.legal h2 { font-size: 1.8rem; margin: 36px 0 8px; }

/* Tablet */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 100px; }
  .hero::after { background: linear-gradient(180deg, rgba(27, 15, 58, 0.8) 0%, rgba(27, 15, 58, 0.55) 55%, rgba(27, 15, 58, 0.2) 100%); }
  .hero-cases { max-width: 520px; margin: 0 auto 40px; }
  .facts-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone: the table becomes stacked store cards */
@media (max-width: 720px) {
  .site-head { gap: 10px; }
  .brand { font-size: 1.3rem; }
  .site-head nav { gap: 12px; font-size: 0.85rem; }
  .site-head nav a:first-child, .site-head nav a:last-child { display: none; }
  .steps-4 { grid-template-columns: 1fr; }
  .store-table-single .buy { min-width: 0; }
  .store-table thead { display: none; }
  .store-table, .store-table tbody, .store-table tr, .store-table th, .store-table td { display: block; width: 100%; }
  .store-table tbody tr { padding: 18px 0; display: grid; gap: 10px; }
  .store-table th[scope='row'], .store-table td { padding: 0; }
  .store-table td.actions { display: flex; }
  .pickup::before { content: attr(data-label) ': '; font-weight: 400; color: var(--ink-soft); }
  .steps { grid-template-columns: 1fr; }
  .buy { flex: 1; }
  .edition-grid, .faq-list { grid-template-columns: 1fr; }
  .facts dl div { grid-template-columns: 1fr; gap: 2px; }
  .launch-date { font-size: 2rem; }
}

/* Buy panel: one card per console */
.disclosure-top { font-size: 0.85rem; opacity: 0.85; margin: 0 0 12px; max-width: 52ch; }
.buy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.buy-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.buy-card h3 { font: 800 2rem/1 var(--display); margin-bottom: 8px; }
.buy-meta { margin: 0 0 18px; color: var(--ink-soft); }
.buy-card .actions { justify-content: flex-start; flex-wrap: wrap; }
.buy-card .buy { min-height: 52px; padding: 0 22px; }
.price-note { margin: 18px 0 0; font-size: 0.92rem; color: var(--ink-soft); max-width: 70ch; }
.edition-note { margin: 0; font-weight: 600; color: var(--sodium); }
