body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: monospace;
    background: radial-gradient(circle at top, #100016, #050008);
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: url('cursor.png'), auto;
}
#starfield {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}
.twinkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
.content {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: opacity 0.5s ease-in-out;
}
@keyframes glow-breathe {
  0%, 100% {
    text-shadow: 0 0 4px white, 0 0 8px white;
  }
  50% {
    text-shadow: 0 0 10px white, 0 0 20px white;
  }
}

.glow {
  font-size: 2.5rem;
  text-shadow: 0 0 8px white, 0 0 16px white;
  animation: glow-breathe 3s ease-in-out infinite;
}
@keyframes breathe {
    0%, 100% { text-shadow: 0 0 8px white; }
    50% { text-shadow: 0 0 16px white; }
}
.links a {
    color: white;
    font-size: medium;
    margin: 0 1rem;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s;
}
.links a:hover {
    transform: scale(1.1);
    font-weight: bold;
    cursor: url('cursor2.png'), auto;
}
.links a::after {
    content: "";
    display: none;
}
.bio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    display: none;
    text-align: center;
    z-index: 2;
}
.bio button {
    margin-top: 2rem;
    background: none;
    border: 1px solid white;
    color: white;
    padding: 0.5rem 1rem;
    cursor: url('cursor2.png'), auto;
}
.keyword-vy {
  color: #e6ccff;
  font-weight: bold;
  text-shadow: 0 0 4px #e6ccff, 0 0 8px #d6aaff, 0 0 12px #c488ff;
}
.keyword-capt {
  color: #ffb3b3;
  font-weight: bold;
  text-shadow: 0 0 4px #ff9999, 0 0 8px #ff4d4d, 0 0 12px #ff1a1a;
}
.bio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: radial-gradient(circle at top, #0e0018, #050008);
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bio-overlay.active {
  display: flex;
}

.bio-inner {
  width: 80%;
  max-width: 800px;
  text-align: center;
  position: relative;
}

.bio-toggle {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.bio-toggle button {
  background: rgba(255,255,255,0.05);
  border: 1px solid white;
  color: white;
  padding: 0.5rem 1.2rem;
  cursor: url('cursor2.png'), auto;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.bio-toggle button:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.bio-panel {
  position: relative;
  min-height: 250px;
}

.bio-content {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
  height: 0;
  overflow: hidden;
}

.bio-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
  overflow: visible;
  z-index: 2;
}


.back-btn {
  margin-top: 2rem;
  border: 1px solid white;
  background: none;
  color: white;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: url('cursor2.png'), auto;
}

.glitch {
  position: relative;
  display: inline-block;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.7;
}

.glitch::before {
  color: #ff00c8;
  z-index: -1;
  animation: glitch-h1-before 1.2s infinite linear alternate-reverse;
}

.glitch::after {
  color: #00fff9;
  z-index: -2;
  animation: glitch-h1-after 1.2s infinite linear alternate-reverse;
}

@keyframes glitch-h1-before {
  0% {
    clip-path: inset(80% 0 0 0);
    transform: translate(-2px, -1px);
  }
  20% {
    clip-path: inset(10% 0 85% 0);
    transform: translate(2px, 1px);
  }
  40% {
    clip-path: inset(40% 0 30% 0);
    transform: translate(-1px, -2px);
  }
  60% {
    clip-path: inset(70% 0 10% 0);
    transform: translate(1px, 2px);
  }
  80% {
    clip-path: inset(30% 0 60% 0);
    transform: translate(-2px, 1px);
  }
  100% {
    clip-path: inset(20% 0 70% 0);
    transform: translate(0);
  }
}

@keyframes glitch-h1-after {
  0% {
    clip-path: inset(30% 0 50% 0);
    transform: translate(2px, 2px);
  }
  25% {
    clip-path: inset(60% 0 20% 0);
    transform: translate(-2px, 1px);
  }
  50% {
    clip-path: inset(10% 0 80% 0);
    transform: translate(1px, -2px);
  }
  75% {
    clip-path: inset(40% 0 30% 0);
    transform: translate(-1px, 1px);
  }
  100% {
    clip-path: inset(20% 0 70% 0);
    transform: translate(0);
  }
}

.xni-glitch {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 0 6px #ffffff55, 0 0 12px #ffffff33;
  animation: flicker-glow 3s infinite;
}

.xni-glitch::before,
.xni-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.75;
  mix-blend-mode: screen;
  pointer-events: none;
}

.xni-glitch::before {
  color: #ff0066;
  z-index: -1;
  animation: xni-glitch-before 1s infinite linear alternate-reverse;
}

.xni-glitch::after {
  color: #00ffee;
  z-index: -2;
  animation: xni-glitch-after 1.1s infinite linear alternate-reverse;
}

/* Chaotic clip animations */
@keyframes xni-glitch-before {
  0% { clip-path: inset(80% 0 0 0); transform: translate(1px, -2px); }
  15% { clip-path: inset(10% 0 85% 0); transform: translate(-3px, 1px); }
  30% { clip-path: inset(50% 0 30% 0); transform: translate(2px, -1px); }
  50% { clip-path: inset(0 0 0 0); transform: translate(-1px, 2px); }
  70% { clip-path: inset(30% 0 60% 0); transform: translate(1px, -1px); }
  100% { clip-path: inset(20% 0 70% 0); transform: translate(0); }
}

@keyframes xni-glitch-after {
  0% { clip-path: inset(20% 0 70% 0); transform: translate(-2px, 2px); }
  20% { clip-path: inset(40% 0 30% 0); transform: translate(2px, 1px); }
  45% { clip-path: inset(0 0 90% 0); transform: translate(-1px, -1px); }
  60% { clip-path: inset(70% 0 10% 0); transform: translate(3px, 0); }
  85% { clip-path: inset(15% 0 85% 0); transform: translate(-2px, 2px); }
  100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

/* Soft flicker */
@keyframes flicker-glow {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.92; }
  46% { opacity: 0.4; }
  47% { opacity: 1; }
  90% { opacity: 0.95; }
}

.breathing-glow {
  display: inline-block;
  color: #ffffffcc;
  font-weight: 500;
  font-size: xx-small;
  animation: breathe 3.5s ease-in-out infinite;
  text-shadow: 0 0 4px #ffffff22, 0 0 8px #ffffff44;
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.25;
    text-shadow: 0 0 2px #ffffff22;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 8px #ffffffaa, 0 0 12px #ffffff66;
  }
}

#spotify-link {
  color: #1DB954;
  font-weight: 600;
  font-size: 0.6rem;
  text-decoration: none;
  transition: 0.3s ease;
}

#spotify-link:hover {
  text-shadow: 0 0 6px #1DB954;
  letter-spacing: 0.5px;
}

.under-construction {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    background: repeating-linear-gradient(
        45deg,
        #FFD700,
        #FFD700 10px,
        #000 10px,
        #000 20px
    );
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 1rem;
    letter-spacing: 0.5px;
    text-align: center;
    box-shadow: 0 0 4px #FFD70055;
    text-shadow: 0 0 2px #000, 0 0 4px #000;
}

.spotify-timestamp {
  font-size: 0.75rem;
  color: #1DB954;
  opacity: 0.8;
  text-shadow: 0 0 3px rgba(29, 185, 84, 0.4);
}

.spotify-now {
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: normal;
  color: #1DB954;
}

.spotify-now:hover {
  text-shadow: 0 0 4px #1DB95488;
}
