/* ── Site header (logo + menu) ── */
.home-page main {
  position: relative;
  background: #fff;
}

.home-page .gameon-logo-white.static {
  position: absolute;
  top: 20px;
  left: 28px;
  z-index: 10;
  width: 72px;
  height: auto;
  pointer-events: none;
}

.home-page .nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
}

.home-page .nav__button-open {
  top: 24px;
  right: 28px;
  z-index: 12;
}

.home-page .nav__toggle-button__line {
  background: #fff !important;
}

.home-page.nav--open .nav__toggle-button__line,
.home-page .nav--open .nav__toggle-button__line {
  background: #fff !important;
}

/* ── Hero carousel area ── */
.home-page .hero-chat-wrap {
  position: relative;
  min-height: 460px;
  height: 75vh;
  max-height: 760px;
  overflow: hidden;
}

@media only screen and (min-width: 1024px) {
  .home-page .hero-chat-wrap {
    height: 80vh;
    max-height: 820px;
  }

  .home-page .gameon-logo-white.static {
    top: 36px;
    left: 64px;
    width: 98px;
  }

  .home-page .nav__button-open {
    top: 44px;
    right: 64px;
  }
}

/* ── Hero content – sits below logo, not on top of it ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding: 120px 28px 190px;
  pointer-events: none;
}

.hero-overlay__inner {
  max-width: 520px;
  pointer-events: auto;
}

.hero-overlay__eyebrow {
  display: none;
}

.hero-overlay__title {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(26px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-overlay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-overlay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-overlay__btn:hover {
  transform: translateY(-1px);
}

.hero-overlay__btn--primary {
  background: #ffd85d;
  color: #01005a;
}

.hero-overlay__btn--primary:hover {
  background: #ffe58a;
}

.hero-overlay__btn--secondary {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.hero-overlay__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ── Slide backgrounds ── */
.carousel__slide {
  background-color: #01005a;
}

.carousel__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.14), transparent 38%),
    radial-gradient(circle at 80% 75%, rgba(0, 0, 0, 0.18), transparent 42%);
  z-index: 0;
}

.carousel__slide[data-go-carousel-slide-color="#FF0047"] {
  background: linear-gradient(145deg, #ff0047 0%, #a80035 55%, #5c001f 100%);
}

.carousel__slide[data-go-carousel-slide-color="#00664E"] {
  background: linear-gradient(145deg, #00a67e 0%, #00664e 55%, #003d2f 100%);
}

.carousel__slide[data-go-carousel-slide-color="#2069FF"] {
  background: linear-gradient(145deg, #4d8dff 0%, #2069ff 55%, #0d3d99 100%);
}

.carousel__slide[data-go-carousel-slide-color="#960073"] {
  background: linear-gradient(145deg, #d400a3 0%, #960073 55%, #4d003b 100%);
}

.carousel__slide[data-go-carousel-slide-color="#8475FF"] {
  background: linear-gradient(145deg, #a99dff 0%, #8475ff 55%, #4a3f99 100%);
}

.carousel__slide[data-go-carousel-slide-color="#6CA8FF"] {
  background: linear-gradient(145deg, #9ec5ff 0%, #6ca8ff 55%, #3d6db3 100%);
}

.carousel__slide[data-go-carousel-slide-color="#E58C02"] {
  background: linear-gradient(145deg, #ffb84d 0%, #e58c02 55%, #8a5400 100%);
}

.carousel__slide[data-go-carousel-slide-color="#FFBF00"] {
  background: linear-gradient(145deg, #ffd84d 0%, #ffbf00 55%, #997300 100%);
}

.carousel__slide[data-go-carousel-slide-color="#AA5404"] {
  background: linear-gradient(145deg, #d47a2b 0%, #aa5404 55%, #663203 100%);
}

.carousel__slide__image--enhanced {
  display: none;
}

/* Hide slide labels and leftover placeholder images */
.carousel .carousel__slide .carousel__slide__title,
.carousel .carousel__slide > img,
.carousel .carousel__slide noscript {
  display: none !important;
}

.carousel .carousel__slide {
  list-style: none;
}

/* ── Speech-bubble tail – locked to bottom only ── */
.carousel-wrapper {
  overflow: hidden;
}

.chat-tail-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  align-items: flex-end;
}

.chat-tail-spacer-start,
.chat-tail-spacer-end {
  background: #fff;
  display: block;
}

.chat-tail-wrapper svg {
  display: block;
  flex-shrink: 0;
}

.chat-tail path {
  fill: #fff;
}

/* ── Carousel controls – inside hero, above intro panel ── */
.carousel .carousel__controls {
  bottom: 108px;
  right: 32px;
  z-index: 6;
}

@media only screen and (min-width: 1024px) {
  .carousel .carousel__controls {
    bottom: 128px;
    right: 64px;
  }
}

.carousel .carousel__controls .carousel__controls__button {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.carousel .carousel__controls .carousel__controls__button:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* ── Middle intro panel (white card frame) ── */
.home-intro-panel {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1100px;
  margin: -2px auto 0;
  padding: 0 24px 48px;
  background: #fff;
}

.home-page .under-chat {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 40px 32px 48px !important;
  background: #fff;
  border: 1px solid #e8e8ee;
  border-radius: 0 16px 16px 16px;
  box-shadow: 0 8px 32px rgba(1, 0, 90, 0.08);
}

.under-chat__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: #01005a;
  max-width: 100% !important;
  width: auto !important;
}

.under-chat__text {
  margin: 0 0 20px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

.under-chat__text:last-child {
  margin-bottom: 0;
}

.under-chat__text a {
  color: #01005a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.under-chat__text a:hover {
  color: #ff0047;
}

@media only screen and (min-width: 600px) {
  .home-intro-panel {
    padding: 0 40px 56px;
  }

  .home-page .under-chat {
    padding: 48px 56px 56px !important;
    border-radius: 0 20px 20px 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .hero-overlay {
    align-items: center;
    padding: 140px 64px 210px;
  }

  .hero-overlay__inner {
    max-width: 580px;
  }

  .home-intro-panel {
    padding: 0 64px 64px;
  }

  .home-page .under-chat {
    padding: 56px 72px 64px !important;
  }

  .under-chat__title {
    margin-bottom: 32px;
  }

  .under-chat__text {
    font-size: 20px;
    line-height: 1.65;
  }
}

@media only screen and (max-width: 599px) {
  .hero-overlay {
    align-items: flex-end;
    padding: 110px 24px 170px;
  }

  .home-page .gameon-logo-white.static {
    width: 64px;
    top: 18px;
    left: 20px;
  }

  .home-page .nav__button-open {
    top: 20px;
    right: 20px;
  }

  .home-intro-panel {
    padding: 0 16px 40px;
  }

  .home-page .under-chat {
    padding: 32px 24px 40px !important;
    border-radius: 0 12px 12px 12px;
  }
}

/* Spacing before quote section */
.home-page .first-quote {
  margin-top: 0;
  padding-top: 16px;
}
