/* Искра — токены и темы оформления.
   Тема ставится атрибутом data-theme на любой контейнер (обычно body).
   Экран гостя и зрительский экран берут цвета только отсюда. */

:root,
[data-theme="universal"] {
  --bg: #0f0e13;
  --bg-2: #16141c;
  --surface: #1d1b24;
  --surface-2: #27242f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f1e8;
  --text-2: #bcb5a8;
  --text-3: #7f796f;
  --accent: #e6c27a;
  --accent-2: #f08a6b;
  --on-accent: #1d1608;
  --c1: #e6c27a; --c2: #f08a6b; --c3: #8fb8de; --c4: #a8d5a2; --c5: #c9a7e8; --c6: #f2e2b6;
  --glow-1: rgba(230, 194, 122, 0.20);
  --glow-2: rgba(240, 138, 107, 0.12);
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.01em;
  --card-tilt: 1;
  --decor: none;
  color-scheme: dark;
}

[data-theme="newyear"] {
  --bg: #061817;
  --bg-2: #0a2120;
  --surface: #0f2b29;
  --surface-2: #163735;
  --line: rgba(220, 255, 245, 0.10);
  --text: #f2f7f3;
  --text-2: #a9c4bd;
  --text-3: #6c8a83;
  --accent: #f4c45a;
  --accent-2: #e8463a;
  --on-accent: #231803;
  --c1: #f4c45a; --c2: #e8463a; --c3: #7fd1c1; --c4: #ff9a3c; --c5: #dde8e4; --c6: #9bc37a;
  --glow-1: rgba(244, 196, 90, 0.16);
  --glow-2: rgba(127, 209, 193, 0.14);
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.01em;
  --decor: snow;
  color-scheme: dark;
}

[data-theme="wedding"] {
  --bg: #f6f1ea;
  --bg-2: #efe7dc;
  --surface: #fffdf9;
  --surface-2: #f3ece2;
  --line: rgba(70, 45, 30, 0.12);
  --text: #2c2420;
  --text-2: #6e625a;
  --text-3: #a09389;
  --accent: #b9847a;
  --accent-2: #8e9f86;
  --on-accent: #ffffff;
  --c1: #b9847a; --c2: #8e9f86; --c3: #c9a96e; --c4: #7e8fa8; --c5: #d7a7a0; --c6: #5e6b5a;
  --glow-1: rgba(201, 169, 110, 0.22);
  --glow-2: rgba(185, 132, 122, 0.16);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --display-weight: 600;
  --display-tracking: 0;
  --decor: petals;
  color-scheme: light;
}

[data-theme="corporate"] {
  --bg: #0b0e13;
  --bg-2: #10141b;
  --surface: #161b24;
  --surface-2: #1f2530;
  --line: rgba(200, 220, 255, 0.10);
  --text: #eef2f7;
  --text-2: #a3adbd;
  --text-3: #6a7486;
  --accent: #5a86ff;
  --accent-2: #3ed3a8;
  --on-accent: #ffffff;
  --c1: #5a86ff; --c2: #3ed3a8; --c3: #ffb547; --c4: #ff6b8b; --c5: #a38bff; --c6: #7fd3ff;
  --glow-1: rgba(90, 134, 255, 0.20);
  --glow-2: rgba(62, 211, 168, 0.10);
  --font-display: "Onest", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.025em;
  --decor: grid;
  color-scheme: dark;
}

[data-theme="birthday"] {
  --bg: #170c26;
  --bg-2: #1f1131;
  --surface: #28173d;
  --surface-2: #33204b;
  --line: rgba(255, 220, 245, 0.11);
  --text: #fff5fb;
  --text-2: #cdb6d6;
  --text-3: #8d7799;
  --accent: #ff4fa3;
  --accent-2: #ffd43b;
  --on-accent: #ffffff;
  --c1: #ff4fa3; --c2: #ffd43b; --c3: #5ce1e6; --c4: #9b7bff; --c5: #ff8a3d; --c6: #7cf29a;
  --glow-1: rgba(255, 79, 163, 0.20);
  --glow-2: rgba(255, 212, 59, 0.12);
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.01em;
  --decor: confetti;
  color-scheme: dark;
}

/* Общие величины, от темы не зависят */
:root {
  --font-ui: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ok: #4fc98b;
  --danger: #ff5d5d;
  --warn: #ffb547;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
