:root {
  --red: #ef1010;
  --red-dark: #b90000;
  --black: #050505;
  --ink: #111111;
  --white: #ffffff;
  --muted: rgba(255,255,255,.78);
  --olive: #39412c;
  --sand: #efe7d5;
  --shadow: 0 28px 80px rgba(0,0,0,.52);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); }
body {
  min-height: 100vh;
  margin: 0;
  font-family: Heebo, Rubik, Arial, "Noto Sans Hebrew", sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.42)),
    url("bg.webp") center / cover no-repeat,
    linear-gradient(135deg, #2b2a25 0%, #111 54%, #050505 100%);
  pointer-events: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.42)),
    url("bg.webp") center / cover no-repeat,
    linear-gradient(135deg, #2b2a25 0%, #111 54%, #050505 100%);
  pointer-events: none;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(255,255,255,.16), transparent 30%),
    radial-gradient(circle at 52% 70%, rgba(239,16,16,.08), transparent 42%),
    linear-gradient(90deg, rgba(0,0,0,.22), rgba(0,0,0,0) 50%, rgba(0,0,0,.22));
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .025;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06), rgba(255,255,255,.06) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: overlay;
}

.wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.hero-card {
  position: relative;
  width: min(100%, 560px);
  min-height: auto;
  text-align: center;
  padding: clamp(22px, 5vw, 34px) clamp(16px, 5vw, 34px) clamp(22px, 5vw, 36px);
  background: linear-gradient(180deg, rgba(10,10,10,.38), rgba(0,0,0,.58));
  border: 1px solid rgba(239,16,16,.34);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 2px solid rgba(239,16,16,.30);
  pointer-events: none;
}

.hero-card > * { position: relative; z-index: 1; }

.brand-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  width: min(78vw, 330px);
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.55));
}

.headline-stack {
  display: grid;
  gap: 7px;
  margin: 0 auto 18px;
  max-width: 480px;
}

.strip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 8px 18px 9px;
  color: #fff;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.03em;
  font-size: clamp(30px, 8vw, 48px);
  transform: skewX(-8deg);
  text-shadow: 0 3px 0 rgba(0,0,0,.22);
}

.strip > * { transform: skewX(8deg); }
.strip-red { background: var(--red); }
.strip-black { background: #030303; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; }

.subline {
  max-width: 480px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: clamp(16px, 4.2vw, 19px);
  font-weight: 700;
  line-height: 1.45;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 18px auto 15px;
  max-width: 450px;
}

.benefit {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 11px 6px;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  color: #fff;
  font-weight: 900;
  font-size: clamp(13px, 3.5vw, 16px);
}

.benefit-icon {
  min-height: 22px;
  color: var(--red);
  font-weight: 1000;
  font-size: 20px;
  line-height: 1;
}

.trust {
  margin: 0 auto 20px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  font-weight: 700;
}

.cta {
  width: min(100%, 430px);
  min-height: 60px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  padding: 15px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff1818, #d90000);
  text-decoration: none;
  font-size: clamp(18px, 5vw, 24px);
  font-weight: 1000;
  line-height: 1.1;
  box-shadow: 0 16px 36px rgba(239,16,16,.36), 0 0 0 1px rgba(255,255,255,.18) inset;
  transform: translateZ(0);
  animation: ctaPulse 2.4s infinite;
}

.cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.cta:hover { transform: translateY(-1px) scale(1.01); }
.telegram-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 16px 36px rgba(239,16,16,.34), 0 0 0 0 rgba(239,16,16,.45); }
  55% { box-shadow: 0 16px 36px rgba(239,16,16,.42), 0 0 0 12px rgba(239,16,16,0); }
}

/* Thank you page */
.thank-wrap { padding: 24px 16px; }
.thank-card { padding-block: clamp(28px, 8vw, 48px); }
.status-pill {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 7px 16px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(239,16,16,.16);
  border: 1px solid rgba(239,16,16,.42);
  color: #fff;
  font-weight: 900;
}

.thank-title {
  margin: 0 auto 10px;
  font-size: clamp(32px, 8vw, 50px);
  line-height: 1.08;
  font-weight: 1000;
  letter-spacing: -.035em;
}

.thank-subline {
  margin-bottom: 22px;
}

.countdown-ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(0,0,0,.88) 58%, transparent 60%),
    conic-gradient(var(--red), rgba(255,255,255,.18));
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
  color: #fff;
  font-size: 44px;
  font-weight: 1000;
}

.cta-secondary {
  animation: none;
  font-size: clamp(16px, 4.2vw, 21px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 420px) {
  .wrap { padding: 14px; }
  .hero-card { padding: 22px 14px 24px; }
  .headline-stack { gap: 6px; }
  .strip { min-height: 46px; padding-inline: 10px; }
  .benefits { gap: 7px; }
  .benefit { min-height: 68px; padding-inline: 4px; }
  .trust { font-size: 13px; }
  .telegram-mark { width: 36px; height: 36px; flex-basis: 36px; }
}

@media (min-height: 760px) and (max-width: 640px) {
  .hero-card { transform: translateY(-1.5vh); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
