:root {
  --bg: #070911;
  --bg-2: #0d1220;
  --panel: rgba(17, 23, 39, 0.82);
  --panel-soft: rgba(255,255,255,0.03);
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(227, 185, 95, 0.25);
  --text: #f5f7fb;
  --muted: #adb6c8;
  --gold: #e3b95f;
  --violet: #7f67ff;
  --cyan: #68d6ed;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-lg: 34px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(127, 103, 255, 0.08), transparent 28rem),
    radial-gradient(circle at 88% 14%, rgba(104, 214, 237, 0.07), transparent 24rem),
    linear-gradient(180deg, #060810, #0a1020 50%, #080b13);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.shell { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.scrolled { background: rgba(5, 7, 13, 0.92); border-color: var(--line); }
.nav-wrap {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; }
.brand-text {
  font-family: "Cinzel", serif; font-size: 1rem; font-weight: 700; letter-spacing: 0.16em;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: #d6dbe8; font-size: 0.92rem; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta {
  color: var(--gold); padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
}
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent;
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: #fff; }

.hero {
  position: relative; min-height: calc(100vh - 74px); overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-map {
  position: absolute; inset: 0; background: url("assets/map-world.png") center/cover no-repeat; opacity: 0.22;
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7,9,17,0.88) 0%, rgba(7,9,17,0.78) 44%, rgba(7,9,17,0.62) 100%),
    linear-gradient(180deg, rgba(7,9,17,0.16), rgba(7,9,17,0.75));
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center; gap: clamp(30px, 5vw, 70px);
  padding: 80px 0 90px;
}
.eyebrow {
  margin: 0 0 16px; color: var(--gold); letter-spacing: 0.18em; font-weight: 800; font-size: 0.75rem;
}
.eyebrow.small { font-size: 0.68rem; margin-bottom: 8px; }
.hero-logo { width: min(560px, 100%); filter: drop-shadow(0 15px 40px rgba(0,0,0,0.36)); }
.hero-lead { max-width: 700px; margin: 24px 0 0; color: #d0d8e7; font-size: 1.06rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.social-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}
.social-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.12);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.social-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-icon.facebook svg {
  fill: currentColor;
  stroke: none;
}

.social-icon.instagram {
  color: #e8a4e8;
}

.social-icon.facebook {
  color: #79aaff;
}

.social-icon.email {
  color: #e3b95f;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: rgba(227,185,95,0.5);

  box-shadow:
    0 8px 25px rgba(0,0,0,0.35),
    0 0 22px rgba(127,103,255,0.22);

  background: rgba(255,255,255,0.07);
}
.btn {
  min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 800; font-size: 0.92rem; border-radius: 12px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #181209; border: 1px solid var(--gold); }
.btn-secondary { background: rgba(255,255,255,0.04); color: #fff; border: 1px solid var(--line); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-badges span {
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: #b9c3d6; font-size: 0.8rem;
  background: rgba(255,255,255,0.025);
}
.showcase-card {
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02)); box-shadow: var(--shadow);
}
.frame-head { padding: 22px 24px 0; }
.frame-head h2 {
  margin: 0 0 16px; font-family: "Cinzel", serif; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em;
}
.hound-preview img { width: 100%; max-height: 620px; object-fit: cover; object-position: top center; }

.section { padding: 100px 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section h2 {
  margin: 0; font-family: "Cinzel", serif; line-height: 1.1; letter-spacing: -0.035em;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}
.section p:not(.eyebrow), .section-copy p { color: var(--muted); }
.two-col { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 36px; align-items: center; }
.map-card, .frame-card {
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); box-shadow: var(--shadow);
}
.map-card { overflow: hidden; }
.map-card img { width: 100%; }
.stat-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stat-card {
  min-width: 130px; padding: 18px 18px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}
.stat-card strong { display: block; font-family: "Cinzel", serif; font-size: 2rem; color: var(--gold); }
.stat-card span { color: #ccd4e3; font-size: 0.88rem; }

.origins-section { background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0)); }
.origin-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.origin-card {
  display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(255,255,255,0.042), rgba(255,255,255,0.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.origin-icon-wrap {
  width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.origin-icon { width: 56px; height: 56px; object-fit: contain; }
.origin-label { margin: 0 0 8px; color: var(--gold) !important; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.16em; }
.origin-heading h3, .symbol-card h3, .audio-card h3, .note-card h3, .mini-card h4 {
  margin: 0; font-family: "Cinzel", serif;
}
.origin-characters {
  min-height: 340px; display: flex; align-items: end; justify-content: center; gap: 8px;
  padding: 10px 10px 0; border-radius: 22px; background:
    radial-gradient(circle at 50% 18%, rgba(127,103,255,0.08), transparent 16rem),
    rgba(6,8,14,0.6); overflow: hidden;
}
.origin-characters img { height: 320px; width: auto; object-fit: contain; }
.pair-tight img:last-child { transform: translateX(-8px); }
.pair-wide img:first-child { transform: translateX(10px); }
.pair-wide img:last-child { transform: translateX(-10px); }

.companion-layout {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 24px; align-items: start;
}
.companion-chart { overflow: hidden; }
.companion-chart img { width: 100%; }
.companion-notes { display: grid; gap: 18px; }
.note-card, .mini-card, .audio-card, .follow-card { padding: 24px; }
.note-card { text-align: left; }
.note-card p, .mini-card p, .audio-card p { color: var(--muted); }
.large-icon { width: 130px; margin-bottom: 16px; }
.note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-icon { width: 84px; margin-bottom: 14px; }

.symbol-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
}
.symbol-card {
  padding: 20px 12px 18px; text-align: center; border-radius: 22px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.028);
}
.symbol-card img { width: 100px; margin: 0 auto 12px; }
.symbol-card h3 { font-size: 1rem; }

.audio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.audio-card audio { width: 100%; margin-top: 14px; }

.follow-card {
  text-align: center; border-radius: 34px; border: 1px solid rgba(227,185,95,0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(127,103,255,0.15), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}
.follow-logo { width: min(320px, 76%); margin: 0 auto 10px; }
.follow-card p:not(.eyebrow):not(.contact-note) { color: var(--muted); max-width: 760px; margin: 16px auto 0; }
.contact-note { color: #7d8698; font-size: 0.84rem; margin-top: 16px; }

.site-footer { padding: 26px 0; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Cinzel", serif; letter-spacing: 0.12em; }
.footer-seal { width: 28px; height: 28px; }
.footer-wrap p { margin: 0; color: #81889a; font-size: 0.84rem; }

.reveal, .reveal-on-load {
  opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible, .reveal-on-load.visible { opacity: 1; transform: translateY(0); }
.reveal-on-load.delay-1 { transition-delay: 120ms; }



/* Version 2.1 — current development build gallery */
.build-preview { overflow: hidden; }
.build-preview .frame-head { padding-bottom: 16px; }
.hero-screen { border-top: 1px solid var(--line); }
.build-note {
  margin: 0; padding: 13px 18px 16px; color: #8f99ad !important; font-size: 0.78rem;
  border-top: 1px solid var(--line); background: rgba(0,0,0,0.16);
}
.gallery-image-button {
  display: block; width: 100%; margin: 0; padding: 0; border: 0; background: #060912;
  cursor: zoom-in; overflow: hidden;
}
.gallery-image-button img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 280ms ease, filter 280ms ease;
}
.gallery-image-button:hover img { transform: scale(1.018); filter: brightness(1.04); }
.build-preview .gallery-image-button { aspect-ratio: 16 / 10; }

.gameplay-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(227,185,95,0.06), transparent 24rem),
    radial-gradient(circle at 92% 80%, rgba(104,214,237,0.05), transparent 26rem);
}
.gameplay-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px;
}
.game-shot {
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  box-shadow: 0 20px 55px rgba(0,0,0,0.20);
}
.game-shot.wide { grid-column: span 2; }
.game-shot .gallery-image-button { aspect-ratio: 16 / 9; }
.game-shot.wide .gallery-image-button { aspect-ratio: 16 / 8.2; }
.shot-copy { padding: 18px 20px 20px; }
.shot-copy span {
  color: var(--gold); font-family: "Cinzel", serif; font-weight: 700; font-size: 1.05rem;
}
.shot-copy p { margin: 8px 0 0; color: var(--muted); font-size: 0.92rem; }
.development-disclaimer {
  margin: 20px 0 0; color: #7f899d !important; text-align: center; font-size: 0.82rem;
}

.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(2,4,9,0.92); backdrop-filter: blur(12px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1500px, 94vw); max-height: 88vh; width: auto; height: auto; border-radius: 16px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.12);
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.08); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer;
}

@media (max-width: 1100px) {
  .origin-grid { grid-template-columns: 1fr; }
  .symbol-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
    background: rgba(5, 7, 13, 0.97); padding: 28px 20px; flex-direction: column; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-links .nav-cta { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; }
  .hero-grid, .two-col, .companion-layout, .audio-grid { grid-template-columns: 1fr; }
  .gameplay-gallery { grid-template-columns: 1fr; }
  .game-shot.wide { grid-column: span 1; }
  .hero { min-height: auto; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 26px, var(--max)); }
  .hero-grid { padding: 58px 0 68px; }
  .section { padding: 78px 0; }
  .symbol-grid, .note-grid { grid-template-columns: 1fr 1fr; }
  .origin-characters { min-height: 300px; }
  .origin-characters img { height: 280px; }
}

@media (max-width: 560px) {
  .brand-text { font-size: 0.92rem; letter-spacing: 0.12em; }
  .hero-logo { width: 100%; }
  .frame-head { padding: 18px 18px 0; }
  .symbol-grid, .note-grid, .stat-row { grid-template-columns: 1fr; }
  .symbol-grid { grid-template-columns: 1fr 1fr; }
  .origin-card, .note-card, .mini-card, .audio-card, .follow-card { padding: 18px; }
  .origin-characters { min-height: 250px; }
  .origin-characters img { height: 235px; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
