/* ════════════════════════════════════════════════════════════════════════
   EFFECTS LAYER — премиальная технологичная подача: глубина, свечение,
   дата-графика, живые карточки, выверенные переходы. Грузится после
   components.css (переопределяет точечно). Всё уважает reduced-motion.
   Дух: трейдинг/инвестиции, уверенность, стиль — без «инфоцыган» (§3.7).
   ════════════════════════════════════════════════════════════════════════ */

/* ── Прогресс-скролла (тонкая teal-полоса сверху) ──────────────────────── */
.scroll-progress {
  position:fixed; top:0; left:0; height:2px; width:0; z-index:200;
  background:linear-gradient(90deg, var(--teal), var(--teal-l));
  box-shadow:0 0 12px var(--teal); transition:width .1s linear;
}

/* ── Биржевой тикер (ambient-данные, технологичность) ──────────────────── */
.ticker {
  position:relative; z-index:3; overflow:hidden;
  border-bottom:1px solid var(--line); background:rgba(10,10,10,.6);
  backdrop-filter:blur(8px);
}
/* в hero — тонкая полоса сразу под фикс-навигацией */
.hero > .ticker {
  position:absolute; top:88px; left:0; right:0; z-index:5;
  border-top:1px solid var(--line);
  -webkit-mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask:linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display:inline-flex; align-items:center; gap:34px; white-space:nowrap; padding:9px 0; animation:tickerScroll 38s linear infinite; }
.ticker-item { display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:11px; letter-spacing:.5px; color:var(--txt-3); }
.ticker-item .sym { color:var(--txt-2); }
.ticker-item .up { color:var(--up); }
.ticker-item .dn { color:var(--down); }
.ticker-item .up::before { content:'▲ '; font-size:8px; }
.ticker-item .dn::before { content:'▼ '; font-size:8px; }
.ticker-item::after { content:''; width:5px; height:5px; border-radius:50%; background:var(--line-2); margin-left:8px; }
@keyframes tickerScroll { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ── Анимированный draw спарклайна hero ────────────────────────────────── */
.hero-spark path:not(.area) { stroke-dasharray:2600; stroke-dashoffset:2600; animation:drawLine 2.6s var(--ease) .3s forwards; }
.hero-spark .dot { opacity:0; animation:dotIn .4s ease 2.7s forwards; }
.hero-spark .dot { filter:drop-shadow(0 0 6px var(--teal-l)); }
@keyframes drawLine { to{stroke-dashoffset:0;} }
@keyframes dotIn { from{opacity:0;transform:scale(0);} to{opacity:1;transform:scale(1);} }

/* ── Reveal со stagger (мягче, с шагом для сеток) ──────────────────────── */
.js .reveal { transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .nav-cards-grid .section-card,
.js .cases-grid .case-card,
.js .timeline-grid .tl-card,
.js .blog-grid .blog-card { opacity:0; transform:translateY(28px); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.show .section-card,
.js .reveal.show .case-card,
.js .reveal.show .tl-card,
.js .reveal.show .blog-card { opacity:1; transform:none; }
.js .reveal.show .section-card:nth-child(2){transition-delay:.05s}
.js .reveal.show .section-card:nth-child(3){transition-delay:.1s}
.js .reveal.show .section-card:nth-child(4){transition-delay:.15s}
.js .reveal.show .section-card:nth-child(5){transition-delay:.2s}
.js .reveal.show .section-card:nth-child(6){transition-delay:.25s}
.js .reveal.show .section-card:nth-child(7){transition-delay:.3s}
.js .reveal.show .section-card:nth-child(8){transition-delay:.35s}

/* ════════════════════════════════════════════════════════════════════════
   ЖИВЫЕ КАРТОЧКИ — курсор-свечение + лёгкий 3D-tilt (премиум/технологично)
   ════════════════════════════════════════════════════════════════════════ */
[data-glow] { transform:perspective(900px) rotateX(var(--ry,0)) rotateY(var(--rx,0)); transform-style:preserve-3d; will-change:transform; }

/* Навигатор: сетка-график в фон карточки, glow на ::after (курсор) */
.section-card {
  background-color:var(--bg-card);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 30% 0%, rgba(255,255,255,.025), transparent 42%);
  background-size:32px 32px, 32px 32px, 100% 100%;
}
.section-card::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:0;
  background:radial-gradient(420px circle at var(--mx,50%) var(--my,50%),
    color-mix(in srgb, var(--code) 18%, transparent), transparent 45%);
  opacity:0; transition:opacity .35s; mask:none;
}
.section-card:hover::after { opacity:1; }
.section-card:hover { border-color:color-mix(in srgb, var(--code) 60%, var(--line-2)); }

/* Градиентная кромка featured-оффера + у карточек при ховере */
.offer-card.featured { isolation:isolate; }
.offer-card.featured::after {
  content:''; position:absolute; inset:0; border-radius:inherit; padding:1px; z-index:0;
  background:linear-gradient(130deg, var(--teal), transparent 38%, transparent 62%, var(--teal-l));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude; opacity:.85;
}
.offer-card.featured > * { position:relative; z-index:1; }

/* ── Диагональная геометрия — фирменный приём (hart/endigo) ─────────────── */
.accent-band {
  position:relative; overflow:hidden;
  margin:0; padding:0; height:0;
  border:0;
}
/* Косая teal-полоса-разделитель с подсветкой */
.slash-divider {
  position:relative; height:120px; overflow:hidden;
  display:flex; align-items:center;
}
.slash-divider::before {
  content:''; position:absolute; left:-5%; right:-5%; top:50%;
  height:64px; transform:translateY(-50%) skewY(-2.6deg);
  background:linear-gradient(90deg, transparent, rgba(30,162,177,.10) 30%, rgba(30,162,177,.16) 50%, rgba(30,162,177,.10) 70%, transparent);
  border-top:1px solid rgba(30,162,177,.35); border-bottom:1px solid rgba(30,162,177,.18);
}
.slash-divider .slash-label {
  position:relative; z-index:1; margin:0 auto; max-width:var(--container); width:100%;
  padding:0 var(--page-px);
  font-family:var(--font-mono); font-size:11px; letter-spacing:3px;
  text-transform:uppercase; color:var(--teal); display:flex; align-items:center; gap:14px;
}
.slash-divider .slash-label::before,
.slash-divider .slash-label::after { content:''; height:1px; flex:1; background:linear-gradient(90deg, transparent, var(--line-2)); }
.slash-divider .slash-label::after { background:linear-gradient(90deg, var(--line-2), transparent); }

/* Косой акцент-срез у ключевой секции (как у endigo полоса) */
.angled { position:relative; }
.angled::before {
  content:''; position:absolute; top:0; left:0; right:0; height:90px; z-index:0;
  background:inherit; transform:skewY(-2.2deg); transform-origin:top left;
}
.angled > .section-inner { position:relative; z-index:1; }

/* ── Marquee: лёгкий наклон + подсветка (диагональный дух) ──────────────── */
.marquee-section.tilted { transform:skewY(-1.6deg); border-color:rgba(30,162,177,.25); }
.marquee-section.tilted .marquee-track { transform:skewY(0); }
.marquee-section.tilted::after {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(60% 120% at 50% 50%, rgba(30,162,177,.10), transparent 70%);
}

/* ── Мини-свечи: «дыхание» на ховере карточки ──────────────────────────── */
.section-card:hover .mini-candles .up,
.section-card:hover .mini-candles .down,
.section-card:hover .mini-candles .body { animation:candlePulse 1.2s var(--ease) infinite alternate; }
@keyframes candlePulse { from{transform:translateY(0);} to{transform:translateY(-1.5px);} }

/* ── Кнопка-стрелка: магнитный сдвиг ───────────────────────────────────── */
.link-arrow-circle:hover .circle { box-shadow:0 0 0 4px rgba(30,162,177,.12); }

/* ── Числа со счётчиком ────────────────────────────────────────────────── */
.count { font-variant-numeric:tabular-nums; }

/* ── Глобально мягче скролл-инерция уже в html; тут — выделение HUD ─────── */
.hud-corner { position:relative; }
.hud-corner::before, .hud-corner::after {
  content:''; position:absolute; width:14px; height:14px; border:1px solid var(--teal); opacity:.5;
}
.hud-corner::before { top:14px; left:14px; border-right:0; border-bottom:0; }
.hud-corner::after { bottom:14px; right:14px; border-left:0; border-top:0; }

/* ════════════════════════════════════════════════════════════════════════
   ФИКСЫ МАСКОТА
   ════════════════════════════════════════════════════════════════════════ */
/* манифест: не срезать голову (доберман справа, головой к верху) */
.quote-bg-img img { object-position:60% 12%; }
/* карточка продукта: доберман — интегрированная фигура справа с растворением */
.case-card.large .case-img {
  right:0; top:0; bottom:0; left:auto;
  width:46%; height:100%; opacity:1;
  object-fit:cover; object-position:50% 14%; filter:none;
  -webkit-mask:linear-gradient(90deg, transparent, #000 58%);
          mask:linear-gradient(90deg, transparent, #000 58%);
}
.case-card.large .case-content { z-index:2; }
.case-card.large .case-title,
.case-card.large .case-desc { max-width:54%; }

/* ════════════════════════════════════════════════════════════════════════
   БОКОВОЙ РЕЙЛ-НАВИГАЦИЯ (референс vvk «МЕНЮ» — «сбоку»)
   ════════════════════════════════════════════════════════════════════════ */
.side-rail {
  position:fixed; top:50%; left:auto; right:22px; bottom:auto; transform:translateY(-50%);
  width:auto; padding:0; margin:0; border:0; background:none; backdrop-filter:none;
  z-index:80; display:none; flex-direction:column; align-items:center; justify-content:center; gap:16px;
}
@media (min-width:1320px){ .side-rail{ display:flex; } }
.side-rail .rl-cap { writing-mode:vertical-rl; font-family:var(--font-mono); font-size:9px; letter-spacing:3px; color:var(--txt-3); text-transform:uppercase; margin-bottom:8px; }
.side-rail a { position:relative; width:14px; height:14px; display:flex; align-items:center; justify-content:center; }
.side-rail a i { width:7px; height:7px; border-radius:50%; background:var(--line-2); transition:all .25s; }
.side-rail a:hover i, .side-rail a.active i { background:var(--teal); box-shadow:0 0 10px var(--teal); transform:scale(1.3); }
.side-rail a.active::before { content:''; position:absolute; inset:-5px; border:1px solid var(--teal); border-radius:50%; opacity:.5; }
.side-rail a .lbl {
  position:absolute; right:22px; top:50%; transform:translateY(-50%);
  white-space:nowrap; font-family:var(--font-mono); font-size:10px; color:var(--teal);
  background:rgba(10,10,10,.85); padding:4px 9px; border:1px solid var(--line);
  border-radius:5px; opacity:0; pointer-events:none; transition:opacity .2s; text-transform:uppercase;
}
.side-rail a:hover .lbl { opacity:1; }

/* ════════════════════════════════════════════════════════════════════════
   УСЛУГИ → ИКОНО-СЕТКА (референс hart: крупные иконки)
   ════════════════════════════════════════════════════════════════════════ */
.asset-grid { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:600px){ .asset-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:1024px){ .asset-grid{ grid-template-columns:repeat(4,1fr); } }
.asset-card {
  position:relative; padding:34px 28px 26px; border:1px solid var(--line);
  border-radius:var(--r-card); background:var(--bg-card); overflow:hidden; transition:all .3s;
}
.asset-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--teal); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.asset-card:hover { transform:translateY(-6px); border-color:var(--teal); box-shadow:0 22px 55px -26px var(--teal); }
.asset-card:hover::before { transform:scaleX(1); }
.asset-num { position:absolute; top:26px; right:26px; font-family:var(--font-mono); font-size:11px; color:var(--txt-3); letter-spacing:1px; }
.asset-icon { width:64px; height:64px; display:flex; align-items:center; justify-content:center; color:var(--teal); margin-bottom:22px; }
.asset-icon svg { width:46px; height:46px; }
.asset-card:hover .asset-icon { animation:floaty 2.2s var(--ease) infinite alternate; }
@keyframes floaty { from{transform:translateY(0);} to{transform:translateY(-5px);} }
.asset-name { font-family:var(--font-display); font-size:24px; font-weight:600; text-transform:uppercase; letter-spacing:-.4px; line-height:1.05; margin-bottom:10px; }
.asset-desc { font-size:13px; color:var(--txt-3); line-height:1.55; }
.asset-spark { margin-top:22px; color:var(--teal); opacity:.7; }
.asset-card:hover .asset-spark { opacity:1; }

/* ════════════════════════════════════════════════════════════════════════
   TIMELINE — путь с подсветкой
   ════════════════════════════════════════════════════════════════════════ */
.tl-card { transition:background .25s, box-shadow .3s, border-color .3s; }
.tl-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg, var(--teal), transparent); transform:scaleX(0); transform-origin:left; transition:transform .4s var(--ease); }
.tl-card:hover { background:rgba(30,162,177,.06); box-shadow:inset 0 0 40px -20px var(--teal); }
.tl-card:hover::before { transform:scaleX(1); }
.tl-card:hover .tl-num { text-shadow:0 0 24px rgba(30,162,177,.5); }
.tl-num { transition:text-shadow .3s; }

/* ════════════════════════════════════════════════════════════════════════
   BLOG — превью-арт (график вместо маскота) + богатый ховер
   ════════════════════════════════════════════════════════════════════════ */
.blog-thumb { position:absolute; inset:0; overflow:hidden; background:linear-gradient(150deg, #0c1416, #0a0a0a 60%); }
.blog-thumb.t2 { background:linear-gradient(150deg, #161012, #0a0a0a 60%); }
.blog-thumb svg { position:absolute; inset:0; width:100%; height:100%; color:var(--teal); opacity:.6; transition:transform .5s, opacity .3s; }
.blog-thumb.t2 svg { color:var(--code-red); }
.blog-card:hover .blog-thumb svg { transform:scale(1.06); opacity:.85; }
.blog-card { transition:transform .3s, border-color .3s, box-shadow .3s; }
.blog-card:hover { box-shadow:0 24px 60px -30px var(--teal); }

/* ════════════════════════════════════════════════════════════════════════
   EVENTS — богаче, зелёный код + подсветка строки
   ════════════════════════════════════════════════════════════════════════ */
.event-row::after { content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg, rgba(39,224,122,.06), transparent 40%); opacity:0; transition:opacity .25s; }
.event-row:hover::after { opacity:1; }
.event-row:hover .event-row-date { box-shadow:0 0 18px -4px var(--code-green-neon); }

/* ════════════════════════════════════════════════════════════════════════
   PARTNERS — Bitget как градиентная featured-плитка (референс vvk)
   ════════════════════════════════════════════════════════════════════════ */
.partner-card { transition:transform .3s, border-color .3s, box-shadow .3s; }
.partner-card:hover { box-shadow:0 24px 60px -30px var(--teal); }
.partner-card.featured-tile { background:linear-gradient(150deg, rgba(30,162,177,.18), rgba(19,19,19,.9) 55%), var(--bg-card); border-color:rgba(30,162,177,.4); }
.partner-card.featured-tile::after { content:''; position:absolute; bottom:-60px; left:-60px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle, rgba(30,162,177,.22), transparent 65%); pointer-events:none; }

/* ════════════════════════════════════════════════════════════════════════
   CONTACT — финал богаче
   ════════════════════════════════════════════════════════════════════════ */
.contact-section .contact-h2 { position:relative; }
.contact-section::after { content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:linear-gradient(90deg, transparent, var(--teal), transparent); opacity:.5; }

/* ABOUT — рамка фото со свечением + ховер фич */
.about-photo-frame { box-shadow:0 30px 80px -40px rgba(30,162,177,.5); }
.about-photo-frame::before { content:''; position:absolute; inset:0; z-index:2; border-radius:inherit; box-shadow:inset 0 0 0 1px rgba(30,162,177,.25); pointer-events:none; }
.about-feat { transition:padding-left .25s, background .25s; }
.about-feat:hover { background:rgba(30,162,177,.04); }
.about-feat:hover h4 { color:var(--teal); }
.about-feat-content h4 { transition:color .2s; }

/* ════════════════════════════════════════════════════════════════════════
   PARTNER SHOWCASE — биржа-терминал / бог-анализа (визуальные блоки)
   ════════════════════════════════════════════════════════════════════════ */
.partner-showcase {
  --accent:var(--teal); position:relative; display:grid; grid-template-columns:1fr;
  border:1px solid var(--line); border-radius:var(--r-card); overflow:hidden;
  background:var(--bg-card); margin-bottom:28px; transition:border-color .3s, box-shadow .3s;
}
.partner-showcase.tv { --accent:#3B82F6; }
.partner-showcase:hover { border-color:color-mix(in srgb, var(--accent) 55%, var(--line-2)); box-shadow:0 30px 90px -44px var(--accent); }
@media (min-width:920px){
  .partner-showcase { grid-template-columns:1fr 1.12fr; }
  .partner-showcase.rev .ps-info { order:2; }
}
.ps-info { padding:clamp(32px,4vw,52px); display:flex; flex-direction:column; justify-content:center; gap:18px; position:relative; z-index:2; }
.ps-kicker { font-family:var(--font-mono); font-size:11px; letter-spacing:2px; text-transform:uppercase; color:var(--accent); }
.ps-logo { display:flex; align-items:center; gap:12px; }
.ps-logo svg { height:36px; width:36px; }
.ps-logo .wm { font-family:var(--font-display); font-size:27px; font-weight:700; letter-spacing:-.5px; text-transform:none; }
.ps-tagline { font-family:var(--font-display); font-size:clamp(24px,2.8vw,38px); font-weight:600; text-transform:uppercase; line-height:1; letter-spacing:-1px; }
.ps-tagline em { color:var(--accent); font-style:normal; }
.ps-desc { font-size:14px; color:var(--txt-2); line-height:1.65; max-width:440px; }
.ps-chips { display:flex; flex-wrap:wrap; gap:8px; }
.ps-chip { font-family:var(--font-mono); font-size:10px; letter-spacing:.5px; text-transform:uppercase; padding:6px 12px; border:1px solid var(--line-2); border-radius:var(--r-pill); color:var(--txt-2); }
.ps-chip::before { content:''; display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--accent); margin-right:7px; vertical-align:middle; }
.ps-cta { align-self:flex-start; display:inline-flex; align-items:center; gap:14px; margin-top:4px; padding:16px 26px; border-radius:var(--r-pill); background:var(--accent); color:#fff; font-family:var(--font-display); font-size:14px; font-weight:600; letter-spacing:.5px; text-transform:uppercase; transition:transform .2s, box-shadow .3s; }
.ps-cta:hover { transform:translateY(-2px); box-shadow:0 16px 44px -14px var(--accent); }
.ps-cta svg { width:14px; height:14px; }

.ps-visual { position:relative; min-height:320px; padding:38px; display:flex; align-items:center; justify-content:center; overflow:hidden; background:radial-gradient(120% 120% at 70% 25%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--bg-3); border-top:1px solid var(--line); }
@media (min-width:920px){
  .partner-showcase:not(.rev) .ps-visual { border-top:0; border-left:1px solid var(--line); }
  .partner-showcase.rev .ps-visual { border-top:0; border-right:1px solid var(--line); }
}
.ps-mock { width:100%; max-width:470px; position:relative; transition:transform .4s var(--ease); }
.partner-showcase:hover .ps-mock { transform:translateY(-4px); }
.ps-mock::after { content:''; position:absolute; left:8%; right:8%; bottom:-16px; height:34px; background:radial-gradient(50% 100% at 50% 0, color-mix(in srgb, var(--accent) 34%, transparent), transparent 72%); filter:blur(9px); opacity:.6; }

/* — Терминал (Bitget) — */
.terminal-mock { border:1px solid var(--line-2); border-radius:14px; background:linear-gradient(180deg,#0f1316,#0a0d0f); overflow:hidden; box-shadow:0 34px 80px -34px rgba(0,0,0,.85); }
.tm-head { display:flex; align-items:center; justify-content:space-between; padding:11px 15px; border-bottom:1px solid var(--line); font-family:var(--font-mono); font-size:12px; }
.tm-pair { color:var(--txt); font-weight:600; letter-spacing:.5px; }
.tm-price { color:var(--up); }
.tm-body { display:grid; grid-template-columns:1.7fr 1fr; }
.tm-chart { padding:13px; border-right:1px solid var(--line); }
.tm-chart svg { width:100%; height:124px; display:block; }
.tm-book { padding:9px 11px; display:flex; flex-direction:column; gap:3px; font-family:var(--font-mono); font-size:10px; }
.tm-row { display:flex; justify-content:space-between; position:relative; padding:2px 5px; border-radius:3px; overflow:hidden; }
.tm-row span { position:relative; z-index:1; }
.tm-row.ask span:first-child { color:var(--down); } .tm-row.bid span:first-child { color:var(--up); }
.tm-row span:last-child { color:var(--txt-3); }
.tm-row .bar { position:absolute; right:0; top:0; bottom:0; opacity:.14; }
.tm-row.ask .bar { background:var(--down); } .tm-row.bid .bar { background:var(--up); }
.tm-mid { font-family:var(--font-mono); font-size:13px; font-weight:600; color:var(--accent); padding:5px; text-align:center; }
.tm-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:11px 13px; border-top:1px solid var(--line); }
.tm-buy,.tm-sell { padding:9px; border-radius:8px; font-family:var(--font-display); font-size:12px; font-weight:600; letter-spacing:.5px; text-transform:uppercase; text-align:center; }
.tm-buy { background:rgba(39,224,122,.16); color:var(--up); border:1px solid var(--up); }
.tm-sell { background:rgba(229,72,77,.16); color:var(--down); border:1px solid var(--down); }

/* — График (TradingView) — */
.chart-mock { border:1px solid var(--line-2); border-radius:14px; background:linear-gradient(180deg,#0d1016,#0a0b0f); overflow:hidden; display:grid; grid-template-columns:auto 1fr; box-shadow:0 34px 80px -34px rgba(0,0,0,.85); }
.cm-tools { display:flex; flex-direction:column; gap:16px; padding:14px 11px; border-right:1px solid var(--line); color:var(--txt-3); }
.cm-tools svg { width:16px; height:16px; }
.cm-tools svg.on { color:var(--accent); }
.cm-main { position:relative; min-width:0; }
.cm-head { display:flex; align-items:center; gap:10px; padding:10px 14px; border-bottom:1px solid var(--line); font-family:var(--font-mono); font-size:11px; color:var(--txt-3); }
.cm-head .pair { color:var(--txt); font-weight:600; } .cm-head .tf { color:var(--accent); }
.cm-chart { padding:14px 14px 6px; } .cm-chart svg { width:100%; height:150px; display:block; }
.cm-rsi { padding:0 14px 12px; } .cm-rsi svg { width:100%; height:34px; display:block; }

/* ════════════════════════════════════════════════════════════════════════
   MARKET — DoberCoin (жёлтый акцент, PRD §5.6). DC = баллы, не криптовалюта.
   ════════════════════════════════════════════════════════════════════════ */
.dc-coin { display:inline-flex; align-items:center; justify-content:center; border-radius:50%; background:radial-gradient(circle at 35% 30%, #FFF06A, #FFE500 60%, #E5C400); color:#0a0a0a; font-family:var(--font-display); font-weight:700; flex-shrink:0; box-shadow:0 0 0 1px rgba(255,229,0,.4), 0 8px 22px -8px rgba(255,229,0,.6); }
.dc-coin.sm { width:24px; height:24px; font-size:9px; }
.dc-coin.lg { width:60px; height:60px; font-size:19px; }
.dc-price { display:inline-flex; align-items:center; gap:9px; font-family:var(--font-display); font-size:22px; font-weight:700; color:var(--code-yellow); }
.dc-price small { font-family:var(--font-mono); font-size:11px; color:var(--txt-3); font-weight:500; }

.dc-note { display:flex; gap:16px; padding:20px 24px; border:1px solid rgba(255,229,0,.35); border-radius:var(--r-md); background:rgba(255,229,0,.05); }
.dc-note .ic { flex-shrink:0; width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center; background:rgba(255,229,0,.14); border:1px solid var(--code-yellow); color:var(--code-yellow); }
.dc-note .ic svg { width:20px; height:20px; }
.dc-note p { margin:0; font-size:14px; color:var(--txt-2); line-height:1.6; }
.dc-note strong { color:var(--code-yellow); }

.balance-strip { display:grid; grid-template-columns:1fr; border:1px solid rgba(255,229,0,.3); border-radius:var(--r-card); overflow:hidden; background:linear-gradient(135deg, rgba(255,229,0,.10), transparent 55%), var(--bg-card); }
@media (min-width:800px){ .balance-strip { grid-template-columns:.85fr 1.15fr; } }
.bal-main { padding:36px 40px; display:flex; flex-direction:column; gap:14px; justify-content:center; border-bottom:1px solid var(--line); }
@media (min-width:800px){ .bal-main { border-bottom:0; border-right:1px solid var(--line); } }
.bal-label { font-family:var(--font-mono); font-size:11px; letter-spacing:1px; text-transform:uppercase; color:var(--txt-3); }
.bal-num { display:flex; align-items:center; gap:14px; font-family:var(--font-display); font-size:clamp(40px,5vw,60px); font-weight:700; letter-spacing:-2px; line-height:1; }
.bal-num em { font-style:normal; color:var(--code-yellow); }
.bal-num small { font-family:var(--font-mono); font-size:14px; color:var(--txt-3); font-weight:500; letter-spacing:0; }
.bal-history { padding:22px 28px; display:flex; flex-direction:column; justify-content:center; }
.bal-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 0; border-bottom:1px solid var(--line); font-size:13px; color:var(--txt-2); }
.bal-row:last-child { border:0; }
.bal-row .amt { font-family:var(--font-mono); font-weight:600; }
.bal-row .amt.plus { color:var(--code-green-neon); } .bal-row .amt.minus { color:var(--txt-2); }
.bal-row .t { color:var(--txt-3); font-family:var(--font-mono); font-size:11px; }

.earn-grid { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:600px){ .earn-grid { grid-template-columns:1fr 1fr; } }
@media (min-width:1024px){ .earn-grid { grid-template-columns:repeat(4,1fr); } }
.earn-card { position:relative; padding:28px 24px; border:1px solid var(--line); border-radius:var(--r-card); background:var(--bg-card); transition:transform .3s, border-color .3s; }
.earn-card:hover { transform:translateY(-4px); border-color:var(--code-yellow); }
.earn-ic { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; border:1px solid var(--code-yellow); color:var(--code-yellow); margin-bottom:18px; }
.earn-ic svg { width:24px; height:24px; }
.earn-name { font-family:var(--font-display); font-size:18px; font-weight:600; text-transform:uppercase; margin-bottom:8px; }
.earn-desc { font-size:13px; color:var(--txt-3); line-height:1.5; margin-bottom:16px; }
.earn-reward { font-family:var(--font-mono); font-size:12px; font-weight:600; color:var(--code-yellow); display:inline-flex; align-items:center; gap:7px; }

.market-grid { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:640px){ .market-grid { grid-template-columns:1fr 1fr; } }
@media (min-width:1024px){ .market-grid { grid-template-columns:repeat(3,1fr); } }
.market-item { position:relative; display:flex; flex-direction:column; border:1px solid var(--line); border-radius:var(--r-card); background:var(--bg-card); overflow:hidden; transition:transform .3s, border-color .3s, box-shadow .3s; }
.market-item:hover { transform:translateY(-6px); border-color:var(--code-yellow); box-shadow:0 24px 60px -30px rgba(255,229,0,.5); }
.market-item.soon { opacity:.72; }
.mi-visual { aspect-ratio:16/10; display:flex; align-items:center; justify-content:center; background:radial-gradient(120% 120% at 70% 25%, rgba(255,229,0,.12), transparent 60%), var(--bg-3); border-bottom:1px solid var(--line); color:var(--code-yellow); }
.mi-visual svg { width:58px; height:58px; }
.mi-status { position:absolute; top:14px; right:14px; font-family:var(--font-mono); font-size:10px; letter-spacing:.5px; text-transform:uppercase; padding:5px 11px; border-radius:var(--r-pill); background:rgba(10,10,10,.7); backdrop-filter:blur(6px); }
.mi-status.ok { color:var(--code-yellow); border:1px solid var(--code-yellow); }
.mi-status.soon { color:var(--txt-3); border:1px solid var(--line-2); }
.mi-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.mi-name { font-family:var(--font-display); font-size:20px; font-weight:600; text-transform:uppercase; letter-spacing:-.3px; margin-bottom:8px; }
.mi-desc { font-size:13px; color:var(--txt-3); line-height:1.5; }
.mi-foot { margin-top:18px; padding-top:18px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:12px; }
.mi-btn { padding:10px 18px; border-radius:var(--r-pill); font-family:var(--font-display); font-size:12px; font-weight:600; letter-spacing:.5px; text-transform:uppercase; background:var(--code-yellow); color:#0a0a0a; transition:transform .2s; white-space:nowrap; }
.mi-btn:hover { transform:translateY(-2px); }
.mi-btn.soon { background:transparent; color:var(--txt-3); border:1px solid var(--line-2); pointer-events:none; }

/* ════════════════════════════════════════════════════════════════════════
   ВХОД (Telegram-авторизация)
   ════════════════════════════════════════════════════════════════════════ */
.login-wrap { min-height:calc(100vh - 90px); display:flex; align-items:center; justify-content:center; padding:130px var(--page-px) 60px; position:relative; overflow:hidden; }
.login-card { position:relative; z-index:2; width:100%; max-width:460px; border:1px solid var(--line); border-radius:var(--r-card); background:linear-gradient(160deg,rgba(30,162,177,.08),transparent 55%),var(--bg-card); padding:clamp(32px,5vw,48px); text-align:center; }
.login-mark { width:58px; height:58px; margin:0 auto 24px; display:flex; align-items:center; justify-content:center; border:1px solid var(--teal); border-radius:16px; }
.login-mark img { height:34px; width:auto; }
.login-h { font-family:var(--font-display); font-size:clamp(28px,4vw,34px); font-weight:700; text-transform:uppercase; letter-spacing:-1px; margin-bottom:14px; }
.login-sub { font-size:14px; color:var(--txt-2); line-height:1.6; margin-bottom:28px; }
.tg-login { display:inline-flex; align-items:center; justify-content:center; gap:12px; width:100%; padding:16px; border-radius:var(--r-pill); background:#229ED9; color:#fff; font-family:var(--font-display); font-size:15px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; transition:transform .2s, box-shadow .3s; }
.tg-login:hover { transform:translateY(-2px); box-shadow:0 16px 44px -14px #229ED9; }
.tg-login svg { width:20px; height:20px; }
.login-feats { text-align:left; margin:28px 0 0; display:flex; flex-direction:column; gap:13px; }
.login-feat { display:flex; align-items:flex-start; gap:12px; font-size:13px; color:var(--txt-2); }
.login-feat .c { flex-shrink:0; width:18px; height:18px; border-radius:50%; border:1px solid var(--teal); color:var(--teal); display:flex; align-items:center; justify-content:center; }
.login-feat .c svg { width:11px; height:11px; }
.login-note { margin-top:26px; padding-top:20px; border-top:1px solid var(--line); font-family:var(--font-mono); font-size:11px; color:var(--txt-3); line-height:1.6; }

/* ════════════════════════════════════════════════════════════════════════
   КАБИНЕТ (красный)
   ════════════════════════════════════════════════════════════════════════ */
.profile-head { display:flex; flex-wrap:wrap; align-items:center; gap:22px; padding:30px 32px; border:1px solid var(--line); border-radius:var(--r-card); background:linear-gradient(135deg,rgba(229,72,77,.10),transparent 55%),var(--bg-card); margin-bottom:24px; }
.profile-av { width:70px; height:70px; border-radius:50%; flex-shrink:0; border:2px solid var(--code-red); box-shadow:0 0 24px -6px var(--code-red); display:flex; align-items:center; justify-content:center; background:var(--bg-3); font-family:var(--font-display); font-weight:700; font-size:26px; color:var(--code-red); overflow:hidden; }
.profile-av img { width:100%; height:100%; object-fit:cover; }
.profile-meta { flex:1; min-width:180px; }
.profile-name { font-family:var(--font-display); font-size:26px; font-weight:600; text-transform:uppercase; letter-spacing:-.4px; line-height:1.1; }
.profile-handle { font-family:var(--font-mono); font-size:12px; color:var(--txt-3); margin-top:6px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.profile-tg { display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:10px; text-transform:uppercase; letter-spacing:.5px; color:var(--teal); border:1px solid var(--teal); border-radius:var(--r-pill); padding:3px 10px; }
.profile-side { display:flex; flex-direction:column; align-items:flex-end; gap:10px; margin-left:auto; }
.profile-bal { display:inline-flex; align-items:center; gap:10px; font-family:var(--font-display); font-size:24px; font-weight:700; color:var(--code-yellow); }
.profile-rank { font-family:var(--font-mono); font-size:11px; color:var(--code-red); border:1px solid var(--code-red); border-radius:var(--r-pill); padding:4px 12px; text-transform:uppercase; letter-spacing:.5px; }

.dash-grid { display:grid; grid-template-columns:1fr; gap:20px; }
@media (min-width:900px){ .dash-grid { grid-template-columns:1fr 1fr; } }
.dash-card { border:1px solid var(--line); border-radius:var(--r-card); background:var(--bg-card); padding:28px; display:flex; flex-direction:column; }
.dash-card.full { grid-column:1/-1; }
.dash-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; gap:12px; }
.dash-title { font-family:var(--font-display); font-size:17px; font-weight:600; text-transform:uppercase; letter-spacing:.3px; display:flex; align-items:center; gap:10px; }
.dash-title::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--code-red); box-shadow:0 0 8px var(--code-red); }
.dash-link { font-family:var(--font-mono); font-size:11px; color:var(--teal); text-transform:uppercase; letter-spacing:.5px; }
.dash-link:hover { color:var(--teal-l); }

.row-item { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.row-item:last-child { border:0; }
.row-item .ri-main { flex:1; min-width:0; }
.row-item .ri-name { font-family:var(--font-display); font-size:15px; font-weight:500; text-transform:uppercase; letter-spacing:.2px; }
.row-item .ri-sub { font-size:12px; color:var(--txt-3); margin-top:2px; }
.status-badge { font-family:var(--font-mono); font-size:10px; letter-spacing:.5px; text-transform:uppercase; padding:5px 11px; border-radius:var(--r-pill); white-space:nowrap; }
.status-badge.active { color:var(--code-green-neon); border:1px solid var(--code-green-neon); }
.status-badge.pending { color:var(--warn); border:1px solid var(--warn); }
.status-badge.done { color:var(--txt-3); border:1px solid var(--line-2); }

.mc-row { display:flex; flex-direction:column; gap:8px; padding:16px 0; border-bottom:1px solid var(--line); }
.mc-row:last-child { border:0; }
.mc-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.mc-name { font-family:var(--font-display); font-size:15px; font-weight:500; text-transform:uppercase; }
.mc-cont { font-family:var(--font-mono); font-size:11px; color:var(--teal); white-space:nowrap; }
.mc-meta { font-family:var(--font-mono); font-size:11px; color:var(--txt-3); }

.lb-row { display:grid; grid-template-columns:30px 1fr auto; gap:14px; align-items:center; padding:11px 12px; border-radius:8px; font-size:14px; }
.lb-rank { font-family:var(--font-mono); font-weight:600; color:var(--txt-3); text-align:center; }
.lb-row .lb-name { font-family:var(--font-display); text-transform:uppercase; letter-spacing:.2px; color:var(--txt); }
.lb-dc { font-family:var(--font-mono); font-weight:600; color:var(--code-yellow); }
.lb-row.top1 .lb-rank { color:#FFD43B; } .lb-row.top2 .lb-rank { color:#c0c0c0; } .lb-row.top3 .lb-rank { color:#cd7f32; }
.lb-row.me { background:rgba(229,72,77,.10); border:1px solid rgba(229,72,77,.35); }
.lb-row.me .lb-name { color:var(--code-red); }

.setting-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.setting-row:last-child { border:0; }
.setting-row .sr-t { font-size:14px; color:var(--txt); } .setting-row .sr-s { font-size:12px; color:var(--txt-3); margin-top:2px; }
.toggle { width:42px; height:24px; border-radius:12px; background:var(--bg-3); border:1px solid var(--line-2); position:relative; flex-shrink:0; }
.toggle.on { background:var(--teal); border-color:var(--teal); }
.toggle::after { content:''; position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition:left .2s; }
.toggle.on::after { left:21px; }

/* ════════════════════════════════════════════════════════════════════════
   ИИ-АССИСТЕНТ (чат, teal)
   ════════════════════════════════════════════════════════════════════════ */
.chat-shell { max-width:880px; margin:0 auto; border:1px solid var(--line); border-radius:var(--r-card); background:var(--bg-card); overflow:hidden; display:flex; flex-direction:column; min-height:560px; }
.chat-top { display:flex; align-items:center; gap:14px; padding:18px 22px; border-bottom:1px solid var(--line); background:var(--bg-2); }
.chat-ava { width:42px; height:42px; border-radius:50%; background:var(--teal); display:flex; align-items:center; justify-content:center; color:var(--bg); flex-shrink:0; }
.chat-ava svg { width:22px; height:22px; }
.chat-top .who { font-family:var(--font-display); font-size:16px; font-weight:600; text-transform:uppercase; line-height:1.2; }
.chat-top .st { font-family:var(--font-mono); font-size:11px; color:var(--code-green-neon); display:flex; align-items:center; gap:6px; }
.chat-top .st::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--code-green-neon); box-shadow:0 0 8px var(--code-green-neon); }
.chat-body { flex:1; padding:24px 22px; display:flex; flex-direction:column; gap:18px; }
.msg { display:flex; gap:12px; max-width:82%; }
.msg.user { align-self:flex-end; flex-direction:row-reverse; }
.msg .av { width:32px; height:32px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:13px; }
.msg.bot .av { background:var(--teal); color:var(--bg); } .msg.user .av { background:var(--bg-3); color:var(--txt-2); }
.msg .bub { padding:14px 16px; border-radius:14px; font-size:14px; line-height:1.55; color:var(--txt-2); }
.msg.bot .bub { background:var(--bg-3); border:1px solid var(--line); border-top-left-radius:4px; }
.msg.user .bub { background:rgba(30,162,177,.14); border:1px solid var(--teal); border-top-right-radius:4px; color:var(--txt); }
.msg .bub strong { color:var(--txt); }
.msg-card { display:flex; align-items:center; gap:12px; margin-top:12px; padding:12px; border:1px solid var(--line-2); border-radius:10px; background:var(--bg-card); transition:border-color .2s; }
.msg-card:hover { border-color:var(--teal); }
.msg-card .mc-ic { width:36px; height:36px; border-radius:8px; background:rgba(30,162,177,.14); border:1px solid var(--teal); color:var(--teal); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.msg-card .mc-ic svg { width:18px; height:18px; }
.msg-card .mc-tt b { font-family:var(--font-display); font-size:13px; text-transform:uppercase; display:block; color:var(--txt); }
.msg-card .mc-tt span { font-size:11px; color:var(--txt-3); }
.typing { align-self:flex-start; display:inline-flex; gap:5px; padding:15px 16px; background:var(--bg-3); border:1px solid var(--line); border-radius:14px; border-top-left-radius:4px; }
.typing i { width:6px; height:6px; border-radius:50%; background:var(--txt-3); animation:typedot 1.2s infinite; }
.typing i:nth-child(2){ animation-delay:.2s; } .typing i:nth-child(3){ animation-delay:.4s; }
@keyframes typedot { 0%,60%,100%{opacity:.3;transform:translateY(0);} 30%{opacity:1;transform:translateY(-3px);} }
.chat-chips { display:flex; flex-wrap:wrap; gap:8px; padding:4px 22px 16px; }
.chat-chip { font-family:var(--font-mono); font-size:12px; padding:8px 14px; border:1px solid var(--line-2); border-radius:var(--r-pill); color:var(--txt-2); transition:all .2s; background:none; cursor:pointer; }
.chat-chip:hover { border-color:var(--teal); color:var(--teal); }
.chat-input { display:flex; align-items:center; gap:12px; padding:16px 18px; border-top:1px solid var(--line); background:var(--bg-2); }
.chat-input input { flex:1; background:var(--bg); border:1px solid var(--line-2); border-radius:var(--r-pill); padding:13px 18px; color:var(--txt); font-family:var(--font-body); font-size:14px; outline:none; }
.chat-input input:focus { border-color:var(--teal); }
.chat-send { width:46px; height:46px; border-radius:50%; background:var(--teal); color:var(--bg); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:transform .2s; }
.chat-send:hover { transform:scale(1.05); } .chat-send svg { width:18px; height:18px; }

/* ── REDUCED MOTION ────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .typing i { animation:none !important; }
  .asset-card:hover .asset-icon { animation:none !important; }
  .ticker-track, .hero-spark path, .hero-spark .dot,
  .section-card:hover .mini-candles * { animation:none !important; }
  .hero-spark path:not(.area) { stroke-dashoffset:0 !important; }
  .hero-spark .dot { opacity:1 !important; }
  [data-glow] { transform:none !important; }
  .marquee-section.tilted { transform:none; }
}

/* ════════════════════════════════════════════════════════════════════════
   ЖИВЫЕ СТЫКИ СЕКЦИЙ — тёплое teal-свечение в «пропастях» между блоками
   + тонкая акцент-нить на шве. Статичные градиенты (нет покадровой нагрузки).
   ════════════════════════════════════════════════════════════════════════ */
.sec, .section { position:relative; }
.sec > .wrap, .section > .section-inner, .section > .container { position:relative; z-index:1; }
/* свечение, центрированное на верхнем шве — затягивает и низ предыдущего блока, и верх текущего */
.sec::before, .section::before {
  content:''; position:absolute; left:0; right:0; top:-180px; height:380px; z-index:0; pointer-events:none;
  background:
    radial-gradient(58% 380px at 50% 50%, rgba(30,162,177,.10), transparent 72%),
    linear-gradient(90deg, transparent, rgba(43,192,209,.22) 50%, transparent) 0 50%/100% 1px no-repeat;
}
/* светящаяся вертикальная teal-нить-связка ровно на стыке блоков */
.sec::after, .section::after {
  content:''; position:absolute; left:50%; top:-54px; width:2px; height:108px; z-index:0; pointer-events:none;
  transform:translateX(-50%);
  background:linear-gradient(180deg, transparent, var(--teal), transparent);
  box-shadow:0 0 14px 1px rgba(43,192,209,.45);
}

/* ════════════════════════════════════════════════════════════════════════
   FAMILY-STYLE МИКРО-ИНТЕРАКЦИИ — пружинный отклик, живые иконки, тактильный press.
   Только transform/opacity, срабатывает на hover/active (нулевая idle-нагрузка).
   ════════════════════════════════════════════════════════════════════════ */
.section-card, .blog-card, .course-card, .offer-card, .reel,
.btn-mega, .btn-ghost, .ev-btn, .event-row, .bcell, .ncard, .tab, .ed-segbtn {
  transition-timing-function: var(--ease-spring);
}
/* карточки навигатора: лифт + лёгкий scale с отскоком, икона «оживает» */
.section-card:hover { transform: translateY(-6px) scale(1.012); }
.section-card:hover .section-card-icon { transform: translateY(-3px) rotate(-6deg) scale(1.07); }
.section-card .card-arr { transition: all .3s var(--ease-spring); }
.section-card:hover .card-arr { transform: rotate(-45deg) scale(1.08); border-color: var(--code); color: var(--code); }
/* кнопки: пружина на лифте + слайд стрелки */
.btn-mega:hover { transform: translateY(-3px) scale(1.015); }
.btn-mega:hover .btn-mega-arrow { transform: rotate(-45deg) scale(1.08); }
/* тактильный press — приятный отклик на клик (family-фишка) */
.section-card:active, .blog-card:active, .course-card:active, .offer-card:active, .reel:active,
.btn-mega:active, .btn-ghost:active, .ev-btn:active, .bcell:active, .ncard:active,
.discbtn:active, .ed-segbtn:active, .tab:active {
  transform: scale(.97); transition-duration: .09s;
}
/* новостные карточки и плитки: мягкий подъём */
.ncard:hover { transform: translateY(-4px); }
/* reduced-motion — гасим scale/rotate-затеи */
@media (prefers-reduced-motion: reduce) {
  .section-card:hover, .section-card:hover .section-card-icon, .section-card:hover .card-arr,
  .btn-mega:hover, .btn-mega:hover .btn-mega-arrow, .ncard:hover,
  .section-card:active, .btn-mega:active, .btn-ghost:active, .ev-btn:active, .reel:active,
  .ncard:active, .blog-card:active, .course-card:active, .offer-card:active, .discbtn:active,
  .ed-segbtn:active, .tab:active, .bcell:active { transform: none !important; }
}

/* пружина для карточек внутри reveal-сеток (перекрываем reveal-transition той же специфичностью, позже в каскаде) */
.js .nav-cards-grid .section-card,
.js .cases-grid .case-card,
.js .timeline-grid .tl-card,
.js .blog-grid .blog-card {
  transition: transform .42s var(--ease-spring), opacity .55s var(--ease),
              border-color .3s var(--ease), box-shadow .35s var(--ease);
}

/* ════ СОБЫТИЯ (dogstudio-вайб): живая подача карточек ════ */
.event-row { transition: padding .3s var(--ease-spring), transform .3s var(--ease-spring); }
.event-row:hover { transform: translateX(2px); }
.event-row-date { transition: transform .38s var(--ease-spring), box-shadow .38s var(--ease); }
.event-row:hover .event-row-date { transform: scale(1.07) rotate(-4deg); box-shadow:0 10px 28px -10px var(--code-green-neon); }
.ev-photos img { transition: transform .55s var(--ease); }
.ev-photos img:hover { transform: scale(1.06); }
.ev-btn { transition: all .3s var(--ease-spring); }
.ev-btn:hover { transform: translateY(-2px); box-shadow:0 10px 26px -10px var(--code-green-neon); }
@media (prefers-reduced-motion: reduce){
  .event-row:hover, .event-row:hover .event-row-date, .ev-photos img:hover, .ev-btn:hover { transform:none !important; }
}

/* «дышащий» маскот-доберман в hero Событий (dogstudio-вайб) */
.ev-mascot{position:absolute;right:clamp(16px,6vw,90px);top:52%;width:clamp(120px,16vw,230px);
  opacity:.12;transform:translateY(-50%);pointer-events:none;z-index:0;
  filter:drop-shadow(0 0 34px rgba(39,224,122,.45));animation:evBob 5.5s var(--ease) infinite}
@keyframes evBob{0%,100%{transform:translateY(-53%) rotate(-2.5deg)}50%{transform:translateY(-47%) rotate(2.5deg)}}
@media(max-width:820px){.ev-mascot{opacity:.07;width:140px;right:-10px}}
@media(prefers-reduced-motion:reduce){.ev-mascot{animation:none}}

/* ════ №3 resend/raycast: живые значки фич + полировка соцсетей ════ */
/* значки фич «оживают» (resend): пружинный hover + поворот, мягкая подсветка */
.section-card-icon, .door .ic { position:relative; }
.section-card-icon svg, .door .ic svg { transition: transform .42s var(--ease-spring); will-change:transform; }
.section-card:hover .section-card-icon svg { transform: scale(1.14) rotate(-5deg); }
.door:hover .ic svg { transform: scale(1.14) rotate(-5deg); }
.section-card-icon::after, .door .ic::after {
  content:''; position:absolute; inset:-2px; border-radius:inherit; pointer-events:none;
  background:radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--code,var(--teal)) 32%, transparent), transparent 70%);
  opacity:0; transition:opacity .4s var(--ease);
}
.section-card:hover .section-card-icon::after, .door:hover .ic::after { opacity:.55; }
/* соцсети (raycast-вайб): лифт + свечение + лёгкий scale */
.btng { transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease), filter .3s; }
.btng:hover { transform: translateY(-3px) scale(1.02); filter:brightness(1.08); box-shadow:0 14px 34px -12px rgba(0,0,0,.6); }
.btng:active { transform: scale(.97); transition-duration:.09s; }
@media (prefers-reduced-motion: reduce){
  .section-card:hover .section-card-icon svg, .door:hover .ic svg, .btng:hover, .btng:active { transform:none !important; }
}

/* ═══════════ Интерактив-слой: 3D-tilt + курсор-spotlight + магнит (js/fx.js) ═══════════
   Портировано с dobermedia. Opt-in: активируется только на [data-tilt] / .mag.
   fx.js вешает data-tilt на карточки и .mag на кнопки; guard на pointer:fine + reduced-motion. */
[data-tilt]{position:relative;transform-style:preserve-3d;will-change:transform}
[data-tilt]::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  background:radial-gradient(300px circle at var(--mx,50%) var(--my,50%),rgba(255,255,255,.07),transparent 55%);
  opacity:0;transition:opacity var(--motion-base) var(--ease)}
[data-tilt]:hover::after{opacity:1}
/* accent-spotlight — подсветка цветом карточки (--accent проставлен в разметке двери) */
[data-tilt].acc::after{background:radial-gradient(340px circle at var(--mx,50%) var(--my,50%),
  color-mix(in srgb,var(--accent,var(--teal-l)) 20%,transparent),transparent 60%)}
.mag{transition:transform var(--motion-base) var(--ease-spring)}
@media (prefers-reduced-motion:reduce){[data-tilt]{transform:none!important}.mag{transform:none!important}}

/* blur-to-focus текст по скроллу (opt-in: [data-reveal-text]); scroll-driven + IO-фолбэк */
.reveal-text .w{display:inline-block;will-change:filter,opacity,transform}
@supports (animation-timeline:view()){
  .reveal-text .w{filter:blur(14px);opacity:.12;transform:translateY(.14em);
    animation:wfocus linear both;animation-timeline:view();animation-range:entry 8% cover 46%}
  @keyframes wfocus{to{filter:blur(0);opacity:1;transform:none}}
}
.no-sdt .reveal-text .w{filter:blur(14px);opacity:.12;transform:translateY(.14em);
  transition:filter .6s var(--ease),opacity .6s var(--ease),transform .6s var(--ease)}
.no-sdt .reveal-text.lit .w{filter:none;opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal-text .w{filter:none!important;opacity:1!important;transform:none!important;animation:none!important}}
