/* ==============================================================
   HERO.CSS — Section pembuka: sorotan lampu stadion ke titik
   tengah lapangan (signature element khas identitas futsal).
   Mobile-first.
============================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-inline: var(--space-sm);
  padding-block: calc(var(--space-2xl) + 3rem) var(--space-2xl);
}

/* ---------- LAPISAN LATAR (glow + motif lapangan) ---------- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Dua lapisan cahaya emas seperti sorot lampu stadion */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.hero__glow--1 {
  width: 70vw;
  height: 70vw;
  max-width: 620px;
  max-height: 620px;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.55) 0%, rgba(212, 175, 55, 0) 70%);
  animation: heroPulse 6s ease-in-out infinite;
}

.hero__glow--2 {
  width: 50vw;
  height: 50vw;
  max-width: 420px;
  max-height: 420px;
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(138, 107, 31, 0.5) 0%, rgba(138, 107, 31, 0) 70%);
  animation: heroPulse 8s ease-in-out infinite reverse;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.65; transform: translateX(-50%) scale(1.08); }
}

/* Motif SVG: garis tengah + lingkaran kick-off lapangan futsal,
   berputar sangat lambat sebagai elemen ambient signature. */
.hero__court {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130vw;
  max-width: 900px;
  transform: translate(-50%, -50%);
  opacity: 0.16;
}

.hero__court-line,
.hero__court-circle {
  fill: none;
  stroke: var(--color-gold-bright);
  stroke-width: 2;
}

.hero__court-circle {
  animation: heroRotate 60s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.hero__court-dot {
  fill: var(--color-gold-bright);
}

@keyframes heroRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- KONTEN HERO ---------- */
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  animation: fadeInUp 0.8s var(--ease-standard) both;
}

.hero__title {
  font-size: clamp(2.6rem, 12vw, 6rem);
  color: var(--color-white);
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
  animation: fadeInUp 0.8s 0.1s var(--ease-standard) both;
}

.hero__title-accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--color-white-dim);
  max-width: 46ch;
  animation: fadeInUp 0.8s 0.2s var(--ease-standard) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  animation: fadeInUp 0.8s 0.3s var(--ease-standard) both;
}

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

/* ---------- SCROLL CUE ---------- */
.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-icon {
  display: block;
  width: 22px;
  height: 34px;
  border: 2px solid rgba(244, 242, 234, 0.4);
  border-radius: 14px;
  position: relative;
}

.hero__scroll-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-gold-bright);
  transform: translateX(-50%);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  70%  { top: 18px; opacity: 0; }
  100% { top: 18px; opacity: 0; }
}
