/* Visual landing page refresh. Gameplay, login and payment logic stay in the app bundle. */
#galaxsysgaming .bbh-page {
  margin-top: -47px;
  color: #f5f2ff;
  background-color: #0b0618;
  background-image: linear-gradient(rgba(9, 4, 24, .82), rgba(9, 4, 24, .90)), url('/assets/backgroundpc-light.png');
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}

body nav.fixed.top-0 {
  background: linear-gradient(180deg, rgba(12, 5, 32, .76), rgba(12, 5, 32, .12)) !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
body nav.fixed.top-0::after { display: none !important; }

#galaxsysgaming .bbh-hero {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  background: #18083f;
}
#galaxsysgaming .bbh-hero-img {
  background-image: url('/assets/backgroundpc-light.png') !important;
  background-size: cover !important;
  background-position: center 43% !important;
  filter: saturate(1.12);
}
#galaxsysgaming .bbh-hero-shade {
  background: linear-gradient(180deg, rgba(27, 5, 67, .20) 0%, rgba(41, 8, 91, .22) 48%, rgba(10, 5, 28, .92) 100%) !important;
}
#galaxsysgaming .bbh-decos { opacity: .8; }

#galaxsysgaming .bbh-hero-in {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  min-height: 930px;
  padding: 0;
  text-align: center;
}
#galaxsysgaming .bbh-hero-in > .bbh-online {
  position: absolute;
  z-index: 12;
  top: 214px;
  left: 50%;
  margin: 0;
  padding: 7px 20px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  border: 2px solid #ec3bd4;
  background: rgba(20, 5, 42, .96);
  box-shadow: 0 0 18px rgba(235, 48, 213, .50);
}
#galaxsysgaming .bbh-hero-in > .bbh-h1:first-of-type,
#galaxsysgaming .bbh-hero-in > .bbh-h1:last-of-type {
  position: absolute;
  left: 50%;
  width: min(94vw, 790px);
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: .98;
  letter-spacing: -.02em;
  text-align: center;
  white-space: nowrap;
  z-index: 8;
}
#galaxsysgaming .bbh-hero-in > .bbh-h1:first-of-type {
  top: 98px;
  color: #fff;
  text-shadow: 0 3px 0 rgba(0, 0, 0, .35), 0 8px 22px rgba(0, 0, 0, .45);
}
#galaxsysgaming .bbh-hero-in > .bbh-h1:last-of-type {
  top: 154px;
  color: #ffcf47;
  text-shadow: 0 3px 0 #7d3900, 0 8px 22px rgba(0, 0, 0, .45);
}
#galaxsysgaming .bbh-hero-in .bbh-rs { color: #00e7a1; }
#galaxsysgaming .bbh-hero-p,
#galaxsysgaming .bbh-hero-login,
#galaxsysgaming .bbh-badges { display: none !important; }

#galaxsysgaming .bbh-hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 225px;
  left: 50%;
  width: min(292px, 80vw);
  height: 540px;
  transform: translateX(-50%);
  border: 5px solid #cf4cea;
  border-radius: 30px;
  background: url('/assets/backgroundpc-light.png') center 55% / cover no-repeat, linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 12px 36px rgba(58,0,85,.64), 0 0 28px rgba(221,56,255,.54);
  pointer-events: none;
}
#galaxsysgaming .bbh-preview-frame {
  position: absolute;
  z-index: 4;
  top: 239px;
  left: 50%;
  width: min(276px, 75vw);
  height: 512px;
  padding: 6px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.38);
  border-radius: 24px;
  background: url('/assets/backgroundpc-light.png') center / cover no-repeat;
  box-shadow: 0 8px 24px rgba(8,4,31,.35);
}
#galaxsysgaming .bbh-preview-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #1b0d39 url('/assets/backgroundpc-light.png') center / cover no-repeat;
}
/* User-provided fantasy artwork is the visible backdrop behind the gameplay. */
#galaxsysgaming .bbh-hero-img {
  background-image: url('/assets/minigame-wallpaper.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
}
#galaxsysgaming .bbh-hero::after,
#galaxsysgaming .bbh-preview-frame,
#galaxsysgaming .bbh-preview-frame video {
  background-image: url('/assets/minigame-wallpaper.jpg');
  background-size: cover;
  background-position: center;
}
#galaxsysgaming .bbh-hero-in > .bbh-cta-free {
  position: absolute;
  z-index: 8;
  top: 790px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  white-space: nowrap;
}

#galaxsysgaming .bbh-stats {
  position: relative;
  z-index: 1;
  background: linear-gradient(100deg, rgba(14, 25, 54, .96), rgba(31, 15, 65, .94));
  border-color: rgba(177, 130, 255, .25);
}
#galaxsysgaming .bbh-stats { display: none !important; }
#galaxsysgaming .bbh-section {
  max-width: 1120px;
  padding: 46px 18px 48px;
}
#galaxsysgaming .bbh-h2 {
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(143, 73, 255, .36);
}
#galaxsysgaming .bbh-h2-sub { color: #c3b7e8; }
#galaxsysgaming .bbh-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
#galaxsysgaming .bbh-step {
  position: relative;
  min-width: 0;
  min-height: 220px;
  overflow: hidden;
  padding: 98px 14px 16px;
  text-align: left;
  color: #eff3ff;
  background: #101427;
  border: 1px solid rgba(143, 128, 202, .22);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(3,4,19,.28);
}
#galaxsysgaming .bbh-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#galaxsysgaming .bbh-step-1::before { background-image: url('/assets/deposito.png'); }
#galaxsysgaming .bbh-step-2::before { background-image: url('/assets/painel.png'); }
#galaxsysgaming .bbh-step-3::before {
  background-image: url('/assets/download.png');
  background-size: contain;
  background-color: #17102e;
}
#galaxsysgaming .bbh-step-4::before { background-image: url('/assets/saque.png'); }
#galaxsysgaming .bbh-step-ic { display: none !important; }
#galaxsysgaming .bbh-step h3 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
#galaxsysgaming .bbh-step p {
  margin: 0;
  color: #b6c4e7;
  font-size: 13px;
  line-height: 1.5;
}
#galaxsysgaming .bbh-quotes { gap: 16px; }
#galaxsysgaming .bbh-quote {
  background: rgba(19, 23, 45, .94);
  border-color: rgba(154, 127, 219, .22);
  border-radius: 18px;
}

@media (max-width: 900px) {
  #galaxsysgaming .bbh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #galaxsysgaming .bbh-hero { min-height: 850px; }
  #galaxsysgaming .bbh-hero-in { min-height: 850px; }
  #galaxsysgaming .bbh-hero-in > .bbh-h1:first-of-type,
  #galaxsysgaming .bbh-hero-in > .bbh-h1:last-of-type {
    width: 96vw;
    font-size: clamp(27px, 7vw, 36px);
  }
  #galaxsysgaming .bbh-hero-in > .bbh-h1:first-of-type { top: 82px; }
  #galaxsysgaming .bbh-hero-in > .bbh-h1:last-of-type { top: 124px; }
  #galaxsysgaming .bbh-hero-in > .bbh-online { top: 165px; }
  #galaxsysgaming .bbh-hero::after { top: 194px; width: min(280px, 82vw); height: 500px; }
  #galaxsysgaming .bbh-preview-frame { top: 208px; width: min(264px, 76vw); height: 474px; }
  #galaxsysgaming .bbh-hero-in > .bbh-cta-free { top: 716px; min-width: 225px; }
  #galaxsysgaming .bbh-steps { grid-template-columns: 1fr; gap: 12px; }
  #galaxsysgaming .bbh-step { min-height: 196px; }
  #galaxsysgaming .bbh-step::before { height: 88px; }
  #galaxsysgaming .bbh-step { padding-top: 104px; }
}

/* Background for the actual Bubble Blast playfield; the canvas is transparent. */
#galaxsysgaming .bb-board {
  background: url('/assets/backgroundpc-light.png') center center / cover no-repeat !important;
}

/* Plum twilight tone for the game page around the board, inspired by its wallpaper. */
#galaxsysgaming .bb-page {
  background: radial-gradient(ellipse at 50% 20%, #65466f 0%, #453050 42%, #281c36 76%, #191323 100%) !important;
}

/* Correct artwork assignment: scenic landscape on the homepage, Gemini art in-game. */
#galaxsysgaming .bbh-page,
#galaxsysgaming .bbh-hero-img,
#galaxsysgaming .bbh-hero::after,
#galaxsysgaming .bbh-preview-frame,
#galaxsysgaming .bbh-preview-frame video {
  background-image: url('/assets/backgroundpc-light.png') !important;
}
#galaxsysgaming .bbh-hero-img { background-position: center 43% !important; }
#galaxsysgaming .bbh-hero::after,
#galaxsysgaming .bbh-preview-frame,
#galaxsysgaming .bbh-preview-frame video { background-position: center center !important; }
#galaxsysgaming .bb-board {
  background-image: url('/assets/minigame-wallpaper.jpg') !important;
  background-position: center center !important;
}

/* Keep the scenic art in the hero only; use solid dark panels below for readable copy. */
#galaxsysgaming .bbh-page {
  background-color: #0b0618 !important;
  background-image: none !important;
}
#galaxsysgaming .bbh-section {
  background: #0b0618 !important;
}
#galaxsysgaming .bbh-section:has(.bbh-quotes) {
  background: #170b27 !important;
}

/* Hide the speaker toggle captured in the homepage gameplay recording. */
#galaxsysgaming .bbh-preview-frame { position: absolute; }
#galaxsysgaming .bbh-preview-frame::after {
  content: "";
  position: absolute;
  z-index: 9;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(14, 10, 30, .96);
  pointer-events: none;
}
