:root{
  --bg:#07070a;
  --ink:#f3f0e8;
  --muted:rgba(243,240,232,.72);
  --glass:rgba(15,15,20,.52);
  --stroke:rgba(243,240,232,.14);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --r:22px;
  --r2:28px;
  --pad:18px;
  --max:1120px;
  --t: 520ms;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font-fa: ui-sans-serif, system-ui, -apple-system, "Vazirmatn", "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-en: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  overflow-x:hidden;
}

/* Better focus for keyboard */
:focus-visible{ outline:2px solid rgba(210,170,90,.9); outline-offset:3px; border-radius:12px; }

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

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(1200px 600px at 70% 10%, rgba(210,170,90,.22), transparent 55%),
    radial-gradient(900px 400px at 20% 80%, rgba(80,170,190,.18), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.70));
  pointer-events:none;
  z-index:0;
}

.shell{ position:relative; z-index:1; padding-top:86px; padding-bottom:88px; }

/* Topbar (Desktop) */
.topbar{
  position:fixed; top:0; left:0; right:0;
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px;
  background:rgba(10,10,14,.62);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--stroke);
  z-index:10;
}
.brand{display:flex; gap:12px; align-items:center}
.brand__logo{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow);
  object-fit:cover;
}
.brand__name{font-weight:800; letter-spacing:.3px}
.brand__tagline{font-size:12px; color:var(--muted); margin-top:2px}
.topbar__right{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.ghost{
  border:1px solid var(--stroke);
  background:transparent;
  color:var(--ink);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
}
.ghost:hover{background:rgba(255,255,255,.06)}

.ghost.modelsLink{display:inline-flex; align-items:center; gap:8px; text-decoration:none}
.ghost.modelsLink .ico{font-size:14px; line-height:1}

/* Navigation */
.nav--desktop{display:flex; gap:8px; align-items:center; overflow-x:auto; scrollbar-width:none; max-width:min(760px, 55vw); padding:4px 2px}
.nav--desktop::-webkit-scrollbar{display:none}
.nav__btn{
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border var(--t) var(--ease);
}
.nav__btn:hover{background:rgba(255,255,255,.06); color:var(--ink)}
.nav__btn.is-active{
  background:rgba(255,255,255,.10);
  border-color:var(--stroke);
  color:var(--ink);
}

/* Mobile bottom nav */
.nav--mobile{
  position:fixed; bottom:14px; left:50%;
  transform:translateX(-50%);
  display:none;
  gap:8px;
  padding:10px;
  background:rgba(10,10,14,.72);
  border:1px solid var(--stroke);
  border-radius:999px;
  backdrop-filter: blur(12px);
  z-index:12;
  max-width: calc(100% - 18px);
  overflow-x:auto;
  scrollbar-width:none;
}
.nav--mobile::-webkit-scrollbar{ display:none; }
.nav__pill{
  border:1px solid transparent;
  background:transparent;
  color:var(--muted);
  padding:10px 12px;
  border-radius:999px;
  cursor:pointer;
}
.nav__pill.is-active{
  background:rgba(255,255,255,.10);
  border-color:var(--stroke);
  color:var(--ink);
}

/* Panels */
.panel{
  width:min(var(--max), calc(100% - 28px));
  margin: 18px auto;
  border-radius: var(--r2);
  border:1px solid var(--stroke);
  background: var(--glass);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
  min-height: calc(100vh - 86px - 120px);
  display:none;
}
.panel.is-active{display:block}

.panel::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.65));
  z-index:0;
  pointer-events:none;
}

/* Reveal-on-scroll */
.reveal{ opacity:0; transform: translateY(10px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.reveal.is-visible{ opacity:1; transform: translateY(0); }

/* Quote */
.quote{
  margin:14px 0 12px;
  padding:14px 16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  line-height:1.9;
  color:rgba(243,240,232,.82);
}

/* Gameplay pillars */
.pillars{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  padding:0 22px 22px;
}
.pillar{
  border:1px solid var(--stroke);
  background:rgba(8,8,12,.46);
  border-radius:22px;
  padding:16px;
}
.pillar__k{ color:rgba(243,240,232,.62); font-size:12px; }
.pillar__t{ margin-top:8px; font-size:16px; font-weight:900; }
.pillar__d{ margin-top:10px; color:var(--muted); line-height:1.9; font-size:13.5px; }

/* Roadmap */
.roadmap{ display:flex; flex-direction:column; gap:10px; }
.mile{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:14px;
}
.mile__top{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.mile__t{ font-weight:900; }
.mile__s{ font-size:12px; color:rgba(243,240,232,.78); border:1px solid var(--stroke); padding:6px 10px; border-radius:999px; }
.mile__d{ margin-top:8px; color:var(--muted); line-height:1.9; }

/* Form */
.form{ margin-top:12px; display:grid; gap:10px; }
.form__label{ font-size:12px; color:rgba(243,240,232,.70); }
.form__input{
  width:100%;
  padding:12px 14px;
  border-radius:18px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:var(--ink);
}
.form__input::placeholder{ color:rgba(243,240,232,.45); }
.panel > * { position:relative; z-index:1 }

/* Layout grids */
.grid{
  display:grid;
  gap:16px;
  padding:22px;
}
.grid--two{ grid-template-columns: 1.1fr .9fr; }
.grid--home{ grid-template-columns: 1.2fr .8fr; align-items:stretch; }

/* Cards */
.card{
  background:rgba(8,8,12,.58);
  border:1px solid var(--stroke);
  border-radius: var(--r);
  padding:20px;
}
.card--soft{ background:rgba(8,8,12,.40) }
.card--wide{
  width:min(var(--max), calc(100% - 28px));
  margin: 0 auto 18px;
}

.card__title{ margin:0 0 10px; font-size:28px; letter-spacing:.2px; }
.card__subtitle{ margin:0 0 10px; font-size:18px; color:var(--ink); }
.card__text{ margin:0; color:var(--muted); line-height:1.9; }
.card__hint{ margin:12px 0 0; color:rgba(243,240,232,.62); font-size:13px; line-height:1.8; }

.divider{
  height:1px; background:var(--stroke);
  margin:16px 0;
}
.list{ margin:0; padding:0 18px; color:var(--muted); line-height:1.9; }
.list li{ margin:6px 0; }

/* Hero */
.heroCard{
  background:rgba(18,18,24,.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border:1px solid var(--stroke);
  border-radius: var(--r2);
  padding:24px;
}
.heroCard__kicker{ color:rgba(243,240,232,.6); font-size:13px; }
.heroCard__title{ margin:6px 0 8px; font-size:44px; letter-spacing:.4px; }
.heroCard__subtitle{ margin:0; color:var(--muted); line-height:1.9; font-size:15.5px; }
.heroCard__list{ margin:14px 0 0; padding:0 18px; color:var(--muted); line-height:1.9; }
.heroCard__cta{ display:flex; gap:10px; margin-top:18px; flex-wrap:wrap; }
.heroCard__note{ display:flex; gap:10px; align-items:center; margin-top:14px; color:rgba(243,240,232,.62); font-size:13px; }
.dot{ width:8px; height:8px; border-radius:999px; background:rgba(210,170,90,.95); box-shadow:0 0 18px rgba(210,170,90,.55); }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  gap:10px;
  cursor:pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.btn:hover{ transform: translateY(-1px) }
.btn--primary{ background:rgba(210,170,90,.18) }
.btn--primary:hover{ background:rgba(210,170,90,.26) }
.btn--secondary{ background:rgba(255,255,255,.06) }
.btn--secondary:hover{ background:rgba(255,255,255,.10) }

/* Showcase */
.showcase{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.showcase__frame{
  border:1px solid var(--stroke);
  border-radius: var(--r2);
  overflow:hidden;
  background:rgba(255,255,255,.04);
}
.showcase__img{ width:100%; height: 280px; object-fit:cover; }

.miniCards{ display:grid; grid-template-columns: 1fr; gap:10px; }
.miniCard{
  border:1px solid var(--stroke);
  background:rgba(8,8,12,.45);
  border-radius:18px;
  padding:14px;
}
.miniCard__title{ color:rgba(243,240,232,.62); font-size:12px; }
.miniCard__value{ margin-top:6px; font-weight:700; letter-spacing:.2px; }

/* Buy */
.priceBox{
  margin:16px 0;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:14px;
  display:flex; align-items:baseline; justify-content:space-between;
  gap:10px;
}
.priceBox__label{ color:rgba(243,240,232,.62); font-size:12px; }
.priceBox__value{ font-size:22px; font-weight:800; }

/* Downloads */
.downloads{ display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.dl{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  border-radius:18px;
  padding:14px;
  display:flex; justify-content:space-between; align-items:center;
}
.dl:hover{ background:rgba(255,255,255,.10) }
.badge{
  font-size:12px; color:rgba(243,240,232,.70);
  border:1px solid var(--stroke);
  padding:6px 10px;
  border-radius:999px;
}

/* Team */
.team{ display:flex; flex-direction:column; gap:10px; }
.member{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:14px;
}
.member__name{ font-weight:800; }
.member__role{ margin-top:6px; color:var(--muted); font-size:13px; }

/* FAQ */
.faq{ display:grid; gap:10px; }
.qa{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  padding:14px;
}
.qa__q{ font-weight:800; }
.qa__a{ margin-top:8px; color:var(--muted); line-height:1.9; }

/* Quote */
.quote{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid var(--stroke);
  border-radius:18px;
  background:rgba(210,170,90,.10);
  line-height:1.9;
  color:rgba(243,240,232,.86);
}

/* Pillars */
.pillars{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  padding:0 22px 22px;
}
.pillar{
  border:1px solid var(--stroke);
  background:rgba(8,8,12,.48);
  border-radius: var(--r);
  padding:16px;
}
.pillar__title{ font-weight:900; letter-spacing:.2px; }
.pillar__desc{ margin-top:8px; color:var(--muted); line-height:1.9; font-size:13.5px; }
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  color:rgba(243,240,232,.82);
  font-size:12px;
  margin-top:10px;
}

/* Roadmap */
.roadmap{ display:flex; flex-direction:column; gap:10px; }
.rm{
  border:1px solid var(--stroke);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,.05);
}
.rm__top{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.rm__title{ font-weight:900; }
.rm__meta{ color:rgba(243,240,232,.62); font-size:12px; }
.rm__desc{ margin-top:8px; color:var(--muted); line-height:1.9; }
.status{ border:1px solid var(--stroke); padding:6px 10px; border-radius:999px; font-size:12px; }
.status--now{ background:rgba(80,170,190,.14); }
.status--next{ background:rgba(210,170,90,.14); }
.status--later{ background:rgba(255,255,255,.06); }

/* Forms */
.form{ margin-top:14px; display:grid; gap:10px; }
.form__label{ color:rgba(243,240,232,.72); font-size:12px; }
.form__input{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(0,0,0,.25);
  color:var(--ink);
}
.form__input::placeholder{ color:rgba(243,240,232,.45); }

/* Reveal on scroll */
.reveal{ opacity:0; transform: translateY(10px); }
.reveal.is-visible{ opacity:1; transform: translateY(0); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }

/* Social strip */
.strip{
  border-top:1px solid var(--stroke);
  background:rgba(0,0,0,.14);
  padding:14px 18px;
}
.strip__inner{ display:flex; flex-wrap:wrap; gap:10px; }
.chip{
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.06);
  border-radius:999px;
  padding:10px 12px;
  color:rgba(243,240,232,.82);
}
.chip:hover{ background:rgba(255,255,255,.10) }

/* Footer */
.footer{
  width:min(var(--max), calc(100% - 28px));
  margin: 10px auto 18px;
  border:1px solid var(--stroke);
  border-radius: var(--r2);
  background:rgba(10,10,14,.52);
}
.footer__inner{
  padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__brand{ font-weight:900; }
.footer__sub{ color:rgba(243,240,232,.62); font-size:12px; margin-top:6px; }
.footer__right{ display:flex; gap:10px; flex-wrap:wrap; }

/* Toast */
.toast{
  position:fixed;
  bottom:92px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(10,10,14,.82);
  border:1px solid var(--stroke);
  border-radius: 16px;
  padding:10px 12px;
  color:rgba(243,240,232,.86);
  backdrop-filter: blur(12px);
  z-index:30;
  opacity:0;
  pointer-events:none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.toast.is-show{
  opacity:1;
  transform:translateX(-50%) translateY(-4px);
}

/* Transitions */
.panel.is-leaving{ animation: leave var(--t) var(--ease) both; }
.panel.is-entering{ animation: enter var(--t) var(--ease) both; }
@keyframes leave{
  from{ opacity:1; transform:translateY(0); }
  to{ opacity:0; transform:translateY(10px); }
}
@keyframes enter{
  from{ opacity:0; transform:translateY(-10px); }
  to{ opacity:1; transform:translateY(0); }
}

/* RESPONSIVE: Mobile = layout کاملاً متفاوت */
@media (max-width: 860px){
  .shell{ padding-top:70px; }
  .nav--desktop{ display:none; }
  .nav--mobile{ display:flex; }
  .topbar{ padding:10px 12px; }
  .brand__logo{ width:40px; height:40px; }
  .brand__tagline{ display:none; }

  .panel{ min-height: calc(100vh - 70px - 120px); }
  .grid{ padding:14px; }
  .grid--two, .grid--home{ grid-template-columns: 1fr; }

  .pillars{ grid-template-columns: 1fr; padding:0 14px 14px; }

  .heroCard__title{ font-size:36px; }
  .showcase__img{ height:220px; }

  /* Mobile style: کارت‌ها نزدیک‌تر و CTA تمام‌عرض */
  .heroCard__cta .btn{ flex:1 1 auto; width:100%; }
  .btn{ width:100%; }

  .footer__inner{ flex-direction:column; align-items:flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  :root{ --t: 1ms; }
  .btn, .nav__btn { transition:none; }
}


/* a11y */
.skipLink{
  position:absolute;
  top:8px;
  right:8px;
  transform:translateY(-200%);
  background:rgba(10,10,14,.92);
  border:1px solid rgba(255,255,255,.18);
  color:inherit;
  padding:10px 12px;
  border-radius:12px;
  z-index:9999;
}
.skipLink:focus{ transform:translateY(0); outline:none; box-shadow:0 0 0 3px rgba(255,255,255,.22); }
:focus-visible{ outline:2px solid rgba(255,255,255,.35); outline-offset:3px; }

.noScroll{ overflow:hidden; }

/* gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
@media (min-width: 900px){
  .gallery{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.gItem{
  all:unset;
  display:block;
  cursor:pointer;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.gItem img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform .25s ease;
}
.gItem:hover img{ transform:scale(1.06); }

/* modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:10000;
}
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.66);
  backdrop-filter: blur(6px);
}
.modal__dialog{
  position:relative;
  max-width: 980px;
  margin: 6vh auto;
  padding: 14px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(14,14,18,.92);
  box-shadow:0 22px 60px rgba(0,0,0,.6);
}
.modal__close{
  position:absolute;
  top:10px;
  left:10px;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:inherit;
  font-size:24px;
  cursor:pointer;
}
.modal__img{
  width:100%;
  max-height: 70vh;
  object-fit:contain;
  display:block;
  border-radius:16px;
}
.modal__cap{
  margin-top:10px;
  opacity:.86;
  font-size:.95rem;
  line-height:1.8;
}


/* System requirements */
.req{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.req__row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  border-radius:14px;
}
.req__k{
  min-width:88px;
  font-weight:700;
  opacity:.9;
}
.req__v{
  flex:1;
  opacity:.92;
  line-height:1.7;
}


/* --- Professional polish --- */
:focus-visible{
  outline:2px solid rgba(243,240,232,.85);
  outline-offset:3px;
}
.ghost.lang{margin-inline-start:10px}

html[dir="ltr"] body{letter-spacing:.1px}
html[dir="ltr"] .brand__text{align-items:flex-start}
html[dir="ltr"] .nav__btn{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial}

body{ font-family:var(--font-fa); }
html[lang="en"] body{ font-family:var(--font-en); }

/* ==============================
   v3 refresh (scroll sections)
   ============================== */

/* Make all panels visible (scroll-based site) */
.panel{
  display:block;
  min-height:auto;
  scroll-margin-top: 92px;
}

/* Background image layer injected by app.js */
.bgLayer{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.22;
  filter:saturate(1.05) contrast(1.06);
  z-index:0;
  pointer-events:none;
  transform:translateY(0);
}
.panel > :not(.bgLayer){
  position:relative;
  z-index:1;
}

/* Features */
.fGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
@media (max-width: 860px){
  .fGrid{ grid-template-columns: 1fr; }
}
.fCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:16px;
}
.fCard__icon{
  font-size:26px;
  line-height:1;
}
.fCard__title{
  margin:10px 0 0;
  font-weight:900;
  letter-spacing:.2px;
}
.fCard__desc{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.9;
  font-size:13.5px;
}

/* Roadmap meta wrap */
.rm__metaWrap{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; }

/* Footer separator */
.sep{
  width:1px;
  height:24px;
  background:var(--stroke);
  align-self:center;
  margin-inline:4px;
  opacity:.8;
}

/* Details-based FAQ */
details.qa{ padding:0; overflow:hidden; }
details.qa > summary.qa__q{
  list-style:none;
  cursor:pointer;
  padding:14px;
}
details.qa > summary.qa__q::-webkit-details-marker{ display:none; }
details.qa > summary.qa__q::after{
  content:"▾";
  float:left;
  opacity:.65;
}
html[dir="ltr"] details.qa > summary.qa__q::after{ float:right; }
details.qa[open] > summary.qa__q::after{ content:"▴"; }
details.qa .qa__a{ padding: 0 14px 14px; }

/* Better anchors for nav chips */
.nav__btn, .nav__pill{ display:inline-flex; align-items:center; gap:8px; }

/* Skip link position in LTR */
html[dir="ltr"] .skipLink{ left:8px; right:auto; }

.member__desc{ margin-top:10px; opacity:.92; line-height:1.85; font-size:13.5px; color:var(--muted); }



/* ==============================
   v4 enhancements (trailer, creators, contact, timeline, pro gallery)
   ============================== */

/* Make desktop nav resilient with many sections */
.topbar .nav--desktop{ min-width:0; overflow-x:auto; scrollbar-width:none; }
.topbar .nav--desktop::-webkit-scrollbar{ display:none; }

.btnRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.videoFrame{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.35);
}
.videoFrame iframe,
.videoFrame video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.videoPlaceholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px;
  text-align:center;
  color:rgba(255,255,255,.86);
}
.videoPlaceholder__icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  font-size:22px;
}
.videoPlaceholder__text{
  opacity:.9;
  line-height:1.8;
  font-size:13.5px;
}

.galleryHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.galleryTools{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.filterRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.fChip{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  color:inherit;
  padding:8px 12px;
  border-radius:999px;
  font-size:13px;
  cursor:pointer;
  transition:transform .12s ease, background .2s ease;
}
.fChip:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.07);
}
.fChip.is-active{
  background:rgba(243,240,232,.14);
  border-color:rgba(243,240,232,.25);
}

.gallery--pro{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (min-width: 960px){
  .gallery--pro{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
.gItem--pro{ position:relative; }
.gItem--pro img{ height:200px; }
@media (min-width: 960px){
  .gItem--pro img{ height:220px; }
}
.gOverlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
  gap:8px;
  background:linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 62%);
  opacity:0;
  transition:opacity .22s ease;
}
.gItem--pro:hover .gOverlay{ opacity:1; }
.gTag{
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.32);
  font-size:12px;
}
.gCap{
  font-size:12.5px;
  line-height:1.7;
  opacity:.92;
}

.emptyState{
  padding:16px;
  border:1px dashed rgba(255,255,255,.18);
  border-radius:16px;
  color:var(--muted);
  line-height:1.9;
}

/* Modal enhancements */
.modal__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:inherit;
  font-size:26px;
  cursor:pointer;
}
.modal__prev{ left:10px; }
.modal__next{ right:10px; }

.modal__meta{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.modal__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}
.modal__count{
  opacity:.75;
  font-size:13px;
  padding-inline:10px;
}

/* Downloads rich */
.dl--rich{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
.dl--rich .dl__left{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.dl--rich .dl__title{ font-weight:900; }
.dl--rich .dl__sub{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.7;
}

/* Copy box */
.copyBox{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  border-radius:16px;
  padding:12px;
}
.copyBox__top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.copyBox__title{ font-weight:900; }
.copyBox__text{
  margin-top:10px;
  white-space:pre-wrap;
  font-size:13.5px;
  line-height:1.9;
  color:var(--muted);
}

/* Tag row */
.tagRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.chip--tag{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
}

/* Timeline */
.timeline{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.tStep{
  flex:1 1 260px;
  display:flex;
  gap:10px;
  align-items:flex-start;
  text-align:inherit;
  cursor:pointer;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  padding:12px;
}
.tStep:hover{ background:rgba(255,255,255,.06); }
.tStep.is-active{
  background:rgba(243,240,232,.10);
  border-color:rgba(243,240,232,.22);
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.tDot{
  width:12px;
  height:12px;
  margin-top:6px;
  border-radius:999px;
  background:rgba(243,240,232,.85);
  box-shadow:0 0 0 4px rgba(243,240,232,.16);
}
.tMain{
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
}
.tTitle{ font-weight:900; }
.tSub{
  font-size:12.5px;
  color:var(--muted);
  line-height:1.7;
}
.tDetail{
  margin-top:12px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.02);
}
.tDetail__top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:baseline;
  flex-wrap:wrap;
}
.tDetail__title{ font-weight:900; }
.tDetail__meta{ opacity:.8; font-size:13px; }
.tDetail__desc{
  margin-top:10px;
  color:var(--muted);
  line-height:1.9;
  font-size:13.5px;
}
.tDetail__list{ margin-top:10px; }

@media (max-width: 860px){
  .timeline{ flex-direction:column; }
  .tStep{ flex:1 1 auto; }
}

/* Contact cards */
.contactGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .contactGrid{ grid-template-columns:1fr; }
}
.cCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
}
.cCard__k{ font-weight:900; }
.cCard__v{ margin-top:8px; opacity:.92; color:var(--muted); }
.cCard__v a{ color:inherit; text-decoration:none; }
.cCard__a{ margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; }

/* Contact form layout */
.formRow{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .formRow{ grid-template-columns:1fr; }
}
.formField{ display:flex; flex-direction:column; gap:8px; }


/* -------------------------------------------------
   V5 additions: Store / Why / Map / Progress / Devlog / Music / Press / Team
------------------------------------------------- */

/* Accordion (systems) */
.acc{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(8,8,12,.40);
  border-radius:18px;
  padding:10px 12px;
  margin:10px 0;
}
.acc > summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  user-select:none;
}
.acc > summary::-webkit-details-marker{display:none}
.acc__left{display:flex; align-items:center; gap:10px; min-width:0}
.acc__icon{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  flex:0 0 auto;
}
.acc__title{font-weight:800; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.acc__meta{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.acc__chev{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  display:grid; place-items:center;
  color:var(--muted);
  flex:0 0 auto;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.acc[open] .acc__chev{ transform: rotate(180deg); background:rgba(255,255,255,.06); color:var(--ink) }
.acc__body{ padding:10px 6px 6px; color:var(--muted) }
.acc__body p{ margin: 0 0 10px; }
.acc__body ul{ margin: 0; padding-inline-start: 18px; }
.acc__body li{ margin: 6px 0; }

/* Mini cards (Why) */
.miniGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .miniGrid{ grid-template-columns:1fr; }
}
.miniCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
}
.miniCard__k{ font-size:12px; color:var(--muted); }
.miniCard__v{ margin-top:8px; font-weight:800; }

/* Map */
.mapWrap{ display:flex; flex-direction:column; gap:10px; }
.mapStage{
  position:relative;
  border-radius:20px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.40);
  box-shadow: var(--shadow);
  aspect-ratio: 1000 / 600;
}
.mapImg{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.mapMarkers{
  position:absolute; inset:0;
}
.mapMarker{
  position:absolute;
  transform: translate(-50%, -50%);
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,10,14,.72);
  backdrop-filter: blur(10px);
  color:var(--ink);
  cursor:pointer;
  max-width: 60%;
}
.mapMarker__dot{
  width:10px; height:10px;
  border-radius:50%;
  background: rgba(243,240,232,.9);
  box-shadow: 0 0 0 6px rgba(243,240,232,.10);
}
.mapMarker__label{
  font-size:12px;
  color:rgba(243,240,232,.88);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.mapMarker.is-active{
  border-color: rgba(243,240,232,.38);
  background: rgba(255,255,255,.10);
}
@media (max-width: 860px){
  .mapMarker{ padding:7px 9px; max-width: 72%; }
}

/* Progress bars */
.progressList{ display:flex; flex-direction:column; gap:12px; }
.pItem{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.40);
  border-radius:18px;
  padding:12px 14px;
}
.pTop{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.pLabel{ font-weight:800; }
.pMeta{ color:var(--muted); font-size:12px; }
.pBar{
  margin-top:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
.pFill{
  height:100%;
  width:0%;
  background:rgba(243,240,232,.75);
  border-radius:999px;
}
.pNote{ margin-top:10px; color:var(--muted); font-size:13px; }

/* Store cards */
.storeGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .storeGrid{ grid-template-columns:1fr; }
}
.storeCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.storeCard__top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.storeCard__name{ font-weight:900; }
.storeCard__tag{ font-size:12px; color:var(--muted); }
.storeCard__hint{ color:var(--muted); font-size:13px; line-height:1.6; }
.storeCard__actions{ display:flex; gap:10px; flex-wrap:wrap; }
.btn[aria-disabled="true"]{ opacity:.55; pointer-events:none; }

/* Steam-ready facts */
.factsGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .factsGrid{ grid-template-columns:1fr; }
}
.fact{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.40);
  border-radius:18px;
  padding:12px 14px;
}
.fact__k{ font-size:12px; color:var(--muted); }
.fact__v{ margin-top:8px; font-weight:800; }

/* Devlog preview cards */
.devCards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .devCards{ grid-template-columns:1fr; }
}
.devCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
  text-decoration:none;
  color:inherit;
  display:block;
}
.devCard:hover{ background:rgba(255,255,255,.06); }
.devCard__date{ font-size:12px; color:var(--muted); }
.devCard__title{ margin-top:8px; font-weight:900; }
.devCard__body{ margin-top:10px; color:var(--muted); line-height:1.7; }

/* Music */
.musicList{ display:flex; flex-direction:column; gap:12px; }
.track{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.40);
  border-radius:18px;
  padding:12px 14px;
}
.track__top{ display:flex; justify-content:space-between; gap:10px; align-items:center; flex-wrap:wrap; }
.track__title{ font-weight:900; }
.track__meta{ font-size:12px; color:var(--muted); }
.track__note{ margin-top:10px; color:var(--muted); line-height:1.7; }
.track audio{ margin-top:10px; width:100%; }

/* Press quotes */
.quoteGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .quoteGrid{ grid-template-columns:1fr; }
}
.qCard{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
}
.qText{ color:rgba(243,240,232,.90); line-height:1.9; }
.qBy{ margin-top:10px; color:var(--muted); font-size:13px; }

/* Team */
.teamGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 860px){
  .teamGrid{ grid-template-columns:1fr; }
}
.member{
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,8,12,.46);
  border-radius:18px;
  padding:14px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.member__avatar{
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  display:grid; place-items:center;
  flex:0 0 auto;
}
.member__name{ font-weight:900; }
.member__role{ font-size:12px; color:var(--muted); margin-top:2px; }
.member__bio{ margin-top:10px; color:var(--muted); line-height:1.7; }

/* Back-to-top */
.toTop{
  position:fixed;
  inset-inline-end:18px;
  bottom:84px;
  z-index:12;
  display:none;
}
.toTop .btn{ border-radius:999px; }
.toTop.is-show{ display:block; }

/* =========================
   3D Model Hub (Model Workshop)
   ========================= */

.mhTop{display:flex; gap:12px; align-items:flex-end; justify-content:space-between; flex-wrap:wrap}
.mhTop__left{flex:1 1 260px; min-width:240px}
.mhTop__right{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

.mhFilters{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px}
.mhFilters .form__input{min-width:180px}

.mhGrid{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:14px; margin-top:14px}

.mhCard{background:rgba(8,8,12,.46); border:1px solid rgba(255,255,255,.12); border-radius:18px; overflow:hidden; cursor:pointer; transition:transform .15s ease, border-color .15s ease}
.mhCard:hover{transform:translateY(-2px); border-color:rgba(255,255,255,.18)}
.mhCard__thumb{width:100%; aspect-ratio:16/9; background:rgba(255,255,255,.06); display:block; object-fit:cover}
.mhCard__body{padding:12px 12px 14px}
.mhCard__title{font-weight:900; font-size:15px; margin:0 0 6px; line-height:1.4}
.mhCard__desc{font-size:13px; color:var(--muted); margin:0; line-height:1.6}
.mhCard__meta{margin-top:10px; display:flex; flex-wrap:wrap; gap:8px; align-items:center}

.mhTag{font-size:12px; padding:4px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.04)}
.mhTag--soft{background:rgba(255,255,255,.02)}

.mhStats{margin-top:10px; display:flex; flex-wrap:wrap; gap:10px; font-size:12px; color:var(--muted)}
.mhStats b{color:var(--text)}

.mhLoad{margin-top:14px; display:flex; flex-direction:column; gap:8px; align-items:flex-start}

.mhCheck{display:flex; gap:10px; align-items:flex-start; margin-top:10px; user-select:none}
.mhCheck input{margin-top:4px}

.mhGuide{margin:0; padding-inline-start:18px; color:var(--muted); line-height:1.9}
.mhGuide b{color:var(--text)}

.mhModal{display:grid; grid-template-columns:minmax(220px, 420px) 1fr; gap:14px}
.mhModal__media{border:1px solid rgba(255,255,255,.12); border-radius:18px; background:rgba(0,0,0,.25); overflow:hidden; min-height:220px}
.mhModal__body{padding:4px 0}
.mhMeta{margin-top:10px; display:flex; flex-wrap:wrap; gap:8px}
.mhActions{margin-top:14px; display:flex; flex-wrap:wrap; gap:10px}

.mhMediaImg{width:100%; height:auto; display:block}
.mhMediaFallback{padding:14px; color:var(--muted); line-height:1.7}

model-viewer{width:100%; height:320px; background:rgba(0,0,0,.25)}

@media (max-width: 900px){
  .mhModal{grid-template-columns:1fr}
  model-viewer{height:280px}
}
