/* ==========================================================================
   MoonWalk — PAGE widget: homepage hero
   ========================================================================== */

/* Element-qualified so this padding beats the shared section rule in
   moonwalk-base.css, which is also element-qualified. */
section.moonwalk-hero {
  --moonwalk-hero-min-height: 100vh;
  --moonwalk-hero-pill-color: #ffab91;
  --moonwalk-hero-moon-size: 360px;
  --moonwalk-header-height: 75px;

  min-height: calc(var(--moonwalk-hero-min-height) - var(--moonwalk-header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4rem;
  width: 100%;
}

.moonwalk-hero .hero-bg-glow {
  position: absolute;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: radial-gradient(circle, rgba(255, 87, 34, 0.22) 0%, rgba(26, 35, 126, 0.12) 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(70px);
  pointer-events: none;
}

.moonwalk-hero .hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

.moonwalk-hero .hero-content {
  z-index: 2;
}

.moonwalk-hero .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  color: var(--moonwalk-hero-pill-color);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 100%;
}

.moonwalk-hero .hero-title {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.moonwalk-hero .hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.6;
}

.moonwalk-hero .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Moon artwork
   -------------------------------------------------------------------------- */
.moonwalk-hero .hero-artwork {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.moonwalk-hero .moon-graphic-container {
  width: min(var(--moonwalk-hero-moon-size), 72vw);
  height: min(var(--moonwalk-hero-moon-size), 72vw);
  border-radius: 50%;
  position: relative;
  background: var(--gradient-blood-moon);
  box-shadow: 0 0 60px rgba(255, 87, 34, 0.45), inset 0 0 35px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}

.moonwalk-hero .moon-graphic-container--image {
  background: none;
}

.moonwalk-hero .moon-graphic-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.moonwalk-hero .moon-date-overlay {
  text-align: center;
  z-index: 3;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  position: relative;
}

.moonwalk-hero .moon-date-day {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  font-family: var(--font-display);
}

.moonwalk-hero .moon-date-month {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffab91;
  font-family: var(--font-display);
}

.moonwalk-hero .moon-date-year {
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.moonwalk-hero .orbit-badge {
  margin-top: 1.2rem;
  background: rgba(10, 17, 40, 0.92);
  border: 1px solid var(--border-glow);
  padding: 0.65rem 1.2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
}

.moonwalk-hero .orbit-badge i,
.moonwalk-hero .orbit-badge svg {
  color: var(--moon-grad-orange);
  font-size: 1.2rem;
}

.moonwalk-hero .orbit-badge-text strong {
  font-size: 0.85rem;
  color: #fff;
  display: block;
}

.moonwalk-hero .orbit-badge-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .moonwalk-hero .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .moonwalk-hero .hero-subtitle {
    margin: 0 auto 1.5rem;
  }

  .moonwalk-hero .hero-cta-group {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .moonwalk-hero .hero-title {
    font-size: 2.1rem;
  }
}
