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

body {
  background: #000;
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
  padding: 20px;
}

#text-effect {
  /* Ukuran responsif */
  font-size: 8vw;
  color: transparent;
  background: linear-gradient(45deg, #ffcc00, #ff6600, #ffcc00);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 1s ease;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  display: inline-block;
}

/* Animasi: teks membesar-mengecil seperti napas (maju-mundur) */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Animasi: cahaya kuning-oranye berdenyut */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.7),
                 0 0 25px rgba(255, 204, 0, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 102, 0, 0.8),
                 0 0 35px rgba(255, 102, 0, 0.6),
                 0 0 10px rgba(255, 204, 0, 0.4);
  }
}

/* Gabungkan dua animasi: glow + breathe */
#text-effect {
  animation: 
    glowPulse 2s ease-in-out infinite,
    breathe 4s ease-in-out infinite;
}

/* Responsif: HP kecil */
@media (max-width: 480px) {
  #text-effect {
    font-size: 6vw;
    letter-spacing: 1px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  #text-effect {
    font-size: 7vw;
  }
}

/* Desktop */
@media (min-width: 769px) {
  #text-effect {
    font-size: 5rem;
  }
}
