:root {
  --bg: #0a0a0d;
  --surface: #15151a;
  --surface-2: #1d1d24;
  --border: #26262e;
  --text: #ededf0;
  --muted: #8a8a96;
  --accent: #d4a548;
  --accent-hover: #e6b85a;
  --felt: #2e7d52;
  --radius: 12px;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo .dot { color: var(--accent); }
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 165, 72, 0.12), transparent 60%);
  pointer-events: none;
}
.hero h1 { position: relative; }
.hero .tagline {
  position: relative;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hero .tagline strong { color: var(--text); font-weight: 600; }

/* Featured game card */
.game-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 48px 0;
}
.game-card .visual {
  aspect-ratio: 1920 / 886;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.game-card .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-card h2 { margin-bottom: 0.5em; }
.game-card .meta {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}
.game-card p { color: var(--muted); }

/* Screenshot gallery */
.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 64px;
}
.screenshots figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
}
.screenshots figure:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.screenshots img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1600 / 740;
  object-fit: cover;
}
.screenshots figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.15s, transform 0.15s;
}
.badge:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}
.badge .badge-label { font-size: 0.7rem; color: var(--muted); display: block; line-height: 1; margin-bottom: 2px; }
.badge .badge-store { font-weight: 700; line-height: 1; }
.badge.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* About */
.about {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.about p { color: var(--muted); max-width: 680px; }

/* Content pages (privacy / terms / support) */
.page {
  padding: 64px 0 96px;
}
.page .container { max-width: 760px; }
.page h1 { margin-bottom: 0.3em; }
.page .updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5em;
}
.page h2 { margin-top: 2em; }
.page h3 { margin-top: 1.6em; color: var(--text); }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 1.4em; }
.page li { margin-bottom: 0.4em; }
.page a { color: var(--accent); }

/* FAQ */
.faq {
  margin-top: 32px;
}
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.15s;
}
details[open] { border-color: var(--accent); }
summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.15s;
}
details[open] summary::after { transform: rotate(45deg); }
details > p, details > div { margin-top: 12px; color: var(--muted); }

/* Contact box */
.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 32px 0;
}
.contact-box .email {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.site-footer .footer-nav {
  display: flex;
  gap: 20px;
}
.site-footer .footer-nav a { color: var(--muted); }
.site-footer .footer-nav a:hover { color: var(--text); text-decoration: none; }

/* Responsive */
@media (max-width: 860px) {
  .game-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
  }
  .screenshots { grid-template-columns: 1fr; gap: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 0.9rem; }
  .hero { padding: 64px 0 40px; }
  .site-footer .container { flex-direction: column; text-align: center; }
}
