/* Haske247 GoLive V7.5.1 - focused theme contrast corrections.
 * Loaded AFTER audio.css, spaces-ui.css, golive-next.css and golive-minimal-v7.css.
 * No changes to room logic, RTC, chat requests or payment features. */

/* The global light theme includes :root[data-theme=light] h2!important, which
 * otherwise overrides the white lettering on the permanently dark hero.
 * Explicitly scope hero contrast to both saved theme values. */
:root[data-theme="light"] body.golive-spaces .gl-next-hero,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero{
  background:radial-gradient(circle at 78% 8%,rgba(174,93,255,.38),transparent 34%),linear-gradient(120deg,#171127,#241d55 56%,#191638)!important;
  color:#fff!important;
}
:root[data-theme="light"] body.golive-spaces .gl-next-hero h2,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero h2{color:#fff!important}
:root[data-theme="light"] body.golive-spaces .gl-next-hero h2 span,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero h2 span{color:#e7bcff!important}
:root[data-theme="light"] body.golive-spaces .gl-next-hero p,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero p{color:#e0daee!important;opacity:1!important}
:root[data-theme="light"] body.golive-spaces .gl-next-hero .gl-next-eyebrow,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero .gl-next-eyebrow{color:#eee0ff!important}

/* The generic light-theme button skin was replacing the hero CTA. */
:root[data-theme="light"] body.golive-spaces .gl-next-hero button.gl-next-primary,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero button.gl-next-primary{
  background:#f6d762!important;color:#241736!important;border-color:transparent!important;
  box-shadow:0 8px 22px rgba(0,0,0,.14)!important;
}
:root[data-theme="light"] body.golive-spaces .gl-next-hero a.gl-next-secondary,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero a.gl-next-secondary{
  background:rgba(255,255,255,.12)!important;color:#fff!important;
  border-color:rgba(255,255,255,.26)!important;
}
:root[data-theme="light"] body.golive-spaces .gl-next-hero a.gl-next-secondary:hover,
:root[data-theme="dark"] body.golive-spaces .gl-next-hero a.gl-next-secondary:hover{
  background:rgba(255,255,255,.20)!important;
}
/* Make the prominent theme switch visible and readable in both modes. */
:root[data-theme="light"] body.golive-spaces .theme-toggle{color:#39215f!important;background:#f3edff!important}
:root[data-theme="dark"] body.golive-spaces .theme-toggle{color:#ffd66f!important;background:#172238!important}

/* Respect the existing lobby-only banner behavior. */
body.golive-spaces:has(#live:not([hidden])) .gl-next-hero{display:none!important}

@media (prefers-reduced-motion:reduce){
  body.golive-spaces .gl-next-hero *,body.golive-spaces .theme-toggle{transition:none!important}
}
