/* ============================================
   HERO SECTION
   ============================================ */

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

/* ============================================
   CSS STARFIELD (box-shadow technique)
   ============================================ */

.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.starfield__layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  border-radius: 0;
}

.starfield__layer--1 {
  width: 1px;
  height: 1px;
  background: transparent;
  animation: twinkle 4s ease-in-out infinite;
}

.starfield__layer--2 {
  width: 2px;
  height: 2px;
  background: transparent;
  animation: twinkle 6s ease-in-out infinite reverse;
}

.starfield__layer--3 {
  width: 3px;
  height: 3px;
  background: transparent;
  animation: twinkle 8s ease-in-out infinite;
}

/* ============================================
   HERO CONTENT
   ============================================ */

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

/* Giant SL4M title */
.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  line-height: 1;
  margin-bottom: var(--space-lg);
  background: var(--gradient-chrome);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  text-shadow: none;
  position: relative;
  transform: perspective(500px) rotateX(5deg);
  letter-spacing: 0.15em;
}

.hero__title::after {
  content: 'SL4M';
  position: absolute;
  inset: 0;
  background: var(--gradient-holographic);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite reverse;
  opacity: 0.3;
  transform: translateY(3px) translateX(3px);
  z-index: -1;
}

/* Iridescent subtitle */
.hero__subtitle {
  font-family: var(--font-sub-display);
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: var(--space-xl);
  background: var(--gradient-iridescent);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite, hueRotate 12s linear infinite;
}

/* Floating holographic badges */
.hero__badges {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__badge {
  position: absolute;
  width: 60px;
  height: 60px;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 6s ease-in-out infinite, holoBorder 4s linear infinite;
}

.hero__badge:nth-child(1) {
  top: 15%;
  left: 10%;
  animation-delay: 0s;
}

.hero__badge:nth-child(2) {
  top: 20%;
  right: 15%;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transform: rotate(45deg);
  animation-delay: -2s;
}

.hero__badge:nth-child(3) {
  bottom: 25%;
  left: 15%;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  animation-delay: -4s;
}

.hero__badge:nth-child(4) {
  bottom: 20%;
  right: 10%;
  width: 35px;
  height: 35px;
  animation-delay: -1s;
}

.hero__badge:nth-child(5) {
  top: 40%;
  left: 5%;
  width: 25px;
  height: 25px;
  border-radius: 0;
  transform: rotate(30deg);
  animation-delay: -3s;
}

.hero__badge:nth-child(6) {
  top: 60%;
  right: 8%;
  width: 45px;
  height: 45px;
  border-radius: 50% 0;
  animation-delay: -5s;
}

/* CTA Buttons */
.hero__ctas {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  color: var(--color-chrome);
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
  letter-spacing: 0.15em;
}

.hero__scroll-hint::after {
  content: '▼';
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  animation: slideUp 1.5s ease-in-out infinite alternate-reverse;
}
