:root {
  --bg: #0b0610;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --text: #f7eff5;
  --text-soft: #ddcdd7;
  --text-muted: #a7959f;
  --accent: #ff3d7f;
  --accent-2: #9b5cff;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --gradient: linear-gradient(135deg, #ff3d7f 0%, #c94dff 55%, #7b5cff 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-hand: 'Caveat', cursive;
  --header-h: 72px;
}

/* Chinese, Japanese and Korean: the site fonts have no CJK letters, so CJK fonts take over for them */
html[lang="zh-CN"] {
  --cjk: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html[lang="ja"] {
  --cjk: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
}
html[lang="ko"] {
  --cjk: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
html[lang="zh-CN"],
html[lang="ja"],
html[lang="ko"] {
  --font-display: 'Unbounded', var(--cjk);
  --font-body: 'Manrope', var(--cjk);
  --font-hand: 'Caveat', var(--cjk);
  word-break: keep-all;
  line-break: strict;
}
html[lang="zh-CN"],
html[lang="ja"] { word-break: normal; }


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 0% -10%, rgba(255, 61, 127, 0.14), transparent 60%),
    radial-gradient(900px 700px at 100% 0%, rgba(155, 92, 255, 0.14), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* film grain over the background, below content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: rgba(255, 61, 127, 0.35); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 6, 16, 0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  box-shadow: 0 6px 20px rgba(255, 61, 127, 0.35);
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.logo-text b {
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.lang-menu {
  position: relative;
  margin-left: 14px;
}
.lang-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-soft);
  list-style: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover,
.lang-menu[open] summary { border-color: rgba(255, 61, 127, 0.5); color: var(--text); }
.lang-globe { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  min-width: 170px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: #160d1b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.lang-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}
.lang-list a:hover { background: var(--surface-hover); color: var(--text); }
.lang-list a.is-active { background: rgba(255, 61, 127, 0.14); color: var(--accent); }
.main-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--text); background: var(--surface-hover); }
.main-nav a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 61, 127, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 61, 127, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-disabled {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px dashed var(--border-strong);
  cursor: not-allowed;
}

/* ---------- Hero ---------- */
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-covers {
  position: relative;
  margin-top: 64px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.hero-covers-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  padding: 18px 0 30px;
  animation: hero-marquee 22s linear infinite;
  will-change: transform;
}
.hero-covers-track:hover { animation-play-state: paused; }
.hero-cover-link {
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}
.hero-cover {
  display: block;
  height: 210px;
  width: auto;
  aspect-ratio: 748 / 896;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.35s;
}
.hero-cover-link.tilt-a { transform: translateY(-6px) rotate(1.5deg); }
.hero-cover-link.tilt-b { transform: translateY(8px) rotate(-1.5deg); }
.hero-cover-link:hover {
  position: relative;
  z-index: 2;
  transform: translateY(-12px) scale(1.06);
}
.hero-cover-link:hover .hero-cover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 61, 127, 0.45);
}
/* ---------- Flagship ---------- */
.flagship-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(820px, 88vh);
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
}
.flagship-hero > .container { width: 100%; }
.flagship-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: 72% center;
  animation: ken-burns 26s ease-in-out infinite alternate;
}
.flagship-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 6, 16, 0.94) 0%, rgba(11, 6, 16, 0.72) 38%, rgba(11, 6, 16, 0.12) 72%),
    linear-gradient(to bottom, rgba(11, 6, 16, 0.35), transparent 28%, transparent 70%, var(--bg));
}
@keyframes ken-burns {
  from { scale: 1; }
  to { scale: 1.08; }
}
.flagship-content > * { max-width: 600px; }
.flagship-title { margin: 0 0 22px; line-height: 0; }
.flagship-logo {
  width: clamp(280px, 42vw, 560px);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.65));
}
.flagship-pitch {
  margin: 0 0 34px;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-soft);
}
.flagship-hero .hero-actions { justify-content: flex-start; }

.covers-strip {
  padding-top: 40px;
  border-bottom: 1px solid var(--border);
}
.covers-strip-head { text-align: center; }
.covers-strip .hero-covers { margin-top: 8px; }

.featured-card {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 61, 127, 0.35);
  background: linear-gradient(120deg, rgba(255, 61, 127, 0.14), rgba(155, 92, 255, 0.08));
  box-shadow: 0 0 60px rgba(255, 61, 127, 0.12);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 61, 127, 0.28);
}
.featured-media { position: relative; overflow: hidden; min-height: 300px; }
.featured-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  filter: brightness(0.5) saturate(1.1);
  transition: transform 0.8s var(--ease);
}
.featured-card:hover .featured-bg { transform: scale(1.05); }
.featured-cast {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 96%;
  height: auto;
  translate: -50% 0;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.6));
}
.featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px 40px;
}
.featured-logo { width: min(100%, 380px); height: auto; margin: 0 0 14px; }
.featured-tagline { margin: 0 0 22px; color: var(--text-soft); }
.featured-card:hover .game-card-cta span { transform: translateX(4px); }

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

/* ---------- Sections ---------- */
.section { padding-top: 72px; padding-bottom: 72px; }
.section.narrow { max-width: 820px; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.section-head h2 { margin: 0; }
.section-link {
  color: var(--text-muted);
  font-weight: 700;
  transition: color 0.2s;
}
.section-link:hover { color: var(--text); }

.page-head {
  position: relative;
  overflow: hidden;
  padding: 88px 0 8px;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.page-head .container { position: relative; max-width: 820px; }
.page-head h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-lead {
  max-width: 620px;
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
}
.page-head + .section { padding-top: 40px; }

.prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--text-soft); }
.field label small { font-size: inherit; font-weight: 500; color: var(--text-muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font: inherit;
  color-scheme: dark;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 61, 127, 0.2);
}
.field.has-error input,
.field.has-error textarea { border-color: #ff5a6e; }
.field-error { font-size: 0.82rem; color: #ff8a98; }
.field-error:empty { display: none; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.form-note { flex: 1; min-width: 200px; margin: 0; font-size: 0.82rem; color: var(--text-muted); }
.form-status { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-ok { border: 1px solid rgba(61, 220, 132, 0.35); background: rgba(61, 220, 132, 0.1); color: #8ff0b8; }
.form-status.is-error { border: 1px solid rgba(255, 90, 110, 0.35); background: rgba(255, 90, 110, 0.1); color: #ffa3ae; }
.contact-aside {
  display: grid;
  gap: 10px;
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 61, 127, 0.3);
  background: linear-gradient(150deg, rgba(255, 61, 127, 0.14), rgba(155, 92, 255, 0.08));
}
.contact-aside-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* the whole address stays on one line */
.contact-mail {
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
  color: var(--text);
  transition: color 0.2s;
}
.contact-mail:hover { color: var(--accent); }
.contact-aside p { margin: 0; font-size: 0.88rem; color: var(--text-soft); }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
}

/* ---------- Game cards ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.games-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.games-grid.compact .game-card-tagline { display: none; }
.game-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.game-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 1px;
  border-radius: inherit;
  background: var(--gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 61, 127, 0.15);
}
.game-card:hover::after { opacity: 1; }
.game-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 748 / 896;
}
.game-card-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.game-card:hover .game-card-cover { transform: scale(1.06); }
.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11, 6, 16, 0.72);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.status-badge.is-released::before,
.status-pill.is-released::before {
  background: #3ddc84;
  box-shadow: 0 0 8px #3ddc84;
}
.free-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0b0610;
  background: #3ddc84;
  box-shadow: 0 4px 14px rgba(61, 220, 132, 0.4);
}
.status-badge::before,
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.game-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}
.game-card-title { margin: 0 0 6px; font-size: 1rem; }
.game-card-genres {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
}
.game-card-tagline {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.game-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
}
.game-card-cta span { transition: transform 0.25s; }
.game-card:hover .game-card-cta span { transform: translateX(4px); }

/* ---------- News ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.news-list { display: grid; gap: 16px; }
.news-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
a.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}
.news-date {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 61, 127, 0.1);
  border: 1px solid rgba(255, 61, 127, 0.25);
}
.news-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.news-card p { flex: 1; color: var(--text-muted); font-size: 0.92rem; }
.news-card p:last-child { margin-bottom: 0; }
.news-more { font-size: 0.85rem; font-weight: 800; }
.news-more span { display: inline-block; transition: transform 0.25s; }
a.news-card:hover .news-more span { transform: translateX(4px); }
.news-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.news-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.news-post-meta .news-date { margin: 0; }

/* Latest post on the home page */
.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, background 0.3s;
}
.news-feature + .news-grid { margin-top: 20px; }
.news-feature:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.news-feature-media { position: relative; display: block; overflow: hidden; min-height: 300px; }
.news-feature-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-feature:hover .news-feature-media img { transform: scale(1.04); }
.news-feature-body { display: flex; flex-direction: column; justify-content: center; padding: 36px; }
.news-feature h3 { margin: 0 0 12px; font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
.news-feature p { margin: 0 0 20px; color: var(--text-muted); }
.news-feature:hover .news-more span { transform: translateX(4px); }

/* Full post on /news */
.news-post {
  overflow: hidden;
  scroll-margin-top: calc(var(--header-h) + 20px);
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.news-post-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-post-body { padding: 34px 40px 38px; }
.news-post h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.news-post h3 { margin: 26px 0 10px; font-size: 1.05rem; }
.news-post p,
.news-post li { line-height: 1.7; color: var(--text-soft); }
.news-post ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.news-post li::marker { color: var(--accent); }
.news-post-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 760px) {
  .news-feature { grid-template-columns: 1fr; }
  .news-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .news-feature-body { padding: 24px; }
  .news-post-body { padding: 24px 20px 28px; }
}

/* ---------- Game page ---------- */
.game-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--border);
}
.game-hero-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(20px) saturate(125%);
  opacity: 0.5;
}
.game-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 6, 16, 0.85), rgba(11, 6, 16, 0.25) 70%),
    linear-gradient(to bottom, transparent 50%, var(--bg));
}
.game-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: center;
}
.game-hero-cover {
  width: 100%;
  aspect-ratio: 748 / 896;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 61, 127, 0.2);
}
.game-hero.is-flagship {
  display: flex;
  align-items: center;
  min-height: min(760px, 85vh);
  padding: 96px 0;
}
.game-hero.is-flagship > .container { width: 100%; }
.game-hero.is-flagship .game-hero-bg {
  inset: 0;
  filter: none;
  opacity: 1;
  background-position: 72% center;
  animation: ken-burns 26s ease-in-out infinite alternate;
}
.game-hero.is-flagship .game-hero-inner { grid-template-columns: 1fr; }
.game-hero.is-flagship .game-hero-info { max-width: 620px; }
.game-logo-title { margin: 4px 0 18px; line-height: 0; }
.game-logo-title img {
  width: clamp(280px, 40vw, 520px);
  height: auto;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.65));
}

.back-link {
  display: block;
  width: fit-content;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--text); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
}
.game-hero-info h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.game-hero-tagline {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 1.15rem;
  color: var(--text-soft);
}
.game-meta { margin: 0 0 28px; font-size: 0.9rem; color: var(--text-muted); }
.meta-free { font-weight: 800; color: #3ddc84; }
.game-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
}

.game-body-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.game-body-grid.single { grid-template-columns: 1fr; max-width: 820px; }
.game-story p {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--text-soft);
}
.game-story h2 + p:not(.muted)::first-letter {
  float: left;
  margin: 8px 12px 0 0;
  font-family: var(--font-display);
  font-size: 3.4em;
  font-weight: 800;
  line-height: 0.85;
  color: var(--accent);
}
.game-features {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 61, 127, 0.12), rgba(155, 92, 255, 0.07) 60%, rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
}
.game-features h3 { margin-bottom: 20px; font-size: 1.1rem; }
.feature-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  rotate: 45deg;
  background: var(--gradient);
  box-shadow: 0 0 12px rgba(255, 61, 127, 0.5);
}

.story-loop {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.characters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.character-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.character-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.character-body { padding: 22px 24px 24px; }
.character-body h3 { margin: 0 0 8px; font-size: 1.3rem; }
.character-body p { margin: 0; color: var(--text-soft); }

.cast-art {
  padding: 40px 24px 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 61, 127, 0.25), transparent 65%),
    var(--surface);
}
.cast-art img { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto; }

/* ---------- Clickable cast lineup ---------- */
.cast-adult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}
.cast-adult b {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
}
.cast-stage {
  position: relative;
  overflow: hidden;
  padding: 40px 24px 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 61, 127, 0.22), transparent 65%),
    var(--surface);
}
.cast-lineup {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.4%;
  max-width: 1100px;
  margin: 0 auto;
}
.cast-figure {
  position: relative;
  isolation: isolate;
  display: flex;
  flex: var(--w) 1 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
/* spotlight behind the picked figure */
.cast-figure::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -35%;
  right: -35%;
  bottom: 22px;
  height: 75%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 61, 127, 0.5), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.cast-figure img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 50% 100%;
  transition: transform 0.45s var(--ease), filter 0.45s;
}
.cast-figure-name {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.cast-figure:hover img,
.cast-figure:focus-visible img {
  transform: translateY(-6px);
  filter: drop-shadow(0 0 14px rgba(255, 61, 127, 0.45));
}
.cast-figure:hover .cast-figure-name { color: var(--text); }
.cast-figure:focus-visible { outline: none; }
.cast-figure:focus-visible .cast-figure-name { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.cast-stage.has-pick .cast-figure:not(.is-active) img { filter: brightness(0.38) saturate(0.5); }
.cast-stage.has-pick .cast-figure:not(.is-active):hover img { filter: brightness(0.7) saturate(0.8); }
.cast-figure.is-active img {
  transform: translateY(-8px) scale(1.04);
  filter: drop-shadow(0 0 20px rgba(255, 61, 127, 0.6));
}
.cast-figure.is-active::before { opacity: 1; }
.cast-figure.is-active .cast-figure-name { color: var(--accent); }
.cast-card {
  --arrow: 50%;
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 22px;
  padding: 30px 30px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 61, 127, 0.35);
  background:
    radial-gradient(ellipse at 0% 100%, rgba(255, 61, 127, 0.14), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(155, 92, 255, 0.1), transparent 55%),
    #170d1a;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  animation: cast-card-in 0.4s var(--ease);
}
.cast-card[hidden] { display: none; }
/* little pointer up to the picked figure */
.cast-card::before {
  content: '';
  position: absolute;
  top: -9px;
  left: var(--arrow);
  width: 16px;
  height: 16px;
  translate: -50% 0;
  rotate: 45deg;
  border-left: 1px solid rgba(255, 61, 127, 0.35);
  border-top: 1px solid rgba(255, 61, 127, 0.35);
  background: #170d1a;
}
@keyframes cast-card-in {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.cast-card-face {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 3px solid rgba(255, 61, 127, 0.6);
  background: #1a1020;
  box-shadow: 0 0 30px rgba(255, 61, 127, 0.3);
  object-fit: cover;
}
.cast-card-group {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.cast-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 6px 0 4px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
}
.cast-card-age {
  padding: 3px 11px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}
.cast-card-role { margin: 0; font-weight: 600; color: var(--text-muted); }
.cast-card-quote {
  margin: 16px 0 12px;
  font-family: var(--font-hand);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ff7aa8;
}
.cast-card-text { max-width: 70ch; margin: 0; line-height: 1.65; color: var(--text-soft); }
.cast-card-story {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 61, 127, 0.3);
  background: rgba(255, 61, 127, 0.1);
  font-size: 0.85rem;
  color: var(--text-soft);
}
.cast-card-story b { color: var(--text); }
.cast-card-nav { position: absolute; top: 18px; right: 18px; display: flex; gap: 8px; }
.cast-card-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cast-card-btn:hover { border-color: rgba(255, 61, 127, 0.5); background: rgba(255, 61, 127, 0.18); }
@media (max-width: 760px) {
  .cast-stage { padding: 28px 0 20px; }
  .cast-lineup-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  }
  .cast-lineup-scroll::-webkit-scrollbar { display: none; }
  .cast-lineup { width: max-content; max-width: none; gap: 14px; padding: 12px 24px 0; }
  .cast-figure { flex: none; }
  .cast-figure img { width: auto; height: 280px; }
  .cast-card { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 22px 18px; }
  .cast-card-face { width: 64px; height: 64px; border-width: 2px; }
  .cast-card-quote { font-size: 1.5rem; }
  .cast-card-nav { position: static; grid-column: 1 / -1; justify-content: flex-end; }
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.highlight {
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.highlight:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 127, 0.4);
  background: var(--surface-hover);
}
.highlight-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.highlight h3 { margin: 0 0 8px; font-size: 1rem; }
.highlight p { margin: 0; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); }

.trailer-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #000;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgba(255, 61, 127, 0.12);
}
.trailer-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.shots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.shot:first-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.6s var(--ease);
}
.shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 6, 16, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}
.shot:hover img { transform: scale(1.05); }
.shot:hover::after { opacity: 1; }

/* ---------- Roadmap teaser (game page) ---------- */
.rm-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 34px 36px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse at 30% 0%, rgba(255, 220, 190, 0.06), transparent 60%),
    #241a1d;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.rm-teaser:hover { border-color: rgba(255, 61, 127, 0.45); box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 61, 127, 0.15); }
.rm-teaser-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding-top: 10px;
}
.rm-teaser-strip::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 9px;
  height: 2px;
  background: #c8102e;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}
.rm-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 5px 5px 0;
  background: #f2ece0;
  color: #2a2027;
  rotate: var(--rot, 0deg);
  transform-origin: 50% 0;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.45);
  transition: rotate 0.35s var(--ease);
}
.rm-teaser:hover .rm-mini { rotate: 0deg; }
.rm-mini::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  z-index: 1;
  width: 10px;
  height: 10px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff9a9a, #c8102e 55%, #6e0515);
}
.rm-mini-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 40%, #2b2030, #0c0910);
}
.rm-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
.rm-mini.st-wip img { filter: grayscale(1) brightness(0.55) contrast(0.95) blur(1px); }
.rm-mini-photo i {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
}
.rm-mini-cap {
  padding: 3px 0 5px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}
.rm-teaser-info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.rm-teaser-stat {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-muted);
}
.rm-teaser-stat b { color: var(--text); }
.rm-teaser-stat span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; }

.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 44px 48px;
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(255, 61, 127, 0.22), rgba(155, 92, 255, 0.16));
  border: 1px solid rgba(255, 61, 127, 0.3);
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 127, 0.35), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.cta-band p { max-width: 560px; margin: 0; color: var(--text-soft); }

/* ---------- Link cards / FAQ ---------- */
.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.link-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.link-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.link-card p { flex: 1; margin: 0 0 18px; font-size: 0.92rem; color: var(--text-muted); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, background 0.25s;
}
.faq-item.open { border-color: var(--border-strong); background: var(--surface-hover); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient);
  border-color: transparent;
}
.faq-answer {
  display: none;
  margin: 0;
  padding: 0 22px 20px;
  color: var(--text-muted);
}
.faq-item.open .faq-answer { display: block; }

.not-found { padding-top: 120px; padding-bottom: 120px; text-align: center; }
.not-found-code {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.not-found p { margin-bottom: 28px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-brand p {
  max-width: 300px;
  margin: 16px 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}
/* the studio name in every language */
.footer-brand .footer-aka {
  max-width: 340px;
  margin: -6px 0 16px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(167, 149, 159, 0.75);
}
.footer-aka [lang="zh-CN"] { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
.footer-aka [lang="zh-TW"] { font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif; }
.footer-aka [lang="ja"] { font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif; }
.footer-aka [lang="ko"] { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col h4 {
  margin: 0 0 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-col a {
  width: fit-content;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.age-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--gradient);
}

/* ---------- Age gate ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 61, 127, 0.2), transparent 60%),
    rgba(6, 3, 8, 0.93);
  backdrop-filter: blur(12px);
}
.age-ok .age-gate { display: none; }
.age-gate-box {
  max-width: 480px;
  padding: 40px 36px;
  border-radius: 24px;
  text-align: center;
  background: rgba(20, 11, 25, 0.88);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 61, 127, 0.15);
}
.age-gate-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(255, 61, 127, 0.45);
}
.age-gate-box h2 { margin-bottom: 12px; font-size: 1.4rem; }
.age-gate-box p { color: var(--text-muted); }
.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px 80px;
  background: rgba(6, 3, 8, 0.94);
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}
.lightbox.single .lightbox-prev,
.lightbox.single .lightbox-next,
.lightbox.single .lightbox-counter { display: none; }

/* ---------- Video modal ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(6, 3, 8, 0.94);
  backdrop-filter: blur(8px);
}
.video-modal.open { display: flex; }
.video-modal-frame {
  width: min(1200px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 61, 127, 0.18);
}
.video-modal-frame video { display: block; width: 100%; height: 100%; }
.video-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.video-modal-close:hover { background: rgba(255, 255, 255, 0.14); }

/* ---------- Scroll reveal ---------- */
/* uses opacity + translate (not transform) so hover transforms keep working */
.js .reveal { opacity: 0; }
.js .reveal.is-visible {
  animation: reveal-up 0.8s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 70ms);
}
@keyframes reveal-up {
  from { opacity: 0; translate: 0 28px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .game-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .game-hero-cover { max-width: 260px; }
  .game-body-grid { grid-template-columns: 1fr; }
  .game-features { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-media { min-height: 260px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; margin-left: 8px; }
  .header-inner { flex-wrap: wrap; }
  .site-header .logo { gap: 10px; }
  .site-header .logo-text { font-size: 0.9rem; }
  .lang-menu { margin-left: auto; }
  .lang-menu summary { padding: 7px 10px; }
  .main-nav {
    display: none;
    order: 10;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-left: 0;
    padding: 8px 0 16px;
  }
  .main-nav.open { display: flex; }
  .flagship-hero,
  .game-hero.is-flagship { min-height: 0; padding: 72px 0 56px; }
  .flagship-hero::before,
  .game-hero.is-flagship::after {
    background: linear-gradient(to bottom, rgba(11, 6, 16, 0.55), rgba(11, 6, 16, 0.85) 60%, var(--bg));
  }
  .hero-cover { height: 140px; }
  .featured-body { padding: 24px; }
  .rm-teaser { grid-template-columns: 1fr; gap: 24px; padding: 26px 18px; }
  .rm-teaser-strip { gap: 7px; }
  .rm-mini-cap { font-size: 0.8rem; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .page-head { padding-top: 64px; }
  .games-grid,
  .games-grid.compact { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .game-card-body { padding: 14px; }
  .game-card-tagline { display: none; }
  .shots-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 30px 24px; }
  .lightbox { padding: 72px 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; translate: none; }
  .lightbox-counter { bottom: 26px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .shots-grid { grid-template-columns: 1fr; }
  .shot:first-child { aspect-ratio: 16 / 9; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; animation: none !important; }
}

/* very narrow phones: keep only the HA mark so the header stays on one line */
@media (max-width: 360px) {
  .site-header .logo-text { display: none; }
}
