/* ============================================================
   ПОДБОР ПЛЁНКИ — Design System v3
   Полный CSS — все оригинальные классы + улучшенный дизайн
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900&display=swap');

:root {
  --bg:        #05030f;
  --bg-2:      #0a0720;
  --bg-3:      #100c28;
  --panel:     rgba(16,10,35,0.94);
  --panel-2:   rgba(10,7,24,0.97);
  --stroke:    rgba(139,47,255,0.18);
  --stroke-2:  rgba(24,216,240,0.14);
  --text:      #f0edff;
  --muted:     #9d8ec4;
  --primary:   #8b2fff;
  --primary-2: #b314ff;
  --cyan:      #18d8f0;
  --success:   #0fd48a;
  --danger:    #f2365a;
  --warning:   #f59e0b;
  --shadow:    0 20px 60px rgba(0,0,0,0.55);
  --shadow-sm: 0 6px 20px rgba(0,0,0,0.35);
  --glow:      0 0 40px rgba(139,47,255,0.3);
  --glow-c:    0 0 40px rgba(24,216,240,0.22);
  --radius:    20px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --tr:        0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Сброс ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 90% 60% at 20% -10%, rgba(139,47,255,.13) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 85% 5%,   rgba(24,216,240,.08) 0%, transparent 55%),
    radial-gradient(ellipse 75% 80% at 50% 110%,  rgba(139,47,255,.07) 0%, transparent 55%);
}

::selection { background: rgba(139,47,255,.35); color: #fff; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: rgba(139,47,255,.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Типографика ── */
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; line-height: 1.18; letter-spacing: -.015em; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
p  { color: var(--muted); line-height: 1.65; }
a  { color: var(--primary); }

/* ── Layout ── */
.site-shell { max-width: 1240px; margin: 0 auto; padding: 14px 20px; }
.container   { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 22px;
  border-radius: 16px;
  background: rgba(8,4,20,0.85);
  border: 1px solid rgba(139,47,255,.2);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 4px 24px rgba(0,0,0,.4), 0 0 0 1px rgba(139,47,255,.07);
  position: sticky; top: 12px; z-index: 100;
  margin-bottom: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__glow {
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #22d3f0 0%, #8b2fff 65%, transparent 100%);
  box-shadow: 0 0 10px #22d3f0, 0 0 20px #8b2fff;
  animation: brandPulse 2.5s ease-in-out infinite; flex-shrink: 0;
}
@keyframes brandPulse {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 10px #22d3f0,0 0 20px #8b2fff; }
  50%      { opacity:.75; transform:scale(1.3); box-shadow:0 0 16px #22d3f0,0 0 32px #8b2fff; }
}
.brand__text { font-weight: 900; font-size: .95rem; letter-spacing: .07em; color: var(--text); }

.topnav { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.topnav a {
  text-decoration: none; color: var(--muted);
  font-size: .855rem; font-weight: 600;
  padding: 6px 11px; border-radius: 9px;
  transition: all var(--tr); white-space: nowrap;
}
.topnav a:hover  { color: var(--text); background: rgba(139,47,255,.1); }
.topnav a.active { color: var(--primary); background: rgba(139,47,255,.12); }

.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--danger); color: #fff; border-radius: 50%;
  width: 17px; height: 17px; font-size: .63rem; font-weight: 800;
  margin-left: 3px; vertical-align: middle;
}
.nav-unread-badge { background: var(--primary); }

/* Бургер */
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.burger span { display: block; width: 23px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s ease; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(5,3,15,.97); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.nav-overlay.open { display: flex; }
.nav-overlay a { font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; transition: color var(--tr); }
.nav-overlay a:hover { color: var(--primary); }
.nav-overlay__close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--muted); font-size: 2rem; cursor: pointer; }

/* ============================================================
   КАРТОЧКИ / ПАНЕЛИ
   ============================================================ */
.card, .neon-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20,12,44,.96) 0%, rgba(8,5,20,.98) 100%);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.card::before, .neon-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(139,47,255,.06), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(24,216,240,.04), transparent 55%);
}
.card:hover { border-color: rgba(139,47,255,.3); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); padding: 4px 11px; border-radius: 20px;
  background: rgba(24,216,240,.08); border: 1px solid rgba(24,216,240,.22);
  margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 22px; border-radius: 11px;
  font-size: .88rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: all var(--tr); border: none; text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; box-shadow: 0 4px 18px rgba(139,47,255,.38);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(139,47,255,.55); transform: translateY(-1px); }
.btn--primary:active { transform: scale(.98); }
.btn--ghost {
  background: rgba(139,47,255,.07); color: var(--muted);
  border: 1px solid var(--stroke);
}
.btn--ghost:hover { border-color: rgba(139,47,255,.4); color: var(--text); background: rgba(139,47,255,.12); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   ГЛАВНАЯ — HERO
   ============================================================ */
.hero-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 32px;
}
.hero-left, .hero-right {
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(20,12,44,.96), rgba(8,5,20,.98));
  border: 1px solid var(--stroke);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.hero-left::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,47,255,.15), transparent 70%);
  pointer-events: none;
}
.hero-copy p { color: var(--muted); margin: 12px 0 22px; font-size: .93rem; line-height: 1.65; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Wallet */
.wallet-panel {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(139,47,255,.08); border: 1px solid rgba(139,47,255,.2);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 18px;
}
.wallet-panel__label { font-size: .75rem; color: var(--muted); margin-bottom: 2px; }
.wallet-panel__value { font-size: 1.2rem; font-weight: 800; color: var(--primary); }
.wallet-panel__meta  { font-size: .78rem; color: var(--muted); }

/* Форма */
.visualizer-form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row  { display: flex; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field span, .field label { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  background: var(--bg-2); border: 1px solid var(--stroke);
  border-radius: 10px; color: var(--text); padding: 10px 13px;
  font-family: inherit; font-size: .88rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,47,255,.14);
}
.field input[type=file] { padding: 8px 10px; cursor: pointer; }
.field select { appearance: none; cursor: pointer; }

/* Превью выбранной плёнки */
.selected-film-preview { min-height: 0; }
.film-preview-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(139,47,255,.08); border: 1px solid rgba(139,47,255,.2);
  border-radius: 12px; padding: 12px 14px;
}
.film-preview-card__image { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.film-preview-card__title { font-weight: 700; font-size: .9rem; margin-bottom: 2px; }
.film-preview-card__price { font-size: .8rem; color: var(--cyan); }
.film-preview-card__meta  { font-size: .75rem; color: var(--muted); }

/* Result */
.result-frame {
  border-radius: 14px; overflow: hidden; background: var(--bg-2);
  border: 1px solid var(--stroke); min-height: 280px;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
}
.result-frame__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-frame__label { font-size: .82rem; color: var(--muted); }
.result-caption { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 10px; }

/* Прогресс */
.progress-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.progress-step {
  display: flex; align-items: center; gap: 9px;
  font-size: .82rem; color: var(--muted);
  padding: 7px 11px; border-radius: 8px; transition: all .3s;
}
.progress-step.active { color: var(--cyan); background: rgba(24,216,240,.07); }
.progress-step.done   { color: var(--success); }
.progress-step__icon  { font-size: 1rem; flex-shrink: 0; }
#progressWrap { background: var(--bg-2); border-radius: 4px; margin-top: 14px; overflow: hidden; }
#progressBar  { height: 4px; background: linear-gradient(90deg, var(--primary), var(--cyan)); border-radius: 4px; transition: width .4s ease; width: 0%; }

/* ============================================================
   КАК ЭТО РАБОТАЕТ
   ============================================================ */
.how-section { padding: 60px 0 44px; text-align: center; }
.how-section__header { margin-bottom: 44px; }
.how-section__header h2 { margin-top: 8px; }
.how-steps {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.how-step {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: 18px;
  padding: 26px 20px; flex: 1; min-width: 155px; max-width: 205px; text-align: center;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  position: relative; overflow: hidden;
}
.how-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  opacity: 0; transition: opacity var(--tr);
}
.how-step:hover { transform: translateY(-5px); border-color: rgba(139,47,255,.35); box-shadow: 0 16px 40px rgba(0,0,0,.35), var(--glow); }
.how-step:hover::before { opacity: 1; }
.how-step__icon { font-size: 2.1rem; margin-bottom: 8px; }
.how-step__num  { font-size: .67rem; font-weight: 800; color: var(--primary); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 9px; }
.how-step h3    { font-size: .92rem; margin-bottom: 6px; }
.how-step p     { font-size: .8rem; color: var(--muted); margin: 0; line-height: 1.5; }
.how-step__arrow { font-size: 1.4rem; color: rgba(139,47,255,.35); align-self: center; flex-shrink: 0; padding-top: 16px; }

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats-section {
  display: flex;
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: var(--radius);
  overflow: hidden; margin: 0 0 44px;
}
.stats-row { display: flex; width: 100%; }
.stat-item {
  flex: 1; padding: 26px 20px; text-align: center;
  border-right: 1px solid var(--stroke);
  transition: background var(--tr);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(139,47,255,.05); }
.stat-item__value, .stat-box__value {
  font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 4px;
}
.stat-item__label { font-size: .79rem; color: var(--muted); font-weight: 600; }

/* ============================================================
   БЫСТРЫЕ ССЫЛКИ
   ============================================================ */
.quick-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 48px; }
.quick-link-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 26px 22px; text-decoration: none;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  position: relative; overflow: hidden;
}
.quick-link-card:hover { transform: translateY(-4px); border-color: rgba(139,47,255,.38); box-shadow: var(--glow); }
.quick-link-card__icon  { font-size: 1.9rem; }
.quick-link-card__title { font-size: .98rem; font-weight: 700; color: var(--text); }
.quick-link-card__sub   { font-size: .81rem; color: var(--muted); flex: 1; }
.quick-link-card__arrow { font-size: 1.1rem; color: var(--primary); align-self: flex-end; font-weight: 700; }

/* ============================================================
   ГАЛЕРЕЯ
   ============================================================ */
.gallery-section { padding: 56px 0 40px; }
.gallery-section__header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 28px; flex-wrap: wrap;
}
.gallery-section__header h2 { margin-top: 8px; }
.gallery-section__link { color: var(--primary); text-decoration: none; font-size: .88rem; font-weight: 700; white-space: nowrap; transition: opacity var(--tr); }
.gallery-section__link:hover { opacity: .75; }

.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-item {
  display: block; position: relative; border-radius: 16px; overflow: hidden;
  background: #07041a; text-decoration: none;
  border: 1px solid rgba(139,47,255,.12);
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.gallery-item:hover { transform: translateY(-5px); border-color: rgba(139,47,255,.5); box-shadow: 0 20px 50px rgba(0,0,0,.35), var(--glow); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,4,26,.9) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__name { font-size: .88rem; font-weight: 700; color: #fff; }
.gallery-item__type { font-size: .73rem; color: var(--cyan); font-weight: 600; margin-top: 2px; }
.gallery-skeleton {
  border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(139,47,255,.08);
  min-height: 200px; animation: galSkel 1.4s ease-in-out infinite;
}
.gallery-skeleton:first-child { grid-column: span 2; min-height: 240px; }
@keyframes galSkel { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ============================================================
   ПОПОЛНЕНИЕ БАЛАНСА
   ============================================================ */
.payments-section { margin: 0 0 44px; }
.section-heading {
  font-size: clamp(1.2rem,2.5vw,1.6rem); font-weight: 800;
  margin-bottom: 6px;
}
.credit-packs, .pack-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.pack-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px 20px; text-align: center;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.pack-card:hover { transform: translateY(-4px); border-color: rgba(139,47,255,.38); box-shadow: var(--glow); }
.pack-card.featured { border-color: var(--primary); background: linear-gradient(160deg, rgba(139,47,255,.1), rgba(8,5,20,.98)); }
.pack-card__title   { font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.pack-card__price   { font-size: 2rem; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.pack-card__credits { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.payments-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.receipt-box {
  background: var(--bg-2); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 14px 16px; font-size: .83rem; color: var(--muted);
}

/* ============================================================
   МАГАЗИН
   ============================================================ */
.page-hero { text-align: center; padding: 40px 0 28px; }
.page-hero h1 { margin-bottom: 8px; }

.search-box {
  display: flex; align-items: center; gap: 10px;
  background: rgba(16,10,32,.9); border: 1px solid var(--stroke);
  border-radius: 13px; padding: 11px 18px; max-width: 540px; margin: 20px auto 0;
  transition: border-color var(--tr);
}
.search-box:focus-within { border-color: var(--primary); }
.search-box__icon  { font-size: .95rem; flex-shrink: 0; color: var(--muted); }
.search-box__input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-size: .92rem; font-family: inherit; }
.search-box__input::placeholder { color: var(--muted); }
.search-box__clear { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .9rem; padding: 2px 6px; border-radius: 6px; transition: color var(--tr); display: flex; align-items: center; }
.search-box__clear:hover { color: var(--danger); }

.brands-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; padding: 8px 0 44px; }
.brand-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 26px 18px; text-decoration: none; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.brand-card:hover { transform: translateY(-6px); border-color: rgba(139,47,255,.42); box-shadow: 0 20px 50px rgba(0,0,0,.4), var(--glow); }
.brand-card__logo { width: 80px; height: 80px; object-fit: contain; border-radius: 14px; background: var(--bg-2); padding: 8px; }
.brand-card__logo-placeholder { width: 80px; height: 80px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--stroke); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 900; color: var(--primary); }
.brand-card__name  { font-size: .93rem; font-weight: 700; color: var(--text); }
.brand-card__count { font-size: .77rem; color: var(--muted); }

/* Бренд */
.brand-hero { padding: 36px 0 24px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.brand-hero__logo { width: 110px; height: 110px; object-fit: contain; border-radius: 18px; background: var(--panel); border: 1px solid var(--stroke); padding: 10px; flex-shrink: 0; }
.brand-hero__logo-placeholder { width: 110px; height: 110px; border-radius: 18px; background: var(--panel); border: 1px solid var(--stroke); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; font-weight: 900; color: var(--primary); flex-shrink: 0; }
.brand-hero__info h1 { margin-bottom: 5px; }
.brand-description {
  background: rgba(139,47,255,.05); border: 1px solid rgba(139,47,255,.15);
  border-radius: 14px; padding: 16px 20px; font-size: .88rem; color: var(--muted);
  line-height: 1.7; margin-bottom: 24px;
}

.films-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 16px; padding: 8px 0 44px; }
.film-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: 16px;
  overflow: hidden; text-decoration: none;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.film-card:hover { transform: translateY(-5px); border-color: rgba(139,47,255,.42); box-shadow: 0 16px 40px rgba(0,0,0,.4), var(--glow); }
.film-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.film-card__img-placeholder { width: 100%; aspect-ratio: 4/3; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--muted); }
.film-card__body   { padding: 14px; }
.film-card__name   { font-size: .88rem; font-weight: 700; margin-bottom: 5px; }
.film-card__price  { font-size: .78rem; color: var(--cyan); font-weight: 700; }
.film-card__rating { font-size: .74rem; color: var(--muted); margin-top: 3px; }
.film-card__brand-logo { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; vertical-align: middle; margin-right: 4px; }

/* Страница плёнки */
.film-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; padding: 28px 0 60px; align-items: start; }
.film-info { position: sticky; top: 96px; }
.film-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.price-row { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.specs-card { background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98)); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.specs-grid { }
.spec-row { display: flex; align-items: center; padding: 11px 18px; border-bottom: 1px solid var(--stroke); transition: background var(--tr); }
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: rgba(139,47,255,.04); }
.spec-row__label { font-size: .81rem; color: var(--muted); flex: 1; }
.spec-row__value { font-size: .84rem; font-weight: 700; color: var(--text); }

/* ============================================================
   ДЕТЕЙЛИНГИ
   ============================================================ */
.detailing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px,1fr)); gap: 18px; padding: 8px 0 44px; }
.detailing-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: block;
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
}
.detailing-card:hover { transform: translateY(-5px); border-color: rgba(24,216,240,.35); box-shadow: 0 20px 50px rgba(0,0,0,.4), var(--glow-c); }
.detailing-card__cover { width: 100%; height: 180px; object-fit: cover; display: block; }
.detailing-card__cover-placeholder { width: 100%; height: 180px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--muted); }
.detailing-card__body { padding: 18px; }
.detailing-card__logo { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; background: var(--panel); padding: 4px; float: right; margin: -38px 4px 8px 8px; border: 2px solid var(--bg); }
.detailing-card__name { font-size: .98rem; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.detailing-card__city { font-size: .79rem; color: var(--muted); margin-bottom: 8px; }
.detailing-card__desc { font-size: .81rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.detailing-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--stroke); }
.detailing-card__rating { font-size: .81rem; color: #fbbf24; }
.detailing-card__badge  { background: rgba(24,216,240,.1); color: var(--cyan); border: 1px solid rgba(24,216,240,.25); border-radius: 20px; padding: 3px 10px; font-size: .71rem; font-weight: 700; }

/* Страница детейлинга */
.d-hero { position: relative; height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--panel); margin-bottom: 24px; }
.d-hero__cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-hero__cover-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-2), #160a30); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.d-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,3,15,.95) 0%, rgba(5,3,15,.3) 60%, transparent 100%); }
.d-hero__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 26px; display: flex; align-items: flex-end; gap: 16px; }
.d-hero__logo { width: 70px; height: 70px; border-radius: 14px; background: var(--panel); border: 2px solid var(--stroke); object-fit: contain; padding: 7px; flex-shrink: 0; }
.d-hero__logo-placeholder { width: 70px; height: 70px; border-radius: 14px; background: var(--panel); border: 2px solid var(--stroke); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 900; color: var(--cyan); flex-shrink: 0; }
.d-hero__info h1 { font-size: clamp(1.25rem, 3vw, 1.85rem); margin-bottom: 4px; }
.d-layout { display: grid; grid-template-columns: 1fr 310px; gap: 24px; padding: 0 0 60px; align-items: start; }
.d-sidebar { position: sticky; top: 96px; }

/* Цена детейлинга */
.price-banner {
  background: linear-gradient(135deg, rgba(24,216,240,.12), rgba(139,47,255,.1));
  border: 1px solid var(--cyan); border-radius: var(--radius);
  padding: 16px; text-align: center; margin-bottom: 12px;
}
.price-banner__label { font-size: .73rem; color: var(--muted); margin-bottom: 3px; }
.price-banner__value { font-size: 1.65rem; font-weight: 900; color: var(--cyan); }

/* CTA */
.btn-cta {
  display: block; width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--primary));
  color: #000; border: none; border-radius: 13px; padding: 14px;
  font-size: .93rem; font-weight: 800; cursor: pointer; text-align: center;
  text-decoration: none; margin-bottom: 10px; font-family: inherit;
  transition: all var(--tr); box-shadow: 0 4px 20px rgba(24,216,240,.28);
}
.btn-cta:hover { opacity: .9; transform: translateY(-1px); }
.btn-call {
  display: block; width: 100%; background: transparent;
  color: var(--cyan); border: 1px solid var(--cyan);
  border-radius: 13px; padding: 12px; font-size: .88rem; font-weight: 600;
  cursor: pointer; text-align: center; text-decoration: none; margin-bottom: 12px;
  transition: all var(--tr);
}
.btn-call:hover { background: rgba(24,216,240,.08); }
.btn-order {
  width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; border: none; border-radius: 13px; padding: 14px;
  font-size: .93rem; font-weight: 800; cursor: pointer;
  box-shadow: 0 4px 20px rgba(139,47,255,.38); transition: all var(--tr);
  margin-bottom: 10px; font-family: inherit; display: block;
}
.btn-order:hover { box-shadow: 0 6px 28px rgba(139,47,255,.55); transform: translateY(-1px); }
.btn-visualize {
  display: block; width: 100%;
  background: rgba(24,216,240,.08); border: 1px solid rgba(24,216,240,.25);
  color: var(--cyan); border-radius: 13px; padding: 12px;
  font-size: .88rem; font-weight: 700; text-align: center;
  text-decoration: none; transition: all var(--tr); margin-bottom: 10px;
}
.btn-visualize:hover { background: rgba(24,216,240,.15); border-color: var(--cyan); }

/* Info */
.info-card { background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98)); border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.info-card__title { padding: 12px 18px; font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border-bottom: 1px solid var(--stroke); }
.info-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--stroke); }
.info-row:last-child { border-bottom: none; }
.info-row__icon { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; }
.info-row__label { font-size: .73rem; color: var(--muted); margin-bottom: 2px; }
.info-row__value { font-size: .86rem; font-weight: 600; }
.info-row__value a { color: var(--cyan); text-decoration: none; }

/* Отзывы */
.review-item {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: 14px;
  padding: 16px; margin-bottom: 12px; transition: border-color var(--tr);
}
.review-item:hover { border-color: rgba(139,47,255,.28); }
.review-card {
  background: linear-gradient(160deg, rgba(20,12,44,.95), rgba(8,5,20,.98));
  border: 1px solid var(--stroke); border-radius: 14px;
  padding: 16px; margin-bottom: 12px;
}

/* Медиа-метка */
.media-section-label {
  font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.media-section-label::before { content: ''; display: block; width: 3px; height: 14px; background: var(--primary); border-radius: 2px; }

/* ============================================================
   ЧАТ
   ============================================================ */
.chat-layout { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 80px); overflow: hidden; }
.chat-sidebar { border-right: 1px solid var(--stroke); display: flex; flex-direction: column; background: rgba(8,4,20,.85); }
.chat-sidebar__header { padding: 18px 20px; border-bottom: 1px solid var(--stroke); font-weight: 700; }
.chat-list { flex: 1; overflow-y: auto; }
.chat-item { padding: 14px 18px; border-bottom: 1px solid var(--stroke); cursor: pointer; transition: background var(--tr); display: flex; align-items: center; gap: 11px; }
.chat-item:hover { background: var(--bg-2); }
.chat-item.active { background: rgba(139,47,255,.1); border-left: 3px solid var(--primary); }
.chat-item__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem; color: #fff; flex-shrink: 0; }
.chat-item__avatar.admin { background: var(--cyan); color: #000; }
.chat-item__avatar.detailing { background: var(--success); color: #000; }
.chat-item__info { flex: 1; min-width: 0; }
.chat-item__name    { font-weight: 600; font-size: .87rem; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item__preview { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.chat-item__time  { font-size: .71rem; color: var(--muted); }
.chat-item__badge { background: var(--primary); color: #fff; border-radius: 50%; width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; font-size: .67rem; font-weight: 700; }
.chat-main { display: flex; flex-direction: column; background: var(--bg); }
.chat-main__header { padding: 14px 20px; border-bottom: 1px solid var(--stroke); background: rgba(8,4,20,.85); display: flex; align-items: center; gap: 12px; }
.chat-main__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex-shrink: 0; }
.chat-main__name   { font-weight: 700; font-size: .93rem; }
.chat-main__status { font-size: .76rem; color: var(--muted); }
.chat-messages { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.message { display: flex; flex-direction: column; max-width: 68%; }
.message.mine   { align-self: flex-end; align-items: flex-end; }
.message.theirs { align-self: flex-start; align-items: flex-start; }
.message__bubble { padding: 10px 14px; border-radius: 16px; font-size: .86rem; line-height: 1.5; word-break: break-word; }
.message.mine   .message__bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.message.theirs .message__bubble { background: rgba(20,12,44,.9); border: 1px solid var(--stroke); color: var(--text); border-bottom-left-radius: 4px; }
.message.admin-reply .message__bubble { background: linear-gradient(135deg, var(--cyan), #0ea5e9); color: #000; }
.message__meta { font-size: .69rem; color: var(--muted); margin-top: 3px; }
.chat-input-area { padding: 14px 20px; border-top: 1px solid var(--stroke); background: rgba(8,4,20,.85); display: flex; gap: 10px; align-items: flex-end; }
.chat-input { flex: 1; background: var(--bg-2); border: 1px solid var(--stroke); border-radius: 13px; color: var(--text); padding: 11px 15px; font-family: inherit; font-size: .87rem; resize: none; min-height: 42px; max-height: 120px; transition: border-color var(--tr); }
.chat-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(139,47,255,.12); }
.chat-send-btn { background: var(--primary); border: none; border-radius: 11px; color: #fff; width: 42px; height: 42px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--tr); font-size: 1rem; }
.chat-send-btn:hover { opacity: .85; transform: scale(1.05); }
.new-chat-btns { padding: 14px 18px; border-top: 1px solid var(--stroke); display: flex; flex-direction: column; gap: 7px; }
.btn-new-chat { background: var(--bg-2); border: 1px solid var(--stroke); border-radius: 10px; color: var(--muted); padding: 9px 13px; cursor: pointer; font-size: .82rem; text-align: left; transition: all var(--tr); }
.btn-new-chat:hover { border-color: var(--primary); color: var(--primary); }
.day-divider { text-align: center; color: var(--muted); font-size: .71rem; margin: 7px 0; }
.no-chat { flex: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: var(--muted); }
.empty-chats { padding: 36px 18px; text-align: center; color: var(--muted); font-size: .85rem; }

/* ============================================================
   ТАБЫ (партнёр / профиль)
   ============================================================ */
.tabs { display: flex; gap: 4px; background: rgba(8,4,20,.8); border-radius: 13px; padding: 5px; border: 1px solid var(--stroke); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 9px 16px; border-radius: 10px; cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--muted); border: none; background: none; transition: all var(--tr); white-space: nowrap; }
.tab.active { background: var(--primary); color: #fff; }

/* ============================================================
   ПАРТНЁР
   ============================================================ */
.partner-wrap { max-width: 960px; margin: 0 auto; padding: 28px 0 60px; }
.partner-header { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; }

/* ============================================================
   РАЗДЕЛ-ЗАГОЛОВОК
   ============================================================ */
.section-title {
  font-size: .69rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--stroke); }

/* Кнопки формы */
.btn-primary-form {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; border: none; border-radius: 11px; padding: 11px 22px;
  font-size: .87rem; font-weight: 700; cursor: pointer; font-family: inherit;
  transition: all var(--tr); box-shadow: 0 4px 18px rgba(139,47,255,.35);
}
.btn-primary-form:hover { box-shadow: 0 6px 26px rgba(139,47,255,.52); transform: translateY(-1px); }

/* Избранное */
.fav-btn {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(7,5,16,.72); border: 1px solid var(--stroke);
  color: var(--muted); font-size: .9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr); z-index: 10; backdrop-filter: blur(8px);
}
.fav-btn:hover { border-color: var(--danger); color: var(--danger); transform: scale(1.1); }
.fav-btn.active { color: var(--danger); border-color: var(--danger); background: rgba(242,54,90,.15); }

/* ============================================================
   СТАТУС
   ============================================================ */
.status-box { border-radius: 12px; padding: 11px 15px; font-size: .86rem; font-weight: 600; animation: fadeIn .3s ease; margin-top: 12px; }
.status-box--success { background: rgba(15,212,138,.12); border: 1px solid rgba(15,212,138,.3); color: var(--success); }
.status-box--error   { background: rgba(242,54,90,.12);  border: 1px solid rgba(242,54,90,.3);  color: var(--danger); }

/* Утилиты */
.hidden { display: none !important; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state h2 { color: var(--text); margin-bottom: 8px; }
.no-reviews { color: var(--muted); font-size: .86rem; padding: 18px 0; }
.loading-state { text-align: center; padding: 60px; color: var(--muted); font-size: .9rem; }
.error-state   { text-align: center; padding: 40px; color: var(--danger); }

@keyframes fadeIn    { from{opacity:0}     to{opacity:1} }
@keyframes fadeInUp  { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
@keyframes skeleton-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.animate-fade-up { animation: fadeInUp .5s var(--tr) both; }
.animate-fade    { animation: fadeIn .4s ease both; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .hero-layout   { grid-template-columns: 1fr; }
  .quick-links   { grid-template-columns: 1fr 1fr; }
  .film-layout   { grid-template-columns: 1fr; }
  .film-info     { position: static; }
  .d-layout      { grid-template-columns: 1fr; }
  .d-sidebar     { position: static; }
  .chat-layout   { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2,1fr); }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .site-shell { padding: 10px 12px; }
  .topnav     { display: none; }
  .burger     { display: flex; }
  .topbar     { padding: 11px 16px; border-radius: 14px; }
  .hero-left, .hero-right { padding: 22px 18px; }
  .form-grid  { grid-template-columns: 1fr; }
  .how-steps  { gap: 8px; }
  .how-step   { min-width: 130px; max-width: 158px; padding: 18px 13px; }
  .how-step__arrow { display: none; }
  .stats-section { flex-wrap: wrap; }
  .stats-row  { flex-wrap: wrap; }
  .stat-item  { flex: 1 1 40%; border-right: none; border-bottom: 1px solid var(--stroke); }
  .stat-item:nth-child(odd)  { border-right: 1px solid var(--stroke); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-link-card { flex-direction: row; align-items: center; padding: 18px; }
  .quick-link-card__arrow { margin-left: auto; align-self: center; }
  .brands-grid, .films-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .detailing-grid { grid-template-columns: 1fr; }
  .d-hero { height: 220px; }
  .d-hero__content { padding: 16px 18px; }
  .d-hero__logo, .d-hero__logo-placeholder { width: 56px; height: 56px; }
  .d-hero__info h1 { font-size: 1.2rem; }
  .credit-packs, .pack-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brands-grid, .films-grid { grid-template-columns: 1fr; }
  .topbar     { border-radius: 12px; }
  .d-hero     { height: 180px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .gallery-section__header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 20px rgba(139,47,255,.45);
  z-index: 500;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(139,47,255,.6);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   SKELETON LOADER
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg,
    rgba(139,47,255,.08) 25%,
    rgba(139,47,255,.15) 50%,
    rgba(139,47,255,.08) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: linear-gradient(160deg,rgba(20,12,44,.95),rgba(8,5,20,.98));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
}
.skeleton-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(90deg,rgba(139,47,255,.06) 25%,rgba(139,47,255,.12) 50%,rgba(139,47,255,.06) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}
.skeleton-card__body { padding: 14px; }
.skeleton-card__line {
  height: 14px;
  border-radius: 7px;
  margin-bottom: 8px;
  background: linear-gradient(90deg,rgba(139,47,255,.06) 25%,rgba(139,47,255,.12) 50%,rgba(139,47,255,.06) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
}
.skeleton-card__line--short { width: 60%; }

/* ============================================================
   TOAST УВЕДОМЛЕНИЯ
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  background: linear-gradient(160deg, rgba(20,12,44,.97), rgba(8,5,20,.99));
  border: 1px solid var(--stroke);
  border-radius: 13px;
  padding: 12px 18px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity .3s, transform .3s;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 300px;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast--success { border-color: rgba(15,212,138,.3); }
.toast--error   { border-color: rgba(242,54,90,.3); }
