/* Intro screen styling */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('/assets/intro-cover.jpg') center/cover no-repeat;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.intro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 26, 0.7) 0%,
    rgba(10, 10, 26, 0.85) 50%,
    rgba(10, 10, 26, 0.95) 100%
  );
  backdrop-filter: blur(2px);
}

.intro-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  animation: slideUp 1s ease 0.3s backwards;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.intro-title {
  font-size: 6rem;
  font-weight: bold;
  color: var(--neon-cyan);
  text-shadow:
    0 0 20px var(--neon-cyan),
    0 0 40px var(--neon-cyan),
    0 0 60px var(--neon-cyan),
    0 0 80px var(--neon-cyan);
  letter-spacing: 0.5rem;
  margin-bottom: 1rem;
  animation: neonPulse 3s ease-in-out infinite;
}

.intro-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.intro-button {
  font-size: 1.5rem;
  padding: 1.2rem 3rem;
  animation: pulse 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px var(--neon-cyan);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neon-cyan);
  }
}

.intro-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--neon-cyan);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.intro-button:hover::before {
  width: 300px;
  height: 300px;
}

.intro-button:hover {
  transform: scale(1.1);
  box-shadow:
    0 0 30px var(--neon-cyan),
    0 0 60px var(--neon-cyan),
    inset 0 0 20px var(--neon-cyan);
}

/* Fade out animation */
.intro-screen.fade-out {
  animation: fadeOut 0.8s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .intro-title {
    font-size: 3rem;
    letter-spacing: 0.3rem;
  }

  .intro-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .intro-button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}
