/* =============================================
   hero.css — Hero section
   ============================================= */

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 80px;
  position: relative;
}

/* ── Logo wrapper ── */
.hero-logo-wrap {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 2.5rem;
  animation: heroFloat 5s ease-in-out infinite;
}

/* ── Deep ambient glow behind everything ── */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(191,90,242,0.22) 0%,
    rgba(201,162,39,0.10) 40%,
    transparent 70%);
  filter: blur(22px);
  animation: ambientPulse 4s ease-in-out infinite;
  z-index: 0;
}

/* ── Spinning conic gradient ring (the "arc" effect) ── */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(191,90,242,0.9) 60deg,
    rgba(201,162,39,0.8) 120deg,
    rgba(191,90,242,0.5) 180deg,
    transparent 220deg,
    transparent 360deg
  );
  animation: spinArc 3s linear infinite;
  z-index: 1;
  /* Mask the inner part so only a thin arc border shows */
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #fff calc(100% - 3px));
}

/* ── Outer slow-spin ring (gold) ── */
.hero-logo-ring {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    transparent 0deg,
    rgba(201,162,39,0.6) 40deg,
    transparent 100deg,
    transparent 360deg
  );
  animation: spinArcReverse 5s linear infinite;
  z-index: 1;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 2px));
}

/* ── Outermost dashed orbit ring ── */
.hero-logo-ring2 {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed rgba(191,90,242,0.18);
  animation: spinArcReverse 12s linear infinite;
  z-index: 1;
}

/* ── Orbiting particle dots ── */
.hero-logo-glow {
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  z-index: 2;
  animation: spinArc 4s linear infinite;
}

/* Two bright dots riding the orbit */
.hero-logo-glow::before,
.hero-logo-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

/* Purple particle */
.hero-logo-glow::before {
  width: 7px; height: 7px;
  top: 50%; left: 0;
  transform: translateY(-50%);
  background: #BF5AF2;
  box-shadow: 0 0 8px 3px rgba(191,90,242,0.7);
}

/* Gold particle */
.hero-logo-glow::after {
  width: 5px; height: 5px;
  bottom: 8%; right: 8%;
  background: #C9A227;
  box-shadow: 0 0 7px 2px rgba(201,162,39,0.65);
}

/* ── The actual logo image ── */
.hero-logo-img {
  position: relative;
  width: 140px; height: 140px;
  object-fit: contain;
  border-radius: 50%;
  z-index: 3;
  /* Layered glow: purple core + gold halo */
  filter:
    drop-shadow(0 0 10px rgba(191,90,242,0.55))
    drop-shadow(0 0 28px rgba(191,90,242,0.22))
    drop-shadow(0 0 48px rgba(201,162,39,0.12));
  animation: logoGlowPulse 3s ease-in-out infinite;
}

/* ── Badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(191,90,242,0.07);
  border: 1px solid rgba(191,90,242,0.22);
  font-size: 0.75rem;
  font-weight: 600;
  color: #BF5AF2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #BF5AF2;
  animation: blink 2s ease-in-out infinite;
}

/* ── Title ── */
.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title-line1 {
  display: block;
  color: #ffffff;
}

.hero-title-line2 {
  display: block;
  background: linear-gradient(135deg, #BF5AF2 0%, #C9A227 60%, #BF5AF2 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 7s linear infinite;
}

/* ── Subtitle ── */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(180,180,210,0.7);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ── Buttons ── */
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(160,160,192,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(191,90,242,0.22);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px; height: 7px;
  background: rgba(191,90,242,0.45);
  border-radius: 2px;
  animation: scrollWheel 2.5s ease-in-out infinite;
}

/* ══════════════════════════════════════════
   Keyframe animations
   ══════════════════════════════════════════ */

@keyframes heroFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}

/* Spinning arc — clockwise */
@keyframes spinArc {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Counter-clockwise for outer ring */
@keyframes spinArcReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* Deep ambient glow breathe */
@keyframes ambientPulse {
  0%,100% { opacity: 0.6; transform: scale(0.95); }
  50%     { opacity: 1;   transform: scale(1.05); }
}

/* Logo image glow pulse */
@keyframes logoGlowPulse {
  0%,100% {
    filter:
      drop-shadow(0 0 8px rgba(191,90,242,0.45))
      drop-shadow(0 0 22px rgba(191,90,242,0.18))
      drop-shadow(0 0 40px rgba(201,162,39,0.10));
  }
  50% {
    filter:
      drop-shadow(0 0 14px rgba(191,90,242,0.70))
      drop-shadow(0 0 36px rgba(191,90,242,0.30))
      drop-shadow(0 0 60px rgba(201,162,39,0.18));
  }
}

@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.3; }
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}