:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --card: #151a20;
  --line: #232a33;
  --text: #eef1f4;
  --muted: #9aa4af;
  --accent: #d6ff3d;
  --accent-ink: #0b0d10;
  --live: #3ddc84;
  --soon: #d6ff3d;
  --dev: #5ab8ff;
  --proto: #c4a5ff;
  --radius: 18px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  overflow-x: clip;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.muted { color: var(--muted); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 14px max(16px, calc((100% - 1160px) / 2));
  background: rgba(11, 13, 16, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: .04em; }
.brand em { font-style: normal; color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
/* Privacy menu */
.pmenu { position: relative; }
.pmenu-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: 600 13px/1 var(--sans); padding: 8px 12px; border-radius: 10px; cursor: pointer;
}
.pmenu-btn:hover, .pmenu-btn[aria-expanded="true"] { border-color: var(--accent); }
.pmenu-btn svg { color: var(--accent); }
.pmenu-btn .caret { color: var(--muted); font-size: 11px; }
.pmenu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5); padding: 10px;
}
.pmenu-search {
  width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--text);
  font: 14px/1.2 var(--sans); padding: 10px 12px; border-radius: 10px; margin-bottom: 8px;
}
.pmenu-search:focus { outline: none; border-color: var(--accent); }
.pmenu-list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 440px); overflow-y: auto; }
.pmenu-list a {
  display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 9px;
  text-decoration: none; font-size: 14px; font-weight: 500;
}
.pmenu-list a:hover, .pmenu-list a:focus-visible { background: var(--bg-2); }
.pmenu-list img, .pmenu-list .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.pmenu-list .ph {
  display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--accent); font: 700 14px/1 var(--display);
}
.pmenu-list .none { padding: 10px 8px; color: var(--muted); font-size: 14px; }

.lang {
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font: 600 13px/1 var(--sans); padding: 9px 12px; border-radius: 10px; cursor: pointer;
}
.lang:hover { border-color: var(--accent); }

main { padding: 0 max(16px, calc((100% - 1160px) / 2)); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  padding: 72px 0 56px;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -40px -30vw auto auto; width: 70vw; height: 620px;
  background: radial-gradient(closest-side, rgba(214, 255, 61, .14), transparent 70%);
  pointer-events: none; z-index: -1;
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(214,255,61,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(214,255,61,0); } 100% { box-shadow: 0 0 0 0 rgba(214,255,61,0); } }
.hero-title {
  margin: 0; font: 800 clamp(88px, 13vw, 168px)/.85 var(--display); letter-spacing: -.01em;
}
.hero-title span {
  display: block; margin-top: 10px;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1; color: var(--accent); letter-spacing: .02em; text-transform: uppercase;
}
.hero-lead { font-size: clamp(17px, 1.6vw, 19px); color: #c9d0d7; max-width: 34em; margin: 26px 0 18px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 8px; }
.hero-points li { padding-left: 26px; position: relative; color: var(--muted); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 3px; background: var(--accent); border-radius: 2px; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 13px 20px; border-radius: 14px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); background: var(--bg-2); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-store { background: var(--text); color: var(--bg); cursor: default; padding: 10px 20px; }
.btn-store span { display: grid; line-height: 1.15; text-align: left; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: .7; }
.btn-store b { font-size: 18px; }

.hero-shots { position: relative; height: 560px; }
.shot {
  position: absolute; width: 230px; height: auto; aspect-ratio: 480 / 1040; object-fit: cover;
  border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
}
.shot-0 { left: 50%; top: 0; transform: translateX(-50%); z-index: 3; width: 252px; }
.shot-1 { left: 4%; top: 64px; transform: rotate(-7deg); z-index: 2; opacity: .9; }
.shot-2 { right: 4%; top: 64px; transform: rotate(7deg); z-index: 1; opacity: .9; }

/* Strip */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
}
.strip div { padding: 22px 24px; display: grid; gap: 2px; }
.strip div + div { border-left: 1px solid var(--line); }
.strip b { font: 800 34px/1 var(--display); color: var(--accent); }
.strip span { color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 88px 0 0; }
.section-head { margin-bottom: 26px; }
.section h2 { margin: 0 0 8px; font: 800 clamp(40px, 5vw, 60px)/1 var(--display); text-transform: uppercase; }
.section-head p { margin: 0; max-width: 40em; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-2); color: var(--muted);
  font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; cursor: pointer;
}
.chip span { margin-left: 4px; opacity: .6; font-weight: 500; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #3a4552; }
.card.linked:hover { border-color: var(--accent); }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card.linked:has(.card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.card-art { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); position: relative; }
.card-art { display: grid; place-items: center; }
.art-bg { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; filter: blur(28px) saturate(1.3) brightness(.7); }
div.art-bg { filter: brightness(.75); inset: 0; width: 100%; height: 100%; }
.art-ic {
  position: relative; width: 44%; height: auto; aspect-ratio: 1; max-width: 132px;
  border-radius: 24%; box-shadow: 0 16px 34px -10px rgba(0,0,0,.7);
  transition: transform .25s ease;
}
.card:hover .art-ic { transform: scale(1.05) rotate(-2deg); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.badge {
  font: 700 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em;
  padding: 6px 8px; border-radius: 6px; border: 1px solid currentColor;
}
.status-live .badge { color: var(--accent-ink); background: var(--live); border-color: var(--live); }
.status-soon .badge { color: var(--soon); }
.status-dev .badge { color: var(--dev); }
.status-proto .badge { color: var(--proto); }
.genre { font-size: 13px; color: var(--muted); text-align: right; }
.card h3 { margin: 4px 0 0; font: 700 28px/1 var(--display); letter-spacing: .01em; }
.card p { margin: 0; color: #b8c0c8; font-size: 15px; line-height: 1.5; flex: 1; }
.stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.store {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 10px; background: var(--text); color: var(--bg); text-decoration: none;
  font: 700 14px/1.1 var(--sans);
}
.store:hover { filter: brightness(.9); }
.store span { display: grid; }
.store small { font-size: 10px; font-weight: 500; opacity: .7; }
.plats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; }
.plats span { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
.plats .go { margin-left: auto; color: var(--accent); border: 0; background: none; padding: 0; font-size: 14px; }
.card.featured { border-color: rgba(214,255,61,.45); }

/* Studio */
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.studio-grid article { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.studio-grid h3 { margin: 0 0 8px; font: 700 26px/1.1 var(--display); text-transform: uppercase; color: var(--accent); }
.studio-grid p { margin: 0; color: #b8c0c8; }

/* Contact */
.contact { text-align: center; padding-bottom: 96px; }
.contact p { margin: 0 auto 24px; max-width: 32em; }
.contact .btn { font-size: 17px; word-break: break-all; }

.footer {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 24px max(16px, calc((100% - 1160px) / 2));
  border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.footer-links { display: flex; gap: 18px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Tablet */
@media (max-width: 920px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip div:nth-child(3) { border-left: 0; }
  .strip div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; }
  .hero-shots { height: 470px; }
  .shot { width: 190px; }
  .shot-0 { width: 210px; }
  .studio-grid { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 600px) {
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .brand { font-size: 18px; gap: 8px; }
  .brand svg { width: 24px; height: 24px; }
  .pmenu { margin-left: auto; }
  .pmenu-btn { padding: 8px 10px; }
  .pmenu-btn .caret { display: none; }
  .pmenu-panel { position: fixed; left: 16px; right: 16px; top: 64px; width: auto; }
  .hero-shots { height: 380px; }
  .shot { width: 150px; border-radius: 16px; }
  .shot-0 { width: 170px; }
  .shot-1 { left: 0; top: 50px; }
  .shot-2 { right: 0; top: 50px; }
  .strip { grid-template-columns: 1fr; }
  .strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .strip div { padding: 16px 18px; grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
  .strip b { font-size: 28px; }
  .section { padding-top: 64px; }
  .grid { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse { animation: none; }
  .card { transition: none; }
}
