/* 99GG premium experience v4
   Camada visual independente. Nao altera componentes de saldo, jogos ou pagamentos. */

:root {
  --gg-navy-950: #031431;
  --gg-navy-900: #051d49;
  --gg-blue-800: #073d96;
  --gg-blue-700: #075dcc;
  --gg-blue-500: #1189ff;
  --gg-cyan-400: #39d7ff;
  --gg-green-500: #08bf6f;
  --gg-green-400: #29e59a;
  --gg-gold-400: #ffd95a;
  --gg-gold-500: #ffbd2e;
  --gg-white: #fff;
  --gg-text-soft: #cfe3ff;
  --gg-line: rgba(133, 198, 255, .22);
  --gg-shadow: 0 14px 36px rgba(0, 15, 58, .32);
}

html[theme="embraerBlue"] body.gg-premium-active {
  color: var(--gg-white);
  background:
    radial-gradient(circle at 50% -10%, rgba(31, 133, 255, .2), transparent 36%),
    linear-gradient(160deg, #061a40 0%, #0a3d91 50%, #061a40 100%);
}

body.gg-premium-active [class*="_h5PageContentBox_"] {
  background-color: var(--gg-navy-900);
}

/* Header */
html[theme="embraerBlue"] body.gg-route-home [class*="_headerBox_15jvu_"] {
  background:
    radial-gradient(circle at 42% -90%, rgba(63, 206, 255, .26), transparent 56%),
    linear-gradient(110deg, #06265f 0%, #0749a8 52%, #073783 100%) !important;
  border-bottom: 1px solid rgba(122, 207, 255, .22);
  box-shadow: 0 8px 28px rgba(0, 18, 69, .32);
}

body.gg-route-home [class*="_headerBox_15jvu_"]::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 225, 255, .68), transparent);
  pointer-events: none;
}

body.gg-route-home [class*="_moneyBox_15jvu_"] {
  border: 1px solid rgba(91, 211, 255, .32);
  border-radius: 999px;
  background: rgba(3, 24, 68, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 5px 14px rgba(0, 13, 55, .22);
}

body.gg-route-home [class*="_despositBtn_15jvu_"] {
  border: 1px solid rgba(89, 255, 177, .72) !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #09c976 0%, #07975c 100%) !important;
  box-shadow: 0 7px 18px rgba(0, 180, 101, .28), inset 0 1px 0 rgba(255, 255, 255, .24);
  font-weight: 800 !important;
}

body.gg-route-home [class*="_loginBtn_15jvu_"],
body.gg-route-home [class*="_registerBtn_15jvu_"] {
  border-radius: 9px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}

/* Carousel and information strip */
body.gg-route-home [class*="_carouselBox_s64lj_"] {
  filter: drop-shadow(0 12px 18px rgba(0, 17, 65, .26));
}

body.gg-route-home [class*="_bannerItemBox_11bva_"] img {
  border: 1px solid rgba(119, 210, 255, .32);
  border-radius: 20rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

html[theme="embraerBlue"] body.gg-route-home [class*="_noticeBox_ygpb9_"] {
  width: calc(100% - 20px);
  height: 34px;
  margin: 0 10px;
  padding: 0 10px;
  border: 1px solid rgba(112, 196, 255, .2);
  border-radius: 10px;
  color: #e7f4ff;
  background: linear-gradient(90deg, rgba(3, 28, 76, .8), rgba(8, 75, 162, .74)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

html[theme="embraerBlue"] body.gg-route-home [class*="_noticeBox_ygpb9_"] [class*="_voiceIconBox_"] svg * {
  fill: var(--gg-cyan-400) !important;
}

/* Category navigation */
html[theme="embraerBlue"] body.gg-route-home [class*="_gameTabsBox_1pby2_"] {
  border-bottom: 1px solid rgba(113, 193, 255, .18);
  background: rgba(5, 39, 96, .93) !important;
  box-shadow: 0 9px 24px rgba(0, 19, 67, .2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.gg-route-home [class*="_tabItemBox_1pby2_"] {
  border-radius: 10px;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

body.gg-route-home [class*="_tabItemBox_1pby2_"]:active {
  transform: translateY(1px) scale(.98);
}

body.gg-route-home [class*="_tabItemBox_1pby2_"][class*="_select_1pby2_"],
body.gg-route-home [class*="_select_1pby2_"] {
  background: linear-gradient(180deg, rgba(26, 140, 255, .22), rgba(3, 36, 88, .22));
  box-shadow: inset 0 0 0 1px rgba(65, 217, 255, .2);
}

/* Jackpot */
body.gg-route-home [class*="_pot_container_1gbfi_"] {
  border: 1px solid rgba(91, 201, 255, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(8, 68, 151, .45), rgba(3, 29, 77, .2));
  box-shadow: 0 12px 30px rgba(0, 19, 71, .3), inset 0 1px 0 rgba(255, 255, 255, .08);
}

body.gg-route-home [class*="_pot_container_1gbfi_"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .08) 48%, transparent 66%);
  transform: translateX(-110%);
  animation: gg-jackpot-sheen 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gg-jackpot-sheen {
  0%, 70%, 100% { transform: translateX(-110%); }
  84% { transform: translateX(110%); }
}

/* Games */
body.gg-route-home [class*="_headBox_ago9m_"],
body.gg-route-home [class*="_headBox_im7sw_"] {
  margin-top: 8px;
}

body.gg-route-home [class*="_headBox_ago9m_"] [class*="_leftBox_"],
body.gg-route-home [class*="_headBox_im7sw_"] [class*="_leftBox_"] {
  font-weight: 850;
  letter-spacing: .01em;
}

body.gg-route-home [class*="_logoBox_a99ex_"],
body.gg-route-home [class*="_logoBox_ago9m_"],
body.gg-route-home [class*="_logoBox_im7sw_"],
body.gg-route-home [class*="_logoBox_18nth_"] {
  border: 1px solid rgba(92, 198, 255, .25);
  border-radius: 14px !important;
  background: #08275f;
  box-shadow: 0 10px 22px rgba(0, 15, 58, .26), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.gg-route-home [class*="_logoBox_a99ex_"]:hover,
body.gg-route-home [class*="_logoBox_ago9m_"]:hover,
body.gg-route-home [class*="_logoBox_im7sw_"]:hover,
body.gg-route-home [class*="_logoBox_18nth_"]:hover {
  border-color: rgba(255, 214, 72, .62);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 15, 58, .34), 0 0 0 1px rgba(255, 205, 60, .1);
}

body.gg-route-home [class*="_logoBox_a99ex_"] > img,
body.gg-route-home [class*="_logoBox_ago9m_"] > img,
body.gg-route-home [class*="_logoBox_im7sw_"] > img,
body.gg-route-home [class*="_logoBox_18nth_"] > img {
  transition: transform .24s ease;
}

body.gg-route-home [class*="_logoBox_a99ex_"]:hover > img,
body.gg-route-home [class*="_logoBox_ago9m_"]:hover > img,
body.gg-route-home [class*="_logoBox_im7sw_"]:hover > img,
body.gg-route-home [class*="_logoBox_18nth_"]:hover > img {
  transform: scale(1.025);
}

/* Remove somente as etiquetas de preço sobre as três raspadinhas. */
body.gg-route-home .gg-hide-scratch-price {
  display: none !important;
}

/* Benefits hub */
.gg-benefits,
.gg-benefits * {
  box-sizing: border-box;
}

.gg-benefits {
  margin: 12px 10px 6px;
  color: var(--gg-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gg-benefits__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 9px;
}

.gg-benefits__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--gg-cyan-400);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.gg-benefits__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gg-green-400);
  box-shadow: 0 0 10px rgba(41, 229, 154, .72);
}

.gg-benefits h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.02em;
}

.gg-benefits__all {
  flex: 0 0 auto;
  padding: 6px 8px;
  border: 1px solid rgba(91, 201, 255, .26);
  border-radius: 999px;
  color: #d9efff;
  background: rgba(3, 30, 77, .56);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.gg-benefits__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 86%);
  gap: 9px;
  overflow-x: auto;
  padding: 1px 1px 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gg-benefits__rail::-webkit-scrollbar { display: none; }

.gg-benefit-card {
  position: relative;
  isolation: isolate;
  min-height: 130px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(109, 207, 255, .3);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 10%, rgba(40, 207, 255, .25), transparent 38%),
    linear-gradient(135deg, #083c93 0%, #062865 60%, #041c48 100%);
  box-shadow: var(--gg-shadow), inset 0 1px 0 rgba(255, 255, 255, .1);
  scroll-snap-align: start;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.gg-benefit-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  right: -62px;
  bottom: -94px;
  border: 25px solid rgba(82, 201, 255, .08);
  border-radius: 50%;
}

.gg-benefit-card:focus-visible {
  outline: 3px solid var(--gg-gold-400);
  outline-offset: 2px;
}

.gg-benefit-card--deposit {
  border-color: rgba(255, 214, 76, .38);
  background:
    radial-gradient(circle at 94% 12%, rgba(255, 207, 54, .26), transparent 38%),
    linear-gradient(135deg, #0b58c7 0%, #073982 55%, #052457 100%);
}

.gg-benefit-card--referral {
  background:
    radial-gradient(circle at 92% 14%, rgba(36, 236, 160, .24), transparent 36%),
    linear-gradient(135deg, #07577f 0%, #074589 48%, #05265e 100%);
}

.gg-benefit-card--support {
  background:
    radial-gradient(circle at 92% 14%, rgba(70, 154, 255, .32), transparent 38%),
    linear-gradient(135deg, #123f91 0%, #102c69 60%, #071d47 100%);
}

.gg-benefit-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 25, 67, .44);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.gg-benefit-card__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gg-green-400);
}

.gg-benefit-card h3 {
  max-width: 70%;
  margin: 7px 0 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.gg-benefit-card h3 strong {
  color: var(--gg-gold-400);
  font-size: 21px;
}

.gg-benefit-card p {
  max-width: 68%;
  margin: 0;
  color: #d9ebff;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.36;
}

.gg-benefit-card__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.gg-benefit-card__action::after {
  content: "→";
  color: var(--gg-gold-400);
  font-size: 13px;
  transition: transform .18s ease;
}

.gg-benefit-card:hover .gg-benefit-card__action::after { transform: translateX(3px); }

.gg-benefit-card__mascot {
  position: absolute;
  z-index: -1;
  right: -15px;
  bottom: -17px;
  width: 146px;
  height: 146px;
  object-fit: contain;
  filter: drop-shadow(0 9px 14px rgba(0, 10, 42, .36));
  pointer-events: none;
}

.gg-benefit-card__icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 17px;
  color: #fff;
  background: rgba(3, 28, 75, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

.gg-benefit-card__icon svg {
  width: 30px;
  height: 30px;
}

.gg-benefits__note {
  margin: 2px 2px 0;
  color: rgba(214, 233, 255, .7);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.35;
}

/* Promotions page */
body.gg-route-activity [class*="_HeadTabPage_body_"] {
  background:
    radial-gradient(circle at 50% 0%, rgba(35, 137, 255, .17), transparent 34%),
    linear-gradient(180deg, #0a3a8d 0%, #082e73 54%, #061f52 100%);
}

.gg-promo-intro,
.gg-promo-intro * { box-sizing: border-box; }

.gg-promo-intro {
  position: relative;
  overflow: hidden;
  margin: 10px 10px 11px;
  padding: 15px 14px;
  border: 1px solid rgba(116, 207, 255, .3);
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 205, 54, .2), transparent 34%),
    linear-gradient(135deg, rgba(10, 83, 187, .98), rgba(4, 39, 96, .98));
  box-shadow: var(--gg-shadow), inset 0 1px 0 rgba(255, 255, 255, .1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gg-promo-intro::after {
  content: "99";
  position: absolute;
  right: 11px;
  top: -13px;
  color: rgba(255, 255, 255, .07);
  font-size: 88px;
  font-weight: 950;
  letter-spacing: -.09em;
  line-height: 1;
}

.gg-promo-intro__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gg-green-400);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.gg-promo-intro__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.gg-promo-intro h1 {
  position: relative;
  z-index: 1;
  margin: 5px 0 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.gg-promo-intro p {
  position: relative;
  z-index: 1;
  max-width: 75%;
  margin: 0;
  color: #d8ebff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.gg-promo-intro__quick {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 12px;
}

.gg-promo-intro__quick a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #fff;
  background: rgba(3, 27, 71, .52);
  font-size: 10px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.gg-promo-intro__quick a:first-child {
  border-color: rgba(74, 255, 172, .35);
  background: linear-gradient(135deg, rgba(9, 193, 112, .98), rgba(6, 132, 80, .98));
}

body.gg-route-activity .activity_list {
  padding: 0 10px 96px !important;
}

body.gg-route-activity .activity_list_item {
  overflow: hidden;
  margin-bottom: 10px !important;
  border: 1px solid rgba(108, 200, 255, .26);
  border-radius: 15px !important;
  background: rgba(5, 39, 96, .58);
  box-shadow: 0 11px 26px rgba(0, 17, 64, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: transform .18s ease, border-color .18s ease;
}

body.gg-route-activity .activity_list_item:active { transform: scale(.988); }

body.gg-route-activity .activity_list_item img {
  display: block;
  width: 100%;
  border-radius: inherit;
}

/* Bottom navigation */
html[theme="embraerBlue"] body.gg-premium-active [class*="_homebarsBox_ad37q_"] {
  border-top: 1px solid rgba(105, 204, 255, .25) !important;
  background: linear-gradient(180deg, rgba(6, 45, 108, .94), rgba(3, 27, 72, .98)) !important;
  box-shadow: 0 -12px 34px rgba(0, 15, 58, .34) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.gg-premium-active [class*="_homebarsBox_ad37q_"] > div {
  border-radius: 10px;
  transition: background-color .18s ease, transform .18s ease;
}

body.gg-premium-active [class*="_homebarsBox_ad37q_"] > div:active {
  transform: translateY(1px) scale(.97);
}

body.gg-premium-active [class*="_homebarsBox_ad37q_"] > [class*="_active_ad37q_"] {
  background: linear-gradient(180deg, rgba(20, 142, 255, .18), rgba(6, 71, 157, .08));
}

/* WhatsApp button: visually consistent with the refreshed shell */
body.gg-premium-active #gg-support-whatsapp {
  border-color: rgba(86, 222, 255, .48);
  background: linear-gradient(135deg, #0c83f4 0%, #0749ae 100%);
  box-shadow: 0 14px 34px rgba(0, 17, 70, .42), inset 0 1px 0 rgba(255, 255, 255, .22);
}

@media (min-width: 600px) {
  body.gg-premium-active [class*="_h5PageContentBox_"] {
    max-width: 520px;
    border-right: 1px solid rgba(116, 203, 255, .18);
    border-left: 1px solid rgba(116, 203, 255, .18);
    box-shadow: 0 0 70px rgba(0, 11, 48, .42);
  }

  .gg-benefits__rail {
    grid-auto-flow: initial;
    grid-template-columns: 1.35fr 1fr 1fr;
    overflow: visible;
  }

  .gg-benefit-card { min-height: 142px; }
}

@media (max-width: 350px) {
  .gg-benefits { margin-right: 8px; margin-left: 8px; }
  .gg-benefits__rail { grid-auto-columns: 91%; }
  .gg-benefit-card { min-height: 126px; padding: 12px; }
  .gg-benefit-card h3 { font-size: 16px; }
  .gg-benefit-card h3 strong { font-size: 19px; }
  .gg-benefit-card__mascot { right: -20px; width: 136px; height: 136px; }
}

@media (prefers-reduced-motion: reduce) {
  body.gg-premium-active *,
  body.gg-premium-active *::before,
  body.gg-premium-active *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

