/* Kohle Studios: same look as Ouralia. Black page, white Inter text, outlined rounded boxes,
   coloured labels are coloured text with no fill. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #000000;
  --surface-2: #141414;
  --border: #3a3a3a;
  --text: #FFFFFF;
  --green: #22DD33;
  --amber: #FBBF24;
  --magenta: #FF5A9A;
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
a { color: var(--text); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }

/* Snowflakes: fixed canvas behind everything; boxes are solid so flakes pass behind them. */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.topbar, main, .footer { position: relative; z-index: 1; }

/* Top bar: just the name on the left, like Ouralia. */
.topbar {
  position: sticky; top: 0; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--bg);
}
.brand { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.spacer { flex: 1; }

/* Buttons: outlined pills. .solid = white with black words; .white = white outline. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg); color: var(--text); font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn.sm { padding: 7px 14px; font-size: 14px; }
.btn.white { border-color: var(--text); }
.btn.solid { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn.solid:hover { opacity: .88; }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

main { flex: 1; width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.hero { padding: 16vh 0 12vh; text-align: center; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(44px, 9vw, 96px); font-weight: 800; line-height: 1.02; }
.lede { margin: 18px auto 0; max-width: 560px; font-size: clamp(17px, 2.4vw, 21px); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.section { padding: 28px 0 40px; scroll-margin-top: 80px; }
.section h2 { font-size: 26px; margin-bottom: 18px; }

.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }

.game { overflow: hidden; }
.game-art {
  aspect-ratio: 16 / 9; display: grid; place-items: center; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.game-art span { font-size: 56px; font-weight: 800; opacity: .5; }
.game-body { padding: 18px 20px 20px; }
.game-body h3 { font-size: 20px; margin: 6px 0 4px; }
.game-body p { margin: 0; }

/* Coloured labels: coloured text, no background fill. */
.label { font-size: 13px; font-weight: 700; }
.label.amber { color: var(--amber); }
.label.green { color: var(--green); }
.label.magenta { color: var(--magenta); }

.about { padding: 20px 22px; font-size: 17px; }
.about p { margin: 0; }

.footer {
  border-top: 1px solid var(--border); background: var(--bg);
  padding: 22px 20px; text-align: center; font-size: 14px;
}

@media (max-width: 600px) {
  .topbar { padding: 10px 14px; }
  .brand { font-size: 19px; }
  main { padding: 0 16px; }
  .hero { padding: 12vh 0 8vh; }
  .grid { grid-template-columns: 1fr; }
}

/* Discord */
.btn svg { flex: none; }
.community { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-decoration: none; }
.community:hover { border-color: var(--text); }
.community-icon { width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; flex: none; }
.community .grow { flex: 1; min-width: 0; }
.community strong { display: block; font-size: 17px; }
.community small { display: block; font-size: 14px; margin-top: 2px; }
.footer { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.footer-link:hover { text-decoration: underline; }
@media (max-width: 600px) { .community .btn { display: none; } }

/* Logo: the pixel-art coal with a white outline (no background), and the pixel lettering in white. */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { height: 38px; width: auto; display: block; }
.brand-word { height: 18px; width: auto; display: block; }
.hero-mark { height: 150px; width: auto; display: block; margin: 0 auto 26px; }
.hero h1 { line-height: 0; }
.hero-word { width: min(560px, 88vw); height: auto; display: inline-block; }
@media (max-width: 600px) {
  .brand-mark { height: 32px; }
  .brand-word { height: 15px; }
  .hero-mark { height: 116px; }
}
