/* Pixel Kingdoms changelog — tokens aligned with MainMenuSettings / godot-ui-consistency */

@font-face {
  font-family: "Yoster Island";
  src: url("fonts/YosterIslandRegular-VqMe.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kleintenna";
  src: url("fonts/Kleintenna-Bow.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Madou Futo Maru Gothic";
  src: url("fonts/MadouFutoMaruGothic-d9Xo7.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* MainMenuSettings color roles */
  --text-primary: #fff7df;
  --text-muted: #f3dca2;
  --text-subtle: #d9bd78;
  --accent-gold: #d9a441;
  --accent-teal: #73d6c9;
  --bg: #08111d;
  --panel-fill-top: rgba(8, 5, 3, 0.55);
  --panel-fill-bottom: rgba(23, 36, 59, 0.4);
  --panel-border: rgba(217, 164, 65, 0.44);
  --rule: rgba(217, 164, 65, 0.24);
  --grid-teal: rgba(115, 214, 201, 0.16);

  /* MainMenuSettings typography scale (web-adjusted) */
  --font-title: "Yoster Island", Georgia, serif;
  --font-heading: "Yoster Island", Georgia, serif;
  --font-body: "Kleintenna", Georgia, serif;
  --font-numeral: "Madou Futo Maru Gothic", monospace;

  --title-size: clamp(2.4rem, 6vw, 3.4rem);
  --heading-size: 1.35rem;
  --body-size: 1rem;
  --hint-size: 0.9375rem;
  --label-size: 0.875rem;

  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.55;
  background:
    radial-gradient(circle at top, rgba(115, 214, 201, 0.08), transparent 42%),
    linear-gradient(180deg, #0b1624 0%, var(--bg) 100%);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(100%, calc(var(--max-width) + 3rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.hero {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--label-size);
  color: var(--text-subtle);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-title);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: 1.05;
  color: var(--accent-gold);
  text-shadow: 0 2px 0 rgba(33, 8, 26, 0.45);
}

.lede {
  margin: 0.75rem 0 0;
  max-width: 42rem;
  font-size: var(--hint-size);
  line-height: 1.6;
  color: var(--text-muted);
}

.status {
  padding: 1rem 1.1rem;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, var(--panel-fill-top), var(--panel-fill-bottom));
}

.releases {
  display: grid;
  gap: 1.5rem;
  flex: 1;
}

.release {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, var(--panel-fill-top), var(--panel-fill-bottom));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.release-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.release-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--heading-size);
  font-weight: 400;
  color: var(--accent-gold);
}

.release-heading time {
  font-family: var(--font-numeral);
  font-size: var(--label-size);
  color: var(--text-subtle);
}

.section + .section {
  margin-top: 1rem;
}

.section h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-heading);
  font-size: var(--label-size);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--accent-teal);
}

.section ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section li + li {
  margin-top: 0.45rem;
}

.section li {
  color: var(--text-muted);
}

.section li strong {
  color: var(--text-primary);
}

.empty {
  margin: 0;
  color: var(--text-subtle);
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--label-size);
  color: var(--text-subtle);
}
