body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #0d011d;
  overflow: hidden;
  font-family: sans-serif;
}

#voidencholy-link {
  color: #00f0ff;
  font-size: 20px;
  letter-spacing: 4px;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
  transition: all 0.3s ease;
}

#voidencholy-link:hover {
  color: #ff007f;
  text-shadow: 0 0 15px #ff007f, 0 0 30px #ff007f;
}


#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #05010a;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.splash-content { padding: 20px; }
.splash-title {
  color: #fff;
  font-size: 2.5rem;
  letter-spacing: 6px;
  text-shadow: 0 0 15px #ff007f, 0 0 30px #ff007f;
  margin-bottom: 30px;
}

#enter-btn {
  background: transparent;
  color: #00f0ff;
  border: 2px solid #00f0ff;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 3px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transition: all 0.3s ease;
}

#enter-btn:hover {
  background: #00f0ff;
  color: #05010a;
  box-shadow: 0 0 30px #00f0ff;
}

.splash-sub {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-top: 15px;
}

.scene-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, #050014 0%, #190033 40%, #3d004d 65%, #6a0050 85%, #b3245a 100%);
  overflow: hidden;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;
  background-image: 
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 30% 40%, #fff, transparent),
    radial-gradient(1px 1px at 50% 15%, #fff, transparent),
    radial-gradient(2px 2px at 75% 50%, #b8e3ff, transparent),
    radial-gradient(1px 1px at 90% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 20% 70%, #ffc0eb, transparent);
  background-size: 400px 400px;
  opacity: 0.7;
}

.sun-container {
  position: absolute;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 320px;
  z-index: 1;
}

.sun {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #ffea79 0%, #ff7300 40%, #ff0055 100%);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 0, 85, 0.6), 0 0 100px rgba(255, 115, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.sun-slice {
  background-color: #0d011d;
  width: 100%;
  height: 2px;
  margin-bottom: 4px;
}
.sun-slice:nth-child(2) { height: 4px; margin-bottom: 6px; }
.sun-slice:nth-child(3) { height: 6px; margin-bottom: 8px; }
.sun-slice:nth-child(4) { height: 9px; margin-bottom: 10px; }
.sun-slice:nth-child(5) { height: 13px; margin-bottom: 12px; }
.sun-slice:nth-child(6) { height: 18px; margin-bottom: 14px; }
.sun-slice:nth-child(7) { height: 24px; margin-bottom: 16px; }

.skyline {
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
}

.city-silhouette {
  width: 100%;
  height: 100%;
  background-color: #060012;
  clip-path: polygon(
    0% 100%, 0% 80%, 3% 80%, 4% 65%, 6% 65%, 7% 85%, 11% 85%, 
    12% 70%, 15% 70%, 16% 90%, 19% 90%, 20% 60%, 23% 60%, 24% 75%,
    26% 75%, 27% 55%, 31% 55%, 32% 80%, 34% 80%, 35% 45%, 37% 45%,
    38% 35%, 39% 35%, 40% 50%, 42% 50%, 44% 70%, 45% 30%, 48% 30%,
    49% 20%, 51% 20%, 52% 40%, 53% 30%, 56% 30%, 57% 45%, 58% 35%,
    61% 35%, 62% 75%, 65% 75%, 66% 40%, 68% 40%, 69% 80%, 71% 80%,
    72% 50%, 75% 50%, 77% 70%, 78% 60%, 81% 60%, 83% 85%, 87% 85%,
    88% 70%, 91% 70%, 93% 90%, 96% 90%, 97% 75%, 100% 75%, 100% 100%
  );
}

.horizon-visualizer {
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%; /* Spans full screen width cleanly */
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  opacity: 0.9;
}

/* 🚨 UPDATED: Shrunk down margin spacing to handle high-density layouts */
.hz-bar {
  flex: 1;
  margin: 0 1px;
  height: 2px;
  background-color: #ff007f; /* Fallback baseline color */
  transform-origin: bottom center;
}

.perspective-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 35%;
  perspective: 150px;
  perspective-origin: 50% 0%;
  background-color: #050010;
  z-index: 3;
}

.grid-floor {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 200%;
  transform: rotateX(75deg);
  transform-origin: 50% 0%;
}

.grid-lines-x {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, #ff0077 2px, transparent 2px);
  background-size: 4% 100%;
  opacity: 0.55;
}

.grid-lines-y {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, #ff0077 2px, transparent 2px);
  background-size: 100% 40px;
  will-change: transform;
  opacity: 0.55;
}

.horizon-blend {
  position: absolute;
  top: 65%;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ff0077;
  box-shadow: 0 0 15px #ff0077, 0 0 30px #ff00a0;
  z-index: 4;
}

.neon-player {
  position: absolute;
  top: 35px;
  left: 35px;
  z-index: 100;
  width: 300px;
  padding: 20px 20px 10px 20px;
  background: rgba(13, 1, 29, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.track-title { margin: 0; margin-bottom: 10px; color: #fff; font-size: 1.2rem; letter-spacing: 2px; }
.track-artist { margin: 5px 0 10px 0; margin-bottom: 10px; color: #00f0ff; font-size: 0.85rem; }
.player-controls audio { margin: 5px 0 15px 0; width: 100%; outline: none;  }

.mini-visualizer { display: flex; align-items: flex-end; justify-content: space-between; width: 60px; height: 25px; margin-top: 10px;}
.v-bar { width: 10px; height: 4px; background-color: #ff007f; border-radius: 1px; box-shadow: 0 0 4px #ff007f; }
