/* Fame design tokens.
   Values taken from the MAUI app (Mobile/Resources/Styles/Colors.xaml).
   Named by role, not by hue: the app was re-themed from pink to green/cyan
   but the XAML keys kept their old names (Pinky, Ruzicasta). */

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Bitter";
  src: url("../fonts/Bitter[wght].ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Simpletune";
  src: url("../fonts/Simpletune-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* Surfaces — app is dark-first; splash uses #0a0100 */
  --surface-app: #0a0a0a;
  --surface-raised: #141414;
  --surface-overlay: rgba(20, 20, 20, 0.5);
  --surface-scrim: rgba(10, 10, 10, 0.95);

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #acacac;
  --text-muted: #6e6e6e;
  --text-on-accent: #0a0a0a;

  /* Lines */
  --border-subtle: #404040;
  --border-strong: #6e6e6e;
  --border-input: #c8c8c8;

  /* Brand accent (was Pinky) */
  --accent: #57de7b;
  --accent-bright: #0ceb26;
  --accent-alt: #57d7de;
  --accent-deep: #0e663e;

  /* Gold — used for premium borders / coin */
  --gold: #ffd700;
  --gold-light: #ffed8a;
  --gold-dark: #756300;

  /* Status */
  --danger: #ed4d4d;
  --warning: #f7b548;
  --info: #3e8eed;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 50%, var(--accent-alt) 100%);
  --gradient-gold: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);

  /* Typography */
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Simpletune", var(--font-body);
  --font-serif: "Bitter", Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;
  --text-display: 4.5rem;

  --leading-tight: 1.2;
  --leading-normal: 1.5;

  /* Spacing — 4px base */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;

  /* Radii — softer than the old 10px frames, still the same surfaces */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 10px 32px rgba(87, 222, 123, 0.22);

  /* Layout — wide canvas; the phone column was 480px */
  --page-max: 1120px;
  --rail-width: 248px;
  --page-pad: var(--space-5);
  --nav-height: 76px;
  --header-height: 64px;
  --fab-bottom: calc(var(--nav-height) + var(--space-4));

  --transition: 180ms ease;
}
