/* QuietGiantGames website: one stylesheet for every page. No trackers, no external fonts. */
:root {
  --night: #0d1630;
  --night2: #16244a;
  --card: #1b2c5a;
  --line: rgba(255, 255, 255, .12);
  --text: #eef2ff;
  --muted: #b9c3e6;
  --gold: #ffc24a;
  --orange: #f29a3a;
  --radius: 18px;
  --wrap: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--night); color: var(--text);
  font: 17px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--gold); }
a:hover { color: #fff; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* header */
header { position: sticky; top: 0; z-index: 10; background: rgba(13, 22, 48, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: .2px; }
.wordmark b { color: var(--gold); font-weight: 900; }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-weight: 600; }
nav a:hover { color: var(--gold); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 110px; background: radial-gradient(1200px 500px at 70% -10%, #2c3f7a 0%, transparent 60%), linear-gradient(var(--night2), var(--night)); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -1px; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--muted); font-size: 20px; max-width: 34em; margin: 0 0 28px; }
.hero .art { justify-self: center; width: min(340px, 80vw); filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .45)); }
.stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 15%, #fff, transparent), radial-gradient(1px 1px at 80% 60%, #fff, transparent), radial-gradient(1px 1px at 92% 25%, #fff, transparent), radial-gradient(1.2px 1.2px at 45% 85%, #fff, transparent); opacity: .5; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 800; text-decoration: none; background: linear-gradient(var(--gold), var(--orange)); color: #3a1a00; box-shadow: 0 6px 20px rgba(242, 154, 58, .35); }
.btn:hover { color: #3a1a00; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--line); box-shadow: none; margin-left: 10px; }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }

/* sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; }
.lead { color: var(--muted); font-size: 19px; max-width: 46em; margin: 0 0 36px; }
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card h3 { margin: 14px 0 6px; font-size: 24px; }
.card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.card .icon { width: 96px; height: 96px; border-radius: 22px; }
.card.feature { grid-column: span 2; flex-direction: row; gap: 26px; align-items: center; background: linear-gradient(135deg, #1f4a8a, #1b2c5a); }
.card.feature .icon { width: 150px; height: 150px; border-radius: 32px; flex: none; }
.card.soon { border-style: dashed; align-items: center; justify-content: center; text-align: center; min-height: 260px; }
.card.soon .q { font-size: 64px; line-height: 1; color: var(--gold); opacity: .8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--text); }
.tags li.on { background: rgba(98, 214, 138, .2); color: #9df0b8; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.value b { display: block; color: var(--gold); margin-bottom: 6px; font-size: 18px; }
.value span { color: var(--muted); font-size: 15px; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
footer nav a { margin: 0 18px 0 0; font-weight: 600; }
footer p { margin: 6px 0; }

/* legal pages */
.doc { max-width: 820px; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #dce3fb; }
.doc .note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 18px; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .art { width: 200px; order: -1; }
  .games, .contact { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; flex-direction: column; text-align: center; }
  .card.feature .tags { justify-content: center; }
  .values { grid-template-columns: 1fr 1fr; }
  nav.top a { margin-left: 14px; font-size: 15px; }
  .wordmark { font-size: 18px; }
  .btn.ghost { margin: 12px 0 0; }
}
@media (max-width: 520px) {
  nav.top { display: none; }
  .values { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
