/* =========================================================
   VIP UI — база и общие компоненты
   Подключение: fonts.css → tokens.css → base.css → (pricing.css | profile.css)
   Все классы с префиксом .vip- — не пересекаются со стилями сайта.
   Mobile-first, десктоп с 860px.
   ========================================================= */

/* ---------- База ---------- */
.vip {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--vip-bg);
  color: var(--vip-text);
  font-family: var(--vip-font);
  -webkit-font-smoothing: antialiased;
}
.vip *, .vip *::before, .vip *::after { box-sizing: border-box; }
.vip [hidden] { display: none !important; }
.vip :where(button) { font: inherit; color: inherit; }
.vip :where(a) { color: var(--vip-accent-hover); }
.vip :where(a):hover { color: #FF8FA3; }
.vip svg { flex: none; display: block; }
.vip :focus-visible { outline: 2px solid var(--vip-accent); outline-offset: 2px; }

.vip-icon { width: 20px; height: 20px; }

/* Показ по устройству */
@media (max-width: 859.98px) { .vip-desktop-only { display: none !important; } }

/* Фоновое свечение */
.vip__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.vip__glow--pink { top: -120px; left: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,77,109,.22), rgba(255,77,109,0) 70%); }
.vip__glow--blue { top: 40px; right: -140px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(108,126,225,.18), rgba(108,126,225,0) 70%); }

.vip__container {
  position: relative;
  max-width: var(--vip-container);
  margin: 0 auto;
  padding: 0 16px 24px;
}

/* ---------- Заголовки ---------- */
.vip-h2 {
  margin: 0;
  font-family: var(--vip-font-display);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}
.vip-label { margin: 0; font-size: 15px; font-weight: 700; }
.vip-muted { font-size: 12px; color: var(--vip-text-3); }

/* ---------- Бейджи ---------- */
.vip-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--vip-r-pill);
  background: var(--vip-gold-soft); color: var(--vip-gold);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.vip-badge .vip-icon { width: 14px; height: 14px; stroke-width: 2.2; }

.vip-save {
  padding: 2px 7px; border-radius: var(--vip-r-xs);
  background: var(--vip-success-soft); color: var(--vip-success);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}

.vip-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--vip-success);
}
.vip-live__dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--vip-success);
}
.vip-live__dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--vip-success); animation: vip-pulse 1.8s ease-out infinite;
}
@keyframes vip-pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vip-live__dot::after { animation: none; } }

/* ---------- Главная кнопка ---------- */
.vip-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: var(--vip-btn-h); padding: 0 24px;
  border: 0; border-radius: var(--vip-r-xl);
  background: var(--vip-gradient); box-shadow: var(--vip-shadow-cta);
  color: #fff !important; text-decoration: none;
  font-size: 18px; font-weight: 800; letter-spacing: -.01em;
  cursor: pointer; transition: filter .15s, transform .1s;
}
.vip-btn:hover { filter: brightness(1.07); }
.vip-btn:active { transform: scale(.99); }
.vip-btn .vip-icon { stroke-width: 2.4; }
.vip-btn--auto { width: auto; }
.vip-btn__label { white-space: nowrap; }

/* =========================================================
   ДЕСКТОП ≥ 860px
   ========================================================= */
@media (min-width: 860px) {
  .vip-mobile-only { display: none !important; }
  .vip__container { padding: 0 24px 36px; }
  .vip__glow--pink { top: -260px; left: 50%; margin-left: -620px; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(255,77,109,.18), rgba(255,77,109,0) 70%); }
  .vip__glow--blue { top: -160px; right: auto; left: 50%; margin-left: 40px; width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(108,126,225,.16), rgba(108,126,225,0) 70%); }
  .vip-h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
}
