/* wead.live Orbit Deck overrides — loaded AFTER orbit-home.css
 * Does not affect mini.wead.live (Mini uses its own hub-home.css). */

body.orbit-deck-home {
  background: #07080c !important;
  -webkit-font-smoothing: antialiased;
}

/* Fixed base.html navbar clearance */
body.orbit-deck-home .page-container,
body.orbit-deck-home .main-content,
body.orbit-deck-home > .orbit-page-wrap {
  padding-top: 0 !important;
}

body.orbit-deck-home .navbar {
  /* MUST stay visible — overflow:hidden clipped Platform/Quantum/Language menus */
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.03) 40%,
      rgba(255, 140, 0, 0.06) 100%
    ),
    rgba(10, 12, 18, 0.72) !important;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.orbit-deck-home .navbar::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  /* Clip shine to bar height only — do not clip dropdowns */
  overflow: hidden;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 28%,
    rgba(0, 240, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 140, 60, 0.32) 58%,
    rgba(255, 255, 255, 0.06) 72%,
    transparent 100%
  );
  background-size: 42% 100%;
  background-repeat: no-repeat;
  mix-blend-mode: screen;
  animation: wead-nav-shine-rtl 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes wead-nav-shine-rtl {
  0% {
    background-position: 140% 0;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    background-position: -40% 0;
    opacity: 0;
  }
}

body.orbit-deck-home .navbar .nav-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100%;
}

body.orbit-deck-home .navbar .nav-brand,
body.orbit-deck-home .navbar .logo,
body.orbit-deck-home .wead-orbit-music-slot,
body.orbit-deck-home #nav-auth,
body.orbit-deck-home .nav-toggle {
  position: relative;
  z-index: 2;
}

body.orbit-deck-home .navbar .nav-menu a,
body.orbit-deck-home .navbar .nav-link,
body.orbit-deck-home .na-signin {
  font-family: "Manrope", "IBM Plex Sans", sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}

.wead-orbit-music-slot {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 0.5rem;
  flex: 0 0 auto;
}

/* Desktop: nav cluster slightly left of center — clears music / auth on the right */
@media (min-width: 900px) {
  body.orbit-deck-home .navbar .nav-menu {
    position: absolute;
    left: 38%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10050;
    margin: 0;
    max-width: calc(100% - 420px);
    overflow: visible;
  }

  body.orbit-deck-home .navbar .nav-dropdown {
    position: relative;
    z-index: 10051;
  }

  body.orbit-deck-home .navbar .nav-dropdown-menu {
    z-index: 10060 !important;
  }

  body.orbit-deck-home .navbar .nav-brand {
    flex-shrink: 0;
  }

  /* Music + Sign In stay as a right cluster with breathing room */
  body.orbit-deck-home .wead-orbit-music-slot {
    margin-left: auto;
    margin-right: 0.65rem;
    z-index: 2;
  }

  body.orbit-deck-home #nav-auth {
    flex-shrink: 0;
    z-index: 2;
  }
}

@media (min-width: 900px) and (max-width: 1200px) {
  body.orbit-deck-home .navbar .nav-menu {
    left: 34%;
    max-width: calc(100% - 380px);
  }
}

body.orbit-deck-home .wead-orbit {
  margin-top: 0;
}

/* Kill global styles.css h1 gold gradient — match Mini: white We + orange AD */
body.orbit-deck-home h1.orbit-brand,
body.orbit-deck-home .orbit-brand {
  font-family: Syne, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  line-height: 0.95 !important;
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.55) !important;
}

body.orbit-deck-home .orbit-brand span {
  color: #ff6a3d !important;
  -webkit-text-fill-color: #ff6a3d !important;
  background: none !important;
}

/* Focus card removed on wead.live — no box over the title */
body.orbit-deck-home .orbit-focus,
body.orbit-deck-home #orbitFocusSlot {
  display: none !important;
}

body.orbit-deck-home .orbit-home > .orbit-stage {
  padding-top: calc(4.25rem + env(safe-area-inset-top, 0px));
}

/* Below Coming: video + partners */
.orbit-below {
  position: relative;
  z-index: 5;
  background: var(--orbit-ink, #07080c);
  padding: 1.5rem 1.25rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.orbit-below .section-title {
  font-family: Syne, sans-serif;
  font-weight: 700;
  color: #fff !important;
}

.orbit-below .section-subtitle {
  color: rgba(255, 255, 255, 0.55) !important;
}

.orbit-below #weadVideo {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-below .video-nav-btn {
  background: rgba(0, 200, 255, 0.12) !important;
  border: 1px solid rgba(0, 230, 255, 0.35) !important;
  color: #fff !important;
}

.orbit-below .logo-scroll-container {
  margin-top: 1rem;
}

/* Discover WeAD title — don't inherit global uppercase gold h2 look */
body.orbit-deck-home .orbit-below .section-title {
  font-family: Syne, sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

/*
 * Coming rail marquee (Mini parity): Stream Vault + Clean Earn cycle into view.
 * Overflow hidden on the rail; duplicated chip sets animate translateX(-50%).
 */
body.orbit-deck-home .orbit-coming {
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  position: relative;
}

body.orbit-deck-home .orbit-coming::after {
  content: "";
  position: absolute;
  top: 2.5rem;
  right: 0;
  bottom: 0.25rem;
  width: 2.75rem;
  z-index: 7;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--orbit-ink, #07080c));
}

body.orbit-deck-home .orbit-coming-rail {
  position: relative;
  z-index: 6;
  cursor: default;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 0.15rem;
  user-select: none;
}

body.orbit-deck-home .orbit-coming-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: orbit-coming-marquee 42s linear infinite;
}

body.orbit-deck-home .orbit-coming-set {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  flex: 0 0 auto;
  padding-right: 0.75rem;
  box-sizing: content-box;
}

body.orbit-deck-home .orbit-coming-rail:hover .orbit-coming-track,
body.orbit-deck-home .orbit-coming-rail:focus-within .orbit-coming-track,
body.orbit-deck-home .orbit-coming-rail.is-paused .orbit-coming-track {
  animation-play-state: paused;
}

@keyframes orbit-coming-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.orbit-deck-home .orbit-coming-track {
    animation: none;
  }
}

body.orbit-deck-home .orbit-chip {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 1;
  position: relative;
}

body.orbit-deck-home .orbit-chip img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 899px) {
  .wead-orbit-music-slot {
    max-width: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.orbit-deck-home .navbar::after {
    animation: none !important;
  }
}

/*
 * DO NOT redefine @keyframes hub-nav-shine here.
 * orbit-home.css uses it for .orbit-chip::after shine (Mini parity).
 * A prior stub with opacity:0 killed Coming-card shine on wead.live.
 */
