/* Hollywood Dance Jamz — component overrides & PressPlay-inspired accents */

body.hdj-site {
  background: var(--bg);
}

body.hdj-site::before {
  opacity: 0.35;
}

/* ── TICKER BANNER (PressPlay-style horizontal scroll) ── */
.hdj-ticker {
  overflow: hidden;
  background: linear-gradient(90deg, var(--hdj-contrast), var(--hdj-magenta), var(--hdj-primary));
  padding: 10px 0;
  border-block: 1px solid rgba(255,255,255,.12);
}
.hdj-ticker__track {
  display: flex;
  width: max-content;
  animation: hdjTickerScroll var(--hdj-ticker-speed) linear infinite;
}
.hdj-ticker:hover .hdj-ticker__track {
  animation-play-state: paused;
}
.hdj-ticker__item {
  flex-shrink: 0;
  padding: 0 clamp(24px, 4vw, 48px);
  font-family: var(--font-hairline);
  font-size: calc(clamp(.72rem, 1.6vw, .88rem) * var(--ui-font-scale));
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.hdj-ticker__item::after {
  content: '◆';
  margin-left: clamp(24px, 4vw, 48px);
  opacity: 0.6;
  font-size: 0.65em;
}
@keyframes hdjTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO HDJ ── */
.hdj-site .hero--home .hero-overlay--animated {
  background:
    linear-gradient(160deg, rgba(10,14,26,.55) 0%, rgba(30,64,175,.45) 50%, rgba(255,107,44,.25) 100%),
    var(--grad-hero);
}
.hdj-site .hero--home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 80px,
    rgba(125,211,252,.04) 80px,
    rgba(125,211,252,.04) 81px
  );
  pointer-events: none;
  z-index: 2;
}
.hdj-site .hero-glow {
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,107,44,.2), transparent 70%);
}

/* ── GALLERY — dual-speed marquee ── */
.hdj-family-moment {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
}
.hdj-family-moment::before {
  content: '';
  position: absolute;
  left: -12vw;
  right: -12vw;
  top: clamp(82px, 11vw, 126px);
  height: clamp(13px, 1.2vw, 17px);
  background: linear-gradient(100deg, var(--hdj-primary), var(--hdj-magenta) 55%, var(--hdj-contrast));
  opacity: 0.92;
  transform: none;
  transform-origin: center;
  z-index: 0;
  pointer-events: none;
}
.hdj-family-moment::after {
  content: none;
}
.hdj-site .gallery-wrap {
  background: transparent;
  position: relative;
  z-index: 1;
}
.hdj-site .gallery-wrap::before,
.hdj-site .gallery-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 8vw, 100px);
  z-index: 2;
  pointer-events: none;
}
.hdj-site .gallery-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-s), transparent);
}
.hdj-site .gallery-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-s), transparent);
}
.hdj-site .gallery-wrap .gallery-track {
  animation-duration: var(--hdj-banner-speed);
}
.hdj-site .gallery-wrap .gallery-track img {
  filter: brightness(.9) saturate(1.15);
  border: 1px solid rgba(125,211,252,.15);
}
.hdj-site .section-intro {
  background: transparent !important;
  position: relative;
  z-index: 1;
}
.hdj-site .section-intro--home {
  padding-block: clamp(1.45rem, 4.2vw, 3.4rem);
}
.hdj-site .section-intro .container {
  position: relative;
  z-index: 2;
}
.hdj-site .eyebrow--intro {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 8px;
  font-size: calc(.77rem * var(--ui-font-scale));
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .hdj-site .eyebrow--intro {
    font-size: clamp(calc(.48rem * var(--ui-font-scale)), 2.85vw, calc(.68rem * var(--ui-font-scale)));
    letter-spacing: .06em;
  }
}
@media (max-width: 390px) {
  .hdj-site .eyebrow--intro {
    font-size: clamp(calc(.44rem * var(--ui-font-scale)), 2.65vw, calc(.58rem * var(--ui-font-scale)));
    letter-spacing: .04em;
  }
}
.hdj-site .gallery-wrap--reverse .gallery-track {
  animation-direction: reverse;
  animation-duration: calc(var(--hdj-banner-speed) * 1.3);
}

/* ── DIAGONAL PARALLAX (PressPlay-style cuts) ── */
.hdj-site .parallax-section--diagonal {
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  margin-block: -1px;
}
.hdj-site .parallax-section--diagonal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -14deg,
    transparent,
    transparent 60px,
    rgba(255,107,44,.06) 60px,
    rgba(255,107,44,.06) 62px
  );
  z-index: 1;
  pointer-events: none;
}
.hdj-site .parallax-section--diagonal::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    var(--grad) top / 100% clamp(52px, 7vw, 96px) no-repeat,
    var(--grad) bottom / 100% clamp(52px, 7vw, 96px) no-repeat;
  z-index: 3;
  pointer-events: none;
}
.hdj-site .parallax-overlay--hdj {
  background: linear-gradient(
    135deg,
    rgba(10,14,26,.78) 0%,
    rgba(30,64,175,.55) 50%,
    rgba(255,107,44,.35) 100%
  );
}

/* ── LIGHT SECTIONS (dark copy on light cards) ── */
.hdj-section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}
.hdj-section-light .eyebrow {
  background: var(--grad-filmfest);
  -webkit-background-clip: text;
  background-clip: text;
}
.hdj-section-light .grad-text {
  background: linear-gradient(110deg, var(--hdj-primary), var(--hdj-contrast));
  -webkit-background-clip: text;
  background-clip: text;
}
.hdj-section-light p {
  color: #334155;
}
.hdj-card-light {
  background: var(--bg-card-light);
  border: 1px solid rgba(30,64,175,.12);
  border-radius: var(--r-md);
  padding: 22px 20px;
  box-shadow: 0 8px 32px rgba(30,64,175,.08);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.hdj-card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(255,107,44,.12);
}
.hdj-card-light h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.hdj-card-light p {
  font-size: .9rem;
  line-height: 1.65;
  color: #475569;
}
.hdj-card-light .feat-num {
  color: var(--hdj-primary);
}

/* ── FEATURE GRID on light bg ── */
.hdj-section-light .feature-item {
  background: var(--bg-card-light);
  border-color: rgba(30,64,175,.1);
}
.hdj-section-light .feature-item h3 { color: var(--text-dark); }
.hdj-section-light .feature-item p { color: #64748b; }

/* ── FLOATING INTERACTIVE ORB ── */
.hdj-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  z-index: 4;
  will-change: transform;
  box-shadow: 0 0 60px rgba(255,107,44,.35), 0 0 100px rgba(125,211,252,.2);
  transition: box-shadow .3s;
}
.hdj-float.is-dragging {
  cursor: grabbing;
  box-shadow: 0 0 80px rgba(233,30,140,.5), 0 0 120px rgba(125,211,252,.35);
}
.hdj-float--primary {
  background: radial-gradient(circle at 30% 30%, var(--hdj-accent), var(--hdj-contrast));
}
.hdj-float--accent {
  background: radial-gradient(circle at 70% 30%, var(--hdj-primary), var(--hdj-magenta));
}

/* ── CTAs ── */
.hdj-site .btn-primary {
  background: var(--grad);
  border: none;
}
.hdj-site .btn-outline {
  border-color: rgba(125,211,252,.4);
}
.hdj-site .btn-outline:hover {
  border-color: var(--hdj-accent);
  background: rgba(125,211,252,.08);
}

/* ── TOUR NAT ROW ── */
.hdj-site .tour-item--nat {
  background: linear-gradient(90deg, rgba(255,107,44,.12), rgba(30,64,175,.12));
  border: 1px solid rgba(125,211,252,.2);
}

/* ── NAT BANNER HDJ ── */
.hdj-site .nat-banner {
  background: linear-gradient(90deg, rgba(10,14,26,.97), rgba(30,64,175,.85));
  border-bottom-color: rgba(255,107,44,.35);
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .hdj-ticker__track,
  .hdj-site .gallery-wrap .gallery-track {
    animation: none;
  }
  .hdj-float {
    pointer-events: none;
    cursor: default;
  }
  .hdj-site .orb {
    animation: none;
  }
  .hdj-card-light:hover {
    transform: none;
  }
}

/* ── 404 PAGE ── */
.page-404 .site-header {
  position: absolute;
  top: var(--banner-h, 36px);
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
}
.page-404 .site-header.scrolled {
  background: rgba(10, 14, 26, .92);
  backdrop-filter: blur(12px);
}
.error-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--banner-h, 36px) + 80px) 1.5rem 4rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255,107,44,.18), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(233,30,140,.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(30,64,175,.14), transparent 45%),
    var(--bg, #0a0e1a);
}
.error-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: .55;
}
.error-hero__orb--1 {
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  top: 8%;
  left: -8%;
  background: radial-gradient(circle, rgba(255,107,44,.45), transparent 70%);
  animation: error-orb-float 14s ease-in-out infinite;
}
.error-hero__orb--2 {
  width: min(360px, 60vw);
  height: min(360px, 60vw);
  bottom: 5%;
  right: -6%;
  background: radial-gradient(circle, rgba(233,30,140,.4), transparent 70%);
  animation: error-orb-float 18s ease-in-out infinite reverse;
}
.error-hero__orb--3 {
  width: min(280px, 45vw);
  height: min(280px, 45vw);
  top: 42%;
  right: 18%;
  background: radial-gradient(circle, rgba(125,211,252,.35), transparent 70%);
  animation: error-orb-float 11s ease-in-out infinite;
  animation-delay: -4s;
}
@keyframes error-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.06); }
  66% { transform: translate(-16px, 14px) scale(.94); }
}
.error-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  width: 100%;
}
.error-hero__code {
  margin: 0;
  font-family: 'Bebas Neue', var(--font-display, sans-serif);
  font-size: clamp(7rem, 28vw, 15rem);
  line-height: .85;
  letter-spacing: -.02em;
  background: linear-gradient(
    135deg,
    var(--hdj-primary) 0%,
    var(--hdj-magenta) 38%,
    var(--hdj-accent) 72%,
    var(--hdj-contrast) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: error-code-shimmer 6s ease-in-out infinite;
  text-shadow: none;
  filter: drop-shadow(0 0 40px rgba(255,107,44,.25));
}
@keyframes error-code-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.error-hero__title {
  margin: .15em 0 0;
  font-family: 'Bebas Neue', var(--font-display, sans-serif);
  font-size: clamp(1.75rem, 5.5vw, 3rem);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text, #f0f9ff);
}
.error-hero__tagline {
  margin: .65rem 0 0;
  font-family: var(--font-hairline, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 300;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-hero__hint {
  margin: 1.25rem auto 0;
  max-width: 34rem;
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(240,249,255,.55);
}
.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
  margin-top: 2.25rem;
}
@media (prefers-reduced-motion: reduce) {
  .error-hero__code { animation: none; }
  .error-hero__orb { animation: none; }
}

/* ── LEGAL PAGE HERO (matches Hollywood Vibe privacy page) ── */
.page-privacy .hero--legal,
.page-terms .hero--legal {
  min-height: auto;
  max-height: none;
  background: var(--bg-s);
  padding: calc(var(--banner-height) + var(--nav-height) + 12px) clamp(15px, 3.75vw, 48px) 15px;
  justify-content: center;
  align-items: center;
}
.page-privacy .hero--legal .hero-content,
.page-terms .hero--legal .hero-content {
  max-width: none;
  width: 100%;
  text-align: center;
}
.page-privacy .hero--legal .eyebrow,
.page-terms .hero--legal .eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: calc(var(--eyebrow-size) * 0.72);
}
.page-privacy .hero--legal h1.plain,
.page-terms .hero--legal h1.plain {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  line-height: 0.95;
  margin-bottom: 4px;
}
.page-privacy .hero--legal .hero-sub,
.page-terms .hero--legal .hero-sub {
  margin-bottom: 0;
  font-size: clamp(calc(0.68rem * var(--ui-font-scale)), 1.4vw, calc(0.82rem * var(--ui-font-scale)));
}
