@font-face { font-family: Outfit; src: url(assets/Outfit-Variable.ttf) format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #16123A; --muted: #5E5A78; --cream: #FFF8E7; --surface: #fff; --line: #E2E0EE;
  --yellow: #FFC93C; --blue: #2F6BFF; --purple: #7B4DFF; --coral: #FF6B4A; --teal: #14C2A3; --green: #2BB673;
  --shadow: 0 10px 18px rgba(22,18,58,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Outfit, system-ui, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; }
.nav img { height: 64px; display: block; }
.nav .links { display: flex; gap: 28px; font-weight: 600; font-size: 17px; }
.nav .links a { text-decoration: none; color: var(--muted); }
.nav .links a:hover { color: var(--ink); }

/* Buttons and type */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--yellow); color: var(--ink); font-weight: 800;
  font-size: 22px; padding: 20px 36px; border-radius: 100px; text-decoration: none; box-shadow: var(--shadow); transition: transform .08s ease-out; }
.btn:active { transform: scale(.97); }
.btn svg { width: 26px; height: 26px; }
h1 { font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.sub { color: var(--muted); font-size: 22px; font-weight: 500; line-height: 1.45; }

/* Home: hello card */
.hello { background: var(--purple); border-radius: 48px; position: relative; overflow: hidden; display: grid;
  grid-template-columns: 1fr auto; align-items: end; margin-top: 8px; box-shadow: var(--shadow); }
.hello .txt { padding: 64px 0 64px 64px; color: #fff; }
.hello h1 { font-size: 72px; margin-bottom: 18px; }
.hello .sub { color: rgba(255,255,255,.88); margin-bottom: 34px; max-width: 460px; }
.hello .dot { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); left: 52%; top: 50px; }
.hello .buddy { margin-right: 40px; width: 340px; }
.hello .buddy svg { display: block; width: 100%; height: auto; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0 72px; }
.fact { background: var(--surface); border-radius: 32px; padding: 28px 30px; box-shadow: var(--shadow); }
.fact i { display: block; width: 48px; height: 48px; border-radius: 16px; margin-bottom: 16px; }
.fact b { font-size: 24px; font-weight: 700; display: block; margin-bottom: 4px; }
.fact span { color: var(--muted); font-size: 17px; font-weight: 500; }

h2.section { font-size: 40px; font-weight: 800; margin-bottom: 28px; }
.games { padding-bottom: 56px; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.tiles img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 9px rgba(22,18,58,.14)); }

/* Legal pages */
.doc { background: var(--surface); border-radius: 40px; box-shadow: var(--shadow); max-width: 820px; margin: 8px auto 64px; padding: 56px 64px; }
.doc .back { display: inline-block; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 20px; font-size: 17px; }
.doc h1 { font-size: 52px; margin-bottom: 8px; }
.doc .date { color: var(--muted); font-weight: 500; font-size: 17px; margin-bottom: 32px; }
.doc h2 { font-size: 26px; font-weight: 700; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 18px; line-height: 1.65; color: #2c2850; font-weight: 400; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 10px 0 0 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--blue); font-weight: 600; }
.short { background: #F1ECFF; border-radius: 28px; padding: 24px 28px; }
.short b { display: block; font-size: 20px; margin-bottom: 8px; }
.short ul { margin-top: 0; }
.todo { background: #FFE9A8; border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* Footer */
footer { padding: 40px 0 48px; color: var(--muted); font-size: 16px; font-weight: 500; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .links { display: flex; gap: 24px; }
footer a { text-decoration: none; font-weight: 600; color: var(--ink); }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .hello h1 { font-size: 60px; }
  .hello .buddy { width: 260px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav img { height: 44px; }
  .nav .links { gap: 16px; font-size: 15px; }
  .nav .links .hide-sm { display: none; }
  .btn { font-size: 19px; padding: 18px 28px; }
  .sub { font-size: 18px; }
  .hello { grid-template-columns: 1fr; border-radius: 36px; }
  .hello .txt { padding: 40px 28px 8px; }
  .hello h1 { font-size: 46px; }
  .hello .buddy { margin: 0 auto; width: 220px; }
  .hello .dot { left: auto; right: 28px; top: 28px; width: 28px; height: 28px; }
  .facts { grid-template-columns: 1fr; gap: 14px; margin-bottom: 56px; }
  h2.section { font-size: 30px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .doc { border-radius: 32px; padding: 32px 22px; }
  .doc h1 { font-size: 38px; }
  .doc h2 { font-size: 22px; }
  .doc p, .doc li { font-size: 17px; }
}
.doc ul + p { margin-top: 12px; }
