body {
  margin: 0;
  overflow: hidden;
  background-color: #000;
  font-family: "Rajdhani", sans-serif;
}

#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #1a0b2e 0%, #000000 100%);
}

.scroll-track {
  height: 3000vh;
  position: relative;
}

/* --- TITLE & MAIN UI --- */
.title-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  pointer-events: none;
  width: 100%;
  transition: opacity 0.8s ease-in-out;
  mix-blend-mode: screen;
}

#main-ui {
  opacity: 0;
}

.subtitle {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(2rem, 5vw, 6rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  /* Dreamy Text Glow */
  text-shadow:
    0 0 20px rgba(189, 109, 252, 0.6),
    0 0 40px rgba(100, 200, 255, 0.4);
  animation: breathe 6s infinite ease-in-out;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.subtitle-tagline {
  font-size: 1rem;
  letter-spacing: 0.5em;
  opacity: 0.7;
  margin-top: 10px;
}

/* --- LANDING / AUDIO UI --- */
#landing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 1, 12, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px); /* Stronger blur for glass effect */
  transition: opacity 1.2s ease-out;
}

.drop-zone {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle shine effect on hover */
.drop-zone::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
}

.drop-zone:hover::before {
  left: 100%;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #d8547e;
  background: rgba(216, 84, 126, 0.08);
  transform: scale(1.02);
  box-shadow: 0 0 50px rgba(216, 84, 126, 0.2);
}

.ui-text {
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.ui-text--hint {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1rem;
}

.brand-title {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

#file-input {
  display: none;
}

.btn-ignite {
  margin-top: 3rem;
  padding: 1.2rem 4rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 500;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.2em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #360082, #ff007f);
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
  box-shadow: 0 0 30px rgba(54, 0, 130, 0.5);
  display: none;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-ignite:hover {
  transform: translateY(20px) scale(1.05);
  box-shadow: 0 0 60px rgba(255, 0, 127, 0.8);
  border-color: transparent;
}

.btn-ignite.visible {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

#status-text {
  margin-top: 1.5rem;
  font-weight: 500;
  color: #ff007f;
  font-size: 1rem;
  min-height: 1.5em;
  letter-spacing: 1px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #050215;
}
::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff007f;
}
