/* Reset & base */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background: #0c051a;
  color: #fff;
  scroll-behavior: smooth;
}

/* Canvas stars background */
canvas#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(12px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar a {
  color: #d1b2ff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.navbar a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(209,178,255,0.7);
}

/* Hero container */
.hero {
  position: relative;
  z-index: 1;
  margin: 16vh auto 10vh;
  background: rgba(20, 20, 40, 0.55);
  backdrop-filter: blur(14px);
  padding: 3rem 2rem;
  max-width: 95%;
  width: 640px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 0 40px rgba(146, 53, 255, 0.35);
  animation: glow 8s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 30px rgba(146, 53, 255, 0.4); }
  50% { box-shadow: 0 0 60px rgba(146, 53, 255, 0.8); }
}

/* Logo */
.logo {
  max-width: 140px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(146,53,255,0.6));
}

/* Buttons */
.btn {
  margin-top: 2rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, #9333ea, #7c3aed, #5b21b6);
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: 0.6s;
}
.btn:hover::after {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px #9333ea;
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  background: rgba(15, 15, 35, 0.7);
  backdrop-filter: blur(12px);
  text-align: center;
  padding: 1.5rem;
  color: #c7c7c7;
  font-size: 0.9rem;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(209,178,255,0.7);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .navbar {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .hero {
    padding: 2rem 1rem;
    margin: 12vh auto 6vh;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}
