/*
  Design plan for Find Found And Fun
  -----------------------------------
  Subject list:
  1. Name: "Find Found And Fun" - the three beats of memory play: search, spot, celebrate.
  2. Players: Friends and family passing a phone or gathered at the kitchen table.
  3. Cards: Chunky tactile playing tiles with bold animal portraits and thick rims.
  4. Characters: Party Pug, Box Cat, Snacky Hamster, Goofy Alpaca, Ducky Otter, Scarf Penguin, Donut Raccoon, Raincoat Frog.
  5. Ritual: Tap tile, flip, hold breath, match or remember the spot for next turn.
  6. Sounds: Gentle wooden snap on flip, cheerful bright chime on matching pair, victory fanfare.
  7. Turn tracker: Big legible turn counter, 2-player pass-and-play duel tracker, and combo meter.
  8. Celebrations: Confetti burst, funny animal quips, and silly honorary trophies.
  9. Constraint: One page, zero friction, playable in under two seconds on any screen.
  10. Tactile feel: Flat surfaces, punchy contrast, bold round geometry, zero faux-gloss.

  Idea sentence:
  "On this site, the tactile snap and colourful backs of wooden tabletop memory tiles become a bold, tactile digital card deck that friends and family can flip with thumbs or keyboard."

  One bold element:
  Oversized, high-contrast, rounded animal game cards featuring original funny and cute animal portraits that pop with distinct vibrant hues on a warm paper playmat.
*/

:root {
  /* 6 core colours: ground, ink, accent + 3 supporting */
  --color-ground: oklch(0.985 0.012 95);
  --color-ink: oklch(0.22 0.045 275);
  --color-accent: oklch(0.62 0.22 35);
  --color-sun: oklch(0.85 0.17 90);
  --color-emerald: oklch(0.60 0.18 150);
  --color-sky: oklch(0.65 0.16 235);

  /* Derived tones using color-mix */
  --color-surface: color-mix(in oklch, var(--color-ground) 94%, var(--color-ink) 6%);
  --color-surface-card: color-mix(in oklch, var(--color-ground) 85%, var(--color-sun) 15%);
  --color-surface-hover: color-mix(in oklch, var(--color-ground) 80%, var(--color-sun) 20%);
  --color-card-back: color-mix(in oklch, var(--color-accent) 88%, var(--color-ground) 12%);
  --color-card-matched: color-mix(in oklch, var(--color-emerald) 18%, var(--color-ground) 82%);
  --color-muted-ink: color-mix(in oklch, var(--color-ink) 65%, var(--color-ground) 35%);
  --color-focus: var(--color-sky);

  /* Fun player and highlight tones */
  --color-p1: var(--color-accent);
  --color-p2: var(--color-sky);
  --color-p1-soft: color-mix(in oklch, var(--color-accent) 18%, var(--color-ground) 82%);
  --color-p2-soft: color-mix(in oklch, var(--color-sky) 20%, var(--color-ground) 80%);
  --color-highlight-soft: color-mix(in oklch, var(--color-sun) 28%, var(--color-ground) 72%);

  /* Typography */
  --font-display: ui-rounded, 'Hiragino Maru Gothic ProN', Quicksand, Comfortaa, 'Arial Rounded MT Bold', Calibri, sans-serif;
  --font-body: ui-rounded, Quicksand, 'Hiragino Maru Gothic ProN', Calibri, sans-serif;

  /* Type scale */
  --text-hero: clamp(2rem, 5vw, 3.2rem);
  --text-title: clamp(1.35rem, 3.2vw, 1.85rem);
  --text-large: 1.15rem;
  --text-body: 1rem;
  --text-small: 0.875rem;

  /* Spacing scale on 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Shape: fully round decision */
  --radius-sm: 8px;
  --radius-card: 20px;
  --radius-pill: 9999px;

  /* Layout width */
  --max-width: 920px;
}
