/* BetRJR - Carrossel V5 */

body:not(.admin) .btr-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-bottom: 22px;
  font-family: Montserrat,system-ui,sans-serif;
}

.btr-carousel-track {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.btr-carousel-card {
  position: relative;
  flex: 0 0 46.5%;
  min-width: 0;
  aspect-ratio: 12 / 5;
  overflow: hidden;
  border: 1px solid #205742;
  border-radius: 12px;
  background: #0a271d;
}

.btr-carousel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.btr-carousel-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.btr-carousel-fallback {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,#032519d9,#03251935),
    url('assets/hero.webp') center / cover;
}

.btr-carousel-copy {
  position: absolute;
  left: 6%;
  top: 50%;
  z-index: 2;
  width: 85%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btr-carousel-card.has-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,#001b15e8,#001b1520
  );
  pointer-events: none;
}

.btr-carousel-copy h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(17px,2vw,31px);
  line-height: 1.1;
  font-weight: 800;
}

.btr-carousel-copy h2 em {
  font-style: normal;
  color: #00d7a1;
}

.btr-carousel-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #e1f5eb;
}

.btr-carousel-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 10px 15px;
  border-radius: 9px;
  background: #00d7a1;
  color: #002318;
  font-size: 11px;
  font-weight: 800;
}

.btr-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #031b15d9;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.btr-carousel-arrow.prev {left:9px}
.btr-carousel-arrow.next {right:9px}

.btr-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 12px 0 0;
}

.btr-carousel-dot {
  width: 16px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #527368;
  cursor: pointer;
}

.btr-carousel-dot.active {
  width: 26px;
  background: #00d7a1;
}

.btr-carousel-pause {
  border: 0;
  background: transparent;
  color: #a6cbb9;
  font-size: 14px;
  cursor: pointer;
}

@media(max-width:850px) {
  .btr-carousel-card {
    flex-basis: 88%;
  }

  .btr-carousel-copy h2 {
    font-size: clamp(15px,4vw,25px);
  }

  .btr-carousel-copy p {
    font-size: 10px;
  }
}


/* SaqueBet: Home mobile compacta */
@media (max-width: 720px) {
  body:not(.admin) .reference-lobby #hero-slot .btr-carousel {
    margin-bottom: 12px;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-carousel-track {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    gap: 0;
    overflow: hidden;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-carousel-track > .btr-carousel-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100%;
    height: clamp(145px, 42vw, 170px) !important;
    min-height: 0 !important;
    aspect-ratio: auto;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-carousel-track > .btr-carousel-card:nth-child(n+2) {
    display: none !important;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-image-only {
    background: #0b0b15 !important;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-image-only::before,
  body:not(.admin) .reference-lobby #hero-slot .btr-image-only::after,
  body:not(.admin) .reference-lobby #hero-slot .btr-image-only .btr-full-art::before,
  body:not(.admin) .reference-lobby #hero-slot .btr-image-only .btr-full-art::after {
    content: none !important;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-image-only .btr-full-art {
    position: absolute;
    inset: 0;
    display: block;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-image-only .btr-full-art > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
  }

  body:not(.admin) .reference-lobby #hero-slot .btr-carousel-controls {
    display: flex !important;
    justify-content: center;
    padding-top: 8px;
  }

  body:not(.admin) .reference-lobby :is(.games, .rank-games) {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  body:not(.admin) .reference-lobby :is(.games, .rank-games) .game {
    flex: 0 0 clamp(86px, 27vw, 135px) !important;
    width: clamp(86px, 27vw, 135px) !important;
    min-width: 0;
    scroll-snap-align: start;
  }
}
