/* ════════════════════════════════════════════════════════════════
   MSALL — pink-bear design system
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Палитра (та же что в exe) */
  --bg:        #0d0414;
  --surface:   #150821;
  --card:      #1f0d2e;
  --card-hi:   #2c1240;
  --border:    #5a1f7a;
  --accent:    #ec4899;   /* розовый — основной */
  --accent-2:  #f472b6;   /* светло-розовый */
  --purple:    #a855f7;
  --magenta:   #d946ef;
  --green:     #22c55e;
  --red:       #ef4444;
  --yellow:    #fbbf24;
  --text:      #fdf2f8;
  --text-dim:  #f5d0fe;
  --text-mute: #a78bfa;
  /* shadows */
  --neon-pink:   0 0 24px rgba(236, 72, 153, 0.40);
  --neon-purple: 0 0 22px rgba(168, 85, 247, 0.35);
  --neon-soft:   0 8px 32px rgba(0, 0, 0, 0.40);
}

/* ── reset & base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  /* анимированный фон — глубокий градиент с подсветкой */
  background-image:
    radial-gradient(800px 600px at 12% -10%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, rgba(236, 72, 153, 0.16), transparent 55%),
    radial-gradient(900px 700px at 50% 110%, rgba(168, 85, 247, 0.10), transparent 70%);
  background-attachment: fixed;
}

a { color: var(--accent-2); text-decoration: none; transition: color .15s; }
a:hover { color: var(--text); }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

/* ── глобальная типография ──────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
p  { margin: 0; }

.muted   { color: var(--text-mute); }
.dim     { color: var(--text-dim); }
.heart   { color: var(--accent); }
.gradient-text {
  background: linear-gradient(120deg, #f472b6 0%, #ec4899 35%, #a855f7 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(236, 72, 153, 0.25));
}

/* ── шапка ──────────────────────────────────────────────────────── */
header.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 14px 28px;
  background: rgba(21, 8, 33, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(90, 31, 122, 0.4);
}
header.topbar .logo {
  display: flex; align-items: center; gap: 12px; font-weight: 800;
  font-size: 18px; letter-spacing: .02em;
}
header.topbar .logo .badge {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: grid; place-items: center; padding: 2px;
  box-shadow: var(--neon-pink);
}
header.topbar .logo .badge img {
  width: 100%; height: 100%; border-radius: 10px; object-fit: cover;
}
header.topbar nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
header.topbar nav a {
  padding: 8px 14px; border-radius: 8px;
  color: var(--text-dim); font-weight: 500;
  transition: all .15s;
}
header.topbar nav a:hover { background: rgba(168, 85, 247, 0.15); color: var(--text); }
header.topbar nav .btn { margin-left: 6px; }

/* ── кнопки ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-weight: 700; font-size: 14px;
  border: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: white;
  box-shadow: var(--neon-pink), 0 4px 18px rgba(168, 85, 247, 0.35);
}
.btn-primary:hover { box-shadow: 0 0 36px rgba(236, 72, 153, 0.55); }

.btn-ghost {
  background: rgba(168, 85, 247, 0.12);
  color: var(--text);
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.btn-ghost:hover { background: rgba(168, 85, 247, 0.22); border-color: var(--accent-2); }

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #ec4899);
  color: white;
}
.btn-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.32);
}
.btn.lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }

/* ── контейнер ──────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── HERO landing ──────────────────────────────────────────────── */
.hero {
  position: relative; padding: 80px 0 120px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-text .tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(236, 72, 153, 0.30);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.hero-text h1 { margin-bottom: 20px; }
.hero-text p.lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-dim);
  margin-bottom: 32px; max-width: 540px;
}
.hero-text .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-bear {
  position: relative;
  display: grid; place-items: center;
  min-height: 460px;
}
.hero-bear .bear-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at center,
    rgba(236, 72, 153, 0.32),
    rgba(168, 85, 247, 0.18) 35%,
    transparent 65%);
  filter: blur(8px);
  animation: pulse-glow 4s ease-in-out infinite;
}
.hero-bear .bear-wrap {
  position: relative;
  width: clamp(280px, 36vw, 420px);
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(236, 72, 153, 0.5);
  box-shadow: var(--neon-pink), 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: float 5s ease-in-out infinite;
}
.hero-bear .bear-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-bear .sparkle {
  position: absolute; pointer-events: none;
  width: 22px; height: 22px;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0%, transparent 60%);
  animation: twinkle 2.4s ease-in-out infinite;
}
.hero-bear .sparkle.s1 { top: 12%; left: 8%; }
.hero-bear .sparkle.s2 { top: 76%; right: 6%; animation-delay: .6s; }
.hero-bear .sparkle.s3 { top: 30%; right: 12%; animation-delay: 1.2s; }
.hero-bear .sparkle.s4 { top: 60%; left: 0%; animation-delay: 1.8s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-10px) rotate(-1deg); }
}
@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50%      { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0 80px; gap: 40px; }
  .hero-bear { min-height: 380px; }
}

/* ── секция features ───────────────────────────────────────────── */
.features {
  padding: 80px 0;
}
.features h2 { text-align: center; margin-bottom: 14px; }
.features .sub { text-align: center; color: var(--text-dim); margin-bottom: 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature {
  position: relative;
  background: linear-gradient(180deg,
    rgba(44, 18, 64, 0.72) 0%,
    rgba(31, 13, 46, 0.72) 100%);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.feature::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%),
    rgba(236, 72, 153, 0.10), transparent 50%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.25);
}
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
}
.feature h3 { margin-bottom: 8px; font-size: 18px; }
.feature p { color: var(--text-dim); font-size: 14px; }

/* ── CTA-band ──────────────────────────────────────────────────── */
.cta-band {
  margin: 80px 0;
  padding: 56px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg,
    rgba(168, 85, 247, 0.22) 0%,
    rgba(236, 72, 153, 0.18) 100%);
  border: 1px solid rgba(236, 72, 153, 0.35);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -2px;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--text-dim); margin-bottom: 28px; }
.cta-band .cta-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── footer ────────────────────────────────────────────────────── */
footer.site-footer {
  border-top: 1px solid rgba(168, 85, 247, 0.25);
  padding: 28px 0 36px;
  color: var(--text-mute);
  font-size: 13px;
}
footer.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: space-between; align-items: center;
}

/* ── flash messages ────────────────────────────────────────────── */
.flash {
  padding: 14px 20px; border-radius: 12px;
  margin-bottom: 18px;
  border: 1px solid;
  font-weight: 500;
}
.flash-success { background: rgba(34, 197, 94, 0.10); border-color: var(--green); color: #86efac; }
.flash-error   { background: rgba(239, 68, 68, 0.10); border-color: var(--red);   color: #fca5a5; }
.flash-info    { background: rgba(168, 85, 247, 0.10); border-color: var(--purple); color: var(--text-dim); }

/* ── auth/forms ────────────────────────────────────────────────── */
.auth-shell {
  display: grid; place-items: center;
  padding: 60px 24px;
}
.auth-card {
  width: 100%; max-width: 440px;
  padding: 40px 36px;
  background: linear-gradient(180deg,
    rgba(44, 18, 64, 0.85) 0%,
    rgba(31, 13, 46, 0.85) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.30);
  border-radius: 24px;
  box-shadow: var(--neon-soft);
}
.auth-card .bear-mini {
  width: 84px; height: 84px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  border: 2px solid var(--accent);
  box-shadow: var(--neon-pink);
}
.auth-card .bear-mini img { width: 100%; height: 100%; object-fit: cover; }
.auth-card h2 { text-align: center; font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { text-align: center; color: var(--text-dim); margin-bottom: 26px; font-size: 14px; }

.tabs {
  display: flex; gap: 6px; padding: 4px;
  background: rgba(13, 4, 20, 0.4);
  border-radius: 12px;
  margin-bottom: 22px;
}
.tabs button {
  flex: 1; padding: 10px 12px;
  background: transparent; border: none; color: var(--text-dim);
  border-radius: 9px; font-weight: 600;
  transition: all .15s;
}
.tabs button.active {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: white;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(13, 4, 20, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 10px;
  color: var(--text); font-size: 15px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(31, 13, 46, 0.8);
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}
.form-group .hint { font-size: 12px; color: var(--text-mute); margin-top: 6px; }

.btn-block { width: 100%; }

.auth-card .footer-link {
  text-align: center; margin-top: 18px; color: var(--text-mute);
  font-size: 14px;
}

/* ── tg login widget (стилизуем рамку) ──────────────────────────── */
.tg-login-wrap {
  display: grid; place-items: center;
  padding: 20px 0;
  border-radius: 14px;
  background: rgba(13, 4, 20, 0.4);
  border: 1px dashed rgba(168, 85, 247, 0.3);
}
.tg-login-wrap iframe {
  border-radius: 8px;
  filter: drop-shadow(0 4px 16px rgba(236, 72, 153, 0.20));
}

/* ── dashboard ─────────────────────────────────────────────────── */
.page-shell { padding: 40px 0 80px; }
.page-shell h1 { margin-bottom: 6px; }
.page-shell .sub { color: var(--text-dim); margin-bottom: 32px; }

.dash-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
}
@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
}

.dash-side {
  padding: 28px 24px;
  background: linear-gradient(180deg,
    rgba(44, 18, 64, 0.65) 0%,
    rgba(31, 13, 46, 0.65) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
}
.dash-side .avatar {
  width: 96px; height: 96px; margin: 0 auto 14px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: var(--neon-pink);
}
.dash-side .avatar img { width: 100%; height: 100%; object-fit: cover; }
.dash-side .name { text-align: center; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.dash-side .email { text-align: center; color: var(--text-mute); font-size: 13px; margin-bottom: 22px; word-break: break-all; }
.dash-side .nav { display: flex; flex-direction: column; gap: 4px; }
.dash-side .nav a {
  padding: 10px 14px; border-radius: 9px;
  color: var(--text-dim);
  transition: background .15s, color .15s;
}
.dash-side .nav a:hover { background: rgba(168, 85, 247, 0.15); color: var(--text); }
.dash-side .nav a.active {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.30), rgba(168, 85, 247, 0.20));
  color: white; font-weight: 600;
}
.dash-side .nav a.danger { color: #fca5a5; }
.dash-side .nav a.danger:hover { background: rgba(239, 68, 68, 0.15); color: var(--red); }

.dash-main { display: flex; flex-direction: column; gap: 24px; }

.panel {
  padding: 28px;
  background: linear-gradient(180deg,
    rgba(44, 18, 64, 0.7) 0%,
    rgba(31, 13, 46, 0.7) 100%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
}
.panel h2 { font-size: 20px; margin-bottom: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h2 { margin: 0; }

/* ── ключ-карточка ─────────────────────────────────────────────── */
.key-list { display: flex; flex-direction: column; gap: 12px; }
.key-card {
  padding: 18px 20px;
  background: rgba(13, 4, 20, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px; align-items: center;
  transition: border-color .15s, box-shadow .15s;
}
.key-card:hover { border-color: var(--accent); }
.key-card .code {
  font-family: 'JetBrains Mono', 'Consolas', monospace;
  font-size: 16px; font-weight: 700;
  letter-spacing: .03em;
  color: var(--text);
}
.key-card .meta {
  margin-top: 4px;
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--text-mute);
}
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.active   { background: rgba(34, 197, 94, 0.16); color: #86efac; }
.badge.expired  { background: rgba(251, 191, 36, 0.16); color: #fcd34d; }
.badge.revoked  { background: rgba(239, 68, 68, 0.16); color: #fca5a5; }
.badge.bound    { background: rgba(168, 85, 247, 0.18); color: var(--text-dim); }
.badge.unbound  { background: rgba(13, 4, 20, 0.6); color: var(--text-mute); border: 1px solid rgba(168,85,247,.25); }

.empty-state {
  padding: 40px 24px; text-align: center;
  color: var(--text-mute);
}
.empty-state .bear { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; margin: 0 auto 14px; border: 2px dashed rgba(168, 85, 247, 0.4); opacity: .7; }
.empty-state .bear img { width: 100%; height: 100%; object-fit: cover; }

/* ── stats cards (admin) ───────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.stat {
  padding: 18px 20px;
  background: rgba(13, 4, 20, 0.5);
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 14px;
}
.stat .label { font-size: 11px; letter-spacing: .08em; color: var(--text-mute); text-transform: uppercase; }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 4px;
                background: linear-gradient(120deg, #f472b6, #a855f7);
                -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
              }

/* ── table (admin keys) ────────────────────────────────────────── */
.tbl {
  width: 100%; border-collapse: separate; border-spacing: 0 6px;
}
.tbl th {
  text-align: left; padding: 8px 14px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 700;
}
.tbl td {
  padding: 14px 14px;
  background: rgba(13, 4, 20, 0.4);
  border-top: 1px solid rgba(168, 85, 247, 0.18);
  border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  font-size: 14px;
}
.tbl tr td:first-child { border-left: 1px solid rgba(168, 85, 247, 0.18); border-radius: 12px 0 0 12px; }
.tbl tr td:last-child  { border-right: 1px solid rgba(168, 85, 247, 0.18); border-radius: 0 12px 12px 0; }
.tbl tr:hover td { background: rgba(31, 13, 46, 0.7); }
.tbl .code-cell { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--text); }
.tbl .actions { display: flex; gap: 6px; }
.tbl .actions form { display: inline; }
.tbl .actions button {
  padding: 6px 10px; border-radius: 8px; font-size: 12px;
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(13, 4, 20, 0.6); color: var(--text-dim);
  transition: all .15s;
}
.tbl .actions button:hover { color: white; border-color: var(--accent); }
.tbl .actions .danger:hover { border-color: var(--red); color: #fca5a5; }

/* ── responsive utility ────────────────────────────────────────── */
.hide-mobile { display: initial; }
@media (max-width: 700px) {
  .hide-mobile { display: none; }
  .container { padding: 0 16px; }
}

/* ── speech bubble (если нужна на лендинге как «мишка говорит») ── */
.bubble {
  position: absolute; bottom: -10px; right: -20px;
  padding: 14px 18px;
  background: rgba(31, 13, 46, 0.95);
  border: 2px solid var(--accent);
  border-radius: 16px;
  color: var(--text);
  font-size: 14px; font-weight: 500;
  max-width: 220px;
  box-shadow: var(--neon-pink);
  animation: float 5s ease-in-out infinite .5s;
}
.bubble::before {
  content: ''; position: absolute; top: -8px; left: 26px;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ── скроллбар (под палитру) ───────────────────────────────────── */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--purple));
  border-radius: 6px;
  border: 2px solid var(--surface);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ════════════════════════════════════════════════════════════════
   Love-note + новые feature-rows + страницы donate/feedback
   ════════════════════════════════════════════════════════════════ */

/* love-note (мишка слева, текст справа) */
.love-note {
  display:flex;
  gap:32px;
  align-items:center;
  background: linear-gradient(135deg, rgba(255,99,179,0.08), rgba(167,139,250,0.08));
  border: 1px solid rgba(255,99,179,0.25);
  border-radius: 22px;
  padding: 28px;
  margin-top: 40px;
}
.love-bear img {
  width:140px; height:140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 30px rgba(255,99,179,0.4);
  flex-shrink: 0;
}
.love-text h2 { margin:0 0 12px; font-size:26px; }
.love-text p  { margin: 8px 0; line-height: 1.55; }

/* love-banner — баннер «Мы обожаем эту игру» (фото с текстом внутри) */
.love-banner {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(255,99,179,0.22);
}
.love-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* feature-block: большая фото-арт + описание под ним.
   У фото-арта справа уже нарисован пустой квадрат — мы накладываем
   на него видео-плейсхолдер (или <video> когда он есть). */
.feature-block {
  margin: 44px 0;
}
.feature-art {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(255,99,179,0.18);
}
.feature-art > img {
  width: 100%;
  height: auto;
  display: block;
}
/* Координаты подобраны под белый квадрат в правой части артов
   (~73-96% по X, ~25-81% по Y). Одинаковые для всех 3 фоток.
   Сюда вставляется ИЛИ <span> заглушка, ИЛИ <video>, ИЛИ <iframe>. */
.feature-video-overlay,
.feature-art .feature-video,
.feature-art iframe.feature-video {
  position: absolute;
  left:   73%;
  top:    25%;
  width:  23%;
  height: 56%;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
}
.feature-video-overlay {
  background: linear-gradient(135deg, rgba(255,99,179,0.18), rgba(167,139,250,0.18));
  border: 2px dashed rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  /* мягкий пульс — окно "оживает", показывает что готово к видео */
  animation: video-slot-pulse 2.6s ease-in-out infinite;
}
@keyframes video-slot-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255,99,179,0.5),
                inset 0 0 18px rgba(255,99,179,0.15);
  }
  50% {
    box-shadow: 0 0 22px 4px rgba(255,99,179,0.55),
                inset 0 0 26px rgba(255,99,179,0.30);
  }
}
.feature-art video.feature-video,
.feature-art iframe.feature-video {
  background: #000;
}
.feature-art video.feature-video { object-fit: cover; }
.video-placeholder { padding: 0 8px; }

.feature-desc {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 8px;
}
.feature-desc h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--text);
}
.feature-desc p {
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

/* mini grid — оставшиеся features без видео */
.features-grid.mini { margin-top: 60px; }

@media (max-width: 720px) {
  .love-note { flex-direction: column; text-align: center; }
  .love-bear img { margin: 0 auto; }
  .feature-desc h3 { font-size: 20px; }
  .feature-desc p  { font-size: 14px; }
}

/* Donate page */
.narrow { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.page-head {
  margin-bottom: 22px;
}
.page-head h1 {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
/* emoji вне gradient-text — иначе background-clip:text их обрезает */
.h1-emoji {
  font-size: 0.85em;
  filter: drop-shadow(0 2px 8px rgba(236,72,153,0.4));
}
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.donate-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
}
.donate-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.donate-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: white; font-weight: 800; font-size: 18px;
  border-radius: 50%;
}
.donate-net { font-weight: 700; }
.donate-addr {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  word-break: break-all;
  color: var(--text-dim);
}
.vip-note {
  background: linear-gradient(135deg, rgba(255,99,179,0.10), rgba(167,139,250,0.10));
  border: 1px solid rgba(255,99,179,0.30);
  border-radius: 18px;
  padding: 24px;
}
.vip-note h3 { margin: 0 0 8px; }
.vip-note p { margin: 8px 0; line-height: 1.55; }

/* Feedback form */
.feedback-form {
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 20px;
}
.feedback-form label {
  display: flex; flex-direction: column; gap: 6px;
}
.feedback-form label > span {
  font-weight: 600;
  color: var(--text-dim);
  font-size: 13px;
}
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  outline: none;
}
.feedback-form input:focus,
.feedback-form select:focus,
.feedback-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,99,179,0.18);
}
.feedback-form small { font-size: 12px; }
.feedback-form button { align-self: flex-start; margin-top: 6px; }

/* ════════════════════════════════════════════════════════════════
   Pricing page — модульная оплата с психологическими трюками
   ════════════════════════════════════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px 0 40px;
}
.price-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 24px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,99,179,0.35);
}
.price-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.price-title {
  margin: 0;
  font-size: 20px;
  color: var(--text);
}
.price-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.45;
  min-height: 56px;
  margin: 0 0 6px;
}

/* Самое главное: гигантская цифра + крохотные центы + крохотный $/период */
.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-weight: 900;
  color: var(--text);
  margin-top: 8px;
  line-height: 1;
}
.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 10px;
  margin-right: 2px;
  letter-spacing: -1px;
}
.price-int {
  font-size: 68px;
  font-weight: 900;
  letter-spacing: -3px;
  background: linear-gradient(135deg, #ff5fb8, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(255,99,179,0.35));
}
.price-frac {
  font-size: 22px;        /* центы маленькими — психологически ниже */
  font-weight: 700;
  color: var(--text-dim);
  margin-top: 6px;
  margin-left: 1px;
}
.price-period {
  text-align: center;
  font-size: 11px;          /* "/мес" — крошечным шрифтом, главный приём */
  color: var(--text-mute);
  margin-top: -2px;
  letter-spacing: 0.4px;
  text-transform: lowercase;
}
.price-old {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  text-decoration: line-through;
  margin-top: 4px;
}
.price-old::before, .price-old::after { content: ''; }
.price-tag-small {
  text-align: center;
  font-size: 11px;
  color: var(--accent);
  margin: 4px 0 0;
  font-weight: 600;
}
.price-btn {
  margin-top: auto;
  text-align: center;
  width: 100%;
  padding: 12px;
  font-weight: 700;
}
.price-btn-accent {
  font-size: 15px;
}

/* Bundle карточка: подсвечена, чуть больше, с бейджем */
.price-card-bundle {
  border: 2px solid var(--accent);
  background:
    linear-gradient(135deg, rgba(255,99,179,0.10), rgba(167,139,250,0.10)),
    var(--surface);
  box-shadow: 0 0 30px rgba(255,99,179,0.25);
  transform: scale(1.03);
}
.price-card-bundle:hover { transform: scale(1.05) translateY(-3px); }
.price-card-bundle .price-int {
  font-size: 76px;
}
.bundle-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff3d8f, #a855f7);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 100px;
  box-shadow: 0 6px 20px rgba(255,61,143,0.45);
  white-space: nowrap;
}

/* FAQ */
.pricing-faq {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 24px;
  margin-top: 30px;
}
.pricing-faq h2 { margin: 0 0 14px; }
.pricing-faq ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-faq li {
  line-height: 1.55;
  padding-left: 24px;
  position: relative;
}
.pricing-faq li::before {
  content: '💕';
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 720px) {
  .price-card-bundle { transform: none; }
  .price-card-bundle:hover { transform: translateY(-3px); }
  .price-int { font-size: 56px; }
  .price-card-bundle .price-int { font-size: 64px; }
}

/* Trial band — пробник 1 час с залогом */
.trial-band {
  margin: 40px 0 30px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(255,99,179,0.10), rgba(34,197,94,0.08));
  border: 2px solid rgba(255,99,179,0.35);
  border-radius: 20px;
  box-shadow: 0 0 36px rgba(255,99,179,0.18);
}
.trial-icon {
  font-size: 60px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 16px rgba(255,99,179,0.5));
}
.trial-text { flex: 1; }
.trial-text h2 {
  margin: 0 0 12px;
  font-size: 24px;
}
.trial-text p { line-height: 1.6; margin: 6px 0; }
.price-int-inline {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff5fb8, #a78bfa);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.trial-btn { margin-top: 14px; }
@media (max-width: 720px) {
  .trial-band { flex-direction: column; text-align: center; }
}

/* Admin: форма создания + модуль-пилюли */
.admin-create-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}
.admin-create-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.admin-create-form .form-group > label {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 600;
}
.admin-create-form input[type=number],
.admin-create-form input[type=text] {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font: inherit;
}
.module-checks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.mod-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.mod-check input { accent-color: var(--accent); }
.mod-pill {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  margin-right: 4px;
  white-space: nowrap;
}
.mod-pill.mod-on  {
  background: rgba(34,197,94,0.18);
  color: #86efac;
  border: 1px solid rgba(34,197,94,0.35);
}
.mod-pill.mod-off {
  background: rgba(120,120,120,0.10);
  color: var(--text-mute);
  border: 1px solid rgba(120,120,120,0.25);
}

/* Reviews page */
.reviews-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.reviews-empty {
  text-align: center; padding: 50px 20px;
  color: var(--text-mute); font-size: 14px;
  background: var(--surface); border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.08);
}
.review-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color .15s;
}
.review-card:hover { border-color: rgba(255,99,179,0.30); }
.review-card.pinned {
  border-color: rgba(255,99,179,0.45);
  background: linear-gradient(135deg, rgba(255,99,179,0.06), rgba(167,139,250,0.04)),
              var(--surface);
}
.review-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 6px; flex-wrap: wrap;
}
.review-author { display: flex; align-items: center; gap: 8px; }
.pin-badge { color: var(--accent); }
.review-contact {
  font-size: 12px; color: var(--accent-2);
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,99,179,0.10);
  border: 1px solid rgba(255,99,179,0.25);
}
.review-anon {
  font-size: 11px; color: var(--text-mute);
  font-style: italic;
}
.review-date { font-size: 12px; color: var(--text-mute); }
.review-text {
  line-height: 1.5; color: var(--text);
  white-space: pre-wrap;
}

/* Voice block в форме */
.review-form-wrap {
  margin-top: 16px; padding: 24px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
}
.voice-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-top: 6px;
}
.voice-label {
  display: block; font-weight: 600; color: var(--text-dim);
  font-size: 13px; margin-bottom: 10px;
}
.voice-controls {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.voice-btn {
  padding: 9px 16px;
  font-size: 13px;
}
.voice-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.voice-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 700;
  color: var(--accent);
  min-width: 50px;
}
.voice-upload {
  display: inline-flex; align-items: center;
  margin-left: auto;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 13px;
}
.voice-upload input[type=file] { display: none; }
.voice-upload span {
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(168,85,247,0.12);
  border: 1px solid rgba(168,85,247,0.25);
  transition: background .15s;
}
.voice-upload:hover span { background: rgba(168,85,247,0.22); }
audio { border-radius: 8px; }

/* Admin: grant-module mini-forms */
.grant-mod-form {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 4px;
}
.grant-mod-form select,
.grant-mod-form input {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 12px;
}
.grant-mod-form button {
  font-size: 11px;
  padding: 3px 8px;
}
