:root {
  --bg-start: #03000f;
  --bg-end: #101d3f;
  --accent: #7f5af0;
  --accent-secondary: #2cb1ff;
  --text-primary: #f7f7ff;
  --text-secondary: rgba(247, 247, 255, 0.7);
  --card-bg: rgba(15, 15, 35, 0.55);
  --card-border: rgba(127, 90, 240, 0.35);
  --glow: rgba(127, 90, 240, 0.7);
  --button-bg: linear-gradient(120deg, #7f5af0, #2cb1ff);
}

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

body {
  font-family: 'Poppins', 'Orbitron', sans-serif;
  background: radial-gradient(circle at 15% 20%, rgba(44, 177, 255, 0.08), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(127, 90, 240, 0.08), transparent 55%),
    linear-gradient(140deg, var(--bg-start), var(--bg-end));
  min-height: 100vh;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(127, 90, 240, 0.05), rgba(44, 177, 255, 0.05));
  mix-blend-mode: screen;
  pointer-events: none;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.gradient-layer {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 20% 30%, rgba(127, 90, 240, 0.25), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(44, 177, 255, 0.25), transparent 45%);
  filter: blur(60px);
  animation: pulse 14s ease-in-out infinite;
}

.texture-layer {
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.04;
  mix-blend-mode: screen;
  animation: shimmer 20s linear infinite;
}

.orb,
.ring {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(127, 90, 240, 0.75), transparent 65%);
  top: 14%;
  left: 12%;
  animation: float 10s ease-in-out infinite;
}

.orb-2 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(44, 177, 255, 0.7), transparent 60%);
  bottom: 18%;
  right: 10%;
  animation: float 12s ease-in-out infinite 1.5s;
}

.orb-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(130, 255, 184, 0.5), transparent 65%);
  bottom: 28%;
  left: 30%;
  animation: float 15s ease-in-out infinite 0.5s;
}

.ring {
  border: 1px solid rgba(127, 90, 240, 0.4);
  box-shadow: 0 0 35px rgba(127, 90, 240, 0.5);
}

.ring-1 {
  width: 480px;
  height: 480px;
  top: 20%;
  right: -180px;
  animation: rotate 22s linear infinite;
}

.ring-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: 50px;
  animation: rotate 26s linear infinite reverse;
}

.wave {
  position: absolute;
  width: 140%;
  height: 180px;
  left: -20%;
  background: linear-gradient(90deg, rgba(127, 90, 240, 0.08), rgba(44, 177, 255, 0.12), rgba(127, 90, 240, 0.08));
  filter: blur(30px);
  opacity: 0.55;
}

.wave-1 {
  top: 20%;
  animation: waveMove 18s linear infinite;
}

.wave-2 {
  bottom: 20%;
  animation: waveMove 22s linear infinite reverse;
}

.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(247, 247, 255, 0.9), transparent 65%);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(247, 247, 255, 0.8);
  top: calc(100% * var(--i) / 12);
  left: calc(100% * var(--i) / 12);
  animation: drift 16s linear infinite;
  animation-delay: calc(-2s * var(--i));
}

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4rem);
  width: min(880px, 92vw);
}

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 30px;
  padding: clamp(2.5rem, 6vw, 4rem);
  box-shadow: 0 25px 60px rgba(5, 3, 15, 0.55), 0 0 0 1px rgba(247, 247, 255, 0.05);
  backdrop-filter: blur(18px);
  text-align: center;
  position: relative;
}

.content-card::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(127, 90, 240, 0.25);
  pointer-events: none;
  opacity: 0.4;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  display: inline-flex;
  padding: 0.65rem 1.6rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: rgba(127, 90, 240, 0.12);
  border: 1px solid rgba(127, 90, 240, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(127, 90, 240, 0.35);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(127, 90, 240, 0.25);
}

.subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 34ch;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem);
  line-height: 1.6;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
}

.time-block {
  background: linear-gradient(160deg, rgba(127, 90, 240, 0.16), rgba(44, 177, 255, 0.16));
  border: 1px solid rgba(127, 90, 240, 0.25);
  border-radius: 16px;
  padding: 0.85rem 0.5rem;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(247, 247, 255, 0.05);
}

.time-block .value {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  display: block;
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(127, 90, 240, 0.45);
}

.time-block .label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.cta-group {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2rem, 3vw, 2.5rem);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.8rem;
  border-radius: 999px;
  background: var(--button-bg);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 20px 60px rgba(127, 90, 240, 0.45), 0 0 18px rgba(44, 177, 255, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 25px 70px rgba(127, 90, 240, 0.55), 0 0 24px rgba(44, 177, 255, 0.6);
}

.cta-button:hover::after {
  opacity: 0.65;
  transform: translateX(30%);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

.social-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(127, 90, 240, 0.35);
  background: rgba(127, 90, 240, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 90deg, rgba(44, 177, 255, 0.4), rgba(127, 90, 240, 0.6), rgba(44, 177, 255, 0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link svg {
  width: 22px;
  fill: var(--text-primary);
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(127, 90, 240, 0.6));
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(127, 90, 240, 0.45);
}

.social-link:hover::before {
  opacity: 0.8;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.85;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -20px, 0);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes waveMove {
  0% {
    transform: translateX(-10%) translateY(0);
  }
  50% {
    transform: translateX(10%) translateY(-15px);
  }
  100% {
    transform: translateX(-10%) translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate3d(60px, -80px, 0) scale(0.75);
    opacity: 0.3;
  }
  100% {
    transform: translate3d(-20px, -160px, 0) scale(1);
    opacity: 0.7;
  }
}

@keyframes shimmer {
  to {
    transform: translateX(100px);
  }
}

@media (max-width: 768px) {
  .countdown {
    grid-template-columns: repeat(2, minmax(80px, 1fr));
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .social-link svg {
    width: 20px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 1.5rem;
  }

  .content-card {
    padding: 2rem 1.5rem;
  }

  .logo-text {
    padding: 0.5rem 1.2rem;
    letter-spacing: 0.28em;
  }

  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .cta-button {
    width: 100%;
  }
}
