/* New Sideways — press kit styles. One file, no build step. */
:root {
  --bg: #120e0a;
  --bg-2: #1b1510;
  --panel: #211a13;
  --line: #3a2e22;
  --text: #ede3cf;       /* marble */
  --muted: #b3a58c;
  --gold: #e8a33d;       /* torch */
  --gold-2: #f4c070;
  --red: #b3372b;        /* den */
  --radius: 10px;
  --maxw: 1180px;
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-2); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin: 0 0 1rem;
  color: var(--text);
  display: flex; align-items: center; gap: .75rem;
}
h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; color: var(--gold-2); }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ── Top bar ───────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 14, 10, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 56px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-family: var(--serif); font-weight: 700; letter-spacing: .06em; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.1rem; font-size: .9rem; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--text); }

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18,14,10,.55) 0%, rgba(18,14,10,.35) 40%, var(--bg) 100%),
    url("../minotawrd/img/hero_bg.webp") center 35% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero-logo { width: min(640px, 92%); margin: 0 auto 1.25rem; filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.tagline { font-family: var(--serif); font-size: clamp(1.05rem, 2.4vw, 1.45rem); max-width: 34ch; margin: 0 auto .5rem; text-shadow: 0 2px 12px #000; }
.sub { color: var(--muted); margin: 0 auto 1.75rem; max-width: 52ch; text-shadow: 0 2px 10px #000; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.2rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid var(--gold); color: var(--gold);
  background: rgba(18,14,10,.6);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--gold); color: #1a1208; transform: translateY(-1px); }
.btn.primary { background: var(--gold); color: #1a1208; }
.btn.primary:hover { background: var(--gold-2); border-color: var(--gold-2); }

/* ── Layout ────────────────────────────── */
.layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 48px 16px 64px; align-items: start; }
.layout > * { min-width: 0; }
section { scroll-margin-top: 72px; margin-bottom: 3rem; }

/* ── Factsheet ─────────────────────────── */
.facts {
  position: sticky; top: 76px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.facts h2 { font-size: 1.15rem; margin-bottom: .75rem; }
.facts dl { margin: 0; }
.facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: .9rem; }
.facts dd { margin: .15rem 0 0; font-size: .95rem; }
.facts dd small { color: var(--muted); }
.facts ul { list-style: none; padding: 0; margin: .15rem 0 0; }

/* ── Content blocks ────────────────────── */
.lead { font-size: 1.1rem; }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.features li { background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 14px 16px; }
.features strong { font-family: var(--serif); letter-spacing: .04em; display: block; margin-bottom: .2rem; color: var(--gold-2); }
.towers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; margin: .5rem 0 0; padding: 0; list-style: none; }
.towers li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: .92rem; }
.towers b { color: var(--text); display: block; }
.quote { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-2); border-left: 3px solid var(--red); padding: .25rem 0 .25rem 1rem; margin: 1.25rem 0; }

/* Trailer (click-to-load YouTube) */
.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #000 center / cover no-repeat;
}
.video button, .video .soon {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: rgba(0,0,0,.35); color: var(--text); font: 600 1rem var(--sans);
}
.video .play { width: 84px; height: 84px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0,0,0,.6); transition: transform .15s; }
.video button:hover .play { transform: scale(1.06); }
.video .play svg { width: 34px; height: 34px; margin-left: 5px; fill: #1a1208; }
.video .soon { cursor: default; background: rgba(0,0,0,.55); font-family: var(--serif); letter-spacing: .06em; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shots figure { margin: 0; }
.shots a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.shots img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; transition: transform .25s; }
.shots a:hover img { transform: scale(1.03); }
.shots figcaption { font-size: .82rem; color: var(--muted); margin-top: .35rem; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.logo-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.logo-card .thumb { height: 150px; display: grid; place-items: center; border-radius: 6px; background: repeating-conic-gradient(#2a2119 0% 25%, #231b14 0% 50%) 50% / 20px 20px; }
.logo-card .thumb img { max-height: 130px; width: auto; height: auto; max-width: 90%; }
.logo-card .thumb.full img { max-height: 150px; border-radius: 4px; }
.logo-card span { font-size: .85rem; color: var(--muted); }

.dl-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1rem; }
.team { list-style: none; padding: 0; margin: 0; }
.team li { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.team b { display: block; }
.team span { color: var(--muted); font-size: .92rem; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: .85rem; text-align: center; }

/* Lightbox */
dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
dialog.lightbox::backdrop { background: rgba(0,0,0,.88); }
dialog.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 6px; }
dialog.lightbox p { color: var(--text); text-align: center; margin: .6rem 0 0; font-size: .9rem; }
dialog.lightbox button { position: fixed; top: 14px; right: 16px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; font-size: 1.2rem; cursor: pointer; }

/* Studio landing */
.studio-hero { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.studio-hero img.studio { width: min(280px, 70%); margin: 0 auto 1.5rem; }
.game-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; max-width: 820px; margin: 0 auto; text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s; }
.game-card:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--text); }
.game-card img { width: 100%; height: 100%; object-fit: cover; }
.game-card div { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: .5rem; }
.game-card h3 { margin: 0; font-size: 1.3rem; }
.game-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Responsive ────────────────────────── */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .facts { position: static; }
}
@media (max-width: 640px) {
  .shots { grid-template-columns: 1fr; }
  .nav { display: none; }
  .game-card { grid-template-columns: 1fr; }
  .game-card img { aspect-ratio: 1.26; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
