/* =============================================================================
   Hero Section — full-width photo + left-aligned headline + CTA
   ============================================================================= */
.hero {
  position: relative;
  /* Full viewport width — slides behind the sidebar intentionally */
  width: 100vw;
  margin-left: calc(-1 * var(--sidebar-width-collapsed, 64px));
  height: calc(100vh - var(--header-height));
  min-height: 520px;
  max-height: 780px;
  overflow: hidden;
  background: var(--color-bg-dark);
}

/* When sidebar is expanded */
.page-body.sidebar-open .hero {
  margin-left: calc(-1 * var(--sidebar-width-expanded, 240px));
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  /* contain ensures full image is visible, no cropping */
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  /* Dark bg fills letterbox areas */
  background-color: #0a0a0a;
}

/* Dark gradient — heavier on the left so text is readable */
.hero__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.72) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(0,0,0,.10) 100%
  );
}

.hero__slide.active { opacity: 1; }

/* Content — offset by sidebar width so text is never hidden behind sidebar */
.hero__content {
  position: absolute;
  bottom: var(--space-12);
  /* Push text right so it clears the sidebar */
  left: calc(var(--sidebar-width-collapsed, 64px) + var(--space-10));
  z-index: 2;
  color: #fff;
  max-width: 560px;
  transition: left .2s cubic-bezier(.4,0,.2,1);
}

/* When sidebar expanded, push text further right */
.page-body.sidebar-open .hero__content {
  left: calc(var(--sidebar-width-expanded, 240px) + var(--space-10));
}

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  color: #fff;
}

.hero__subheadline {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-6);
  opacity: 0.88;
  line-height: 1.5;
}

/* CTA pill — matches the "ABOUT CAYA MUSIC" button in screenshot */
.hero__cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.hero__cta:hover {
  background: rgba(255,255,255,.30);
  border-color: #fff;
  color: #fff;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-8);
  display: flex;
  gap: var(--space-2);
  z-index: 3;
}

.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.hero__dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* Arrows — offset to stay within the visible area (right of sidebar) */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: var(--font-size-xl);
  transition: background var(--transition-fast);
}
.hero__arrow:hover { background: rgba(255,255,255,.28); }

/* Prev arrow: must clear the sidebar (64px) + small gap */
.hero__arrow--prev {
  left: calc(var(--sidebar-width-collapsed, 64px) + var(--space-3));
  transition: left .2s cubic-bezier(.4,0,.2,1);
}
/* When sidebar is expanded */
.page-body.sidebar-open .hero__arrow--prev {
  left: calc(var(--sidebar-width-expanded, 240px) + var(--space-3));
}
.hero__arrow--next { right: var(--space-5); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero__content {
    left: calc(var(--sidebar-width-collapsed, 64px) + var(--space-6));
    bottom: var(--space-8);
    max-width: 90%;
  }
  .page-body.sidebar-open .hero__content {
    left: calc(var(--sidebar-width-expanded, 240px) + var(--space-6));
  }
  .hero__headline { font-size: clamp(1.8rem, 6vw, 2.6rem); }
}

@media (max-width: 480px) {
  .hero__content {
    left: calc(var(--sidebar-width-collapsed, 64px) + var(--space-4));
    bottom: var(--space-6);
  }
  .hero__arrow { display: none; }
}

/* ── Hero ticker strip ──────────────────────────────────────────────────────── */
.hero-ticker {
  position: relative;
  z-index: 10;
  background: #e94560;
  color: #fff;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}

.hero-ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: heroTicker 28s linear infinite;
  will-change: transform;
}
.hero-ticker__track:hover { animation-play-state: paused; }

.hero-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: opacity .15s;
}
.hero-ticker__item:hover { opacity: .8; }

.hero-ticker__sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  margin: 0 4px;
  flex-shrink: 0;
}

/* Live pulse dot */
.hero-ticker__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.2);
  margin-right: 8px;
  flex-shrink: 0;
}
.hero-ticker__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes heroTicker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* ── Hero quick-actions bar (for guests) ──────────────────────────────────────  */
.hero-guest-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-5);
  flex-wrap: wrap;
}
.hero-guest-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
  letter-spacing: .02em;
}
.hero-guest-btn--primary {
  background: #e94560;
  color: #fff;
  border: 2px solid #e94560;
}
.hero-guest-btn--primary:hover {
  background: #c73652;
  border-color: #c73652;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233,69,96,.5);
}
.hero-guest-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.hero-guest-btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  transform: translateY(-1px);
}

/* ── Stats glow pulse on scroll-visible ──────────────────────────────────────── */
.stat-item--link.scroll-visible .stat-item__icon-wrap {
  animation: statGlow 2.5s ease-out;
}
@keyframes statGlow {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.5); }
  50%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: none; }
}
