/* Virelo Studios — site-wide stylesheet.
   Brand language mirrors the game (apps/escape-run app.css + thumbs/feature.html):
   indigo night gradient, gold arcade type with a hard base edge, candy-flat chrome. */

:root {
  --ink-0: #0b0e24;   /* deepest night */
  --ink-1: #1a1748;   /* navy */
  --ink-2: #2e2478;   /* indigo */
  --ink-3: #3d329c;   /* lifted indigo (cards, chips) */
  --gold-hi: #ffe9a6;
  --gold: #ffd34d;
  --gold-lo: #f0a81c;
  --gold-edge: #a35c00;
  --teal: #46e6c8;
  --paper: #f2ecff;
  --muted: rgba(242, 236, 255, 0.66);
  --line: rgba(255, 211, 77, 0.22);
  --radius: 18px;
  --display: 900 1em "Arial Black", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink-0); }

body {
  font: 400 17px/1.65 system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--paper);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(255, 214, 120, 0.10), transparent 62%),
    radial-gradient(900px 700px at -12% 22%, rgba(120, 110, 220, 0.16), transparent 60%),
    linear-gradient(175deg, var(--ink-2) 0%, var(--ink-1) 26%, var(--ink-0) 70%);
  min-height: 100vh;
}

::selection { background: var(--gold); color: var(--ink-0); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 14, 36, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 14px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.brand img { width: 34px; height: 34px; display: block; }
.brand b {
  font: var(--display); font-size: 15px; letter-spacing: 2.5px;
  color: var(--gold);
  text-shadow: 0 2px 0 rgba(163, 92, 0, 0.85);
  white-space: nowrap;
}
.site-nav { margin-left: auto; display: flex; gap: 26px; }
.site-nav a {
  color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: 1.2px;
  text-transform: uppercase;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold); }

/* ---------- gold arcade display type ---------- */

.arc {
  font: var(--display);
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 0 var(--gold-edge));
  letter-spacing: 1px;
  line-height: 1.08;
}
.kicker {
  font-weight: 800; font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal);
}

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 84px;
  text-align: center;
}
.hero::before {
  /* faint sunburst rays, same trick as the feature graphic */
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(
    from 0deg at 50% 38%,
    rgba(255, 211, 77, 0.05) 0deg 4deg,
    transparent 4deg 15deg
  );
  pointer-events: none;
}
.hero::after {
  /* sparkle dust */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 28%, rgba(255, 233, 166, 0.8), transparent 60%),
    radial-gradient(1.6px 1.6px at 82% 18%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2.4px 2.4px at 68% 62%, rgba(255, 233, 166, 0.55), transparent 60%),
    radial-gradient(1.4px 1.4px at 30% 74%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.8px 1.8px at 91% 52%, rgba(255, 233, 166, 0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 45% 12%, rgba(255, 255, 255, 0.5), transparent 60%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .badge { width: 128px; height: 128px; margin: 0 auto 26px; display: block; }
.hero h1 { font-size: clamp(40px, 7vw, 74px); margin: 10px 0 4px; }
.hero .sub {
  font: var(--display); font-size: clamp(15px, 2.3vw, 22px);
  letter-spacing: 7px; color: #fff;
  text-shadow: 0 2px 0 rgba(11, 14, 36, 0.55);
  text-transform: uppercase;
}
.hero p.lede {
  max-width: 620px; margin: 22px auto 0;
  color: var(--muted); font-size: 18px;
}

/* ---------- candy-flat buttons ---------- */

.btn {
  display: inline-block;
  font: 800 16px/1 system-ui, -apple-system, Arial, sans-serif;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 16px 30px 15px;
  border-radius: 999px;
  transition: transform 0.08s ease;
}
.btn:active { transform: translateY(3px); }
.btn-gold {
  color: #4a2c00;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo));
  box-shadow: 0 4px 0 var(--gold-edge), 0 10px 24px rgba(0, 0, 0, 0.35);
}
.btn-gold:hover { color: #4a2c00; filter: brightness(1.06); }
.btn-gold:active { box-shadow: 0 1px 0 var(--gold-edge); }
.btn-ghost {
  color: var(--gold);
  border: 2px solid var(--line);
  padding: 14px 28px 13px;
}
.btn-ghost:hover { border-color: var(--gold); }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- sections ---------- */

.section { padding: 76px 0; }
.section + .section { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.section h2 { font-size: clamp(26px, 4vw, 40px); margin: 6px 0 14px; }
.section .lead { color: var(--muted); max-width: 640px; }

/* ---------- game showcase ---------- */

.game-feature {
  margin-top: 44px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px;
  align-items: center;
}
.game-feature .art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.game-feature .art img { width: 100%; display: block; }
.game-feature h3 { font-size: 30px; margin-bottom: 2px; }
.game-feature .status {
  display: inline-block; margin: 14px 0 12px;
  font-weight: 800; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-0);
  background: var(--teal);
  border-radius: 999px; padding: 6px 14px 5px;
  box-shadow: 0 3px 0 rgba(17, 94, 80, 0.9);
}
.game-feature p { color: var(--muted); }
.game-feature .btn-row { justify-content: flex-start; margin-top: 26px; }

.game-teaser {
  margin-top: 30px;
  border: 2px dashed rgba(255, 211, 77, 0.3);
  border-radius: var(--radius);
  padding: 30px 34px;
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.game-teaser b {
  font: var(--display); font-size: 16px; letter-spacing: 2px; color: var(--gold);
}
.game-teaser span { color: var(--muted); }

/* ---------- screenshot rail ---------- */

.shots {
  display: flex; gap: 18px;
  overflow-x: auto;
  padding: 34px 24px 22px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots img {
  height: 460px; width: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  scroll-snap-align: center;
  flex: none;
}

/* ---------- feature pillars ---------- */

.pillars {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pillar {
  border-top: 3px solid var(--gold);
  background: linear-gradient(180deg, rgba(61, 50, 156, 0.35), rgba(26, 23, 72, 0.25));
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 24px 26px;
}
.pillar h4 {
  font: var(--display); font-size: 15px; letter-spacing: 1.6px;
  color: var(--gold); margin-bottom: 10px; text-transform: uppercase;
}
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ---------- prose pages (privacy / terms / support) ---------- */

.prose { max-width: 760px; padding-top: 64px; padding-bottom: 90px; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); margin: 8px 0 6px; }
.prose .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.prose h2 {
  font: var(--display); font-size: 17px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--gold); margin: 42px 0 12px;
}
.prose p, .prose li { color: rgba(242, 236, 255, 0.82); }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 12px 0 12px 22px; }
.prose li + li { margin-top: 8px; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px;
}
.prose th, .prose td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(242, 236, 255, 0.82); vertical-align: top;
}
.prose th { color: var(--gold); font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; }
.prose .card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 22px 0;
  background: rgba(26, 23, 72, 0.35);
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  background: rgba(11, 14, 36, 0.6);
}
.site-foot .wrap {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.site-foot .copy { color: var(--muted); font-size: 14px; }
.site-foot nav { margin-left: auto; display: flex; gap: 22px; }
.site-foot nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.site-foot nav a:hover { color: var(--gold); }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .game-feature { grid-template-columns: 1fr; gap: 30px; }
  .pillars { grid-template-columns: 1fr; }
  .shots img { height: 380px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12.5px; }
  .hero { padding: 70px 0 60px; }
}
@media (max-width: 560px) {
  .brand b { display: none; }
  .site-foot nav { margin-left: 0; }
}
