/* Stylesheet for the static site pages (about / contact / privacy / terms /
   games). The app's style.css locks the body for the table layout, so these
   pages carry their own scrollable shell with the same aurora-glass look. */

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --gold: #e8c266;
  --gold-hi: #f6dc9a;
  --text: #f2f3f8;
  --text-dim: rgba(230, 236, 252, .62);
  --red: #ff8585;
  --glass-line: rgba(255, 255, 255, .17);
  --glass-grad: linear-gradient(165deg, rgba(255,255,255,.14), rgba(255,255,255,.045) 42%, rgba(255,255,255,.09));
  --glass-shadow: 0 24px 60px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.26), inset 0 -1px 0 rgba(255,255,255,.05);
}

html { background: #090a10; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52% 58% at 14% 16%, rgba(38, 168, 106, .5), transparent 72%),
    radial-gradient(46% 52% at 86% 12%, rgba(32, 128, 150, .44), transparent 72%),
    radial-gradient(58% 64% at 80% 88%, rgba(184, 138, 40, .34), transparent 74%),
    radial-gradient(44% 50% at 14% 86%, rgba(46, 104, 186, .3), transparent 72%),
    linear-gradient(180deg, #0e1119, #08090e);
}
a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── header ── */
.site-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 880px; width: 100%; margin: 0 auto; padding: 18px 20px 8px;
  flex-wrap: wrap;
}
.site-logo {
  font-size: 26px; font-weight: 800; letter-spacing: .5px; color: var(--text);
}
.site-logo:hover { text-decoration: none; }
.site-logo em { font-style: normal; color: var(--gold); }
.site-logo .suit { font-size: 19px; opacity: .85; }
.site-logo .suit.red { color: var(--red); }
.site-head nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-head nav a {
  color: var(--text-dim); font-size: 14.5px; font-weight: 600;
  padding: 7px 13px; border-radius: 12px; border: 1px solid transparent;
}
.site-head nav a:hover { color: var(--text); text-decoration: none; background: rgba(255,255,255,.07); }
.site-head nav a.active {
  color: var(--gold-hi); background: var(--glass-grad); border-color: var(--glass-line);
}

/* ── content card ── */
main {
  width: 100%; max-width: 880px; margin: 14px auto; padding: 0 20px; flex: 1;
}
.page-card {
  background: var(--glass-grad); border: 1px solid var(--glass-line);
  border-radius: 26px; box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding: clamp(24px, 5vw, 46px);
}
.page-card h1 { font-size: clamp(26px, 4.5vw, 34px); line-height: 1.25; margin-bottom: 6px; }
.page-card .lede { color: var(--text-dim); font-size: 17px; margin-bottom: 22px; }
.page-card h2, .page-card h3 { margin: 26px 0 8px; font-size: 20px; }
.page-card h4 { margin: 20px 0 6px; font-size: 16.5px; color: var(--gold-hi); }
.page-card p, .page-card li { color: rgba(238, 242, 252, .88); font-size: 15.5px; }
.page-card p { margin: 8px 0; }
.page-card ul, .page-card ol { margin: 8px 0 8px 22px; }
.page-card li { margin: 4px 0; }
.page-card small.updated { color: var(--text-dim); display: block; margin-bottom: 18px; }
.btn-play {
  display: inline-block; margin: 18px 4px 4px 0; padding: 13px 26px; border-radius: 15px;
  background: linear-gradient(165deg, var(--gold-hi), var(--gold) 55%, #c9a24b);
  color: #22190a; font-weight: 800; font-size: 16px;
  box-shadow: 0 10px 26px rgba(232, 194, 102, .28), inset 0 1px 0 rgba(255,255,255,.55);
}
.btn-play:hover { text-decoration: none; filter: brightness(1.06); }

/* ── games grid ── */
.games-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; margin-top: 18px;
}
.game-card {
  display: block; padding: 18px; border-radius: 18px; color: var(--text);
  background: rgba(255,255,255,.055); border: 1px solid var(--glass-line);
}
.game-card:hover { text-decoration: none; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.game-card b { display: block; font-size: 17px; margin-bottom: 4px; }
.game-card span { color: var(--text-dim); font-size: 14px; }
.game-card .meta { display: block; margin-top: 8px; color: var(--gold-hi); font-size: 12.5px; letter-spacing: .4px; }

/* ── footer ── */
.site-foot {
  max-width: 880px; width: 100%; margin: 26px auto 0; padding: 18px 20px 26px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: var(--text-dim); font-size: 13.5px; text-align: center;
}
.site-foot nav { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 8px 0; }
.site-foot a { color: var(--text-dim); }
.site-foot a:hover { color: var(--text); }
