/* Tilt Fox Games — official site */
:root {
  --bg: #10131c;
  --bg-soft: #161a26;
  --card: #1c2130;
  --card-hover: #222838;
  --line: #2c3348;
  --text: #eeeae0;
  --muted: #9aa0b0;
  --gold: #ffcf4a;
  --gold-dim: #e0b42e;
  --ink: #14161f;
  --max: 1120px;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --radius: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font: 18px/1.6 var(--sans);
  min-height: 100vh;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffe38a; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(16, 19, 28, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand svg, .brand .mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-weight: 650; font-size: 15px; letter-spacing: 0.04em; }
.brand-text span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
nav.primary { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: flex-end; }
nav.primary a {
  color: var(--cream, var(--text));
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 2px;
}
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; padding: 12px 20px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: #ffe38a; color: var(--ink) !important; }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.hero {
  padding: 56px 0 32px;
  background:
    radial-gradient(1000px 420px at 80% -10%, rgba(255, 207, 74, 0.12), transparent 60%),
    radial-gradient(800px 400px at 0% 20%, rgba(90, 120, 255, 0.08), transparent 55%);
}
.kicker {
  color: var(--gold); font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 12px; margin: 0 0 14px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 22px; }
.lede { font-size: 21px; color: var(--muted); max-width: 42rem; margin: 0; }
section { padding: 28px 0 12px; }
.section-head { margin-bottom: 22px; }
.grid-2 { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.feature-icon { font-size: 28px; margin-bottom: 10px; }
.game-hero {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 24px;
}
.game-hero img.app-icon { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.game-hero h2 { margin-bottom: 4px; }
.game-hero .sub { color: var(--gold); font-weight: 600; margin: 0 0 8px; font-size: 16px; }
.game-hero p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; border-radius: 22px; border: 1px solid var(--line);
  background: #0c0e16; box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.shots figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
.store-btn { padding: 10px 18px 10px 14px; }
.store-btn svg { width: 20px; height: 24px; display: block; }
.store-btn .lbl { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-btn .lbl small { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.store-btn .lbl b { font-size: 16px; font-weight: 800; }
.cta-band {
  margin: 40px 0 12px;
  background: linear-gradient(180deg, #1f2433, #191d2a);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.meta-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin: 16px 0 0; padding: 0; list-style: none; }
.meta-list li { border-top: 1px solid var(--line); padding: 10px 0; color: var(--muted); font-size: 16px; }
.meta-list strong { display: block; color: var(--text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.prose { max-width: 760px; }
.prose p { color: var(--cream, var(--text)); }
.prose p.dim, .prose .dim { color: var(--muted); font-size: 16px; }
.prose h2 { margin-top: 36px; color: var(--gold); font-size: 24px; }
.prose ul { color: var(--text); padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 12px 0 20px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: #1e212e; }
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: #0c0f16;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 15px;
}
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: grid; gap: 22px; }
.footer-brand { font-family: var(--display); color: var(--text); font-size: 22px; margin: 0 0 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.legal-note { margin: 8px 0 0; max-width: 40rem; }
@media (max-width: 900px) {
  .grid-2, .game-hero { grid-template-columns: 1fr; }
  .game-hero { justify-items: start; }
  .grid-3, .grid-4, .shots { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 12px 0 10px; }
  nav.primary { justify-content: flex-start; width: 100%; gap: 8px 14px; }
  .wrap, .header-inner, .footer-inner, .hero .wrap { width: min(var(--max), calc(100% - 28px)); }
  body { font-size: 17px; }
  .hero { padding: 36px 0 18px; }
  .shots { gap: 10px; }
  .cta-band { padding: 24px 18px; }
  .meta-list { grid-template-columns: 1fr; }
}
