@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');

:root {
  --bg-color: #000;
  --text-color: #fff;
  --font-main: 'Inter', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 300vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Wrapper with transitions */
.intro-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 1s ease, opacity 1s ease;
  z-index: 2;
  text-align: center;
}

.intro-wrapper.hidden {
  transform: translate(-50%, -150%);
  opacity: 0;
  pointer-events: none;
}

/* Intro text */
.intro h1, 
.intro .subtitle {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* RGB gradient + neon glow */
.intro h1 {
  font-weight: 500;
  font-size: 2rem;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbFlow 12s linear infinite, hueShift 8s linear infinite;
  cursor: default;
  filter: drop-shadow(0 0 5px #fff)
          drop-shadow(0 0 10px #ff00ff)
          drop-shadow(0 0 15px #ff00ff);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Scale + glow hover */
.intro h1:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px #fff)
          drop-shadow(0 0 20px #ff00ff)
          drop-shadow(0 0 30px #ff00ff);
}

/* Subtitle styling */
.intro .subtitle {
  font-weight: 300;
  font-size: 1.2rem;
  color: #aaa;
  margin-top: 0.5rem;
}

/* About section */
.about {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  text-align: center;
  width: 60%;
  transition: transform 1s ease, opacity 1s ease;
  z-index: 2;
  pointer-events: none;
}

.about.visible {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
  pointer-events: auto;
}

.about.shrink {
  transform: translate(-50%, -50%) scale(1);
}

.about h2 {
  font-size: 1.8rem;
  font-weight: 500;
}

.about p {
  font-size: 1rem;
  font-weight: 300;
  color: #888;
}

/* Scroll indicator */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: #666;
  opacity: 0.8;
  animation: bounce 1.6s infinite;
  transition: opacity 0.5s ease;
  z-index: 2;
}
/* When Now Playing is active, move it up */
#now-playing.active ~ #scroll-indicator {
  bottom: 120px; /* move it up by about 60px */
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

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

@keyframes hueShift {
  0%   { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Cursor highlight overlay */
#cursor-highlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #6840f4 0%, transparent 100%);
  opacity: 0.3; /* adjust intensity */
  transition: background 0.05s;
  z-index: 1; 
}

/* LOCAL TIME */
.local-time {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  z-index: 3;
  text-shadow: 0 0 5px #6840f4;
}

/* Version Number */
.version-number {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: #fff;
  opacity: 0.3;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  cursor: default;
}

.version-number:hover {
  opacity: 1;
  transform: scale(1.2);
}

/*Sublinks styling ref*/
.nav-buttons {
  margin-top: 25px;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}


.music-button {
  text-decoration: none;
  color: white;
  background: rgba(178, 121, 255, 0.15);
  border: 1px solid rgba(178, 121, 255, 0.5);
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(178, 121, 255, 0.2);
  display: inline-block;
}

.music-button:hover {
  background: rgba(178, 121, 255, 0.35);
  box-shadow: 0 0 25px rgba(178, 121, 255, 0.7);
  transform: translateY(-3px);
}

.youtube-button {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(255, 0, 0, 0.5);
}

.youtube-button:hover {
  background: rgba(255, 0, 0, 0.35);
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.7);
}
