:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06ffa5;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --background: #0a0a0f;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06ffa5 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  --z-nav: 1000;
  --z-modal: 2000;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  cursor: crosshair;
}

/* Custom Cursor - Classic Style */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: rgba(0, 245, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: all 0.1s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(255, 0, 128, 0.8);
}

/* Particle Universe */
#particle-universe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(ellipse at center, #0a0a1a 0%, #000 100%);
}

.particle {
  position: absolute;
  background: #00f5ff;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 20px currentColor;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 1; }
}

/* Floating Orbs */
.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff0080, #00f5ff, #7c3aed);
  filter: blur(40px);
  opacity: 0.3;
  animation: orbital 20s linear infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-duration: 25s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 20%;
  animation-duration: 30s;
  animation-direction: reverse;
}

.orb-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 30%;
  animation-duration: 35s;
}

.orb-4 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 10%;
  animation-duration: 28s;
  animation-direction: reverse;
}

.orb-5 {
  width: 180px;
  height: 180px;
  bottom: 10%;
  right: 40%;
  animation-duration: 32s;
}

@keyframes orbital {
  0% { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* Hero Container */
.hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
}

/* Morphing Logo */
.logo-container {
  margin-bottom: 80px;
  transform: scale(1.2);
}

#logoCanvas {
  filter: drop-shadow(0 0 50px #00f5ff) drop-shadow(0 0 100px rgba(0, 245, 255, 0.5));
}

/* Anime Hero Banner */
.anime-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}
#animeHeroCanvas {
  display: block;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: clamp(6rem, 18vw, 22rem);
  font-weight: 900;
  line-height: 0.7;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow:
    0 0 40px #00f5ff,
    0 0 80px #ff0080,
    0 0 10px #fff,
    2px 2px 0 #000,
    -2px -2px 0 #000;
  -webkit-text-stroke: 4px #fff;
  filter: drop-shadow(0 0 60px #ff0080) drop-shadow(0 0 80px #00f5ff);
}

.line-1 {
  display: block;
  background: linear-gradient(90deg, #ff0080 0%, #00f5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 2s linear infinite alternate;
  filter: drop-shadow(0 0 40px #fff) drop-shadow(0 0 80px #00f5ff);
  -webkit-text-stroke: 4px #fff;
}

.line-2 {
  display: block;
  color: #fff;
  font-size: 0.35em;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-top: 30px;
  text-shadow:
    0 0 20px #00f5ff,
    0 0 40px #ff0080,
    2px 2px 0 #000;
  -webkit-text-stroke: 2px #fff;
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(90deg); }
}

@keyframes glow {
  from { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
  to { text-shadow: 0 0 30px rgba(0, 245, 255, 0.8); }
}

.hero-subtitle {
  font-size: 2.2rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-top: 60px;
  text-shadow: 0 0 30px #00f5ff, 0 0 60px #ff0080;
  z-index: 3;
}

/* Background Shapes */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: linear-gradient(45deg, rgba(255, 0, 128, 0.1), rgba(0, 245, 255, 0.1));
  border-radius: 50%;
  animation: morph 15s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -200px;
  animation-delay: 5s;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes morph {
  0%, 100% { 
    border-radius: 50%; 
    transform: rotate(0deg) scale(1);
  }
  33% { 
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; 
    transform: rotate(120deg) scale(1.1);
  }
  66% { 
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; 
    transform: rotate(240deg) scale(0.9);
  }
}

/* Progress Ring */
.progress-ring {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  opacity: 0.8;
}

.progress-circle {
  transition: stroke-dashoffset 0.3s ease;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: clamp(3.5rem, 20vw, 10rem);
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-top: 40px;
  }
  
  .logo-container {
    margin-bottom: 40px;
    transform: scale(1);
  }
  
  .orb {
    display: none;
  }
  
  .progress-ring {
    bottom: 20px;
    right: 20px;
    transform: scale(0.8);
  }
  
  .audio-control, .interaction-hint, .mouse-indicator, .mouse-icon, .scroll-wheel {
    display: none !important;
  }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 