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

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --neon-pink: #ff00ff;
  --neon-blue: #00ffff;
  --neon-green: #00ff00;
  --neon-purple: #9d00ff;
  --neon-yellow: #fff700;
  --neon-orange: #ff8c00;
}

body, html {
  height: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

video#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
  mix-blend-mode: screen;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

h1 { 
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem); 
  margin-bottom: 0.5em;
  text-shadow: 0 0 10px var(--neon-pink), 
               0 0 20px var(--neon-pink),
               0 0 30px var(--neon-pink);
  animation: neonGlow 3s ease-in-out infinite alternate;
  color: #fff;
}

p { 
  font-size: clamp(1rem, 2.5vw, 1.5rem); 
  margin-bottom: 1.5em;
  text-shadow: 0 0 5px var(--neon-blue);
  color: #fff;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 2rem;
}

input {
  padding: 12px 15px;
  margin: 0 auto;
  width: 90%;
  max-width: 400px;
  border-radius: 25px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

input:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px var(--neon-blue);
}

input::placeholder {
  color: rgba(255,255,255,0.7);
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 1.5rem;
}

.btn {
  margin: 0;
  cursor: pointer;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid;
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 180px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.3),
    rgba(255,255,255,0)
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn:hover::before {
  animation: shine 1.5s;
}

.music-control {
  border-color: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.music-control:hover {
  background: rgba(0, 255, 0, 0.1);
  box-shadow: 0 0 20px var(--neon-green);
}

.whatsapp-share {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow);
}

.whatsapp-share:hover {
  background: rgba(255, 247, 0, 0.1);
  box-shadow: 0 0 20px var(--neon-yellow);
}

.update-btn {
  border-color: var(--neon-purple);
  box-shadow: 0 0 10px var(--neon-purple);
}

.update-btn:hover {
  background: rgba(157, 0, 255, 0.1);
  box-shadow: 0 0 20px var(--neon-purple);
}

.neon-icon {
  filter: drop-shadow(0 0 5px currentColor);
  transition: all 0.3s ease;
}

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

.heart {
  position: absolute;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 5px var(--neon-pink));
  opacity: 0.8;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes neonGlow {
  0%, 100% {
    text-shadow: 0 0 10px var(--neon-pink), 
                 0 0 20px var(--neon-pink),
                 0 0 30px var(--neon-pink);
  }
  25% {
    text-shadow: 0 0 10px var(--neon-blue), 
                 0 0 20px var(--neon-blue),
                 0 0 30px var(--neon-blue);
  }
  50% {
    text-shadow: 0 0 10px var(--neon-green), 
                 0 0 20px var(--neon-green),
                 0 0 30px var(--neon-green);
  }
  75% {
    text-shadow: 0 0 10px var(--neon-purple), 
                 0 0 20px var(--neon-purple),
                 0 0 30px var(--neon-purple);
  }
}

@keyframes shine {
  0% { opacity: 0; transform: rotate(45deg) translate(-30%, -30%); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: rotate(45deg) translate(30%, 30%); }
}

@media (max-width: 768px) {
  .content {
    padding: 15px;
  }
  
  .btn {
    padding: 10px 20px;
    min-width: 160px;
  }
  
  .btn-container {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  input {
    width: 100%;
  }
}
