@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --bg: #0b0f2e;
  --bg-2: #141a4a;
  --panel: #1a2160;
  --line: #2c3585;
  --text: #f4f1ff;
  --muted: #b3b8e6;
  --gold: #ffc83d;
  --coral: #ff5a3c;
  --teal: #3fe0d0;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 85% -5%, #2a2f8f55, transparent 70%),
    radial-gradient(700px 500px at -10% 30%, #ff5a3c18, transparent 70%),
    var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
p { margin: 0; }

.nav, main > section, footer {
  width: min(var(--wrap), 100% - 32px);
  margin-inline: auto;
}

/* nav */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font: 800 1.2rem var(--display); text-decoration: none; letter-spacing: -0.01em;
}
.brand b { color: var(--gold); font-weight: 800; }
.brand.small { font-size: 1rem; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav nav a {
  text-decoration: none; font-weight: 500; color: var(--muted);
  padding: 8px 0;
}
.nav nav a:hover { color: var(--text); }

/* buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; text-decoration: none; overflow-wrap: anywhere;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn.primary { background: var(--gold); color: #1b1640; box-shadow: 0 5px 0 #b97f00; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #b97f00; }
.btn.ghost { border: 2px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--muted); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}

/* hero */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; padding: clamp(32px, 7vw, 80px) 0 clamp(48px, 8vw, 96px);
}
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 5.6rem); font-weight: 800; letter-spacing: -0.03em; }
.pop { color: var(--gold); }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 34ch; margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-art { position: relative; height: clamp(340px, 46vw, 520px); }
.phone {
  position: absolute; top: 50%; left: 50%;
  width: clamp(150px, 20vw, 230px);
  border-radius: 22px; border: 5px solid #05071c;
  box-shadow: 0 24px 50px #0009;
}
.p1 { transform: translate(-125%, -52%) rotate(-9deg); }
.p3 { transform: translate(25%, -52%) rotate(9deg); }
.p2 { transform: translate(-50%, -50%) scale(1.1); z-index: 1; }

/* featured */
.featured {
  display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(22px, 4vw, 48px);
}
.feat-icon { border-radius: 22%; box-shadow: 0 16px 40px #0008; }
.feat-body p:not(.eyebrow) { color: var(--muted); margin: 16px 0 18px; max-width: 58ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 26px; }
.tags li {
  font-size: .85rem; font-weight: 500; padding: 5px 12px; border-radius: 999px;
  background: #ffffff12; border: 1px solid #ffffff1f;
}

/* games */
.games { padding: clamp(56px, 9vw, 110px) 0 0; }
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px;
}
.card {
  display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 20px;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: #4a55c4; }
.card img, .mystery { width: 112px; height: 112px; border-radius: 22%; }
.mystery {
  display: grid; place-items: center;
  font: 800 3.4rem var(--display); color: var(--gold);
  background: repeating-linear-gradient(45deg, #1f2772, #1f2772 10px, #252e85 10px, #252e85 20px);
  border: 2px dashed var(--line);
}
.card h3 { font-size: 1.35rem; font-weight: 800; margin: 10px 0 8px; }
.card p { color: var(--muted); font-size: .97rem; }
.status {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.status.live { background: #3fe0d022; color: var(--teal); }
.status.dev { background: #ffc83d22; color: var(--gold); }
.status.soon { background: #ffffff14; color: var(--muted); }
.link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--gold); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* about + contact */
.about { padding: clamp(56px, 9vw, 110px) 0 0; }
.about p { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-top: 18px; }
.contact {
  margin-top: clamp(56px, 9vw, 110px) !important;
  text-align: center; padding: clamp(36px, 6vw, 64px) 20px;
  background: linear-gradient(135deg, #2a1a5e, var(--bg-2));
  border: 1px solid var(--line); border-radius: 28px;
}
.contact p { color: var(--muted); margin: 14px 0 26px; }
.social { list-style: none; display: flex; justify-content: center; gap: 22px; padding: 0; margin: 28px 0 0; }
.social a { color: var(--muted); font-weight: 500; }

footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 40px 0 48px; color: var(--muted); font-size: .9rem;
}

/* phones */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 12px; }
  .hero-art { height: 360px; }
  .phone { width: 150px; }
  .featured { grid-template-columns: 1fr; }
  .feat-icon { width: 150px; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .card { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .card img, .mystery { width: 84px; height: 84px; }
  .mystery { font-size: 2.6rem; }
  .brand span { font-size: 1.05rem; }
  .nav nav { gap: 14px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* keep the tilted hero phones from widening the page; fit the email on one line */
body { overflow-x: clip; }
.contact .btn { font-size: clamp(.82rem, 3.6vw, 1rem); padding-inline: clamp(14px, 4vw, 24px); overflow-wrap: normal; white-space: nowrap; }

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* privacy page */
.doc { width: min(720px, 100% - 32px); margin: 0 auto; padding: 24px 0 40px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; margin-bottom: 8px; }
.doc h2 { font-size: 1.45rem; margin: 40px 0 10px; color: var(--gold); }
.doc p, .doc li { color: #d5d8f5; }
.doc p { margin-bottom: 14px; }
.doc ul { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.doc a { color: var(--teal); }
.doc .meta { color: var(--muted); font-size: .95rem; }
.doc .box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin: 24px 0; }
.doc .box ul { margin: 0; }
