/* ============================================================
   ZFirm.me — Премиальная система шаблонов
   Шаблоны: Default | Aurora | Neon | Crystal
   Переключение: data-template на <html>
   ============================================================ */

/* ═══════════════════════════════════════════════════════════
   ШАБЛОН 1: AURORA (Северное сияние)
   Мягкие градиенты, стеклянные карточки, живые переливы
   ═══════════════════════════════════════════════════════════ */
[data-template="aurora"] {
  --bg: #080818;
  --text: #f0eef7;
  --text-2: #b8b0d0;
  --muted: #7a6f96;
  --line: #2a2045;
  --line-2: #3d2f60;
  --surface: rgba(25, 18, 50, .65);
  --surface-solid: #19123a;
  --accent: #a855f7;
  --accent-2: #7c3aed;
  --accent-light: #c084fc;
  --violet: #d946ef;
  --cyan: #22d3ee;
  --orange: #fb7185;
}

[data-template="aurora"] body {
  background: linear-gradient(180deg, #080818 0%, #10082e 40%, #1a0a3a 100%);
  background-attachment: fixed;
}

/* Живое северное сияние — 3 слоя */
[data-template="aurora"] .aurora::before {
  background: radial-gradient(ellipse at 25% 0%,
    rgba(34, 211, 153, .3) 0%,
    rgba(168, 85, 247, .2) 45%,
    transparent 70%);
  width: 1000px; height: 550px;
  top: -180px; left: -120px;
  animation: auroraWave1 14s ease-in-out infinite;
}

[data-template="aurora"] .aurora::after {
  background: radial-gradient(ellipse at 75% 5%,
    rgba(236, 72, 153, .25) 0%,
    rgba(139, 92, 246, .18) 50%,
    transparent 75%);
  width: 850px; height: 480px;
  top: -120px; right: -160px;
  animation: auroraWave2 18s ease-in-out infinite;
}

@keyframes auroraWave1 {
  0%, 100% { transform: translateX(0) skewX(-5deg) scaleY(1); opacity: .5; }
  33% { transform: translateX(80px) skewX(4deg) scaleY(1.1); opacity: .7; }
  66% { transform: translateX(-50px) skewX(-3deg) scaleY(.95); opacity: .4; }
}

@keyframes auroraWave2 {
  0%, 100% { transform: translateX(0) skewX(4deg) scaleY(1); opacity: .45; }
  50% { transform: translateX(-90px) skewX(-6deg) scaleY(1.15); opacity: .65; }
}

/* Glassmorphism карточки */
[data-template="aurora"] .platform,
[data-template="aurora"] .service-card,
[data-template="aurora"] .news-card,
[data-template="aurora"] .search-shell {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .12);
}

[data-template="aurora"] .platform:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(168, 85, 247, .5);
  box-shadow: 0 24px 70px rgba(168, 85, 247, .2), 0 0 40px rgba(168, 85, 247, .1);
}

/* Градиентные кнопки */
[data-template="aurora"] .service-link,
[data-template="aurora"] .btn {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border: none;
}

[data-template="aurora"] .service-link:hover,
[data-template="aurora"] .btn:hover {
  background: linear-gradient(135deg, #9333ea, #db2777);
  box-shadow: 0 10px 30px rgba(168, 85, 247, .4);
  transform: translateY(-2px);
}

/* Заголовок с aurora-градиентом */
[data-template="aurora"] .hero-title .grad {
  background: linear-gradient(120deg, #22d3ee, #a855f7 35%, #ec4899 65%, #f97316);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: auroraText 8s linear infinite;
}

@keyframes auroraText {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

[data-template="aurora"] .logo-mark {
  background: linear-gradient(135deg, #22d3ee, #a855f7, #ec4899);
  box-shadow: 0 6px 25px rgba(168, 85, 247, .5);
}

[data-template="aurora"] .site-head {
  background: rgba(8, 8, 24, .6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(168, 85, 247, .15);
}

[data-template="aurora"] .search-box {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(168, 85, 247, .25);
}

[data-template="aurora"] .search-box:focus-within {
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, .2), 0 20px 50px rgba(0, 0, 0, .4);
}

[data-template="aurora"] .hero-badge {
  background: rgba(168, 85, 247, .12);
  border-color: rgba(168, 85, 247, .3);
  color: #c084fc;
}

/* Светлая тема Aurora */
[data-template="aurora"][data-theme="light"] {
  --bg: #f5f0ff;
  --text: #1a1035;
  --text-2: #5a4d78;
  --muted: #9a8db5;
  --line: #e0d5f5;
  --line-2: #cfc0ea;
  --surface: rgba(255, 255, 255, .75);
  --surface-solid: #ffffff;
  --accent: #7c3aed;
  --accent-2: #6d28d9;
  --accent-light: #8b5cf6;
}

[data-template="aurora"][data-theme="light"] body {
  background: linear-gradient(180deg, #f5f0ff 0%, #ede5ff 40%, #f0e8ff 100%);
}

[data-template="aurora"][data-theme="light"] .aurora::before {
  background: radial-gradient(ellipse at 30% 0%, rgba(34,211,153,.12) 0%, rgba(168,85,247,.1) 40%, transparent 70%);
}
[data-template="aurora"][data-theme="light"] .aurora::after {
  background: radial-gradient(ellipse at 70% 0%, rgba(236,72,153,.1) 0%, rgba(139,92,246,.08) 50%, transparent 75%);
}


/* ═══════════════════════════════════════════════════════════
   ШАБЛОН 2: NEON (Киберпанк)
   Чёрный фон, неоновая сетка, свечение, глитч-эффекты
   ═══════════════════════════════════════════════════════════ */
[data-template="neon"] {
  --bg: #030308;
  --text: #e8e8f0;
  --text-2: #9898b0;
  --muted: #5a5a72;
  --line: #1a1a2e;
  --line-2: #2a2a45;
  --surface: rgba(8, 8, 18, .9);
  --surface-solid: #080812;
  --accent: #00f0ff;
  --accent-2: #00c4d4;
  --accent-light: #66f7ff;
  --violet: #ff2d78;
  --cyan: #00f0ff;
  --orange: #ff6b35;
}

/* Неоновая сетка на фоне */
[data-template="neon"] body {
  background: #030308;
  background-image:
    linear-gradient(rgba(0, 240, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, .03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-attachment: fixed;
}

/* Неоновые пятна */
[data-template="neon"] .aurora::before {
  background: radial-gradient(circle at 20% 20%,
    rgba(255, 45, 120, .2) 0%, transparent 50%);
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  filter: blur(60px);
  animation: neonPulse1 6s ease-in-out infinite;
}

[data-template="neon"] .aurora::after {
  background: radial-gradient(circle at 80% 30%,
    rgba(0, 240, 255, .15) 0%, transparent 50%);
  width: 500px; height: 500px;
  top: -100px; right: -50px;
  filter: blur(60px);
  animation: neonPulse2 8s ease-in-out infinite;
}

@keyframes neonPulse1 {
  0%, 100% { opacity: .3; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.15); }
}
@keyframes neonPulse2 {
  0%, 100% { opacity: .25; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.2); }
}

/* Неоновые карточки с рамкой-свечением */
[data-template="neon"] .platform,
[data-template="neon"] .service-card,
[data-template="neon"] .news-card {
  background: rgba(8, 8, 18, .92);
  border: 1px solid rgba(0, 240, 255, .15);
  box-shadow: 0 0 15px rgba(0, 240, 255, .05), inset 0 0 15px rgba(0, 240, 255, .02);
}

[data-template="neon"] .platform:hover {
  border-color: rgba(0, 240, 255, .6);
  box-shadow:
    0 0 25px rgba(0, 240, 255, .2),
    0 0 50px rgba(0, 240, 255, .08),
    inset 0 0 25px rgba(0, 240, 255, .04);
  transform: translateY(-5px);
}

[data-template="neon"] .platform.apple:hover { border-color: rgba(255,45,120,.7); box-shadow: 0 0 30px rgba(255,45,120,.25); }
[data-template="neon"] .platform.xiaomi:hover { border-color: rgba(255,107,53,.7); box-shadow: 0 0 30px rgba(255,107,53,.25); }
[data-template="neon"] .platform.oplus:hover { border-color: rgba(0,255,136,.7); box-shadow: 0 0 30px rgba(0,255,136,.25); }

/* Неоновый заголовок с глитчем */
[data-template="neon"] .hero-title .grad {
  background: linear-gradient(120deg, #00f0ff, #ff2d78 50%, #00f0ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonText 4s linear infinite;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, .5));
}

@keyframes neonText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Неоновый логотип */
[data-template="neon"] .logo-mark {
  background: linear-gradient(135deg, #00f0ff, #ff2d78);
  box-shadow: 0 0 20px rgba(0,240,255,.5), 0 0 40px rgba(255,45,120,.3);
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,240,255,.5), 0 0 40px rgba(255,45,120,.3); }
  50% { box-shadow: 0 0 30px rgba(255,45,120,.5), 0 0 50px rgba(0,240,255,.3); }
}

/* Неоновые кнопки */
[data-template="neon"] .service-link,
[data-template="neon"] .btn {
  background: transparent;
  border: 1px solid #00f0ff;
  color: #00f0ff;
  text-shadow: 0 0 10px rgba(0, 240, 255, .5);
  box-shadow: 0 0 10px rgba(0,240,255,.2), inset 0 0 10px rgba(0,240,255,.05);
}

[data-template="neon"] .service-link:hover,
[data-template="neon"] .btn:hover {
  background: rgba(0,240,255,.1);
  box-shadow: 0 0 30px rgba(0,240,255,.4), inset 0 0 20px rgba(0,240,255,.1);
  text-shadow: 0 0 15px rgba(0,240,255,.8);
}

[data-template="neon"] .site-head {
  background: rgba(3, 3, 8, .88);
  border-bottom: 1px solid rgba(0, 240, 255, .15);
  box-shadow: 0 1px 25px rgba(0, 240, 255, .1);
}

[data-template="neon"] .search-box {
  background: rgba(8, 8, 18, .92);
  border: 1px solid rgba(0, 240, 255, .2);
}

[data-template="neon"] .search-box:focus-within {
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0,240,255,.15), 0 0 35px rgba(0,240,255,.15);
}

[data-template="neon"] .hero-badge {
  background: rgba(0,240,255,.08);
  border: 1px solid rgba(0,240,255,.3);
  color: #66f7ff;
  text-shadow: 0 0 8px rgba(0,240,255,.4);
}

[data-template="neon"] .pulse {
  background: #00f0ff;
  box-shadow: 0 0 10px #00f0ff;
}

[data-template="neon"] .news-card:hover {
  border-color: rgba(255,45,120,.5);
  box-shadow: 0 0 30px rgba(255,45,120,.15);
}

[data-template="neon"] .news-source {
  background: rgba(0,240,255,.15);
  border-color: rgba(0,240,255,.3);
  color: #66f7ff;
}

[data-template="neon"] .news-read,
[data-template="neon"] .foot-col > a:hover {
  color: #00f0ff;
  text-shadow: 0 0 8px rgba(0,240,255,.4);
}

[data-template="neon"] .lang-switch button.on {
  background: rgba(0,240,255,.2);
  color: #00f0ff;
  border: 1px solid rgba(0,240,255,.4);
  text-shadow: 0 0 8px rgba(0,240,255,.5);
}

/* Светлая тема Neon */
[data-template="neon"][data-theme="light"] {
  --bg: #f0f4ff;
  --text: #0a0a1a;
  --text-2: #3a3a55;
  --muted: #7a7a95;
  --line: #d0d5e8;
  --line-2: #b8c0d8;
  --surface: rgba(255,255,255,.85);
  --surface-solid: #ffffff;
  --accent: #0066ff;
  --accent-2: #0044cc;
  --accent-light: #3388ff;
}

[data-template="neon"][data-theme="light"] body {
  background: #f0f4ff;
  background-image:
    linear-gradient(rgba(0,100,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,100,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}


/* ═══════════════════════════════════════════════════════════
   ШАБЛОН 3: CRYSTAL (Премиальное стекло) ⭐ НОВЫЙ
   Полное стекло, алмазные переливы, 3D-эффекты, люкс
   ═══════════════════════════════════════════════════════════ */
[data-template="crystal"] {
  --bg: #0a0a14;
  --text: #f4f2fa;
  --text-2: #c0b8d8;
  --muted: #8878a8;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --surface: rgba(255, 255, 255, .05);
  --surface-solid: rgba(20, 16, 40, .85);
  --accent: #e879f9;
  --accent-2: #c026d3;
  --accent-light: #f0abfc;
  --violet: #a78bfa;
  --cyan: #67e8f9;
  --orange: #fbbf24;
}

/* Кристальный фон — многослойные градиенты */
[data-template="crystal"] body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232, 121, 249, .12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(103, 232, 249, .08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(167, 139, 250, .1) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a14 0%, #12101f 50%, #0d0b18 100%);
  background-attachment: fixed;
}

/* Алмазные переливы на фоне */
[data-template="crystal"] .aurora::before {
  background:
    conic-gradient(from 0deg at 50% 50%,
      rgba(232,121,249,.15) 0deg,
      rgba(103,232,249,.1) 90deg,
      rgba(167,139,250,.15) 180deg,
      rgba(251,191,36,.08) 270deg,
      rgba(232,121,249,.15) 360deg);
  width: 800px; height: 800px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  animation: crystalSpin 25s linear infinite;
  border-radius: 50%;
}

[data-template="crystal"] .aurora::after {
  background:
    radial-gradient(circle at 30% 70%, rgba(232,121,249,.12) 0%, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(103,232,249,.1) 0%, transparent 40%);
  width: 600px; height: 600px;
  bottom: -200px; right: -100px;
  filter: blur(60px);
  animation: crystalFloat 12s ease-in-out infinite;
}

@keyframes crystalSpin {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(360deg); }
}

@keyframes crystalFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-40px) scale(1.1); opacity: .6; }
}

/* Стеклянные карточки с алмазной рамкой */
[data-template="crystal"] .platform,
[data-template="crystal"] .service-card,
[data-template="crystal"] .news-card,
[data-template="crystal"] .search-shell {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(30px) saturate(1.6);
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* Алмазная рамка при ховере */
[data-template="crystal"] .platform::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(232,121,249,.6),
    rgba(103,232,249,.4),
    rgba(167,139,250,.6),
    rgba(251,191,36,.3));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  animation: crystalBorder 4s linear infinite;
}

[data-template="crystal"] .platform:hover::before {
  opacity: 1;
}

@keyframes crystalBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

[data-template="crystal"] .platform:hover {
  background: rgba(255, 255, 255, .08);
  box-shadow:
    0 25px 80px rgba(232, 121, 249, .15),
    0 0 60px rgba(103, 232, 249, .08),
    inset 0 1px 0 rgba(255, 255, 255, .15);
  transform: translateY(-6px) scale(1.01);
}

/* Кристальный заголовок */
[data-template="crystal"] .hero-title .grad {
  background: linear-gradient(120deg,
    #f0abfc 0%,
    #e879f9 20%,
    #67e8f9 40%,
    #a78bfa 60%,
    #fbbf24 80%,
    #f0abfc 100%);
  background-size: 400% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: crystalShimmer 6s linear infinite;
  filter: drop-shadow(0 0 30px rgba(232, 121, 249, .3));
}

@keyframes crystalShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 400% center; }
}

/* Кристальный логотип */
[data-template="crystal"] .logo-mark {
  background: linear-gradient(135deg, #e879f9, #67e8f9, #a78bfa);
  background-size: 200% 200%;
  animation: crystalLogo 4s ease-in-out infinite;
  box-shadow:
    0 6px 30px rgba(232, 121, 249, .4),
    0 0 20px rgba(103, 232, 249, .2);
}

@keyframes crystalLogo {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Кристальная шапка */
[data-template="crystal"] .site-head {
  background: rgba(10, 10, 20, .5);
  backdrop-filter: blur(30px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* Кристальный поиск */
[data-template="crystal"] .search-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(232, 121, 249, .2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.08);
}

[data-template="crystal"] .search-box:focus-within {
  border-color: rgba(232, 121, 249, .5);
  box-shadow:
    0 0 0 4px rgba(232, 121, 249, .15),
    0 20px 60px rgba(232, 121, 249, .15),
    inset 0 1px 0 rgba(255,255,255,.1);
}

/* Кристальный бейдж */
[data-template="crystal"] .hero-badge {
  background: rgba(232, 121, 249, .1);
  border: 1px solid rgba(232, 121, 249, .25);
  color: #f0abfc;
  backdrop-filter: blur(10px);
}

/* Кристальные кнопки */
[data-template="crystal"] .service-link,
[data-template="crystal"] .btn {
  background: linear-gradient(135deg, rgba(232,121,249,.9), rgba(103,232,249,.8));
  border: none;
  box-shadow: 0 6px 25px rgba(232, 121, 249, .3);
}

[data-template="crystal"] .service-link:hover,
[data-template="crystal"] .btn:hover {
  box-shadow: 0 10px 40px rgba(232, 121, 249, .5);
  transform: translateY(-2px);
}

/* Кристальные новости */
[data-template="crystal"] .news-card:hover {
  border-color: rgba(232, 121, 249, .3);
  box-shadow: 0 20px 60px rgba(232, 121, 249, .12);
}

[data-template="crystal"] .news-source {
  background: rgba(232, 121, 249, .15);
  border-color: rgba(232, 121, 249, .3);
  color: #f0abfc;
  backdrop-filter: blur(8px);
}

/* Кристальные вкладки языка */
[data-template="crystal"] .lang-switch button.on {
  background: linear-gradient(135deg, rgba(232,121,249,.8), rgba(103,232,249,.7));
  color: #fff;
  box-shadow: 0 3px 15px rgba(232, 121, 249, .3);
}

/* Светлая тема Crystal */
[data-template="crystal"][data-theme="light"] {
  --bg: #faf5ff;
  --text: #1e1035;
  --text-2: #5a4878;
  --muted: #9888b8;
  --line: rgba(167, 139, 250, .15);
  --line-2: rgba(167, 139, 250, .25);
  --surface: rgba(255, 255, 255, .7);
  --surface-solid: rgba(255, 255, 255, .9);
  --accent: #c026d3;
  --accent-2: #a21caf;
  --accent-light: #d946ef;
}

[data-template="crystal"][data-theme="light"] body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(232,121,249,.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(103,232,249,.06) 0%, transparent 50%),
    linear-gradient(180deg, #faf5ff 0%, #f3e8ff 50%, #ede5ff 100%);
}

[data-template="crystal"][data-theme="light"] .aurora::before {
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(232,121,249,.08) 0deg, rgba(103,232,249,.06) 90deg,
    rgba(167,139,250,.08) 180deg, rgba(251,191,36,.04) 270deg,
    rgba(232,121,249,.08) 360deg);
}


/* ═══════════════════════════════════════════════════════════
   ПЕРЕКЛЮЧАТЕЛЬ ШАБЛОНОВ (общий)
   ═══════════════════════════════════════════════════════════ */
.template-switch {
  display: inline-flex;
  gap: 3px;
  background: var(--surface-solid);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 3px;
  backdrop-filter: blur(10px);
}

.template-switch button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  position: relative;
}

.template-switch button:hover {
  background: var(--line);
  transform: scale(1.1);
}

.template-switch button.on {
  background: var(--accent);
  box-shadow: 0 3px 12px rgba(59, 130, 246, .35);
  transform: scale(1.05);
}

/* Тултип */
.template-switch button::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  background: var(--surface-solid);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .2s cubic-bezier(.16, 1, .3, 1);
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

.template-switch button:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Плавный переход между шаблонами */
.template-transition,
.template-transition * {
  transition: background .5s ease, color .3s ease, border-color .3s ease,
              box-shadow .3s ease, backdrop-filter .3s ease !important;
}

/* Мобильная адаптация */
@media (max-width: 680px) {
  .template-switch { order: -1; }
  .template-switch button { width: 30px; height: 30px; font-size: 14px; }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-template="aurora"] .aurora::before,
  [data-template="aurora"] .aurora::after,
  [data-template="neon"] .aurora::before,
  [data-template="neon"] .aurora::after,
  [data-template="crystal"] .aurora::before,
  [data-template="crystal"] .aurora::after {
    animation: none !important;
  }
  [data-template="aurora"] .hero-title .grad,
  [data-template="neon"] .hero-title .grad,
  [data-template="crystal"] .hero-title .grad {
    animation: none !important;
  }
}