/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  background: #020617; /* deep cold night blue, НИЧЕГО РОЗОВОГО */
  color: #e5e7eb;
  overflow-x: hidden;
}

/* PAGE WRAPPER */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  padding: 32px 16px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 40px 32px 112px;
  }
}

/* HERO SECTION */
.hero {
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
  padding-top: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: #f9fafb;
}

/* BUTTONS AREA — LONG BUTTONS */
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
}

.btn {
  display: block;
  width: 100%;
  padding: 1.05rem 2.6rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border: 1px solid transparent;
  box-shadow: 0 0 8px rgba(15, 118, 255, 0.45),
    0 0 22px rgba(15, 118, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #2563eb);
  color: #0b1120;
  border-color: rgba(191, 219, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8),
    0 0 32px rgba(37, 99, 235, 0.7);
  opacity: 0.97;
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.7),
    0 0 20px rgba(37, 99, 235, 0.6);
}

.btn-bonus {
  background: linear-gradient(135deg, #f59e0b, #facc15, #f97316);
  color: #111827;
  border-color: rgba(252, 211, 77, 0.7);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.9),
    0 0 30px rgba(251, 191, 36, 0.8);
}

.btn-bonus:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.95),
    0 0 42px rgba(251, 191, 36, 0.9);
}

.btn-bonus:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.85),
    0 0 28px rgba(251, 191, 36, 0.85);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #e5e7eb;
  opacity: 0.95;
}

/* ABOUT SECTION */
main {
  width: 100%;
}

.about-section {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 72px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .about-section {
    margin-top: 96px;
  }
}

.about-background {
  width: 100%;
  max-width: 860px;
  padding: 32px 20px 40px;
  margin: 0 auto;
  border-radius: 32px;
  background: radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.08),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(244, 114, 182, 0.08),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 35px rgba(15, 23, 42, 0.9),
    0 0 90px rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

@media (min-width: 768px) {
  .about-background {
    padding: 40px 40px 48px;
  }
}

.about-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f9fafb;
  text-align: left;
}

.about-text {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e5e7eb;
  opacity: 0.92;
  text-align: left;
}

.about-text p + p {
  margin-top: 12px;
}

/* FOOTER */
.site-footer {
  width: 100%;
  max-width: 960px;
  margin: 40px auto 24px;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}

.footer-links {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0.85;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  border-bottom: 1px dotted rgba(156, 163, 175, 0.5);
}

.footer-links a:hover {
  color: #e5e7eb;
  border-bottom-style: solid;
}

.footer-warning {
  margin-top: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97316;
  opacity: 0.9;
}

/* VPN BANNER */
.vpn-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(
    to right,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.96)
  );
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  justify-content: center;
  z-index: 50;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.vpn-banner.visible {
  transform: translateY(0%);
  opacity: 1;
}

.vpn-inner {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: #e5e7eb;
  flex-wrap: wrap;
}


.vpn-text {
flex: 0 0 auto;
  min-height: 1.4em;
  white-space: normal;
}

/* ⭐ FIX: расстояние между "Your bonus…" и "Use promo…" */
#vpnText {
  display: block;
  margin-bottom: 8px;
}

#vpnLink {
  margin-top: 14px;
}

.vpn-btn {
  flex: 0 0 auto;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  border: 1px solid rgba(187, 247, 208, 0.9);
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7),
    0 0 18px rgba(21, 128, 61, 0.6);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}

.vpn-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8),
    0 0 26px rgba(21, 128, 61, 0.7);
}

.vpn-btn:active {
  transform: translateY(1px);
}

/* EXIT MODAL */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 28px;
  padding: 28px 24px 24px;
  background: radial-gradient(
      circle at top,
      rgba(251, 113, 133, 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom,
      rgba(252, 211, 77, 0.18),
      transparent 65%
    ),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(248, 250, 252, 0.8);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.9),
    0 0 60px rgba(251, 191, 36, 0.8);
  text-align: center;
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.modal-backdrop.visible .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: transparent;
  border: none;
  color: #f9fafb;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  opacity: 0.8;
}

.modal-close:hover {
  opacity: 1;
}

.modal-text {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #f9fafb;
}

.modal-bonus-link {
  display: block;
  margin: 0 auto;
  max-width: 320px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 0.82rem;
    padding: 0.9rem 1.8rem;
  }

  .vpn-inner {
    align-items: flex-start;
  }

  .vpn-btn {
    width: 100%;
    text-align: center;
  }
}

