/* ============================================================
   ECLIPSE HERO
   Clean CSS extracted from Oxygen Builder and rewritten with
   semantic classes. Namespaced under .eclipse-hero to avoid
   collisions with the rest of your site.
============================================================ */

/* ---------- Section shell ---------- */
.eclipse-hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background-color: #131416;
  font-family: "Poppins", "Inter", arial, sans-serif;
  color: #fff;
}

/* Top fade */
.eclipse-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 233px;
  background: linear-gradient(180deg, #05031B 0%, rgba(5, 3, 27, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade into the next section */
.eclipse-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 233px;
  background: linear-gradient(0deg, #05031B 0%, rgba(5, 3, 27, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Party spotlights ---------- */
.eclipse-hero__spots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.eclipse-spot {
  position: absolute;
  top: 0;
  width: 260px;
  height: 90%;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transform-origin: 50% 0%;
  filter: blur(3px);
  opacity: 0;
  will-change: transform, opacity;
}

.eclipse-spot--red    { background: linear-gradient(180deg, rgba(255, 40, 40, 0.55) 0%, rgba(255, 40, 40, 0.02) 100%); }
.eclipse-spot--green  { background: linear-gradient(180deg, rgba(40, 255, 90, 0.50) 0%, rgba(40, 255, 90, 0.02) 100%); }
.eclipse-spot--yellow { background: linear-gradient(180deg, rgba(255, 204, 0, 0.55) 0%, rgba(255, 204, 0, 0.02) 100%); }

.eclipse-spot:nth-child(1) { left: 8%;   animation: spot-sweep 11s ease-in-out infinite 0s; }
.eclipse-spot:nth-child(2) { left: 28%;  animation: spot-sweep  8s ease-in-out infinite 2.4s; }
.eclipse-spot:nth-child(3) { left: 50%;  animation: spot-sweep 13s ease-in-out infinite 0.8s; }
.eclipse-spot:nth-child(4) { left: 68%;  animation: spot-sweep  9s ease-in-out infinite 4.2s; }
.eclipse-spot:nth-child(5) { left: 84%;  animation: spot-sweep  7s ease-in-out infinite 1.6s; }

@keyframes spot-sweep {
  0%   { opacity: 0;    transform: rotate(-28deg); }
  8%   { opacity: 1; }
  50%  { opacity: 0.7;  transform: rotate(28deg); }
  92%  { opacity: 1; }
  100% { opacity: 0;    transform: rotate(-28deg); }
}

/* ---------- Rising particles (filled by hero-particles.js) ---------- */
.eclipse-hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.eclipse-particle {
  position: absolute;
  bottom: -12px;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-rise linear forwards;
}

@keyframes particle-rise {
  0%   { transform: translateY(0)      translateX(0);            opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 0.7; }
  100% { transform: translateY(-105vh) translateX(var(--drift)); opacity: 0; }
}

@media (max-width: 768px) {
  .eclipse-hero__spots    { opacity: 0.55; }
  .eclipse-spot           { width: 180px; }
}

/* ---------- Video background ---------- */
.eclipse-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------- Content wrapper ---------- */
.eclipse-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1420px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

/* ---------- Title ---------- */
.eclipse-hero__title {
  font-family: "Poppins", sans-serif;
  font-size: 118px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin-top: 72px;
}

/* ---------- Countdown ---------- */
.eclipse-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.eclipse-countdown__label-top {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FFB23E;
}

.eclipse-countdown__units {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 20px 28px;
}

.eclipse-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.eclipse-countdown__num {
  font-family: "Inter", sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.eclipse-countdown__label {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.eclipse-countdown__sep {
  font-family: "Inter", sans-serif;
  font-size: 44px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  padding: 0 4px;
  margin-bottom: 18px;
  align-self: flex-end;
}

/* ---------- Description + CTA ---------- */
.eclipse-hero__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 3;
  position: relative;
}

.eclipse-hero__eyebrow {
  color: #FC0;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.eclipse-hero__description {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.eclipse-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 188px;
  padding: 14px 28px;
  margin-top: 8px;
  background-color: #FFB23E;
  color: #062d4f;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 0 17.7px rgba(255, 178, 62, 0.5);
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.eclipse-hero__cta:hover {
  transform: scale(0.97);
  filter: brightness(110%);
  color: #062d4f;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 178, 62, 0.55);
}

.hero-online-discount {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-online-discount::before {
  content: '🏷️';
  font-size: 13px;
}

.hero-adults-only {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 59, 59, 0.12);
  border: 1px solid rgba(255, 59, 59, 0.35);
  color: rgba(255, 120, 120, 0.9);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1100px) {
  .eclipse-hero__title    { font-size: 92px; }
  .eclipse-countdown__num { font-size: 48px; }
  .eclipse-countdown__unit { min-width: 68px; }
}

@media (max-width:1600px) {
  .eclipse-hero__title { margin-top: 48px; }
}

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .eclipse-hero { min-height: unset; }

  .eclipse-hero__inner {
    min-height: unset;
    padding: 96px 24px 80px;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
  }

  .eclipse-hero__title { font-size: 52px; text-align: center; }

  .eclipse-countdown__units { padding: 16px 20px; border-radius: 16px; }
  .eclipse-countdown__num   { font-size: 38px; }
  .eclipse-countdown__unit  { min-width: 56px; }
  .eclipse-countdown__sep   { font-size: 32px; margin-bottom: 14px; }

  .eclipse-hero__description { font-size: 15px; }
  .eclipse-hero__eyebrow     { font-size: 14px; }
}

@media (max-width: 480px) {
  .eclipse-hero__inner      { padding: 88px 16px 64px; }
  .eclipse-hero__title      { font-size: 40px; }
  .eclipse-countdown__units { padding: 12px 14px; gap: 2px; }
  .eclipse-countdown__num   { font-size: 32px; }
  .eclipse-countdown__unit  { min-width: 46px; }
  .eclipse-countdown__sep   { font-size: 26px; margin-bottom: 12px; padding: 0 2px; }
}
