/* DeltaX Games — one stylesheet for every page. No fonts or scripts are loaded from other sites. */

:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --panel: #11151d;
  --panel-2: #161b26;
  --line: #232b3b;
  --text: #e9edf5;
  --muted: #9aa5ba;
  --blue: #3d85ff;
  --blue-strong: #0054fe;
  --orange: #f28231;
  --radius: 14px;
  --maxw: 1120px;
  --display: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #7aa9ff; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--blue-strong); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--blue); }
.nav a[aria-current="page"] { border-bottom-color: var(--orange); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(0, 84, 254, 0.30), transparent 70%),
    radial-gradient(700px 360px at 0% 100%, rgba(242, 130, 49, 0.10), transparent 70%);
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; }
.hero h1 {
  margin: 0 0 20px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 9.5vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange); }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: #cfd6e4; max-width: 34ch; margin: 0 0 26px; line-height: 1.45; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.badges li { border: 1px solid var(--line); background: rgba(17, 21, 29, 0.7); color: var(--muted); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; font-weight: 600; }
.hero-mark { justify-self: center; width: min(100%, 380px); filter: drop-shadow(0 0 60px rgba(0, 84, 254, 0.45)); }
.hazard {
  height: 12px; width: 100%;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 16px, #12151c 16px 32px);
  opacity: 0.92;
}

/* ---------- buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: 14px 22px; border-radius: 10px; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--blue-strong); color: #fff; }
.btn-primary:hover { background: #1a69ff; color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: #fff; }
.btn-soon { border: 2px dashed #3a4459; color: var(--muted); background: transparent; cursor: default; }

/* ---------- sections ---------- */
section { padding: 76px 0; }
.band { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 8px; color: var(--orange); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; }
h2 {
  margin: 0 0 18px;
  font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem); line-height: 1.05; letter-spacing: -0.01em;
}
h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; }
.intro { max-width: 62ch; color: #cfd6e4; font-size: 1.15rem; margin: 0 0 36px; }
p { margin: 0 0 1em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.card .num { color: var(--blue); font-family: var(--display); font-style: italic; font-size: 1.5rem; display: block; margin-bottom: 6px; }


/* ---------- studio / contact ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-box { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-box .mail { font-size: clamp(1.15rem, 3vw, 1.6rem); font-weight: 700; word-break: break-word; }

/* ---------- sub pages (press, privacy, 404) ---------- */
.page { padding: 40px 0 80px; }
.page h1 { margin: 0 0 12px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -0.015em; }
.page .intro { margin-bottom: 40px; }
.page h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 52px; }
.prose { max-width: 70ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.updated { color: var(--muted); font-size: 0.95rem; }

.facts { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 12px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 11rem; color: var(--muted); font-weight: 600; }

.logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.logo-tile { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.logo-tile .stage { display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 24px; }
.logo-tile .stage.on-dark { background: var(--bg); }
.logo-tile .stage.on-light { background: #fff; }
.logo-tile .stage img { max-height: 120px; width: auto; max-width: 100%; }
.logo-tile .meta { padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.92rem; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.site-footer .left { display: flex; align-items: center; gap: 14px; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* ---------- small screens ---------- */
@media (max-width: 820px) {
  .hero { padding: 44px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 56px 0; }
  .facts th { width: 8rem; }
}
@media (max-width: 480px) {
  .btn { width: 100%; text-align: center; }
  .facts th, .facts td { display: block; width: 100%; padding: 6px 16px; border-bottom: 0; }
  .facts tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .facts tr:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
