/* Shared styling for the content pages (how-to-play, spyfall, locations).
   The landing page keeps its own inline styles; these mirror its tokens so the
   pages read as one site without touching a file that is already working. */

:root {
  --bg: #06060e;
  --bg2: #0d0b1a;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --purple: #9040ff;
  --purple-light: #c285ff;
  --cyan: #00d4ff;
  --text: #f1f1f3;
  --muted: rgba(255, 255, 255, 0.45);
  --muted2: rgba(255, 255, 255, 0.25);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(144, 64, 255, 0.16), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 212, 255, 0.06), transparent);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px 80px; }

/* ── header ── */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0 40px;
}
.site-head a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.site-head img { width: 132px; height: auto; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* ── type ── */
h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(30px, 6vw, 46px);
  line-height: 1.12; margin: 0 0 14px; font-weight: 700; letter-spacing: -0.5px;
}
h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(22px, 4vw, 30px);
  margin: 46px 0 14px; font-weight: 700; letter-spacing: -0.3px;
}
h3 { font-size: 17px; margin: 28px 0 8px; font-weight: 600; }
p, li { color: rgba(255, 255, 255, 0.72); font-size: 16px; }
.lede { font-size: 18px; color: var(--muted); margin-bottom: 30px; }
a { color: var(--purple-light); }
strong { color: var(--text); }
ol, ul { padding-left: 22px; }
li { margin: 7px 0; }

/* ── blocks ── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 22px; margin: 18px 0;
}
.card h3 { margin-top: 0; }
.note {
  border-left: 3px solid var(--purple); background: rgba(144, 64, 255, 0.06);
  border-radius: 0 12px 12px 0; padding: 14px 18px; margin: 22px 0;
}
.note p { margin: 0; }

.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #6520d8, #9040ff 50%, #00bde0);
  color: #fff; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 30px; border-radius: 14px; margin: 12px 0 4px;
  box-shadow: 0 4px 22px rgba(144, 64, 255, 0.35);
}
.cta:hover { box-shadow: 0 6px 30px rgba(144, 64, 255, 0.5); }

table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
td { color: rgba(255, 255, 255, 0.75); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin: 20px 0; }
.tile { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.tile img { width: 100%; height: auto; display: block; background: #0b0918; }
.tile span { display: block; padding: 9px 10px; font-size: 13px; font-weight: 600; text-align: center; }

.site-foot {
  border-top: 1px solid var(--border); margin-top: 64px; padding-top: 24px;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.site-foot a { color: var(--muted); text-decoration: none; font-size: 14px; }
.site-foot a:hover { color: var(--text); }
.site-foot span { color: var(--muted2); font-size: 13px; margin-left: auto; }
