/* Kiteline Games site (GitHub Pages). Colours from the Kiteline logo: navy outline, teal, green, kite orange. */
@font-face { font-family: 'Nunito'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/nunito-400.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/nunito-700.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 800; font-style: normal; font-display: swap; src: url(fonts/nunito-800.woff2) format('woff2'); }
@font-face { font-family: 'Lilita One'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/lilita-one-400.woff2) format('woff2'); }

:root {
  --bg: #eef6f7; --bg-deep: #dcebee; --card: #ffffff; --ink: #12325a; --ink-soft: #4a6382; --line: #cfe0e5;
  --link: #1b6788; --accent: #f29a26; --green: #4f9a3f; --shadow: 0 10px 30px rgba(18, 50, 90, .10);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e1a2b; --bg-deep: #0a1422; --card: #142640; --ink: #e9f1f6; --ink-soft: #a9bdd0; --line: #24395a;
          --link: #7cc6e6; --accent: #f6ad4c; --green: #8cc97c; --shadow: 0 10px 30px rgba(0, 0, 0, .35); color-scheme: dark; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: linear-gradient(180deg, var(--bg-deep) 0, var(--bg) 320px) var(--bg); color: var(--ink);
  font: 400 17px/1.65 'Nunito', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
.wrap { max-width: 960px; margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 720px; }

/* home */
.hero { text-align: center; padding-block: 56px 28px; display: grid; justify-items: center; gap: 14px; }
.hero img { width: 168px; }
.hero h1 { font-weight: 800; font-size: clamp(34px, 6vw, 48px); letter-spacing: .5px; }
.hero p { margin: 0; color: var(--ink-soft); font-size: 19px; }

.game {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow);
  padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
}
.game-head { display: flex; gap: 18px; align-items: center; }
.game-head img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 4px 12px rgba(18, 50, 90, .18); }
.game h2 { font-family: 'Lilita One', 'Nunito', sans-serif; font-weight: 400; font-size: 34px; letter-spacing: .3px; }
.chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.game p { margin: 16px 0 0; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-weight: 700; }
.shots { display: flex; gap: 12px; }
.shots img { width: 168px; border-radius: 16px; border: 1px solid var(--line); }

.contact { text-align: center; padding-block: 40px 8px; color: var(--ink-soft); }
.contact strong { color: var(--ink); }
footer { text-align: center; padding-block: 24px 40px; color: var(--ink-soft); font-size: 14px; }

/* policy */
.top { display: flex; align-items: center; gap: 12px; padding-block: 22px; }
.top img { width: 44px; }
.top a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 34px clamp(20px, 5vw, 48px) 40px; }
.doc h1 { font-weight: 800; font-size: clamp(28px, 5vw, 36px); }
.doc .date { color: var(--ink-soft); margin: 8px 0 0; }
.lang { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 6px; }
.lang a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-weight: 700; font-size: 15px; text-decoration: none; }
.doc section + section { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 32px; }
.doc h2 { font-weight: 800; font-size: 24px; margin-top: 8px; }
.doc h3 { font-weight: 800; font-size: 19px; margin-top: 28px; }
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.summary { background: var(--bg); border-radius: 14px; padding: 6px 20px 16px; margin-top: 18px; }

@media (max-width: 760px) {
  .game { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .game-head { gap: 14px; }
  .game-head img { width: 72px; height: 72px; border-radius: 18px; }
  .game h2 { font-size: 28px; }
  .chip { font-size: 13px; white-space: nowrap; }
  .shots { justify-content: center; }
  .shots img { width: calc(50% - 6px); max-width: 190px; }
}

@media (max-width: 359px) {
  .chip { white-space: normal; }
}
