/* Rebrand visual do demonstrativo VOY. O contêiner e a grade original ficam intactos. */
:root {
  --voy-burgundy: #760b1b;
  --voy-deep-red: #650817;
  --voy-panel-red: #861321;
  --voy-card-red: #9a1d2d;
  --voy-gold: #ffd23f;
  --voy-soft-pink: #dfa0a7;
}

html,
body {
  background-color: #a42a3b !important;
  background-image: url('/uploads/brand-voy/background-pattern.png') !important;
  background-repeat: repeat !important;
  background-attachment: fixed;
  color: #fff;
}

#root {
  background-color: transparent !important;
  background-image: none !important;
}

#preloader {
  background-color: var(--voy-panel-red) !important;
  background-image: url('/uploads/brand-voy/background-pattern.png') !important;
}

[class*='_headerBox_'] {
  background-color: var(--voy-burgundy) !important;
  border-bottom: 1px solid rgba(255, 210, 63, .18) !important;
}

[class*='_login-btn_'] {
  color: var(--voy-gold) !important;
  border: 1px solid var(--voy-gold) !important;
  border-radius: 10px !important;
}

[class*='_register-btn_'] {
  color: #6b0a18 !important;
  background-color: var(--voy-gold) !important;
  border-radius: 10px !important;
}

[class*='_carouselBox_'] {
  border-radius: 13px;
}

[class*='_bannerItemBox_'] {
  overflow: hidden;
  border-radius: 13px;
}

[class*='_noticeBox_'] {
  overflow: hidden !important;
  background-color: var(--voy-burgundy) !important;
  color: #f4c8cc !important;
}

.voy-app-strip {
  display: grid;
  grid-template-columns: 24px minmax(105px, 1.35fr) minmax(94px, 1fr) 78px;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  padding: 3px 6px;
  background: #690715;
  color: #fff;
  font: 12px/1.1 Arial, sans-serif;
}

.voy-app-strip__close {
  padding: 0;
  border: 0;
  background: transparent;
  color: #e6a4aa;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
}

.voy-app-strip__logo {
  display: block;
  width: 100%;
  max-width: 220px;
  object-fit: contain;
}

.voy-app-strip__copy {
  color: #fff;
}

.voy-app-strip__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--voy-gold);
  color: #5e0814;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

#voy-jackpot {
  position: relative;
  width: 100%;
  aspect-ratio: 1140 / 270;
  margin: 5px auto 2px;
  background: url('/uploads/brand-voy/jackpot-background.webp') center / 100% 100% no-repeat;
  overflow: hidden;
}

.voy-jackpot__count {
  position: absolute;
  top: 60%;
  left: 22%;
  width: 56%;
  transform: translateY(-50%);
  color: #ffe433;
  font: 900 clamp(18px, 5.1vw, 27px)/1 Arial, sans-serif;
  letter-spacing: .035em;
  text-align: center;
  text-shadow: 0 2px 2px #3d0710, 0 0 7px rgba(255, 214, 32, .45);
  white-space: nowrap;
}

.voy-marquee-track {
  display: inline-block;
  min-width: 100%;
  padding-left: 100%;
  color: #dfa0a7;
  white-space: nowrap;
  animation: voy-marquee-scroll 38s linear infinite;
}

@keyframes voy-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

#voy-special-games {
  padding: 1px 13px 12px;
  color: #fff;
}

.voy-special-games__title {
  margin: 3px 0 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.voy-special-games__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.voy-special-games__track::-webkit-scrollbar {
  display: none;
}

.voy-special-card {
  position: relative;
  flex: 0 0 94px;
  height: 136px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--voy-card-red);
  cursor: pointer;
  scroll-snap-align: start;
}

.voy-special-card__image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.voy-special-card__shade {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(42, 2, 9, .85));
}

.voy-special-card__name {
  position: absolute;
  right: 4px;
  bottom: 7px;
  left: 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 2px #24020a;
}

[class*='_gameTabsBox_1i1na_'] {
  background-color: rgba(119, 10, 27, .96) !important;
  border-top: 1px solid rgba(255, 210, 63, .14) !important;
}

[class*='_gameTabs_1i1na_'] {
  color: var(--voy-soft-pink) !important;
}

[class*='_gameTabs_1i1na_'] [aria-selected='true'],
[class*='_gameTabs_1i1na_'] [class*='active'] {
  color: var(--voy-gold) !important;
}

[class*='_typeGameBox_'] {
  color: #fff;
}

[class*='_gameItem_'],
[class*='poster-image'] {
  border-radius: 12px !important;
}

[class*='_gameTabsBox_1xdus_'],
[class*='_gameTabsBoxs_1xdus_'] {
  background-color: #85111f !important;
}

[class*='_gameTabsBoxs_1xdus_'] > * {
  border-color: rgba(255, 210, 63, .12) !important;
}

[class*='_gameTabsTitle_1xdus_'] {
  color: var(--voy-gold) !important;
}

[class*='_modalBox_'] {
  background-color: rgba(35, 0, 7, .72) !important;
}

[class*='_loginBox_'] {
  background-color: #79101f !important;
  border: 1px solid rgba(255, 210, 63, .22) !important;
  border-radius: 16px !important;
}

[class*='_buttonComponent_'][class*='_type-primary_'] {
  background-color: var(--voy-gold) !important;
  color: #620a16 !important;
}

#_jurosModal {
  background: rgba(36, 0, 8, .9) !important;
}

._jurosBox,
._jurosHeader {
  background: #76101f !important;
}

._jurosSaldo,
._jurosInfo,
._jurosInvestir,
._jurosRegras {
  background: rgba(124, 17, 32, .86) !important;
  border-color: rgba(255, 210, 63, .16) !important;
}

._jurosTab.ativo,
._jurosTab.ativo::after,
._jurosInvestirBtn {
  color: #650a15 !important;
  background: var(--voy-gold) !important;
}

@media (max-width: 360px) {
  .voy-app-strip {
    grid-template-columns: 22px minmax(90px, 1fr) 78px;
  }

  .voy-app-strip__copy {
    display: none;
  }
}
