/*
 * Inticam — design tokens.
 * Fuente única de verdad del sistema visual: ningún otro archivo define un
 * color, un radio o una sombra. Ver docs/app/inticam-style.md §3.
 */

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-variable.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

*, *::before, *::after {
  font-style: normal !important;
}

:root {
  /* ─── Pasteles · fondos y superficies ─────────────────────────── */
  --int-blush:        #FDF2F0;
  --int-cream:         #FCF7F4;
  --int-petal:         #F8E1DC;
  --int-shell:         #FAEDE9;

  /* ─── Rosados · acentos ───────────────────────────────────────── */
  --int-rose-100:      #FBE3EC;
  --int-rose-200:      #F4BCD0;
  --int-rose-300:      #E78BA9;
  --int-rose-400:      #DC5D86;

  /* ─── Rojos · acciones ────────────────────────────────────────── */
  --int-crimson:       #C21E63;
  --int-ruby:          #9E174E;
  --int-wine:          #6E1238;

  /* ─── Premium ─────────────────────────────────────────────────── */
  --int-gold:          #D4A574;

  /* ─── Tintas · texto ──────────────────────────────────────────── */
  --int-ink:           #3D1F22;
  --int-ink-soft:      #6B3D42;
  --int-ink-hush:      #A38387;

  /* ─── Estado · superficie ─────────────────────────────────────── */
  --int-live:          #C21E63;
  --int-success:       #2F9E6B;
  --int-warning:       #C98A2E;
  --int-danger:        #B4232B;

  /* ─── Estado · texto sobre fondo claro (docs/app/inticam-style.md §3.3) ── */
  --int-success-ink:   #257D54;
  --int-warning-ink:   #956622;
  --int-gold-ink:      #97642F;
  --int-rose-ink:      #D12B61;

  /* ─── Líneas y sombras ────────────────────────────────────────── */
  --int-line:          rgba(110, 18, 56, .08);
  --int-line-strong:   rgba(110, 18, 56, .16);

  --int-shadow-sm:     0 4px 12px rgba(110, 18, 56, .06);
  --int-shadow-md:     0 8px 24px rgba(194, 30, 99, .10);
  --int-shadow-cta:    0 10px 28px rgba(194, 30, 99, .32);

  --int-grad-cta:      linear-gradient(135deg, var(--int-crimson), var(--int-ruby));
  --int-grad-soft:     linear-gradient(135deg, var(--int-rose-400), var(--int-crimson));
  --int-grad-deep:     linear-gradient(135deg, var(--int-wine), var(--int-crimson));

  /* ─── Ambiente oscuro (feed, salas en vivo) ───────────────────── */
  --int-dark-bg:       #000000;
  --int-dark-surface:  #111111;
  --int-dark-sheet:    #1A1A1A;
  --int-dark-glass:    rgba(255, 255, 255, .12);
  --int-dark-line:     rgba(255, 255, 255, .14);
  --int-dark-text:     rgba(255, 255, 255, .85);
  --int-dark-hush:     rgba(255, 255, 255, .55);

  /* ─── Espaciado · escala de 4 px ──────────────────────────────── */
  --int-s1: 4px;   --int-s2: 8px;   --int-s3: 12px;  --int-s4: 16px;
  --int-s6: 24px;  --int-s8: 32px;  --int-s12: 48px; --int-s16: 64px;

  /* ─── Radios ──────────────────────────────────────────────────── */
  --int-r-input: 12px;
  --int-r-card:  16px;
  --int-r-sheet: 24px;
  --int-r-pill:  9999px;

  /* ─── Movimiento ──────────────────────────────────────────────── */
  --int-ease:   cubic-bezier(.2, .8, .2, 1);
  --int-fast:   120ms;
  --int-normal: 220ms;
  --int-slow:   380ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
