/* ===== skySMP — общие стили ===== */
:root {
  --bg: #0e0708;
  --bg-2: #160a0d;
  --surface: #1c0e12;
  --surface-2: #251217;
  --border: #3a1a22;
  --text: #f7eef0;
  --muted: #b79aa2;
  --pink: #ff2e63;
  --pink-2: #ff6b9d;
  --red: #e01e4f;
  --rose: #ff8fb0;
  --glow: rgba(255, 46, 99, 0.35);
  --radius: 18px;
  --maxw: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(255,46,99,0.14), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(255,107,157,0.10), transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Навигация ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(14, 7, 8, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--text);
}
.nav-links { margin-left: auto; }
.brand .logo {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid; place-items: center;
  background-color: #ff2e63;
  background-image: linear-gradient(135deg, #ff6b9d, #e01e4f);
  box-shadow: 0 6px 20px var(--glow);
}
.brand .logo svg { display: block; }
.brand-text { color: #ff8fb0; }
.brand-text .smp { color: #ff2e63; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.active::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  border-radius: 2px; background: linear-gradient(90deg, var(--pink), var(--red));
}
.nav-cta {
  padding: 10px 18px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--pink), var(--red)) !important;
  box-shadow: 0 6px 18px var(--glow);
}
.nav-cta:hover { filter: brightness(1.08); }

.burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  color: var(--text);
}
.burger span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: currentColor; border-radius: 2px; transition: .3s;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, filter .2s, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  box-shadow: 0 10px 30px var(--glow);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--pink); }

/* ===== Секции ===== */
section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--pink-2); margin-bottom: 14px;
}
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.05; letter-spacing: -2px; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -1px; font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lead { color: var(--muted); font-size: 18px; }
.grad {
  background: linear-gradient(120deg, var(--rose), var(--pink), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Hero ===== */
.hero { padding: 96px 0 80px; text-align: center; position: relative; }
.hero .lead { max-width: 560px; margin: 22px auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.ip-box {
  margin: 44px auto 0; max-width: 420px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 14px 14px 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px;
}
.ip-box .ip-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.ip-box .ip-addr { font-size: 18px; font-weight: 700; font-family: ui-monospace, "SFMono-Regular", monospace; }
.copy-btn {
  padding: 10px 18px; border-radius: 10px; border: none; cursor: pointer;
  font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  transition: filter .2s;
}
.copy-btn:hover { filter: brightness(1.1); }
.copy-btn.copied { background: #1f9d55; }

/* ===== Статистика ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.stat .num {
  font-size: 34px; font-weight: 800;
  background: linear-gradient(120deg, var(--rose), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== Карточки-фичи ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--pink); }
.card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,46,99,0.18), rgba(224,30,79,0.12));
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ===== CTA-баннер ===== */
.cta-banner {
  text-align: center; border-radius: 26px; padding: 60px 30px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255,46,99,0.22), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.cta-banner h2 { margin-bottom: 12px; }
.cta-banner .lead { margin-bottom: 28px; }

/* ===== Донат ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  transition: transform .2s, border-color .2s;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border-color: var(--pink);
  box-shadow: 0 20px 50px rgba(255,46,99,0.18);
  background: linear-gradient(180deg, rgba(255,46,99,0.08), var(--surface));
}
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, var(--pink), var(--red));
  box-shadow: 0 6px 16px var(--glow); white-space: nowrap;
}
.plan .plan-name { font-size: 15px; font-weight: 700; color: var(--pink-2); letter-spacing: 1px; text-transform: uppercase; }
.plan .price { font-size: 44px; font-weight: 800; margin: 10px 0 4px; }
.plan .price span { font-size: 16px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 22px 0 26px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 15px; }
.plan li .ok { color: var(--pink); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ===== Правила ===== */
.rules-list { display: grid; gap: 16px; max-width: 820px; margin: 0 auto; }
.rule {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px;
  transition: border-color .2s;
}
.rule:hover { border-color: var(--pink); }
.rule .rn {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--red));
  box-shadow: 0 6px 16px var(--glow);
}
.rule h3 { margin-bottom: 4px; }
.rule p { color: var(--muted); font-size: 15px; }
.note {
  max-width: 820px; margin: 30px auto 0; padding: 20px 24px;
  border-radius: 14px; border: 1px solid var(--border);
  background: rgba(255,46,99,0.06); color: var(--muted); font-size: 15px;
}
.note b { color: var(--rose); }

/* ===== Поддержка ===== */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.support-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, border-color .2s;
}
.support-card:hover { transform: translateY(-4px); border-color: var(--pink); }
.support-card .ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 6px;
  background: linear-gradient(135deg, rgba(255,46,99,0.18), rgba(224,30,79,0.12));
  border: 1px solid var(--border);
}
.support-card p { color: var(--muted); font-size: 15px; }
.support-card .link { color: var(--pink-2); font-weight: 600; }
.contact-row {
  margin-top: auto; display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; justify-content: space-between;
}
.contact-row .link { margin: 0; }
.copy-mini {
  padding: 8px 14px; font-size: 13px; border-radius: 10px;
  flex: 0 0 auto;
}

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; cursor: pointer; border: none;
  background: none; color: var(--text); font-size: 17px; font-weight: 600;
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .3s; color: var(--pink); font-size: 20px; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px; color: var(--muted); font-size: 15px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }

/* ===== Форма ===== */
.form-card {
  max-width: 620px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px;
}
.form-row { display: grid; gap: 8px; margin-bottom: 18px; }
.form-row label { font-size: 14px; font-weight: 600; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--pink);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-msg { margin-top: 14px; font-size: 15px; color: #4ade80; display: none; }
.form-msg.show { display: block; }

/* ===== Футер ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 40px; margin-top: 40px;
  background: var(--bg-2);
}
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer-col a:hover { color: var(--pink-2); }
.footer-bottom {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border);
  text-align: center; color: var(--muted); font-size: 14px;
}

/* ===================================================== */
/* ===============   АНИМАЦИИ   ========================= */
/* ===================================================== */

/* — Вход навигации — */
@keyframes navDrop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.nav { animation: navDrop .6s cubic-bezier(.2,.8,.2,1) both; }

/* — Плавающий логотип — */
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-5px); }
}
.brand .logo { animation: floatY 3.5s ease-in-out infinite; }

/* — Появление снизу с прозрачностью — */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Каскадный вход Hero */
.hero .eyebrow      { animation: fadeUp .7s ease both .05s; }
.hero h1            { animation: fadeUp .7s ease both .18s; }
.hero .lead         { animation: fadeUp .7s ease both .32s; }
.hero .hero-actions { animation: fadeUp .7s ease both .46s; }
.hero .ip-box       { animation: fadeUp .7s ease both .60s; }

/* — Живой градиентный текст — */
.grad {
  background-size: 200% auto;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* — Плавающие «облака» в Hero — */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1;
  border-radius: 50%; filter: blur(60px); opacity: .5;
  pointer-events: none;
}
.hero::before {
  width: 380px; height: 380px; top: -80px; right: -60px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  animation: drift1 14s ease-in-out infinite;
}
.hero::after {
  width: 320px; height: 320px; bottom: -120px; left: -40px;
  background: radial-gradient(circle, var(--pink-2), transparent 70%);
  animation: drift2 18s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-40px, 30px) scale(1.1); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(50px, -30px) scale(1.15); }
}

/* — Пульсирующая точка «онлайн» — */
.pulse-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #2ecc71; margin-right: 8px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(46,204,113,.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* — Блик по кнопке при наведении — */
.btn-primary, .nav-cta, .copy-btn { position: relative; overflow: hidden; }
.btn-primary::after, .nav-cta::after, .copy-btn::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
}
.btn-primary:hover::after, .nav-cta:hover::after, .copy-btn:hover::after {
  animation: shine .8s ease;
}
@keyframes shine { to { left: 130%; } }

/* — Scroll-reveal (навешивается из JS) — */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* Уважение к настройкам «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Адаптив ===== */
@media (max-width: 900px) {
  .grid-3, .plans, .stats, .support-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-140%); transition: transform .3s; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; border-radius: 12px; }
  .nav-links a.active::after { display: none; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .ip-box { flex-direction: column; align-items: stretch; text-align: center; }
}
