/* JAND Games — Brand tokens (Brand Style Guide) */

/* Self-hosted Quicksand (latin) — avoids render-blocking Google Fonts */
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/quicksand-latin.woff2") format("woff2");
}

:root {
  --jand-purple-light: #D6BBFF;
  --jand-purple: #9B6FC3;
  --jand-orange-light: #FFD8A8;
  --jand-orange: #FF9B4F;

  --ink: #1A1224;
  --sub: #5C4A6E;
  --bg: #FAF6FF;
  --bg-warm: #FFF8F0;
  --paper: #FFFFFF;
  --line: #E8DCF5;

  --accent: var(--jand-purple);
  --accent-soft: var(--jand-purple-light);
  --accent-2: var(--jand-orange);
  --accent-2-soft: var(--jand-orange-light);

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  --font: "Quicksand", system-ui, sans-serif;
  --radius: 16px;
  --shadow: 0 6px 0 rgba(26, 18, 36, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--jand-purple);
}

a:hover {
  color: var(--jand-orange);
}

/* Site chrome */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--paper);
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--ink);
}

.site-header .brand picture {
  display: flex;
  align-items: center;
}

.site-header .brand img {
  height: 48px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

.site-header nav a {
  font-weight: 600;
  text-decoration: none;
  color: var(--sub);
  font-size: 0.95rem;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  color: var(--jand-purple);
}

.site-footer {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  color: var(--sub);
  font-size: 0.85rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 14px;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.btn-primary {
  background: var(--jand-purple);
  color: #fff;
  box-shadow: 0 4px 0 rgba(26, 18, 36, 0.15);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--jand-orange);
  color: #fff;
  box-shadow: 0 4px 0 rgba(26, 18, 36, 0.12);
}

.btn-secondary:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--jand-purple-light);
}

.btn-print {
  background: var(--jand-orange);
  color: #fff;
  box-shadow: 0 3px 0 rgba(26, 18, 36, 0.15);
}

@media print {
  .no-print,
  .site-header,
  .site-footer {
    display: none !important;
  }
}
