:root {
  --bg: #090c12;
  --bg-soft: #10151d;
  --card: #131a24;
  --text: #f3efe7;
  --muted: #a8adba;
  --line: rgba(255,255,255,.09);
  --accent: #d49567;
  --accent-soft: #7f9a87;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ambient {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .16;
  pointer-events: none;
  z-index: -1;
}
.ambient-one { width: 440px; height: 440px; background: var(--accent); top: 9%; right: -170px; }
.ambient-two { width: 380px; height: 380px; background: var(--accent-soft); bottom: 12%; left: -180px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(9,12,18,.74);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: .12em; font-size: .92rem; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 6px); gap: 3px; align-items: end; height: 18px; }
.brand-mark span { width: 6px; display: block; border-radius: 2px 2px 0 0; background: var(--text); }
.brand-mark span:nth-child(1){ height: 8px; }
.brand-mark span:nth-child(2){ height: 18px; background: var(--accent); }
.brand-mark span:nth-child(3){ height: 12px; }
.site-nav { display: flex; gap: 28px; align-items: center; color: var(--muted); font-size: .95rem; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span:not(.sr-only) { width: 24px; height: 2px; background: var(--text); display: block; margin: 5px 0; }

.hero { min-height: 78vh; display: grid; align-items: center; padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--accent); margin: 0 0 18px; }
.hero h1, .section-heading h2, .contact-card h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 0;
}
.hero h1 { font-size: clamp(4rem, 8vw, 7.8rem); max-width: 820px; }
.hero h1 span { color: var(--accent); }
.hero-lead { max-width: 660px; color: var(--muted); font-size: 1.16rem; margin: 28px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--text); color: var(--bg); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.03); }
.button-light { background: var(--text); color: var(--bg); }

.hero-visual { display: flex; justify-content: center; }
.city-card {
  width: min(470px, 100%);
  aspect-ratio: 1 / 1.08;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 65% 22%, rgba(212,149,103,.18), transparent 34%),
    #0d1219;
  background-size: 34px 34px, 34px 34px, auto, auto;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit-a { width: 330px; height: 330px; top: 60px; right: -120px; }
.orbit-b { width: 220px; height: 220px; top: 115px; right: -65px; border-color: rgba(212,149,103,.24); }
.signal { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); right: 36%; top: 27%; box-shadow: 0 0 0 12px rgba(212,149,103,.06), 0 0 42px rgba(212,149,103,.7); }
.skyline { position: absolute; inset: auto 34px 32px; height: 58%; display: flex; align-items: end; gap: 12px; }
.tower { flex: 1; border: 1px solid var(--line); background: linear-gradient(to top, rgba(127,154,135,.08), rgba(255,255,255,.015)); border-radius: 5px 5px 0 0; position: relative; }
.tower::after { content:""; position:absolute; inset: 14px 8px; background: repeating-linear-gradient(to bottom, rgba(212,149,103,.55) 0 2px, transparent 2px 16px); opacity:.32; }
.tower-a { height: 43%; }
.tower-b { height: 76%; }
.tower-c { height: 58%; }
.tower-d { height: 91%; }
.tower-e { height: 66%; }
.city-label { position: absolute; left: 22px; top: 20px; color: var(--muted); font-family: "Space Grotesk"; font-size: .72rem; letter-spacing: .18em; }

.section { padding: 110px 0; }
.section-soft { background: rgba(255,255,255,.02); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { max-width: 700px; }
.section-heading h2 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; margin: 22px 0 0; }

.product-card {
  margin-top: 50px;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  background: linear-gradient(135deg, #121a24, #0f151d);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
}
.product-copy { padding: 54px; display: flex; flex-direction: column; justify-content: center; }
.product-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .75rem; color: var(--muted); }
.status { color: var(--muted); font-size: .82rem; display: inline-flex; gap: 8px; align-items: center; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); display: inline-block; }
.product-card h3 { font-family: "Space Grotesk"; font-size: clamp(3rem, 5vw, 5.2rem); margin: 0 0 18px; letter-spacing: -.04em; }
.product-card p { color: var(--muted); max-width: 590px; margin: 0 0 28px; }
.muted { color: #7f8795; }
.product-art { display: grid; place-items: center; min-height: 460px; background: radial-gradient(circle at 50% 45%, rgba(212,149,103,.18), transparent 44%); }
.phone { width: 230px; height: 455px; border: 8px solid #05070a; border-radius: 34px; padding: 8px; background: #05070a; transform: rotate(6deg); box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.phone-screen { height: 100%; border-radius: 24px; overflow: hidden; position: relative; background: #131722; }
.wallpaper { position: absolute; inset: 0; }
.wallpaper-a { background: linear-gradient(150deg, #202c3d 0 35%, #9b654d 35% 55%, #1c242f 55%); }
.wallpaper-b { background: radial-gradient(circle at 70% 28%, rgba(255,220,165,.85) 0 4%, transparent 5%), linear-gradient(to top, #111927, #263851); opacity: .75; clip-path: polygon(0 52%, 100% 34%, 100% 100%, 0 100%); }
.wallpaper-c { background: linear-gradient(135deg, transparent 0 44%, rgba(127,154,135,.35) 45% 49%, transparent 50%); }
.phone-glow { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(212,149,103,.16); filter: blur(18px); right: 4px; top: 55px; }

.games-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.game-placeholder { min-height: 360px; border: 1px dashed rgba(255,255,255,.18); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(127,154,135,.07), rgba(255,255,255,.01)); }
.small-label, .coordinates { color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.game-placeholder h3 { font-family: "Space Grotesk"; font-size: 2.4rem; margin: 12px 0 10px; }
.game-placeholder p { color: var(--muted); margin: 0; max-width: 460px; }

.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 88px; align-items: start; }
.about-copy { color: var(--muted); font-size: 1.12rem; padding-top: 42px; }
.about-copy p { margin: 0 0 18px; }

.contact-section { padding-top: 40px; }
.contact-card { background: var(--accent); color: #17110d; border-radius: 28px; padding: 54px; display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.contact-card .eyebrow { color: rgba(23,17,13,.68); }
.contact-card h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); max-width: 720px; }
.contact-card p { margin: 18px 0 0; color: rgba(23,17,13,.72); }

.site-footer { border-top: 1px solid var(--line); padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: start; }
.footer-brand { font-family: "Space Grotesk"; font-weight: 700; letter-spacing: .12em; }
.footer-grid p, .footer-copy { color: var(--muted); margin: 8px 0 0; font-size: .9rem; }
.footer-links { display: flex; gap: 22px; color: var(--muted); font-size: .9rem; }
.footer-copy { grid-column: 1 / -1; padding-top: 14px; border-top: 1px solid var(--line); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }

@media (max-width: 900px) {
  .hero-grid, .product-card, .games-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 62px; }
  .hero-visual { margin-top: 18px; }
  .city-card { max-width: 520px; }
  .product-art { min-height: 420px; }
  .games-grid, .about-grid { gap: 40px; }
  .about-copy { padding-top: 0; }
  .contact-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .site-nav {
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    padding: 18px;
    background: #0d1219;
    border: 1px solid var(--line);
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: .2s ease;
  }
  .site-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-toggle { display: block; }
  .section { padding: 82px 0; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5.5rem); }
  .hero-lead { font-size: 1rem; }
  .product-copy { padding: 30px; }
  .product-card { min-height: 0; }
  .contact-card { padding: 34px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
