* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: linear-gradient(
    135deg,
    #000000 0%,
    #0a0a0a 25%,
    #001122 50%,
    #002211 75%,
    #000000 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 3s ease infinite;
  color: #ffffff;
  overflow-x: hidden;
}

.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00ffff;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 80px;
  height: 36px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3px 8px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.lang-toggle:hover {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4), 0 0 15px rgba(255, 0, 255, 0.2);
}

.lang-option {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  z-index: 3;
  width: 20px;
  text-align: center;
}

.lang-option.active {
  color: #000;
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 30px;
  height: 30px;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.4), 0 0 15px rgba(255, 0, 255, 0.2);
  z-index: 2;
}

.lang-toggle.jp .lang-slider {
  transform: translateX(44px);
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.artist-name {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  background-size: 300% 300%;
  background: linear-gradient(
    45deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #feca57
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
}

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

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

.tagline {
  font-size: clamp(1rem, 3vw, 2rem);
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 3px;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.artist-image {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  padding: 4px;
  animation: floatImage 4s ease-in-out infinite;
  z-index: 3;
}

.artist-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.2);
}

.artist-image::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
  opacity: 0.7;
  animation: glow 2s ease infinite alternate;
}

@keyframes floatImage {
  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateY(-60%) rotate(5deg);
  }
}

@keyframes glow {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.section {
  min-height: 100vh;
  padding: 100px 50px;
  position: relative;
  z-index: 2;
}

.section h2 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 40px;
  background: linear-gradient(45deg, #00ffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.glass-card {
  background: rgba(0, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin: 20px 0;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
}

.music-player {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.album-art {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border-radius: 15px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin: 20px 0;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  width: 0%;
  transition: width 0.1s ease;
  position: relative;
}

.progress::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.social-link {
  display: inline-block;
  padding: 15px 25px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  color: #00ffff;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.2);
}

.nav-dots {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.nav-item {
  display: flex;
  align-items: center;
  margin: 15px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-label {
  font-size: 12px;
  color: rgba(0, 255, 255, 0.5);
  margin-right: 10px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.nav-item.active .nav-dot {
  background: #00ffff;
  box-shadow: 0 0 15px #00ffff;
}

.nav-item.active .nav-label {
  color: #00ffff;
  opacity: 1;
  font-weight: 600;
}

.hidden {
  display: none;
}

.glitch-word {
  cursor: pointer;
  position: relative;
  display: inline-block;
}

.glitch-word:hover {
  animation: glitchText 0.3s ease-in-out;
}

@keyframes glitchText {
  0% {
    transform: translate(0);
  }
  10% {
    transform: translate(-2px, -1px);
  }
  20% {
    transform: translate(2px, 1px);
  }
  30% {
    transform: translate(-1px, 2px);
  }
  40% {
    transform: translate(1px, -2px);
  }
  50% {
    transform: translate(-2px, 1px);
  }
  60% {
    transform: translate(2px, -1px);
  }
  70% {
    transform: translate(-1px, -2px);
  }
  80% {
    transform: translate(1px, 2px);
  }
  90% {
    transform: translate(-2px, -1px);
  }
  100% {
    transform: translate(0);
  }
}

body.page-glitch .hero,
body.page-glitch .section,
body.page-glitch .lang-toggle,
body.page-glitch .nav-dots,
body.page-glitch .particles-container {
  animation: pageGlitch 0.5s ease-in-out;
}

@keyframes pageGlitch {
  0% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
  10% {
    transform: translate(-5px, -2px);
    filter: hue-rotate(90deg) contrast(150%);
  }
  20% {
    transform: translate(5px, 2px);
    filter: hue-rotate(180deg) brightness(150%);
  }
  30% {
    transform: translate(-2px, 5px);
    filter: hue-rotate(270deg) saturate(200%);
  }
  40% {
    transform: translate(2px, -5px);
    filter: hue-rotate(360deg) invert(0.1);
  }
  50% {
    transform: translate(-5px, 2px);
    filter: hue-rotate(90deg) contrast(200%);
  }
  60% {
    transform: translate(5px, -2px);
    filter: hue-rotate(180deg) brightness(80%);
  }
  70% {
    transform: translate(-2px, -5px);
    filter: hue-rotate(270deg) saturate(150%);
  }
  80% {
    transform: translate(2px, 5px);
    filter: hue-rotate(360deg) contrast(120%);
  }
  90% {
    transform: translate(-5px, -2px);
    filter: hue-rotate(45deg) brightness(120%);
  }
  100% {
    transform: translate(0);
    filter: hue-rotate(0deg);
  }
}
