:root {
  --bg: #24160f;
  --bg-alt: #2e1c13;
  --card: #3a2418;
  --cream: #fff3d9;
  --muted: #d9c3a0;
  --gold: #f2b84b;
  --gold-deep: #d9941c;
  --purple: #8a5bb5;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(242, 184, 75, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(138, 91, 181, .14), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #2b1a0c; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 22, 15, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 243, 217, .08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.15rem; letter-spacing: .02em; color: var(--cream); }
.brand b { color: var(--gold); font-weight: 800; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links > a { text-decoration: none; color: var(--muted); font-weight: 600; transition: color .2s; }
.nav__links > a:hover { color: var(--gold); }
.lang { display: inline-flex; background: rgba(255, 243, 217, .08); border-radius: 999px; padding: 3px; }
.lang button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .85rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--gold); color: #2b1a0c; }

/* hero */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 88px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: .8em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); letter-spacing: -.01em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800; padding: 14px 26px; border-radius: 999px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn--primary { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); color: #2b1a0c; box-shadow: 0 10px 26px rgba(217, 148, 28, .35); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { border: 2px solid rgba(255, 243, 217, .28); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.hero__art { margin: 0; }
.hero__art img {
  width: 100%; border-radius: 28px; box-shadow: var(--shadow);
  border: 3px solid rgba(255, 243, 217, .14);
  transform: rotate(-1.4deg);
}

/* sections */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid rgba(255, 243, 217, .06); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section__lead { color: var(--muted); max-width: 40em; margin-bottom: 2em; }

.game { display: flex; align-items: center; gap: 22px; margin-bottom: 1.2em; }
.game__icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: var(--shadow); border: 2px solid rgba(255, 243, 217, .18); }
.game__head h2 { margin-bottom: .1em; font-size: clamp(2rem, 4vw, 3rem); }
.game__head .kicker { margin-bottom: .3em; }
.sub { color: var(--muted); font-size: 1.15rem; margin: 0; }
.game__desc { font-size: 1.15rem; max-width: 46em; color: var(--cream); margin-bottom: 2em; }

.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 1px solid rgba(255, 243, 217, .08); border-radius: var(--radius);
  padding: 24px 24px 12px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(242, 184, 75, .5); }
.card h3 { font-size: 1.15rem; color: var(--gold); }
.card p { color: var(--muted); font-size: .98rem; }

/* gallery */
.phones { display: flex; justify-content: center; gap: clamp(16px, 4vw, 48px); margin: 8px 0 40px; flex-wrap: wrap; }
.phone { margin: 0; width: min(300px, 44vw); border-radius: 34px; padding: 9px; background: #0f0906; box-shadow: var(--shadow); border: 1px solid rgba(255, 243, 217, .12); }
.phone img { border-radius: 26px; width: 100%; }
.phone--lift { transform: translateY(26px); }
.scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.scenes figure { margin: 0; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255, 243, 217, .1); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.scenes img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .5s; }
.scenes figure:hover img { transform: scale(1.06); }

/* studio */
.studio { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.studio__art { margin: 0; }
.studio__art img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.studio__text p { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.values { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 12px; }
.values li { padding-left: 34px; position: relative; font-weight: 600; }
.values li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px;
  background: radial-gradient(circle at 50% 62%, var(--gold) 0 34%, transparent 36%),
              radial-gradient(circle at 22% 32%, var(--gold) 0 12%, transparent 14%),
              radial-gradient(circle at 42% 14%, var(--gold) 0 12%, transparent 14%),
              radial-gradient(circle at 62% 14%, var(--gold) 0 12%, transparent 14%),
              radial-gradient(circle at 80% 32%, var(--gold) 0 12%, transparent 14%);
}

.footer { border-top: 1px solid rgba(255, 243, 217, .08); padding: 28px 0 36px; color: var(--muted); font-size: .92rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art img { transform: none; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .scenes { grid-template-columns: repeat(2, 1fr); }
  .studio { grid-template-columns: 1fr; }
  .studio__art { max-width: 320px; }
}
@media (max-width: 560px) {
  .nav__links > a { display: none; }
  .features { grid-template-columns: 1fr; }
  .game { flex-direction: column; align-items: flex-start; }
  .phone--lift { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
