/* Astra Nova Studios */
:root {
  --bg: #000000;
  --surface: #0b0f14;
  --surface-2: #121820;
  --line: #1f2833;
  --text: #eef2f6;
  --muted: #9aa6b2;
  --teal: #63b1c2;
  --orange: #f07a2a;
  --orange-hi: #fda339;
  --ember: #c94618;
  --radius: 14px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

h1, h2, h3 {
  font-family: "Saira Condensed", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: "Saira Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .85rem;
  color: var(--teal);
  margin-bottom: .75rem;
  display: block;
}
.accent { color: var(--orange); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 8px; mix-blend-mode: lighten; }
.brand span { font-family: "Saira Condensed", sans-serif; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 1.05rem; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-hi)); color: #140600; box-shadow: 0 8px 30px rgba(240,122,42,.25); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--teal); }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; transform: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 120%;
  background:
    radial-gradient(40% 40% at 50% 30%, rgba(240,122,42,.18), transparent 70%),
    radial-gradient(30% 30% at 70% 60%, rgba(99,177,194,.12), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-logo { width: min(320px, 70vw); margin: 0 auto 28px; mix-blend-mode: lighten; }
.hero p.lead { max-width: 640px; margin: 0 auto 32px; color: var(--muted); font-size: 1.15rem; }
.hero .actions { justify-content: center; }

section { padding: 80px 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }

/* featured game */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.feature-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(240,122,42,.12); }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .05em; background: rgba(240,122,42,.12); color: var(--orange-hi); border: 1px solid rgba(240,122,42,.35); margin-bottom: 16px; }
.muted { color: var(--muted); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { color: var(--text); }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px; background: rgba(99,177,194,.12); color: var(--teal); font-size: 1.3rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* game page */
.game-hero { position: relative; padding: 0; }
.game-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.game-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); }
.game-head { display: flex; gap: 24px; align-items: center; margin-top: -70px; position: relative; z-index: 1; }
.game-head img { width: 132px; height: 132px; object-fit: cover; border-radius: 26px; border: 3px solid var(--bg); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.fact { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.fact b { display: block; font-family: "Saira Condensed", sans-serif; font-size: 1.25rem; color: var(--orange-hi); }
.fact span { color: var(--muted); font-size: .9rem; }
ul.check { list-style: none; padding: 0; margin: 0 0 1em; }
ul.check li { padding-left: 28px; position: relative; margin-bottom: .5em; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

/* legal pages */
.legal { padding: 64px 0 80px; }
.legal .wrap { max-width: 780px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; color: var(--text); }
.legal p, .legal li { color: #c9d2db; }
.legal ul { padding-left: 1.2em; }

/* contact + footer */
.contact { text-align: center; }
.contact p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.contact .actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.social a:hover { border-color: var(--teal); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 16px; }
  section { padding: 60px 0; }
  .game-head { flex-direction: column; align-items: flex-start; margin-top: -56px; }
  .game-head img { width: 104px; height: 104px; border-radius: 22px; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .hero { padding: 64px 0; }
}
