:root {
  /* Baggrundslag — varm pergament */
  --bg-base:     #EDE2CF;
  --bg-surface:  #FFFFFF;
  --bg-elevated: #F5EDE2;
  --bg-overlay:  #D4BE9D;

  /* Kanter */
  --border-subtle:  rgba(0,0,0,0.05);
  --border-default: rgba(0,0,0,0.09);
  --border-strong:  rgba(0,0,0,0.16);

  /* Accent / brand — oxblood */
  --accent:       #67343A;
  --accent-light: #8B4D54;
  --accent-dark:  #4D2328;
  --accent-glow:  rgba(103, 52, 58, 0.12);

  /* Tekst */
  --text-primary:   #302622;
  --text-secondary: #9A704F;
  --text-muted:     #BCA989;

  /* Status */
  --success: #22C55E;
  --error:   #EF4444;
  --warning: #F59E0B;

  /* Rating (guld) */
  --rating:    #F59E0B;
  --rating-bg: rgba(245, 158, 11, 0.12);

  /* Kategorifarver */
  --cat-music:        #9b59b6;
  --cat-film:         #3498db;
  --cat-series:       #1abc9c;
  --cat-games:        #2ecc71;
  --cat-books:        #e67e22;
  --cat-podcasts:     #e91e8c;
  --cat-escape:       #e74c3c;
  --cat-concerts:     #f39c12;
  --cat-restaurants:  #ff6b35;
  --cat-boardgames:   #8e44ad;

  /* Typografi */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;

  /* Afstand (4px-grid) */
  --sp-1: 4px;  --sp-2: 8px;   --sp-3: 12px;
  --sp-4: 16px; --sp-5: 20px;  --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* Hjørneradius */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --r-xl: 24px; --r-full: 9999px;

  /* Skygger — lette til lys baggrund */
  --shadow-sm: 0 2px 8px  rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-accent: 0 4px 20px rgba(103,52,58,0.25);

  /* Overgange */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* App-layout */
  --header-h: 56px;
  --nav-h:    64px;
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

body {
  font-family: var(--font);
  background: #EDE2CF;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
