/* Lhasa Games public site: home page and privacy policy. */
:root {
  --night: #0c1a20;
  --deep: #10262d;
  --card: #15303a;
  --line: rgba(238, 243, 241, 0.12);
  --text: #eef3f1;
  --muted: #a7b9b6;
  --teal: #5cc7a8;
  --gold: #e6b25a;
  --coral: #f08a6c;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(92, 199, 168, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(240, 138, 108, 0.12), transparent 60%),
    var(--night);
  background-attachment: fixed;
  color: var(--text);
  font: 17px/1.55 var(--sans);
}
a { color: var(--teal); }
a:hover { color: var(--gold); }
.site { max-width: 1120px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }

.hero { padding: 72px 0 40px; max-width: 760px; }
.hero.small { padding: 48px 0 16px; }
.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { margin: 0 0 16px; font-size: clamp(36px, 7vw, 60px); letter-spacing: -0.01em; }
.lede { margin: 0; font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); }

.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 8px 0 56px;
}
.game {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.game img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }
.game-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.game h3 { margin: 0; font-size: 24px; }
.game p { margin: 0; color: var(--muted); font-size: 15.5px; }
.chip {
  align-self: flex-start; margin-top: auto;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(92, 199, 168, 0.14); color: var(--teal);
  font-size: 13px; font-weight: 600;
}
.game.soon { border-style: dashed; background: rgba(21, 48, 58, 0.5); box-shadow: none; }
.soon-mark {
  aspect-ratio: 9 / 16; display: grid; place-items: center;
  font: 300 96px/1 var(--sans); color: var(--gold);
  background: radial-gradient(circle at 50% 45%, rgba(230, 178, 90, 0.18), transparent 60%);
}

.info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px 48px;
  padding: 36px 0 56px; border-top: 1px solid var(--line);
}
.info h2 { margin: 0 0 8px; font-size: 24px; }
.info p { margin: 0; color: var(--muted); }

.policy { max-width: 720px; padding-bottom: 48px; }
.policy h2 { margin: 40px 0 10px; font-size: 26px; }
.policy h3 { margin: 24px 0 6px; font-size: 19px; color: var(--gold); }
.policy p, .policy li { color: #d3dfdc; }
.policy ul { padding-left: 1.2em; }
.policy li { margin: 8px 0; }
.policy strong { color: var(--text); }

.site-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 24px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.site-foot nav { display: flex; gap: 20px; }
.site-foot a { color: var(--text); text-decoration: none; }
.site-foot a:hover { color: var(--teal); }
.site-foot p { margin: 0; }

@media (max-width: 560px) {
  .hero { padding: 44px 0 28px; }
  .games { gap: 18px; }
  /* On a phone the poster is tall; show its top two-thirds. */
  .game img { aspect-ratio: 3 / 4; object-position: top; }
  .soon-mark { aspect-ratio: auto; height: 120px; font-size: 64px; }
}
