:root {
  --bg-0: #070809;
  --bg-1: #0e1013;
  --bg-2: #161a20;
  --bg-3: #1d232c;
  --line: rgba(201, 162, 39, 0.28);
  --gold: #d4af37;
  --gold-soft: #f0d78c;
  --bronze: #a67c2a;
  --text: #f2f0ea;
  --muted: #a7a9b0;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --max: 1180px;
  --nav-h: 76px;
  --font-display: "Bahnschrift", "Segoe UI Semibold", "Segoe UI", sans-serif;
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(120, 90, 30, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 35%, var(--bg-0));
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font: inherit; cursor: pointer; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 9, 0.82);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.8rem; min-width: 0;
}
.brand img, .brand svg { width: 42px; height: 42px; flex: 0 0 auto; }
.brand-text {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand-text span { color: var(--gold-soft); }

.nav-links {
  display: flex; align-items: center; gap: 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gold-soft); outline: none; }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted);
  padding: 0.4rem 0.7rem; min-width: 42px;
}
.lang-switch button[aria-pressed="true"] {
  background: linear-gradient(180deg, rgba(212,175,55,0.28), rgba(138,106,31,0.22));
  color: var(--gold-soft);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

/* HERO */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f3e2a8;
  text-shadow: 0 1px 0 rgba(0,0,0,0.55);
}
.hero .tagline {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: var(--text);
}
.hero .lead {
  margin: 1.1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.85rem;
  margin-top: 1.8rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #f0d78c, #c9a227 45%, #8a6a1f);
  color: #14110a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.28);
}
.btn-secondary {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
  color: var(--gold-soft);
}
.hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: var(--shadow);
  background: var(--bg-2);
  min-height: 420px;
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; min-height: 420px;
  filter: saturate(1.05) contrast(1.04);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,8,9,0.72));
  pointer-events: none;
}

/* SECTIONS */
section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-head {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: 0.03em;
}
.section-head p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.about-panel, .game-panel, .contact-panel {
  border: 1px solid rgba(255,255,255,0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    var(--bg-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}
.about-copy p { color: var(--muted); margin: 0 0 1rem; }
.stat-cards {
  display: grid; gap: 0.85rem;
}
.stat-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: rgba(0,0,0,0.22);
}
.stat-card strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.stat-card span { color: var(--muted); font-size: 0.92rem; }

.game-panel { overflow: hidden; }
.game-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
}
.game-copy { padding: clamp(1.4rem, 3vw, 2.2rem); }
.game-copy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.03em;
}
.game-copy p { color: var(--muted); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}
.feature {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: rgba(0,0,0,0.18);
  color: var(--text);
  font-size: 0.94rem;
}
.feature::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  margin-right: 0.55rem;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.game-media {
  min-height: 100%;
  background: #0a0b0d;
}
.game-media img {
  width: 100%; height: 100%; object-fit: cover; min-height: 460px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}
.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: var(--bg-3);
  aspect-ratio: 4 / 5;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82));
  color: var(--gold-soft);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.contact-panel {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}
.contact-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.9rem;
}
.contact-list li {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.85rem;
}
.contact-list span {
  display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.2rem;
}
.contact-list a, .contact-list strong { color: var(--text); font-weight: 600; }
.contact-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  background: rgba(201,162,39,0.06);
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.2rem 0 2.6rem;
  margin-top: 1rem;
  background: rgba(0,0,0,0.35);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-grid h4 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--gold-soft);
  font-size: 0.95rem;
}
.footer-grid a, .footer-grid p {
  color: var(--muted);
  display: block;
  margin: 0.35rem 0;
  font-size: 0.92rem;
}
.footer-grid a:hover { color: var(--gold-soft); }
.copyright {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

/* LEGAL PAGES */
.legal-page {
  padding: 3rem 0 4rem;
}
.legal-page article {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2rem);
}
.legal-page h1 { margin-top: 0; font-family: var(--font-display); }
.legal-page h2 { margin-top: 1.6rem; font-size: 1.15rem; color: var(--gold-soft); }
.legal-page p, .legal-page li { color: var(--muted); }

/* ANIM */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(16px);
    animation: rise .7s ease forwards;
  }
  .reveal.d2 { animation-delay: .12s; }
  .reveal.d3 { animation-delay: .22s; }
  @keyframes rise {
    to { opacity: 1; transform: none; }
  }
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid, .about-panel, .game-top, .contact-panel, .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual, .hero-visual img, .game-media img { min-height: 320px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; left: 1rem; right: 1rem; top: calc(var(--nav-h) + 0.4rem);
    flex-direction: column; align-items: stretch;
    background: rgba(14,16,19,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 0.8rem;
    gap: 0.2rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.6rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 0.78rem; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
