.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: var(--space-4) var(--space-2);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/hero_floating_city.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
  z-index: -1;
  animation: slowZoom 30s infinite alternate;
}

.hero-content {
  max-width: 800px;
  padding: var(--space-4);
  background: rgba(16, 27, 45, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(160, 233, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  opacity: 1;
  transition: transform 1s ease, opacity 1s ease;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(160, 233, 255, 0.05) 0%, rgba(160, 233, 255, 0) 70%);
  animation: rotateSlowly 15s linear infinite;
  pointer-events: none;
}

.hero-title {
  font-size: 4.5rem;
  color: var(--celestial-gold);
  margin-bottom: var(--space-2);
  text-shadow: 0 0 15px rgba(245, 197, 66, 0.7);
  letter-spacing: 2px;
  animation: glowPulse 3s infinite alternate;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--sky-blue);
  margin-bottom: var(--space-4);
  text-shadow: 0 0 10px rgba(160, 233, 255, 0.7);
  font-family: var(--heading-font);
  letter-spacing: 1px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-arcade {
  margin-top: var(--space-2);
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

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

@keyframes glowPulse {
  0% {
    text-shadow: 0 0 15px rgba(245, 197, 66, 0.7);
  }
  100% {
    text-shadow: 0 0 25px rgba(245, 197, 66, 0.9);
  }
}

/* Hero section animation on load */
.hero-content.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.hero-content.animate-out {
  transform: translateY(50px);
  opacity: 0;
}

@media (max-width: 767px) {
  .hero-content {
    padding: var(--space-3);
    max-width: 90%;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--space-3);
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-2);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--space-2);
  }
}