/* Top 3 Section */
.section-carrousel {
  margin-top: 10px;
}
.cards-scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.carousel-page {
  min-width: 100%;
  scroll-snap-align: start;
  padding: 5px 20px 15px 20px;
}

.carousel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.bookmaker-card {
  min-width: 0;
  background-color: var(--bg-card);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-card {
  min-width: 0;
  background-color: var(--bg-card);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: 12px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-game-card {
  position: relative;
  aspect-ratio: 3 / 4;
}

.carousel-bonus-card {
  position: relative;
  aspect-ratio: 3 / 4;
}

.carousel-bookmaker-card {
  position: relative;
  aspect-ratio: 3 / 4;
}

.carousel-game-card .game-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.02) 0%, rgba(6, 10, 18, 0.12) 52%, rgba(6, 10, 18, 0.78) 100%);
}

.carousel-bookmaker-card .game-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(6, 10, 18, 0.04) 0%, rgba(6, 10, 18, 0.14) 54%, rgba(6, 10, 18, 0.82) 100%);
}

.carousel-game-card__icon {
  position: relative;
  z-index: 1;
  color: var(--game-accent, #ffffff);
  font-size: 2.4rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.carousel-bonus-card__icon {
  position: relative;
  z-index: 1;
  color: var(--game-accent, #ffffff);
  font-size: 2.35rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.24));
}

.carousel-bookmaker-card__visual {
  text-decoration: none;
}

.carousel-bookmaker-card__logo {
  position: relative;
  z-index: 1;
}

.carousel-bookmaker-card__hot {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.28));
}

.carousel-bookmaker-card__logo {
  max-width: calc(100% - 24px);
  color: #ffffff;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  overflow-wrap: anywhere;
}

.carousel-game-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33.333%;
  min-height: 76px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  justify-items: center;
  gap: 8px;
  padding: 10px 8px 12px;
  z-index: 2;
}

.carousel-game-card__name {
  align-self: end;
  max-width: 100%;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.carousel-game-card__button {
  width: min(100%, 92px);
  padding: 6px 12px;
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-bookmaker-card__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 33.333%;
  min-height: 82px;
  display: grid;
  grid-template-rows: auto auto;
  align-content: end;
  justify-items: center;
  gap: 6px;
  padding: 10px 8px 12px;
  z-index: 2;
}

.carousel-bookmaker-card__button {
  width: min(100%, 110px);
  padding: 6px 12px;
  font-size: 0.72rem;
  line-height: 1;
  justify-content: center;
}

.carousel-bookmaker-card__more {
  max-width: 100%;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.carousel-icon {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-size: 22px;
  color: var(--primary);
}

.carousel-meta {
  text-align: center;
  margin-bottom: 15px;
}

.carousel-meta .label {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
}

.carousel-meta .code {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.card-logo {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.stars-card {
  color: var(--star-color);
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}
.dot {
  width: 6px;
  height: 6px;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  background-color: var(--border-color);
}
.dot.active {
  background-color: var(--primary);
}

.carousel-game-card .game-name {
  display: none;
}

.carousel-bonus-card .game-name {
  display: none;
}
