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

body {
  height: 100dvh;
  background: #000;
  color: #fff;
  font-family: 'PP Mori', sans-serif;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, #0f0019 0%, #000 60%);
}

#particles { position: fixed; inset: 0; z-index: 1; }

.hero { position: relative; z-index: 10; text-align: center; padding: 2rem; }

.title {
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #f0e5ff 30%, #e0bbff 60%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 12px #c084fc,     
    0 0 24px #c084fc,           
    0 0 40px rgba(192, 132, 252, 0.9),
    0 0 70px rgba(192, 132, 252, 0.6);
  -webkit-text-stroke: 1.8px rgba(255, 255, 255, 0.5);  
  filter: brightness(1.4) contrast(1.7);
}

.title .line {
  display: block;
  animation: fadeUp 1.4s ease-out forwards;
  opacity: 0;
}

.title .line:nth-child(2) { 
  animation-delay: 0.4s; 
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(120px); }
  to { opacity: 1; transform: translateY(0); }
}

.countdown { display: flex; justify-content: center; gap: 2rem; margin-bottom: 5rem; flex-wrap: wrap; perspective: 1000px; }

.block {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 2.5rem 2rem;
  min-width: 160px;
  transition: all 0.6s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.block:hover {
  transform: translateY(-20px) rotateX(10deg);
  box-shadow: 0 40px 80px rgba(167,139,250,0.3);
  border-color: #a78bfa;
}

.block span {
  display: block;
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.block label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-top: 1rem;
  font-weight: 500;
}

.buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1.4rem 3rem;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 60px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.btn:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 30px 60px rgba(167,139,250,0.4);
  border-color: #a78bfa;
}

.btn.npm:hover   { background: rgba(203, 56, 55, 0.2);  border-color: #cb3837; }
.btn.github:hover{ background: rgba(255,255,255,0.1); border-color: #fff; }
.btn.youtube:hover{ background: rgba(255,0,0,0.2);   border-color: #ff0000; }

@media (max-width: 768px) {
  .countdown { gap: 1.5rem; }
  .block { padding: 2rem 1.5rem; min-width: 120px; }
  .block span { font-size: 4rem; }
  .btn { padding: 1.2rem 2.5rem; font-size: 1rem; }
}