/* Self-Hosted CoverApp Typography (100% Offline PWA Ready — Zero Third-Party CDN Dependency) */
@font-face {
  font-family: 'Glacial Indifference';
  src: url('/fonts/glacial-indifference-400.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial Indifference';
  src: url('/fonts/glacial-indifference-700.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('/fonts/league-spartan-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'League Spartan';
  src: url('/fonts/league-spartan-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Brand Primary (Purple Scale) --- */
  --color-purple-darker:  #1C0040; /* Deep Surface & High-Contrast Primary Text */
  --color-purple-dark:    #27005A; /* Card Base / Dark Modals */
  --color-purple-primary: #380080; /* Hero Backdrops & Headers */
  --color-purple-light:   #744DA6; /* Active Sub-elements / Borders */
  --color-purple-lighter: #AF99CC; /* Muted Decorative Borders */
  --color-purple-lightest:#EBE6F2; /* Light Surface Backdrops / Quick Action Dock */
  --color-purple-tint:    #F3EFF8; /* Subtle Bento Inset Surface */

  /* --- Brand Accent (Coral Scale) --- */
  --color-coral-primary:  #FF5757; /* Primary Accent (Brand Highlight & Large CTA) */
  --color-coral-dark:     #C82333; /* WCAG AA >= 5.2:1 Hover & Text-Bearing Coral Button */
  --color-coral-light:    #FF8989; /* Secondary Highlights */
  --color-coral-lighter:  #FFBCBC; /* Alert / User Bubble Backgrounds */
  --color-coral-lightest: #FFEEEE; /* Subtle Highlight / Bot Bubble Tints */

  /* --- WCAG AA Contrast-Safe Semantic Tokens --- */
  --color-tab-muted:      #5E4585; /* >= 6.4:1 on #FFFFFF (fixes #AF99CC 2.55:1 failure) */
  --color-coins-gold:     #9A5B00; /* >= 5.2:1 on #FFFFFF */
  --color-success-dark:   #006B3F; /* >= 6.2:1 on #E6F7ED */
  --color-success-bg:     #E6F7ED;

  /* --- Surface & Contrast Tokens --- */
  --color-bg-app:              #F8F7FA;
  --color-surface-card:        #FFFFFF;
  --color-border-subtle:       #E8E0F2;
  --color-text-dark-primary:   #FFFFFF;
  --color-text-dark-secondary: #D4C5E8;
  --color-text-light-primary:  #1C0040;
  --color-text-light-secondary:#5E4585;

  /* --- Typography Families --- */
  --font-logo: 'League Spartan', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Glacial Indifference', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* --- Border Radii --- */
  --radius-bento: 32px;
  --radius-card:  20px;
  --radius-sm:    12px;
  --radius-pill:  9999px;

  /* --- Shadows (Minimal Surface-Shift Neo-Bento) --- */
  --shadow-dock:   0 2px 10px rgba(28, 0, 64, 0.05);
  --shadow-bubble: 0 1px 4px rgba(56, 0, 128, 0.04);
}
