/* ============================================================
   Eaton Games — shared brand tokens
   Rooted in Eaton Eagles blue, warmed up for a kid-first feel.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,700&display=swap');

:root {
  /* Brand */
  --eaton-blue:      #2952A3;   /* primary, from eatondc.org */
  --eaton-blue-700:  #1d3c79;
  --eaton-blue-900:  #142a57;
  --eaton-sky:       #dbe6fa;
  --eaton-cloud:     #f3f7ff;
  --gold:            #ffce3a;   /* eagle gold accent */
  --gold-ink:        #8a5a00;

  /* Game accents — each game owns a hue (matched chroma/lightness) */
  --panda:   oklch(0.62 0.13 150);   /* bamboo green */
  --memory:  oklch(0.62 0.13 8);     /* coral */
  --face:    oklch(0.62 0.13 60);    /* warm amber */

  /* Neutrals (cool-warm white/ink) */
  --ink:        #1c2433;
  --ink-soft:   #4a5468;
  --paper:      #fbfcff;
  --line:       #e2e8f4;

  /* Shape */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 6px rgba(20,42,87,.08);
  --shadow-md: 0 10px 30px rgba(20,42,87,.14);
  --shadow-lg: 0 24px 60px rgba(20,42,87,.22);

  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Original Eaton "eagle" emblem — a friendly geometric star-bird,
   NOT the school's actual logo. Built from CSS so it's safe + ours. */
.eaton-mark {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.01em;
}
.eaton-mark .badge {
  width: 1.7em; height: 1.7em;
  display: grid; place-items: center;
  border-radius: 30% 30% 38% 38%;
  background: var(--gold);
  position: relative;
  flex: none;
  box-shadow: inset 0 -3px 0 rgba(138,90,0,.25);
}
.eaton-mark .badge::before {
  /* simple wing/chevron — abstract, original */
  content: "";
  width: .9em; height: .9em;
  background: var(--eaton-blue);
  clip-path: polygon(50% 8%, 90% 92%, 50% 70%, 10% 92%);
}

.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: .7em 1.3em;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--eaton-blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--eaton-blue-700); }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
