/* Banner Lands — the showcase site.
   Night, gold and banner red, the colours of the key art and of the mark
   (client/godot/brand). System serif faces only: no font is fetched from
   anyone, so the site makes no request a visitor did not ask for. */

:root {
  --ink: #0e1014;
  --ink-2: #141821;
  --ink-3: #1b202b;
  --line: rgba(214, 168, 74, 0.26);
  --gold: #d6a84a;
  --gold-soft: #ecd08f;
  --gold-deep: #a9782a;
  --banner: #9a2f2b;
  --text: #ece4d2;
  --muted: #b3a891;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, "URW Palladio L", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.65 var(--serif);
  font-feature-settings: "liga", "kern";
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--gold-soft); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff3d0; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.small { font-size: 0.85rem; color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 16, 20, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.05rem var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.brand .mark { width: 34px; height: 34px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font: 0.92rem var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.nav a:hover { color: var(--gold-soft); }
.langs { position: relative; }
.langs summary { cursor: pointer; list-style: none; color: var(--gold-soft); font: 0.9rem var(--display); letter-spacing: 0.06em; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: " ▾"; color: var(--muted); }
.langs ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); min-width: 150px; }
.langs li a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); text-decoration: none; }
.langs li a:hover, .langs li a[aria-current] { background: rgba(214, 168, 74, 0.14); color: var(--gold-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font: 600 0.95rem var(--display); letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn-gold { color: #1b1306; background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 8px 26px rgba(214, 168, 74, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:hover { color: #1b1306; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(214, 168, 74, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { color: var(--gold-soft); border: 1px solid var(--line); background: rgba(14, 16, 20, 0.4); }
.btn-ghost:hover { background: rgba(214, 168, 74, 0.12); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 90px); }
.hero-bg { position: absolute; inset: -60px; background: url("/assets/img/keyart.webp") center 38% / cover no-repeat; filter: blur(26px) saturate(1.15) brightness(0.42); transform: scale(1.08); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 70% 40%, transparent 30%, var(--ink) 92%), linear-gradient(180deg, rgba(14, 16, 20, 0) 60%, var(--ink)); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.kicker { margin: 0 0 10px; color: var(--gold); font: 600 0.9rem var(--display); letter-spacing: 0.22em; text-transform: uppercase; }
.title {
  margin: 0; font: 700 clamp(3rem, 8vw, 6.2rem)/0.95 var(--display); letter-spacing: 0.04em; text-transform: uppercase;
  background: linear-gradient(180deg, #fff6dc 0%, var(--gold-soft) 38%, var(--gold) 70%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 30px rgba(214, 168, 74, 0.18);
}
.tagline { max-width: 36em; margin: 22px 0 30px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: #e6dcc6; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(14, 16, 20, 0.55); color: var(--text); font: 600 1rem var(--display); letter-spacing: 0.04em; }
.store .ico { width: 22px; height: 22px; color: var(--gold); }
.store small { display: block; font: 0.72rem var(--serif); letter-spacing: 0.02em; color: var(--muted); text-transform: none; }
.hero-art { margin: 0; justify-self: center; width: min(400px, 100%); }
.hero-art img {
  width: 100%; height: auto; border-radius: 20px;
  border: 1px solid rgba(236, 208, 143, 0.45);
  box-shadow: var(--shadow), 0 0 0 6px rgba(14, 16, 20, 0.6), 0 0 0 7px var(--line);
}

/* Facts strip */
.facts { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 26px 0; margin-block: 0; gap: 12px; text-align: center; }
.facts b { display: block; font: 700 clamp(1.7rem, 3.4vw, 2.5rem)/1 var(--display); color: var(--gold-soft); }
.facts span { color: var(--muted); font-size: 0.92rem; }

/* Sections */
.band { padding: clamp(56px, 8vw, 104px) 0; }
.band + .band { border-top: 1px solid rgba(214, 168, 74, 0.12); }
.section-title { margin: 0 0 10px; text-align: center; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.15 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-soft); }
.section-title::after { content: ""; display: block; width: 90px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.lead { max-width: 44em; margin: 18px auto 38px; text-align: center; color: var(--muted); font-size: 1.08rem; }
.note { max-width: 50em; margin: 22px auto 0; text-align: center; color: var(--muted); font-size: 0.92rem; font-style: italic; }

/* Trailer */
.frame { position: relative; max-width: 980px; margin: 0 auto; padding: 10px; border-radius: 18px; background: linear-gradient(145deg, rgba(236, 208, 143, 0.5), rgba(169, 120, 42, 0.25) 40%, rgba(236, 208, 143, 0.35)); box-shadow: var(--shadow); }
.frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; background: #000; }

/* Pillars */
.pillars { background: radial-gradient(80% 60% at 50% 0%, rgba(154, 47, 43, 0.16), transparent 70%), var(--ink); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar { position: relative; padding: 78px 24px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.pillar::before { content: ""; position: absolute; top: 0; left: 22px; width: 42px; height: 56px; background: linear-gradient(180deg, #b23a35, var(--banner)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); }
.pillar-ico { position: absolute; top: 10px; left: 30px; width: 26px; height: 26px; fill: none; stroke: #f6e3b4; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin: 0 0 10px; font: 700 1.12rem/1.3 var(--display); letter-spacing: 0.04em; color: var(--text); }
.pillar p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Screens */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.shots li { text-align: center; }
.shot { display: block; width: 100%; padding: 7px; border: 1px solid rgba(236, 208, 143, 0.35); border-radius: 26px; background: #07080a; cursor: zoom-in; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); transition: transform 0.2s ease; }
.shot:hover { transform: translateY(-4px); }
.shot img { width: 100%; height: auto; border-radius: 19px; }
.shots p { margin: 12px 0 0; font: 600 0.9rem var(--display); letter-spacing: 0.05em; color: var(--gold-soft); }
.lightbox { max-width: min(92vw, 520px); max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: #07080a; overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 6, 8, 0.86); }
.lightbox img { width: 100%; height: auto; max-height: 94vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: rgba(14, 16, 20, 0.8); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Coming soon */
.soon-box { max-width: 760px; text-align: center; padding: 44px 32px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(90% 120% at 50% 0%, rgba(214, 168, 74, 0.14), transparent 60%), var(--ink-2); }
.soon-ico { width: 40px; height: 40px; margin: 0 auto 10px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.soon-box p { color: #ddd3bd; }

/* Documents: privacy, terms, support, deletion, legal notice */
.doc { background: radial-gradient(70% 40% at 50% 0%, rgba(214, 168, 74, 0.08), transparent 70%), var(--ink); }
.doc-body { max-width: 820px; padding: clamp(40px, 6vw, 72px) 0 80px; }
.doc-body h1 { margin: 0 0 6px; font: 700 clamp(1.9rem, 4vw, 2.7rem)/1.15 var(--display); letter-spacing: 0.04em; color: var(--gold-soft); }
.doc-body .updated { margin: 0 0 30px; color: var(--muted); font-size: 0.92rem; }
.doc-body h2 { margin: 42px 0 12px; padding-top: 14px; border-top: 1px solid rgba(214, 168, 74, 0.18); font: 700 1.3rem/1.3 var(--display); letter-spacing: 0.03em; color: var(--text); }
.doc-body h3 { margin: 26px 0 8px; font: 700 1.05rem var(--display); color: var(--gold-soft); }
.doc-body p, .doc-body li { color: #e2d9c5; }
.doc-body ul, .doc-body ol { padding-left: 1.3em; }
.doc-body li + li { margin-top: 6px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 16px 0 6px; font-size: 0.95rem; }
.doc-body th, .doc-body td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(214, 168, 74, 0.16); }
.doc-body th { color: var(--gold-soft); font: 700 0.86rem var(--display); letter-spacing: 0.05em; text-transform: uppercase; background: rgba(214, 168, 74, 0.06); }
.doc-body .callout { margin: 24px 0; padding: 18px 20px; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: rgba(214, 168, 74, 0.07); }
.doc-body .steps { counter-reset: step; list-style: none; padding-left: 0; }
.doc-body .steps li { position: relative; padding-left: 46px; min-height: 34px; }
.doc-body .steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #1b1306; font: 700 0.95rem var(--display); }
.doc-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; }
.doc-body dt { color: var(--muted); }
.doc-body dd { margin: 0; }
.notfound { text-align: center; }
mark.todo { background: #ffde59; color: #2a1d00; padding: 1px 6px; border-radius: 4px; font-family: system-ui, sans-serif; font-size: 0.85em; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #0a0c0f; padding: 44px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 30px; align-items: start; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--gold-soft); text-decoration: underline; }
.langs-inline { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0 0 14px; padding: 0; }
.langs-inline a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.langs-inline a[aria-current] { color: var(--gold-soft); }
.studio-line { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--muted); font-size: 0.92rem; }
.studio { width: 22px; height: 22px; }

/* Narrow screens */
@media (max-width: 980px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .cta, .stores { justify-content: center; }
  .hero-art { width: min(300px, 80%); }
  .facts-grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 10px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent; }
  .shots li { flex: 0 0 62%; scroll-snap-align: center; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc-body dl { grid-template-columns: 1fr; }
  .doc-body table, .doc-body thead, .doc-body tbody, .doc-body tr, .doc-body th, .doc-body td { display: block; }
  .doc-body thead { display: none; }
  .doc-body td { border: 0; padding: 4px 0; }
  .doc-body tr { padding: 12px 0; border-bottom: 1px solid rgba(214, 168, 74, 0.16); }
  .doc-body td:first-child { color: var(--gold-soft); font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .shot { transition: none; }
}
