:root {
  color-scheme: dark;
  --brand: #dd1d1d;
  --brand-dark: #9a1414;
  --brand-light: #ff3d3d;
  --bg-start: #120505;
  --bg-end: #1a0808;
  --panel: rgba(255, 255, 255, 0.08);
  --panel-border: rgba(255, 255, 255, 0.16);
  --text-main: #fff5f5;
  --text-soft: rgba(255, 245, 245, 0.82);
  --text-muted: rgba(255, 245, 245, 0.58);
  --telegram-top: #34b6ff;
  --telegram-bottom: #0d7de9;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.5);
  --shadow-button-strong: 0 0 0 1px rgba(136, 214, 255, 0.32), 0 18px 34px rgba(14, 125, 233, 0.34), 0 0 28px rgba(52, 182, 255, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(221, 29, 29, 0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 61, 61, 0.12), transparent 30%),
    linear-gradient(135deg, var(--bg-start), var(--bg-end));
  color: var(--text-main);
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 20px 16px;
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.85;
  pointer-events: none;
}

.ambient-left {
  top: 8%;
  left: -90px;
  width: 240px;
  height: 240px;
  background: rgba(221, 29, 29, 0.2);
}

.ambient-right {
  right: -80px;
  bottom: 12%;
  width: 280px;
  height: 280px;
  background: rgba(221, 29, 29, 0.12);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 22px 18px;
  border: 1px solid var(--panel-border);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(221, 29, 29, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 33px;
  background: linear-gradient(180deg, rgba(221, 29, 29, 0.15), transparent 42%);
  pointer-events: none;
}

.brand-logo {
  position: relative;
  width: clamp(130px, 28vw, 220px);
  margin: 0 auto 8px;
  filter: drop-shadow(0 22px 42px rgba(221, 29, 29, 0.35));
}

.hero-copy {
  position: relative;
  text-align: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead {
  width: min(100%, 640px);
  margin: 12px auto 0;
  color: var(--text-soft);
  font-size: clamp(0.96rem, 2.1vw, 1.12rem);
  line-height: 1.5;
}

.telegram-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 18px auto 0;
  width: min(100%, 520px);
  min-height: 60px;
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--telegram-top), var(--telegram-bottom));
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(1.05rem, 2.6vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-button-strong);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
  animation: telegramPulse 2.2s ease-in-out infinite;
}

.telegram-button:hover,
.telegram-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(136, 214, 255, 0.44), 0 24px 42px rgba(14, 125, 233, 0.42), 0 0 36px rgba(52, 182, 255, 0.46);
  filter: saturate(1.08);
}

.telegram-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 3px;
}

.telegram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.telegram-icon svg {
  width: 28px;
  height: 28px;
}

@keyframes telegramPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(136, 214, 255, 0.24), 0 18px 34px rgba(14, 125, 233, 0.28), 0 0 18px rgba(52, 182, 255, 0.24);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(136, 214, 255, 0.4), 0 20px 38px rgba(14, 125, 233, 0.4), 0 0 34px rgba(52, 182, 255, 0.48);
  }
}

@media (min-width: 720px) {
  .page-shell {
    display: grid;
    align-items: center;
    padding: 40px 24px;
  }

  .hero-card {
    padding: 34px;
  }
}

@media (max-width: 719px) {
  .hero-card {
    border-radius: 28px;
    padding: 18px 16px;
  }

  .hero-card::before {
    border-radius: 27px;
  }

  .page-shell {
    padding: 12px;
  }

  h1 {
    line-height: 1.02;
  }

  .brand-logo {
    width: min(34vw, 156px);
    margin-bottom: 6px;
  }

  .lead {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .telegram-button {
    margin-top: 16px;
    min-height: 56px;
    font-size: 1rem;
  }
}
