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

body {
  background: #060906;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Vignette edges ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.72) 100%);
  z-index: 3;
  pointer-events: none;
}

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ── Subtle animated grid ── */
.grid-overlay {
  position: fixed;
  top: -60px; left: -60px;
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 255, 20, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 255, 20, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: gridMove 12s linear infinite;
}

@keyframes gridMove {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(72px, 72px); }
}

/* ── Radial glow behind title ── */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  width: min(700px, 90vw);
  height: 320px;
  background: radial-gradient(ellipse, rgba(170,255,0,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 48px 24px;
}

/* ── Title ── */
.title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
  width: 100%;
  margin-bottom: 28px;
}

.title-top {
  font-size: clamp(3rem, 11.5vw, 8rem);
  letter-spacing: 0.1em;
  color: #c2ff33;
  text-shadow:
    0 0 4px rgba(194,255,51,0.8),
    0 0 14px rgba(194,255,51,0.45),
    0 0 32px rgba(140,220,0,0.3);
  line-height: 1.05;
}

.title-bottom {
  font-size: clamp(3rem, 11.5vw, 8rem);
  letter-spacing: 0.1em;
  color: #c2ff33;
  text-shadow:
    0 0 4px rgba(194,255,51,0.8),
    0 0 14px rgba(194,255,51,0.45),
    0 0 32px rgba(140,220,0,0.3);
  line-height: 1.05;
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { text-shadow: 0 0 4px rgba(194,255,51,0.8), 0 0 14px rgba(194,255,51,0.45), 0 0 32px rgba(140,220,0,0.3); }
  50%       { text-shadow: 0 0 6px rgba(194,255,51,1),   0 0 22px rgba(194,255,51,0.6),  0 0 50px rgba(140,220,0,0.4); }
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #aaff00, transparent);
  margin: 0 auto 28px;
  opacity: 0.7;
}

/* ── Subtext ── */
.sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #707a66;
  font-size: clamp(0.72rem, 2.8vw, 0.82rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}

/* ── Button ── */
.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 15px 52px;
  background: #aaff00;
  border: none;
  border-radius: 50px;
  color: #0d1a00;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.75rem, 2.8vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(170,255,0,0.3),
    0 6px 28px rgba(170,255,0,0.35),
    0 0 60px rgba(170,255,0,0.12);
  animation: btnBreath 3s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  min-width: min(240px, 68vw);
}

@keyframes btnBreath {
  0%, 100% { box-shadow: 0 0 0 1px rgba(170,255,0,0.3), 0 6px 28px rgba(170,255,0,0.35), 0 0 60px rgba(170,255,0,0.12); }
  50%       { box-shadow: 0 0 0 1px rgba(170,255,0,0.5), 0 6px 36px rgba(170,255,0,0.55), 0 0 90px rgba(170,255,0,0.2);  }
}

.btn-telegram:active {
  transform: scale(0.97);
}

.btn-telegram svg {
  flex-shrink: 0;
}

footer {
  margin-top: 44px;
  color: #333c2e;
  font-size: clamp(0.55rem, 1.8vw, 0.62rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

/* ── Redirect page ── */
body.redirect-page {
  background: #04080f;
}

body.redirect-page::before {
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.8) 100%);
}

.redirect-card {
  position: relative;
  z-index: 4;
  background: rgba(8, 16, 30, 0.96);
  border-radius: 18px;
  padding: 52px 48px;
  text-align: center;
  width: min(88vw, 400px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 24px 64px rgba(0,0,0,0.8);
  backdrop-filter: blur(16px);
}

.tg-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(145deg, #35b5ec, #1878bc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 4px 20px rgba(47,168,224,0.4);
  animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(47,168,224,0.4); }
  50%       { box-shadow: 0 4px 36px rgba(47,168,224,0.75); }
}

.redirect-card h2 {
  color: #e8eef5;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.redirect-card p {
  color: #4e6a88;
  font-size: 0.84rem;
  line-height: 1.8;
}

.progress-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  height: 3px;
  margin: 30px 0 12px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2fa8e0, #1e7fc0);
  border-radius: 99px;
  transition: width 0.9s linear;
}

.countdown {
  color: #344d64;
  font-size: 0.76rem;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .redirect-card { padding: 40px 24px; }
  .btn-telegram { padding: 14px 38px; }
}
