body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: #0d011d;
  overflow-x: 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; }

/* ===================================================================
   Scroll cue (centered at the bottom of the hero)
   =================================================================== */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.4s ease;
  user-select: none;
}

.scroll-cue span {
  color: #00f0ff;
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-shadow: 0 0 8px #00f0ff;
}

.scroll-cue .chev {
  width: 12px;
  height: 12px;
  border-right: 2px solid #00f0ff;
  border-bottom: 2px solid #00f0ff;
  filter: drop-shadow(0 0 6px #00f0ff);
  animation: cueBob 1.8s ease-in-out infinite;
}

@keyframes cueBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.45; }
  50%      { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ===================================================================
   Gear / instruments section (below the fold)
   =================================================================== */
.gear {
  position: relative;
  background: linear-gradient(to bottom, #05010a 0%, #0d011d 45%, #16002e 100%);
  padding: 80px 24px 110px;
  color: #fff;
}

.gear-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gear-kicker {
  margin: 0;
  color: #ff007f;
  font-size: 0.7rem;
  letter-spacing: 6px;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.7);
}

.gear-title {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 4px;
  text-shadow: 0 0 15px #ff007f, 0 0 30px rgba(255, 0, 127, 0.5);
}

.gear-intro {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

/* Wide session shots (timeline / mixer) */
.gear-banner {
  position: relative;
  margin: 40px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 127, 0.35);
  border-radius: 12px;
  background: #05010a;
  box-shadow: 0 0 22px rgba(255, 0, 127, 0.18);
}

.gear-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.gear-banner figcaption {
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 0, 127, 0.18);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

/* Shown when the wide screenshot has not been dropped in yet. */
.gear-banner--empty { min-height: 120px; }
.gear-banner--empty::after {
  content: "screenshot coming soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Small tiles for the remaining plugins that have a picture */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.tool-tile {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 10px;
  background: #05010a;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.tool-tile:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.tool-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #0d011d;
}

.tool-tile--empty {
  border-style: dashed;
  border-color: rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.03);
}

.tool-tile--empty img { display: none; }

/* The placeholder shown in a tile that has no picture yet */
.tool-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.58rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.tool-tile figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
}

.tool-name { color: #fff; font-size: 0.82rem; letter-spacing: 0.5px; }
.tool-maker { color: #ff007f; font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; }

.gear-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 12px;
  background: rgba(13, 1, 29, 0.7);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.gear-card:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.35);
  transform: translateY(-3px);
}

.gear-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #05010a;
  overflow: hidden;
}

.gear-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown when a screenshot has not been dropped in yet. */
.gear-shot--empty::after {
  content: "screenshot coming soon";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.gear-body { padding: 18px 18px 22px; }

.gear-kind {
  margin: 0;
  color: #ff007f;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gear-name { margin: 6px 0 2px; font-size: 1.25rem; letter-spacing: 1px; }
.gear-maker { margin: 0 0 12px; color: #00f0ff; font-size: 0.8rem; letter-spacing: 1px; }
.gear-what { margin: 0 0 12px; color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; line-height: 1.55; }

.gear-how {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid #ff007f;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --- plugins list --- */
.gear-plugins { margin-top: 70px; }

.gear-subtitle {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  letter-spacing: 4px;
  text-shadow: 0 0 15px #00f0ff, 0 0 30px rgba(0, 240, 255, 0.4);
}

.gear-subnote {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}

.plugin-group { margin-top: 34px; }

.plugin-group-title {
  margin: 0 0 14px;
  color: #ff007f;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* --- closing scene: the page sinks into the sunset road --- */
.outro {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #16002e url("outro.jpg") center / cover no-repeat;
}

/* Desktop-only parallax: the scene holds still while you scroll down into it.
   Turned off on phones, where fixed backgrounds stutter. */
@media (min-width: 769px) {
  .outro { background-attachment: fixed; }
}

/* Melt the gear section's last color into the image's night sky. */
.outro-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #16002e 0%,
    rgba(22, 0, 46, 0.6) 14%,
    rgba(22, 0, 46, 0) 42%
  );
  pointer-events: none;
}

/* Sign-off rests at the very bottom of the road, fading up as it enters view. */
.outro-copy {
  position: relative;
  padding: 0 24px 6vh;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.outro-copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.outro-kicker {
  margin: 0 0 10px;
  color: #00f0ff;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

/* Pause/resume pill inside the neon player (revealed once audio is live). */
.playpause-btn {
  display: none;
  width: 100%;
  margin: 12px 0 0;
  padding: 7px 0;
  background: transparent;
  border: 1px solid rgba(0, 240, 255, 0.5);
  border-radius: 999px;
  color: #00f0ff;
  font-size: 0.7rem;
  letter-spacing: 4px;
  cursor: pointer;
}

.playpause-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

/* --- themed scrollbar + text selection --- */
::selection { background: #ff007f; color: #0d011d; }

html { scrollbar-color: #33114f #0d011d; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0d011d; }
::-webkit-scrollbar-thumb { background: #33114f; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #ff007f; }

/* --- reduced motion: calm the page down for motion-sensitive visitors --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .outro { background-attachment: scroll; }
  .outro-copy { opacity: 1; transform: none; }
}
