/* ---- Fonts ---- */
@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-BookItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('../fonts/Gotham-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

:root {
  /* ---- Comu Brand Design System Tokens ---- */
  --brand-primary: #ff0149;
  --brand-secondary: #5700ff;
  --brand-support: #1d0746;
  --brand-white: #f5f1f2;

  /* ---- Color Mapping ---- */
  --color-bg-primary: var(--brand-support);
  --color-bg-secondary: #160538;
  --color-bg-tertiary: #200950;
  --color-bg-elevated: #2a1160;
  --color-bg-surface: #2f1568;
  --color-bg-hover: #381d75;

  /* Text */
  --color-text-primary: var(--brand-white);
  --color-text-secondary: #a8a8bf;
  --color-text-muted: #6b6b82;
  --color-text-inverse: var(--brand-support);

  /* Accent: Primary (Comu Brand) */
  --color-accent: var(--brand-primary);
  --color-accent-hover: #ff3370;
  --color-accent-glow: rgba(255, 1, 73, 0.3);
  --color-accent-subtle: rgba(255, 1, 73, 0.1);

  /* Accent: Gold */
  --color-gold: #FFB84D;
  --color-gold-hover: #FFC76E;
  --color-gold-glow: rgba(255, 184, 77, 0.25);
  --color-gold-subtle: rgba(255, 184, 77, 0.08);

  /* Accent: Secondary / Purple (Comu Brand) */
  --color-purple: var(--brand-secondary);
  --color-purple-hover: #7733FF;
  --color-purple-glow: rgba(87, 0, 255, 0.3);

  /* Accent: Rose */
  --color-rose: #F43F7A;
  --color-rose-glow: rgba(244, 63, 122, 0.25);

  /* Accent: Teal */
  --color-teal: #2DD4BF;
  --color-teal-glow: rgba(45, 212, 191, 0.25);

  /* Accent: Amber */
  --color-amber: #F59E0B;
  --color-amber-glow: rgba(245, 158, 11, 0.25);

  /* Accent: Sky */
  --color-sky: #38BDF8;
  --color-sky-glow: rgba(56, 189, 248, 0.25);

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-hover: rgba(255, 255, 255, 0.16);
  --color-border-accent: rgba(255, 1, 73, 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(29, 7, 70, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;

  /* ---- Typography ---- */
  --font-display: 'Gotham', system-ui, sans-serif;
  --font-body: 'Gotham', system-ui, sans-serif;
  --font-accent: 'Gotham', system-ui, sans-serif;

  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 2.5rem;     /* 40px */
  --text-5xl: 3rem;       /* 48px */
  --text-6xl: 3.75rem;    /* 60px */
  --text-7xl: 4.5rem;     /* 72px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest: 0.14em;

  /* ---- Spacing ---- */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* ---- Border Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-glow-accent: 0 0 30px var(--color-accent-glow), 0 0 60px rgba(255, 107, 74, 0.1);
  --shadow-glow-gold: 0 0 30px var(--color-gold-glow), 0 0 60px rgba(255, 184, 77, 0.1);
  --shadow-glow-purple: 0 0 30px var(--color-purple-glow);

  /* ---- Transitions ---- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --duration-slower: 600ms;

  /* ---- Layout ---- */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;
  --container-2xl: 1400px;

  --header-height: 72px;

  /* ---- Z-Index Scale ---- */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}
