:root {
  --bg: #0d0c0e; --bg2: #151317; --card: #1b181d; --line: rgba(255,255,255,.09);
  --text: #ece7e1; --muted: #a39d97; --red: #d22c22; --red2: #ff5a3c; --ember: #ff9a3c; --blue: #3c8cff;
  --head: "Saira Condensed", "Arial Narrow", sans-serif; --body: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { color: #ffc27a; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .4em; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7vw, 92px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 64px 24px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px; background: rgba(13,12,14,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand img { height: 44px; width: auto; }
.top nav { display: flex; align-items: center; gap: 28px; }
.top nav a { color: var(--text); font: 600 18px var(--head); letter-spacing: .08em; text-transform: uppercase; }
.top nav a.on, .top nav a:hover { color: var(--red2); }
.burger { display: none; }

/* buttons */
.btn { display: inline-block; padding: 14px 28px; background: var(--red); color: #fff !important; font: 800 20px var(--head); letter-spacing: .08em;
  text-transform: uppercase; border: 2px solid var(--red); border-radius: 3px; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--red2); border-color: var(--red2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(210,44,34,.35); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 16px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ctas.center { justify-content: center; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-in { position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 110px 24px 100px; }
.hero-in.center { text-align: center; }
.kicker { font: 600 18px var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--red2); margin-bottom: 8px; }
.lead { font-size: 19px; color: #d4cec8; max-width: 640px; }
.center .lead { margin: 0 auto; }
.studio { background: radial-gradient(1100px 600px at 18% 60%, rgba(210,44,34,.28), transparent 60%), radial-gradient(800px 500px at 90% 10%, rgba(255,154,60,.08), transparent 60%), var(--bg); }
.studio .hero-in { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.studio h1 span { color: var(--red); display: block; }
.hero-bottle { width: 300px; filter: drop-shadow(0 30px 60px rgba(210,44,34,.45)); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }
.embers { position: absolute; inset: 0; background-image:
  radial-gradient(2px 2px at 20% 80%, var(--ember), transparent), radial-gradient(2px 2px at 35% 60%, #ffb15c, transparent),
  radial-gradient(1.5px 1.5px at 60% 75%, var(--ember), transparent), radial-gradient(2px 2px at 80% 40%, #ff7a3c, transparent),
  radial-gradient(1.5px 1.5px at 10% 30%, #ffb15c, transparent), radial-gradient(2px 2px at 70% 90%, var(--ember), transparent);
  background-size: 600px 600px; animation: rise 14s linear infinite; opacity: .7; }
@keyframes rise { to { background-position: 0 -600px; } }

.game { min-height: min(86vh, 820px); display: flex; align-items: center; }
.hero-image { position: absolute; inset: -4%; background-size: cover; background-position: center; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(13,12,14,.55), rgba(13,12,14,.15) 70%), linear-gradient(180deg, rgba(13,12,14,.25), rgba(13,12,14,.1) 45%, var(--bg)); }
.game-logo { width: min(640px, 88%); margin: 0 auto 18px; filter: drop-shadow(0 10px 40px rgba(0,0,0,.8)); }
.small-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* sections */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.section-head h2 { margin: 0; }
.section-head a { font: 600 18px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.tag { display: inline-block; font: 600 14px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--red2); }
.more { font: 600 17px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }

.feature-card { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; color: var(--text);
  transition: transform .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(210,44,34,.6); color: var(--text); }
.fc-art { min-height: 380px; background-size: cover; background-position: center; }
.fc-body { padding: 36px 40px; }
.fc-logo { width: 300px; margin: 8px 0 16px -10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.facts li { font-size: 13px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; color: #cfc9c3; background: rgba(255,255,255,.03); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; padding: 24px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 4px; color: var(--text); transition: transform .2s; }
.news-card:hover { transform: translateY(-3px); color: var(--text); }
.news-card .date { color: var(--muted); font-size: 13px; }
.news-card h3 { margin: 10px 0 8px; }
.news-card p { color: #c9c3bd; font-size: 15px; flex: 1; }

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; padding-bottom: 20px; }
.about p { color: #cfc9c3; font-size: 17px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.about-card .btn { font-size: 16px; text-transform: none; letter-spacing: .02em; word-break: break-all; }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 4px; padding: 22px; }
.feat h3 { font-size: 22px; }
.feat p { color: #c9c3bd; font-size: 15px; margin: 0; }

.maps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.map { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.map img { aspect-ratio: 16/9; object-fit: cover; width: 100%; transition: transform .4s; }
.map:hover img { transform: scale(1.03); }
.map div { padding: 20px 24px 22px; }
.map p { color: #c9c3bd; margin: 0; font-size: 15px; }

.trailer { width: 100%; border-radius: 6px; border: 1px solid var(--line); background: #000; aspect-ratio: 16/9; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shots img { aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.shots a:hover img { transform: scale(1.02); border-color: rgba(255,154,60,.6); }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px; padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font: 600 21px var(--head); letter-spacing: .04em; text-transform: uppercase; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--red2); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: #cfc9c3; }

.cta-band { max-width: var(--wrap); margin: 72px auto 0; padding: 36px 40px; display: flex; align-items: center; gap: 28px;
  background: linear-gradient(120deg, rgba(60,140,255,.16), rgba(210,44,34,.18)); border: 1px solid var(--line); border-radius: 8px; }
.cta-band img { width: 90px; }
.cta-band div { flex: 1; }
.cta-band h2 { margin: 0 0 4px; }
.cta-band p { margin: 0; color: #d4cec8; }

/* map cards: "coming soon" tag */
.map-pic { position: relative; overflow: hidden; }
.map-tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; background: rgba(13,12,14,.85); border: 1px solid rgba(255,209,79,.6); border-radius: 3px;
  color: #ffd14f; font: 600 15px var(--head); letter-spacing: .12em; text-transform: uppercase; }

/* studio page */
.small-hero .hero-in { padding: 80px 24px 70px; }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
section[id] { scroll-margin-top: 80px; }

/* roadmap */
.roadmap { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--red), rgba(255,255,255,.12)); }
.roadmap li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 52px 24px 22px; }
.roadmap li::before { content: ""; position: absolute; top: 20px; left: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(255,255,255,.35); }
.roadmap li.now::before { background: var(--red); border-color: var(--red2); box-shadow: 0 0 0 6px rgba(210,44,34,.2); }
.roadmap .step { position: absolute; top: 18px; left: 52px; font: 600 15px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.roadmap li.now .step { color: var(--red2); }
.roadmap p { color: #c9c3bd; font-size: 15px; margin: 0; }

/* news pages */
.page-head { padding-top: 80px; }
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-row { display: grid; grid-template-columns: 120px 1fr 30px; gap: 24px; align-items: center; padding: 22px 26px; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 4px; color: var(--text); }
.news-row:hover { color: var(--text); border-color: rgba(210,44,34,.6); }
.news-row .date { color: var(--muted); font-size: 14px; }
.news-row h3 { margin-bottom: 4px; }
.news-row p { color: #c9c3bd; margin: 0; font-size: 15px; }
.news-empty { display: flex; align-items: center; gap: 24px; padding: 32px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: 4px; }
.news-empty img { width: 70px; }
.news-empty p { color: #c9c3bd; margin: 0; }
.notes { max-width: 820px; }
.notes .back { font: 600 17px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.notes .date { color: var(--muted); margin: 18px 0 6px; font-size: 14px; }
.notes h1 { font-size: clamp(40px, 6vw, 68px); }
.notes h2 { font-size: 30px; margin-top: 1.6em; color: var(--red2); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.notes h3 { font-size: 22px; margin-top: 1.3em; }
.notes ul { padding-left: 20px; }
.notes li { margin: 8px 0; color: #d6d0ca; }
.notes li strong { color: var(--text); }
.notes blockquote { margin: 20px 0; padding: 16px 20px; background: rgba(255,154,60,.08); border-left: 3px solid var(--ember); border-radius: 3px; }
.notes code { background: rgba(255,255,255,.07); padding: 1px 6px; border-radius: 3px; font-size: .9em; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--head); font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }

/* footer */
footer { margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg2); }
.foot { max-width: var(--wrap); margin: 0 auto; padding: 36px 24px 12px; display: flex; align-items: center; gap: 20px; }
.foot-bottle { width: 54px; }
.foot span { color: var(--muted); font-size: 14px; }
.foot-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text); font: 600 17px var(--head); letter-spacing: .06em; text-transform: uppercase; }
.fine { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 28px; color: #6e6862; font-size: 13px; }

/* phones / tablets */
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .fc-art { min-height: 220px; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 48px 16px 0; }
  .top { padding: 10px 16px; }
  .brand img { height: 36px; }
  .burger { display: block; width: 34px; height: 34px; position: relative; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 5px; right: 5px; height: 2px; background: var(--text); content: ""; }
  .burger span { top: 16px; } .burger span::before { top: -8px; left: 0; right: 0; } .burger span::after { top: 8px; left: 0; right: 0; }
  .top nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 16px 24px; background: var(--bg2); border-bottom: 1px solid var(--line); }
  #menu:checked ~ nav { display: flex; }
  .studio .hero-in { grid-template-columns: 1fr; gap: 24px; padding: 64px 16px; }
  .hero-bottle { width: 160px; }
  .hero-in { padding: 70px 16px; }
  .fc-body { padding: 24px; }
  .fc-logo { width: 240px; }
  .feat-grid, .maps, .roadmap, .studio-grid { grid-template-columns: 1fr; }
  .roadmap::before { display: none; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .news-row .more { display: none; }
  .cta-band { flex-direction: column; text-align: center; margin: 56px 16px 0; padding: 28px 20px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-bottle, .embers, .hero-image { animation: none; } html { scroll-behavior: auto; } }
