@font-face { font-family: Outfit; src: url(fonts/outfit.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

/* Tokens mirror the game UI (boomtown-game/index.html). */
:root {
  color-scheme: dark;
  --bg: #0d131c; --bg2: #121a26;
  --fg: #eef3f9; --muted: #8d9bb0; --dim: #5f6d82;
  --acc: #5cc8ff; --acc2: #3a8dff; --gold: #ffd166;
  --r: #5fd38a; --c: #5aa2ff; --i: #f5b941; --traffic: #f87171; --landmark: #b99cff; --people: #ff9fc0;
  --glass: linear-gradient(rgba(38, 50, 72, .9), rgba(18, 25, 38, .9));
  --line: rgba(255, 255, 255, .08);
  --sky: linear-gradient(120deg, #3a8dff, #8f7cf0 55%, #ff9a6b);
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .brand { font-family: Outfit, Inter, sans-serif; line-height: 1.1; margin: 0; }
a { color: var(--acc); }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: var(--pad); }
.muted { color: var(--muted); }

/* Nav */
nav { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--pad); transition: background .3s, backdrop-filter .3s; }
nav.solid { background: rgba(13, 19, 28, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; letter-spacing: .1em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav .links { display: flex; gap: 20px; font-size: 15px; }
nav .links a { color: var(--fg); text-decoration: none; opacity: .85; }
nav .links a:hover { opacity: 1; }
@media (max-width: 640px) { nav .links { gap: 14px; font-size: 14px; } nav .links a:nth-child(2), nav .links a:nth-child(3) { display: none; } }
@media (max-width: 359px) { nav .brand img { display: none; } }

/* Buttons: the game's chunky 3D style with a darker lip. */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px 10px; border-radius: 14px; font: 700 16px/1.15 Outfit, sans-serif; color: #fff; text-decoration: none; background: var(--glass); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 3px 0 #0a0f17, inset 0 1px 0 rgba(255, 255, 255, .15); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #0a0f17, inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #0a0f17; }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn small { display: block; font: 500 11px Inter, sans-serif; opacity: .75; letter-spacing: .02em; }
.btn.go { background: linear-gradient(#4ff09a, #1fae5f); border-color: #63f5a6; box-shadow: 0 3px 0 #137a40, inset 0 1px 0 rgba(255, 255, 255, .35); color: #062a14; }
.btn.go:hover { box-shadow: 0 5px 0 #137a40, inset 0 1px 0 rgba(255, 255, 255, .35); }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end start; overflow: hidden; isolation: isolate; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 16, 24, .55) 0, rgba(11, 16, 24, 0) 22%, rgba(11, 16, 24, .15) 50%, rgba(13, 19, 28, .92) 88%, var(--bg)), radial-gradient(80% 70% at 15% 85%, rgba(11, 16, 24, .7), transparent 70%); }
@media (max-width: 640px) { .hero video { display: none; } .hero::after { background: linear-gradient(180deg, rgba(11, 16, 24, .3), rgba(11, 16, 24, .82) 38%, var(--bg)); } }
.hero .wrap { width: 100%; padding-bottom: clamp(40px, 9vh, 96px); padding-top: 110px; }
.hero .icon { width: clamp(72px, 9vw, 104px); height: auto; border-radius: 24%; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 10vw, 128px); font-weight: 800; letter-spacing: .1em; text-shadow: 0 4px 30px rgba(0, 0, 0, .55); }
.hero .tag { font: 700 clamp(22px, 3.4vw, 38px)/1.2 Outfit, sans-serif; margin: 8px 0 14px; background: var(--sky); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .5)); width: fit-content; }
.hero p.lead { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: #dfe8f3; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); margin: 0 0 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.chips a { display: flex; align-items: center; gap: 9px; padding: 4px 14px 4px 4px; border-radius: 999px; font: 600 14px Inter, sans-serif; color: var(--fg); text-decoration: none; background: rgba(13, 19, 28, .72); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.chips a:hover { background: color-mix(in srgb, var(--accent) 24%, rgba(13, 19, 28, .85)); transform: translateY(-1px); }
.chips img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--accent); }

/* Sections */
section { padding-block: clamp(64px, 10vw, 120px); scroll-margin-top: 40px; }
.kicker { font: 700 13px Outfit, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--acc); margin-bottom: 12px; }
h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; }
.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro p { font-size: clamp(18px, 2vw, 22px); color: #cfd9e6; }

.feature { scroll-margin-top: 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px) 0; }
.feature:nth-child(even) .media { order: 2; }
.feature .media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg2); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.feature .media::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent, var(--acc)); z-index: 1; }
.feature video, .feature .media img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 8px; }
.feature .sub { color: var(--accent, var(--acc)); font-weight: 600; margin: 0 0 14px; }
.feature ul { margin: 0; padding: 0; list-style: none; color: #cfd9e6; }
.feature li { position: relative; padding-left: 22px; margin: 8px 0; }
.feature li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent, var(--acc)); }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature:nth-child(even) .media { order: 0; } }

/* More features */
.more { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 36px; }
.more > div { padding: 20px 22px; border-radius: 18px; background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.more b { font: 800 20px Outfit, sans-serif; }
.more p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* Devices */
.devices { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; justify-content: center; margin-top: 40px; }
.devices img { border-radius: clamp(14px, 2.4vw, 32px); border: clamp(5px, .8vw, 10px) solid #05080c; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); height: auto; }
.devices .phone { width: min(62%, 720px); }
.devices .tablet { width: min(26%, 290px); }
@media (max-width: 640px) { .devices { flex-direction: column; } .devices .phone { width: 100%; } .devices .tablet { width: 60%; } }

/* Gallery: horizontal scroll-snap strip */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 560px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--pad) 24px; scrollbar-width: thin; }
.gallery a { scroll-snap-align: center; border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }

/* Maps */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 36px; }
.map { padding: 22px; border-radius: 18px; background: var(--b), var(--bg2); border: 1px solid var(--line); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.map b { font: 800 24px Outfit, sans-serif; }
.map span.e { font-size: 34px; }
.map .lvl { font: 700 12px Outfit, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; width: fit-content; background: rgba(0, 0, 0, .3); }
.lvl.easy { color: #4ade80; } .lvl.normal { color: #fbbf24; } .lvl.hard { color: #f87171; }

/* Trust band */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding: 28px var(--pad); border-block: 1px solid var(--line); background: var(--bg2); font: 700 17px Outfit, sans-serif; }
.trust span::before { content: '✓ '; color: #4ade80; }

/* CTA + footer */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 10% 20%; background: var(--sky); filter: blur(120px); opacity: .22; z-index: -1; }
.cta .stores { justify-content: center; margin-top: 28px; }
.cta .price { font: 700 20px/1.3 Outfit, sans-serif; margin: 20px 0 0; }
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--fg); }
footer details { margin-top: 18px; }
footer summary { cursor: pointer; }

/* Text pages (privacy, support) */
.page { max-width: 760px; margin: 0 auto; padding: 120px var(--pad) 64px; }
.page h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; margin-bottom: 8px; }
.page h2 { font-size: 24px; margin: 36px 0 8px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .gallery img, .chips a { transition: none; } }
