
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  --font-family-inter-tight: "Inter Tight", Inter, system-ui, sans-serif;
  --gradient-button-outline: linear-gradient(90deg, #FBA395 0%, #BBBFF4 50%, #B5BFFF 100%);
  --roundings-round: 999px;
  --spacing-24: 24px;
  --spacing-8: 8px;
  --transition: 100ms linear;
  --font-weight-medium: 500;
  --font-size-text-s: 14px;
  --font-line-height-text-s: 21px;
  --font-letter-spacing-text-s: 0.1px;
  --Colors-Violet-900: #4B4578;
  --fg-primary-rest: #EBEBEE;
  --stroke-controls-other-active: rgba(235, 235, 238, 0.15);
}

/* Keep page dark behind pinned hero */
body.body {
  background: #030405 !important;
}

.hero-bottom-right-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% -5%, rgba(160, 130, 255, 0.35), transparent 60%),
    radial-gradient(ellipse 40% 35% at 88% 8%, rgba(120, 100, 220, 0.22), transparent 65%),
    linear-gradient(165deg, rgba(90, 70, 160, 0.18), transparent 42%),
    #030405;
  background-size: cover;
  background-position: center top;
}

.hero-section {
  background: #030405 !important;
}

.btn-outline {
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid rgba(235,235,238,.45);
  background: transparent;
  color: #EBEBEE;
  -webkit-text-fill-color: #EBEBEE;
  font-family: var(--font-family-inter-tight);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 42px;
  height: 42px;
  box-sizing: border-box;
}
.btn-outline:hover { opacity: .9; color: #fff; }

.hero-card-tag-simple {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(196, 181, 255, 0.16);
  color: #C4B5FF;
  font: 500 13px/1.2 var(--font-family-inter-tight);
  margin-bottom: 12px;
}

.hero-card-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(235,235,238,.65);
  font: 400 14px/1.4 var(--font-family-inter-tight);
  margin: 6px 0;
}
.hero-card-detail-item svg { flex: 0 0 auto; opacity: .8; }

/* Ensure pin spacer doesn't break Laylo layout badly */
.pin-spacer {
  background: #030405;
}

/* Hide loop clone except during wrap animation (JS toggles visibility) */
.hero-card-clone,
.hero-card[data-clone="true"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.hero-card-clone.is-looping,
.hero-card[data-clone="true"].is-looping,
.hero-card[data-marquee-clone="true"] {
  opacity: 1 !important;
  visibility: visible !important;
}


/* Performance: cut expensive paint work during scroll */
.hero-card-inner,
.hero-card[data-index="0"] .hero-card-inner,
.hero-card[data-index="1"] .hero-card-inner,
.hero-card[data-index="2"] .hero-card-inner {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #171620 !important;
}

.hero-section.horizontal-slider-active .hero-card-inner::before {
  display: none !important;
  filter: none !important;
}

.hero-slider-arrow-bg,
.hero-slider-right-ellipse,
.hero-slider-right-element {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-card,
.hero-slider,
.hero-heading {
  will-change: transform;
}

/* Push hero title lower / more centered between nav and cards */
.hero-heading {
  padding-top: clamp(7.5rem, 22vh, 14rem) !important;
}

@media (min-width: 1401px) {
  .hero-heading {
    padding-top: clamp(9rem, 24vh, 16rem) !important;
  }
}

@media (min-height: 900px) {
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
  }
  .hero-heading {
    padding-top: clamp(8rem, 26vh, 17rem) !important;
  }
}

/* Drop the card strip a bit lower in the viewport */
.hero-slider-offset-wrapper {
  transform: translateY(64%) !important;
}

.hero-section.horizontal-slider-active .hero-slider-offset-wrapper {
  transform: translateY(58%) !important;
}

/* Hide hero pagination dots + side arrows (continuous marquee instead) */
.hero-slider-pagination,
.hero-section.horizontal-slider-active .hero-slider-pagination,
.hero-slider-arrow,
.hero-section.horizontal-slider-active .hero-slider-arrow {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.hero-slider,
.hero-slider-offset-wrapper,
.hero-container {
  overflow: visible !important;
}

.gx-fan-section,
.calloutsection {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

/* Show full poster (titles top + bottom) instead of cropping with cover */
.hero-card-poster {
  background: #000;
}
.hero-card-poster img {
  object-fit: contain !important;
  object-position: center center;
}
.hero-section-mobile .hero-mobile-card-poster {
  background: #000;
}
.hero-section-mobile .hero-mobile-card-poster img {
  object-fit: contain !important;
  object-position: center center;
}

/* New GAOXI wordmark — keep color (Webflow .brand uses luminosity blend) */
.neuenav-brand .brand,
.neuenav-brand img.brand,
img.brand[src*="gaoxi-logo"] {
  mix-blend-mode: normal !important;
  width: auto;
  height: 2.25rem;
  max-height: 2.5rem;
  max-width: 11rem;
  object-fit: contain;
}

/* Hide cookie consent UI if any remnant remains */
.neuecookieconsent-wrapper,
[fs-cc="banner"],
#hs-eu-cookie-confirmation,
#hs-banner-parent,
div[id^="cookieBanner"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ---- Mobile / tablet hero (<1024) ---- */
.hero-section-mobile {
  display: none;
}

@media (max-width: 1023px) {
  .hero-section {
    display: none !important;
  }

  .hero-section-mobile {
    display: block !important;
    position: relative;
    background: #030405 !important;
    padding-bottom: 40px;
    overflow-x: clip;
  }

  .hero-section-mobile .hero-bottom-right-image {
    background-image: none;
    background:
      radial-gradient(ellipse 70% 50% at 80% 100%, rgba(160, 130, 255, 0.28), transparent 65%),
      radial-gradient(ellipse 50% 40% at 10% 0%, rgba(120, 100, 220, 0.2), transparent 60%),
      #030405;
  }

  .hero-section-mobile .hero-heading {
    padding-top: 0 !important;
    margin-top: calc(72px + 2.5rem);
  }

  .hero-section-mobile .hero-heading-content {
    margin: 0;
  }

  .hero-section-mobile .hero-title {
    font-size: clamp(1.75rem, 7vw, 2rem);
    line-height: 1.2;
  }

  .hero-section-mobile .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
    opacity: 0.85;
    margin-top: 0.65rem;
  }

  .hero-section-mobile .hero-mobile-slider {
    margin-top: 1.75rem;
    scrollbar-width: none;
  }

  .hero-section-mobile .hero-mobile-card {
    min-height: 0;
  }

  .hero-section-mobile .hero-mobile-card-poster {
    position: relative;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: min(52vh, 420px);
    border-radius: 20px;
    overflow: hidden;
  }

  .hero-section-mobile .hero-mobile-card-poster-inner {
    position: absolute;
    inset: 0;
  }

  .hero-section-mobile .hero-mobile-card-poster {
    background: #000;
  }

  .hero-section-mobile .hero-mobile-card-poster img {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    transform: none !important;
    object-fit: contain !important;
    object-position: center center;
    border-radius: 20px;
  }

  .hero-section-mobile .hero-mobile-card-content {
    border-radius: 24px;
    background: #171620;
    gap: 16px;
  }

  .hero-section-mobile .hero-mobile-card-title {
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .hero-section-mobile .hero-mobile-pagination {
    margin-top: 20px;
  }

  /* Avoid desktop will-change / pin side-effects on small screens */
  .pin-spacer {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hero-section-mobile {
    display: none !important;
  }
}

