/* GTA6Deals – Grundstil. Farben zentral in :root. */
:root {
  color-scheme: dark;
  --bg: #0a0a12;
  --surface: #13131f;
  --surface-2: #1a1a2a;
  --line: #2a2840;
  --text: #f4f1ff;
  --muted: #a9a6c2;
  --pink: #ff3d8b;
  --orange: #ff9a3d;
  --teal: #22d3c5;
  --grad: linear-gradient(100deg, var(--pink), var(--orange));
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: Impact, "Haettenschweiler", "Arial Narrow Bold", "Franklin Gothic Bold", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  overflow-x: hidden;
}
a { color: var(--teal); }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 5; background: rgba(10, 10, 18, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--grad); color: #1a0a12; font: 700 22px/1 var(--display); }
.brand__name { font: 700 22px/1 var(--display); letter-spacing: .04em; }
.brand__name span { color: var(--orange); }
.nav { display: flex; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }

.notice { margin: 0; padding: 8px 0; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Hero */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(255, 61, 139, .28), transparent 60%),
    radial-gradient(700px 380px at 0% 110%, rgba(34, 211, 197, .18), transparent 60%);
}
.eyebrow { margin: 0 0 12px; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h1 { font: 400 clamp(40px, 7vw, 76px)/1.02 var(--display); letter-spacing: .01em; text-transform: uppercase; max-width: 15ch; }
h2 { font: 400 clamp(30px, 4.5vw, 44px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.grad { white-space: nowrap; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.lede strong { color: var(--text); }

.countdown { display: inline-block; margin-bottom: 28px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.countdown__label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.countdown__grid { display: flex; gap: 14px; }
.countdown__grid div { min-width: 62px; text-align: center; }
.countdown__grid span { display: block; font: 400 38px/1 var(--display); }
.countdown__grid small { color: var(--muted); font-size: 12px; }
.countdown--out .countdown__grid { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--primary { background: var(--grad); color: #1a0a12; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--store { background: var(--text); color: var(--bg); padding: 10px 18px; }

/* Facts */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 16px 12px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__k { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.fact__v { font-weight: 700; }

/* Sections */
section[id] { scroll-margin-top: 72px; }
.section { padding: 64px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 24px; }
.section__head p { color: var(--muted); margin: 0; max-width: 62ch; }

/* Tabs */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--muted); padding: 10px 16px; border-radius: 999px; font: 600 15px/1 var(--font); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tab:focus-visible, .btn:focus-visible, .gear__item:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Store list */
.stores { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.store { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 16px; padding: 14px 16px; background: var(--surface); border-top: 1px solid var(--line); }
.store:first-child { border-top: 0; }
.store:hover { background: var(--surface-2); }
.store__logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 800; font-size: 15px; }
.store__logo--ps { background: #0b3d91; border-color: #0b3d91; }
.store__logo--xb { background: #107c10; border-color: #107c10; }
.store__info h3 { margin: 0 0 2px; font-size: 17px; }
.store__info p { margin: 0; color: var(--muted); font-size: 14px; }
.store__price { text-align: right; font-weight: 800; font-size: 18px; white-space: nowrap; }
.store__price small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.tag { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 154, 61, .14); color: var(--orange); font-size: 12px; font-weight: 700; }
.tag--official { background: rgba(34, 211, 197, .14); color: var(--teal); }

.tip { margin-top: 16px; padding: 14px 16px; border-left: 3px solid var(--teal); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.tip strong { color: var(--text); }

/* Editions */
.editions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.edition { position: relative; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.edition--hi { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink) inset; }
.edition__badge { position: absolute; top: -12px; right: 16px; background: var(--grad); color: #1a0a12; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.edition__price { font: 400 40px/1 var(--display); margin: 0 0 12px; }
.edition__price span { font-size: 22px; color: var(--muted); }
.edition ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); }
.edition li { margin: 4px 0; }

/* Gear */
.gear { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gear__item { display: flex; flex-direction: column; gap: 2px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.gear__item:hover { border-color: var(--orange); transform: translateY(-2px); }
.gear__icon { font-size: 26px; margin-bottom: 6px; }
.gear__item small { color: var(--muted); }

/* PC + warnings */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.split p { color: var(--muted); }
.warn { padding: 20px; border: 1px solid rgba(255, 61, 139, .5); background: rgba(255, 61, 139, .07); border-radius: var(--radius); }
.warn h3 { font-size: 18px; }
.warn ul { margin: 0; padding-left: 18px; color: var(--muted); }
.warn li { margin: 6px 0; }
.warn strong { color: var(--text); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 22px; line-height: 1; }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; color: var(--muted); }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer strong { color: var(--text); }
.footer__links a { color: var(--muted); }

/* Legal pages */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); max-width: none; }
.legal h2 { font: 700 20px/1.3 var(--font); text-transform: none; letter-spacing: 0; margin-top: 28px; }
.legal p, .legal li { color: var(--muted); }
.todo { background: rgba(255, 154, 61, .18); color: var(--orange); padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .fact, .fact:first-child { border-left: 0; padding: 12px 0; }
  .gear { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 40px 0 32px; }
  .section { padding: 48px 0; }
  .editions { grid-template-columns: 1fr; }
  .store { grid-template-columns: 44px 1fr auto; gap: 12px; }
  .store__logo { width: 44px; height: 44px; }
  .store .btn--store { grid-column: 1 / -1; width: 100%; }
  .countdown { display: block; }
  .countdown__grid { justify-content: space-between; gap: 8px; }
  .countdown__grid div { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gear__item { transition: none; }
}
