:root {
  --ink: #2a1610;
  --paper: #f6efe4;
  --night: #17110d;
  --night-2: #221813;
  --cream: #fff3e0;
  --sun: #ffd27a;
  --ember: #f6a24a;
  --rust: #c8513a;
  --clay: #9a3f1f;
  --muted: #b9a693;
  --line: rgba(255, 243, 224, 0.12);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 17px/1.6 Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1, h2 { font-family: "Archivo Black", Archivo, sans-serif; letter-spacing: 0.5px; }
h1 { font-size: clamp(40px, 7vw, 84px); }
h2 { font-size: clamp(32px, 5vw, 56px); }
h3 { font-size: 20px; font-weight: 700; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { margin: 0 0 12px; color: var(--ember); font-weight: 700; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.lede { font-size: clamp(17px, 2vw, 20px); color: #ead9c3; max-width: 620px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(23, 17, 13, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand-word { line-height: 0.9; }
.brand-word b { display: block; font-family: "Archivo Black", sans-serif; font-size: 21px; letter-spacing: 0.5px; }
.brand-word span { display: block; font-size: 10px; font-weight: 700; letter-spacing: 6px; color: var(--ember); margin-top: 3px; }
.links { display: flex; gap: 22px; }
.links a { text-decoration: none; font-weight: 500; color: #ead9c3; }
.links a:hover { color: var(--sun); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 720px;
  display: flex; align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(23, 17, 13, 0) 70%, rgba(23, 17, 13, 0.85) 94%, #17110d 100%),
    linear-gradient(90deg, rgba(16, 14, 22, 0.62) 0%, rgba(16, 14, 22, 0.3) 38%, rgba(16, 14, 22, 0) 58%),
    url("assets/hero.jpg") 68% 70% / cover no-repeat, #6a3a2a;
}
.hero-text { position: relative; max-width: 1120px; width: 100%; margin: 0 auto; padding: 96px 20px 300px; }
.hero h1 { text-shadow: 0 2px 24px rgba(10, 8, 14, 0.55); }
.hero .lede { text-shadow: 0 1px 12px rgba(10, 8, 14, 0.6); }
.hero .lede { color: var(--cream); }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.cta.center { justify-content: center; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--sun); color: var(--ink); }
.btn.primary:hover { background: #ffe09e; }
.btn.ghost { border: 2px solid rgba(255, 243, 224, 0.6); color: var(--cream); }
.btn.ghost:hover { border-color: var(--cream); }
.btn[aria-disabled="true"] { opacity: 0.6; pointer-events: none; }
.note { color: var(--muted); font-size: 14px; }

/* game */
.game { padding: 96px 0; background: var(--night); }
.game-logo { width: min(360px, 70%); height: auto; margin: 4px 0 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 56px;
}
.features article {
  background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.features article h3 { color: var(--cream); margin-bottom: 8px; }
.features article p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 56px; }
.shots figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--night-2); grid-column: span 2; }
.shots figure:nth-child(-n+2) { grid-column: span 3; }
.shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

/* about */
.about { padding: 96px 0; background: var(--paper); color: var(--ink); }
.about .eyebrow { color: var(--rust); }
.about p { font-size: 19px; margin: 0 0 16px; }
.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }

/* community */
.community { padding: 96px 0; text-align: center; background: linear-gradient(180deg, var(--night) 0%, #3e180e 100%); }
.community .lede { margin: 16px auto 0; }

/* footer */
.foot { padding: 28px 0; background: #0f0b08; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.brand.small { gap: 10px; font-weight: 700; color: var(--cream); }

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { padding: 10px 16px; }
  .links { gap: 14px; font-size: 15px; }
  .brand-word { display: none; }
  .wrap, .hero-text { padding-left: 16px; padding-right: 16px; }
  .hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(23, 17, 13, 0) 80%, #17110d 100%),
      url("assets/hero.jpg") 80% 100% / auto 360px no-repeat,
      linear-gradient(180deg, #3f74a3 0%, #5f9fd2 calc(100% - 360px));
  }
  .hero-text { padding-top: 56px; padding-bottom: 350px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shots figure, .shots figure:nth-child(-n+2) { grid-column: auto; }
  .game, .about, .community { padding: 64px 0; }
}
