:root {
  --bg: #14110F;
  --surface: #241C18;
  --text: #F7EFE9;
  --muted: #B5A49A;
  --accent: #FF6B4A;
  --button: #00C2A8;
  --button-dark: #008F7A;
  --secondary: #3D2B26;
  --line: #3A2E28;
  --radius: 4px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 50% at 90% -10%, rgba(255, 107, 74, .18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0, 194, 168, .12), transparent 50%),
    linear-gradient(180deg, #1a1512 0%, var(--bg) 40%, #100e0c 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--accent); color: #14110F; padding: 10px 15px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

h1, h2, h3 {
  margin: 0;
  font-family: Outfit, "Source Sans 3", sans-serif;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 800;
}
h1 { font-size: clamp(42px, 7vw, 84px); }
h2 { font-size: clamp(32px, 4.6vw, 52px); }
h3 { font-size: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 17, 15, .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: Outfit, sans-serif;
  font-weight: 800; font-size: 20px; letter-spacing: -.03em;
}
.brand img { width: 40px; height: 40px; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-weight: 700; font-size: 14px;
}
.nav-links a { position: relative; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--accent);
}
.nav-cta, .button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--radius);
  padding: 13px 22px;
  background: var(--button); color: #06241f;
  font-weight: 800; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: transform .2s, background .2s, filter .2s;
}
.nav-cta:hover, .button:hover { background: #19d4ba; transform: translateY(-2px); }
.nav-cta:active, .button:active { transform: translateY(1px); }
.button-accent {
  background: var(--accent); color: #1a0c08;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.button-accent:hover { background: #ff8368; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); border-radius: var(--radius); font-size: 20px;
}

.hero { padding: 28px 0 70px; }
.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 620px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero-shell::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--accent), var(--button));
}
.hero-copy {
  padding: clamp(36px, 5vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-media {
  position: relative;
  min-height: 320px;
  background: #0d0b0a center/cover no-repeat;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--surface) 0%, transparent 28%),
              linear-gradient(180deg, transparent 55%, rgba(20,17,15,.55) 100%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: currentColor;
}
.hero p {
  max-width: 520px; margin: 20px 0 30px;
  color: var(--muted); font-size: 18px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.hero-note span {
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--secondary); color: var(--button); font-family: Outfit, sans-serif;
}

.section { padding: 88px 0; }
.section-tight { padding-top: 40px; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 30px; margin-bottom: 40px;
}
.section-head p { max-width: 420px; margin: 0; color: var(--muted); }

.intro-band {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px;
  padding: 36px; background: var(--surface); border-left: 4px solid var(--button);
}
.intro-band p { color: var(--muted); font-size: 17px; margin: 0 0 14px; }
.pulse {
  display: inline-block; padding: 8px 14px;
  background: rgba(255, 107, 74, .12); color: var(--accent);
  border: 1px solid rgba(255, 107, 74, .35);
  font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.stat { padding: 28px 22px; background: var(--surface); }
.stat strong {
  display: block; font-family: Outfit, sans-serif;
  font-size: 36px; letter-spacing: -.05em; color: var(--button);
}
.stat span {
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}

.game-rail { display: grid; gap: 16px; }
.game-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center; gap: 24px;
  padding: 16px 18px 16px 16px;
  background: linear-gradient(105deg, var(--surface) 0%, #1d1714 100%);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: transform .22s, border-color .22s, background .22s;
}
.game-card:nth-child(even) { border-left-color: var(--button); }
.game-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 107, 74, .45);
  background: linear-gradient(105deg, #2c221d 0%, #241c18 100%);
}
.game-card img {
  width: 120px; aspect-ratio: 1; object-fit: cover;
  border: 1px solid var(--line);
}
.game-card p { margin: 8px 0 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  padding: 4px 10px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  background: var(--secondary); color: var(--text); border: 1px solid var(--line);
}
.game-meta {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: space-between; gap: 18px; min-height: 100%;
}
.game-rank {
  font-family: Outfit, sans-serif; font-weight: 800;
  color: var(--accent); font-size: 13px; letter-spacing: .08em;
}

.selection {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.selection-media { position: relative; }
.selection-media img {
  width: 100%; min-height: 420px; object-fit: cover;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}
.selection-media .pulse { position: absolute; left: 18px; top: 22px; }
.check-list { padding: 0; margin: 28px 0; list-style: none; display: grid; gap: 14px; }
.check-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line);
}
.check-list li::before {
  content: ""; width: 12px; height: 12px; margin-top: 6px;
  background: var(--button); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.check-list strong { color: var(--text); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 22px; border: 0; background: transparent;
  color: var(--text); text-align: left; font-weight: 800; cursor: pointer;
  font-family: Outfit, sans-serif;
}
.faq-question span { color: var(--accent); font-size: 22px; transition: transform .2s; }
.faq-answer { display: none; padding: 0 22px 20px; color: var(--muted); }
.faq-item.open { border-color: rgba(0, 194, 168, .45); }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

.page-hero { padding: 96px 0 56px; }
.page-hero .container {
  display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: end;
}
.page-hero p { margin: 0; color: var(--muted); font-size: 19px; }
.content-card {
  background: var(--surface); border: 1px solid var(--line);
  padding: clamp(28px, 5vw, 60px);
  border-top: 3px solid var(--accent);
}
.content-card h2 { margin: 36px 0 14px; font-size: 32px; }
.content-card h2:first-child { margin-top: 0; }
.content-card h3 { margin: 26px 0 10px; }
.content-card p, .content-card li { color: var(--muted); }
.content-card a { color: var(--button); font-weight: 700; }
.two-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card {
  padding: 26px; background: var(--bg); border: 1px solid var(--line);
  border-bottom: 3px solid var(--button);
}
.feature-card .number {
  width: 40px; height: 40px; display: grid; place-items: center;
  margin-bottom: 20px; background: var(--secondary);
  color: var(--accent); font-family: Outfit, sans-serif; font-weight: 800;
}
.feature-card p { color: var(--muted); margin: 10px 0 0; }

.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; }
.contact-box {
  padding: 30px; background: linear-gradient(160deg, #2a1d18, #1a1411);
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
}
.contact-box p { color: var(--muted); }
.contact-box a { color: var(--button); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; font-size: 13px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--text); outline: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--button);
  box-shadow: 0 0 0 3px rgba(0, 194, 168, .18);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-status { min-height: 24px; color: var(--button); font-weight: 800; }

.site-footer {
  margin-top: 80px; padding: 64px 0 28px;
  background: #0e0c0b; border-top: 1px solid var(--line);
}
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr; gap: 50px; }
.footer-brand p { max-width: 400px; color: var(--muted); }
.footer-title {
  margin-bottom: 14px; color: var(--accent);
  font-family: Outfit, sans-serif; font-weight: 800;
}
.footer-links { display: grid; gap: 9px; color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--button); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--line); color: #7d6c63; font-size: 12px;
}

.cookie-banner {
  position: fixed; z-index: 150; right: 22px; bottom: 22px;
  width: min(430px, calc(100% - 44px));
  padding: 24px; background: var(--surface);
  border: 1px solid var(--line); border-top: 3px solid var(--button);
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 22px; }
.cookie-banner p { margin: 10px 0 16px; color: var(--muted); font-size: 14px; }
.cookie-actions { display: flex; gap: 12px; align-items: center; }
.cookie-actions .button { padding: 10px 16px; }
.text-link { color: var(--button); font-weight: 800; font-size: 13px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 20px; right: 20px; top: 70px;
    padding: 20px; background: var(--surface); border: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .hero-shell, .intro-band, .selection, .page-hero .container, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 280px; order: -1; }
  .hero-media::after {
    background: linear-gradient(180deg, transparent 40%, var(--surface) 100%);
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 12px; }
  .hero-copy { padding: 28px 22px 36px; }
  h1 { font-size: 40px; }
  .section { padding: 64px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .game-card { grid-template-columns: 88px 1fr; gap: 14px; }
  .game-card img { width: 88px; }
  .game-meta { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .stats { grid-template-columns: 1fr; }
  .two-columns, .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .cookie-actions { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
