/* Aurora Horizon: Premium Cinematic Hero Architecture */

.approved-hero.aurora-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(100svh, 940px);
  padding: 120px 24px 80px;
  overflow: hidden;
  isolation: isolate;
  background: #030508;
}

.aurora-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-photo {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: brightness(0.68) contrast(1.15) saturate(1.2);
  animation: aurora-photo-drift 34s var(--curve) infinite alternate;
  will-change: transform;
}

.aurora-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(3, 5, 8, 0.4) 0%, rgba(3, 5, 8, 0.85) 75%, #030508 100%),
              linear-gradient(180deg, rgba(3, 5, 8, 0.6) 0%, transparent 40%, rgba(3, 5, 8, 0.95) 100%);
}

.aurora-glow-orb {
  position: absolute;
  z-index: 2;
  top: 30%;
  left: 50%;
  width: 650px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.32) 0%, rgba(99, 102, 241, 0.18) 45%, transparent 75%);
  filter: blur(65px);
  pointer-events: none;
  animation: aurora-orb-pulse 11s infinite alternate ease-in-out;
}

.aurora-art {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0.85;
}

.aurora-ribbon,
.aurora-thread,
.aurora-star {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.aurora-ribbon--one {
  animation: aurora-sway 24s var(--curve) infinite alternate;
}

.aurora-ribbon--two {
  animation: aurora-sway 32s var(--curve) -8s infinite alternate;
}

.aurora-thread {
  animation: aurora-thread-shift 20s var(--curve) infinite alternate;
}

.aurora-star {
  animation: aurora-star-pulse 3.8s var(--curve) infinite alternate;
}

.aurora-star--two { animation-delay: -1.6s; }
.aurora-star--three { animation-delay: -2.4s; }
.aurora-star--four { animation-delay: -0.8s; }

/* Subtle Animated Ambient Shimmer & Particles */
.aurora-ambient-particles {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, rgba(103, 232, 249, 0.8) 1.5px, transparent 1.5px),
    radial-gradient(circle at 45% 65%, rgba(129, 140, 248, 0.7) 1px, transparent 1px),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.6) 1.5px, transparent 1.5px),
    radial-gradient(circle at 15% 80%, rgba(52, 211, 153, 0.7) 1px, transparent 1px);
  background-size: 550px 550px;
  animation: particles-drift 40s linear infinite;
  opacity: 0.6;
}

@keyframes particles-drift {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-550px) rotate(3deg); }
}

/* Aurora Copy Layer */
.aurora-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.aurora-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-pill);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  backdrop-filter: blur(14px);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 16px rgba(34, 211, 238, 0.2);
  animation: badge-float 5s ease-in-out infinite alternate;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.aurora-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}

@keyframes badge-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

.aurora-badge__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.aurora-badge__dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.7;
  animation: dot-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes dot-ripple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.aurora-copy h1 {
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
  text-wrap: balance;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

/* Subtle Shimmering Gradient for Main Heading */
.aurora-copy h1.text-gradient-accent {
  background: linear-gradient(120deg, #ffffff 0%, #a5f3fc 20%, #67e8f9 45%, #818cf8 70%, #ffffff 95%);
  background-size: 250% auto;
  animation: heading-shimmer 12s linear infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes heading-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.aurora-lede {
  max-width: 700px;
  margin-inline: auto;
  color: #e2e8f0;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.aurora-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.aurora-cta {
  min-height: 52px;
  padding: 14px 32px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.aurora-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: button-shine 6s ease-in-out infinite;
}

@keyframes button-shine {
  0%, 75% { left: -100%; }
  100% { left: 200%; }
}

/* Ticker / Stats Strip with Subtle Card Elevation */
.aurora-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 940px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.aurora-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: rgba(14, 17, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition: transform 300ms var(--curve), border-color 300ms var(--curve), background-color 300ms var(--curve);
}

.aurora-stat-item:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(20, 24, 36, 0.85);
}

.aurora-stat-item strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.aurora-stat-item span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

/* Keyframe Animations */
@keyframes aurora-photo-drift {
  from { transform: scale(1.02) translate3d(-0.5%, 0, 0); }
  to { transform: scale(1.08) translate3d(0.5%, -0.5%, 0); }
}

@keyframes aurora-orb-pulse {
  from { opacity: 0.65; transform: translate(-50%, -50%) scale(0.92); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
}

@keyframes aurora-sway {
  from { opacity: 0.6; transform: translate(-20px, 8px) scale(1.01); }
  to { opacity: 0.98; transform: translate(25px, -12px) scale(1.04); }
}

@keyframes aurora-thread-shift {
  from { opacity: 0.35; transform: translateX(-16px); }
  to { opacity: 0.85; transform: translateX(20px); }
}

@keyframes aurora-star-pulse {
  from { opacity: 0.3; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.25); }
}

/* Responsive adjustments */
@media (max-width: 1050px) {
  .aurora-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .approved-hero.aurora-hero {
    min-height: max(100svh, 680px);
    padding: 100px 16px 56px;
  }

  .aurora-copy h1 {
    font-size: 38px;
    letter-spacing: -0.04em;
    line-height: 1.1;
  }

  .aurora-lede {
    font-size: 16px;
  }

  .aurora-actions {
    flex-direction: column;
    width: 100%;
  }

  .aurora-actions .button {
    width: 100%;
  }

  .aurora-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 36px;
    padding-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aurora-photo,
  .aurora-glow-orb,
  .aurora-ribbon,
  .aurora-thread,
  .aurora-star,
  .aurora-ambient-particles,
  .aurora-badge,
  .aurora-copy h1.text-gradient-accent,
  .aurora-cta::after {
    animation: none !important;
    transform: none !important;
  }
}
