/* ===========================
   HERO SECTION
   =========================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.45) 0%, rgba(8, 17, 31, 0.8) 100%);
  z-index: 1;
}

.hero__canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  object-fit: cover;
}

.hero__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 17, 31, 0.3) 0%,
    rgba(8, 17, 31, 0.5) 40%,
    rgba(8, 17, 31, 0.8) 80%,
    rgba(8, 17, 31, 1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding-top: calc(var(--navbar-height) + var(--space-xl) + var(--announcement-height, 0px));
  padding-bottom: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.hero__text-box {
  flex: 1;
  max-width: 550px;
}

.hero__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s 0.2s both;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s 0.4s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: var(--color-text);
  max-width: 700px;
  margin: 0 0 var(--space-lg) 0;
  animation: fadeInUp 1s 0.6s both;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s 0.8s both;
}

.hero__info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  width: 100%;
  animation: fadeInUp 1s 1s both;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

/* Mouse over hover glow engagement effects */
.hero__info-panel:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(143, 107, 255, 0.25), 0 0 20px rgba(143, 107, 255, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1) !important;
}

.hero__carousel-slides {
  position: relative;
  height: 60px;
  width: 100%;
}

.hero__carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
  display: flex;
  align-items: center;
}

.hero__carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.hero__carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  z-index: 5;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-round);
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
  width: 16px;
  border-radius: 3px;
  background: var(--color-gold);
}

/* Right Column: Announcement + Weekly Events stacked */
.hero__right-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 340px;
  width: 100%;
  align-items: stretch;
  animation: fadeInUp 1s 0.9s both;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.info-item__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(143, 107, 255, 0.35));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__info-panel:hover .carousel-icon {
  transform: translateY(-4px) scale(1.12);
}

.info-item strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-white);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.info-item span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.info-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInUp 1s 1.2s both;
}

.hero__scroll-indicator span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(212, 175, 55, 0.5);
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(5px, 5px); opacity: 1; }
}

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