body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  overflow-x: hidden;
}


.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

#hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Gradient overlay */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.559) 0%,
    rgba(0, 0, 0, 0.427) 50%,
    rgb(5, 5, 10) 100%
  );
  pointer-events: none;
  z-index: 0;
}

#audio-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 50%;
  z-index: 1000;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s;
}

#audio-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-heading {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 2;
  font-family: 'Special Elite', monospace;
  font-size: 1.5rem;
  color: #acacacc7;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.566), 0 0 12px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: none;
}

#rotating-logo {
  position: relative;
  z-index: 1;
  animation: rotateY 10s linear infinite;
  transform-style: preserve-3d;
  cursor: pointer;
}

#rotating-logo:hover {
  animation-play-state: paused;
  filter: drop-shadow(0 0 5px rgba(243, 243, 243, 0.548))
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.783));
}

@keyframes rotateY {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

section {
  padding: 80px 0;
  position: relative;
}

.footer {
  padding: 30px 0;
  text-align: center;
  background-color: #111;
  color: #999;
  font-size: 0.9rem;
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.ritual-container {
  margin-top: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  width: 80%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.ritual-title {
  font-family: 'Special Elite', monospace;
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #ccc;
}

#email-input {
  padding: 12px 20px;                  /* Slightly more padding for comfort */
  width: 100%;
  max-width: 300px;
  border: 2px solid #33ffcc;           /* Neon teal border */
  background: rgba(10, 10, 20, 0.9);  /* Darker, slightly glowing background */
  color: #33ffcc;                      /* Neon text color */
  font-family: 'Share Tech Mono', monospace;
  border-radius: 50px;                 /* Fully rounded */
  margin-bottom: 10px;
  box-shadow: 0 0 15px rgba(51, 255, 204, 0.5), /* Soft neon glow */
              0 0 30px rgba(51, 255, 204, 0.2);
  transition: all 0.3s ease;
}

#email-input:focus {
  outline: none;
  border-color: #00ffe0;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.7),
              0 0 40px rgba(0, 255, 224, 0.3);
  background: rgba(15, 15, 25, 0.95);
  color: #00ffe0;
}

#ritual-btn {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.3s ease;
  border-radius: 50px;
}

#ritual-btn:hover {
  background-color: #ccc;
}

.sigil {
  font-size: 2rem;
  color: #aaa;
  margin-bottom: 10px;
}

/* AJAX feedback container */
#form-msg {
  margin-top: 10px;
  font-family: 'Special Elite', monospace;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

/* Error message */
.error-visible {
  color: crimson;
  text-shadow: 0 0 10px crimson;
  opacity: 1;
  transform: translateY(0);
}

/* Success message */
.success-msg {
  color: lime;
  text-shadow: 0 0 10px lime;
  opacity: 1;
  transform: translateY(0);
}

.store-footer {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 2;
  color: #999;
  font-size: 0.9rem;
  font-family: 'Share Tech Mono', monospace;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  padding: 10px 20px;
}

@media (max-width: 500px) {
  .store-footer {
    font-size: 0.8rem;
    color: #bbb;
    bottom: 10px;
  }

  #hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
}

@media (max-width: 460px) {
  body { background: cover; }

  #rotating-logo {
    display: block;
    margin: 0 auto 20px auto;
    width: 150px !important;
    height: auto;
    animation: rotateY 8s linear infinite;
  }

  .hero {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    text-align: center;
  }

  .ritual-container {
    margin-top: 20px;
    width: 90%;
    padding: 20px;
  }

  .hero-heading {
    font-size: 1.2rem;
    top: 10px;
    left: 10px;
  }
}
