.rewards-title {
  padding: 6px 16px 10px;
  font-weight: 800;
  font-size: 16px;
  color: #ffd54f;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}
.rewards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 8px 16px 16px;
}
.menu-tile .icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  color: #fff;
}
/* Variantes de color para diferenciar las tarjetas */
.menu-tile.variant-blue {
  background: linear-gradient(180deg, #0045ad 0%, #001b2d 100%);
  color: #e6f2ff;
  border: 1px solid #0142a3;
  height: 75px;
  width: 120px;
}
.menu-tile.variant-green {
  background: linear-gradient(180deg, #00904a 0%, #00200d 100%);
  color: #e9ffe6;
  border: 1px solid #018d49;
  height: 75px;
  width: 120px;
}
.menu-tile.variant-orange {
  background: linear-gradient(180deg, #ffa600 0%, #fc7500 100%);
  color: #fff0e6;
  border-color: rgba(255, 187, 131, 0.25);
  height: 75px;
  width: 120px;
}
.menu-tile.variant-purple {
  background: linear-gradient(180deg, #7d00c0 0%, #120042 100%);
  color: #f3e9ff;
  border-color: rgba(187, 131, 255, 0.25);
  height: 75px;
  width: 120px;
}
.menu-tile.variant-pink {
  background: linear-gradient(180deg, #ff00e1 0%, #670045 100%);
  color: #ffe9f3;
  border: 1px solid #f501d7;
  height: 75px;
  width: 120px;
}
.menu-tile.variant-cyan {
  background: linear-gradient(180deg, #00bdc4 0%, #1225f5 100%);
  color: #e6fbff;
  border: 1px solid #01b6c6;
  height: 75px;
  width: 120px;
}
.menu-tile.variant-brown {
  background: linear-gradient(180deg, #f48a00 0%, #7e0a00 100%);
  color: #fff2e6;
  border: 1px solid #f18701;
  height: 75px;
  width: 120px;
}
.menu-tile.variant-skyblue {
  background: linear-gradient(180deg, #63cfff 0%, #008fcc 100%);
  color: #fff2e6;
  border: 1px solid #63cfff;
  height: 75px;
  width: 120px;
}

.sidebar-nav {
  flex: 1;
  /* padding: 20px 0; */
  overflow-y: auto;
}

/* ===== GRID DE ÍCONOS (BetBox móvil) ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 8px 16px 16px;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08); */
  margin-bottom: 16px;
}

.menu-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 10px; */
  text-decoration: none;
  background: linear-gradient(180deg, #0d1c33 0%, #0a172b 100%);
  border: 1px solid rgba(131, 187, 255, 0.2);
  border-radius: 12px;
  /* padding: 14px 10px; */
  color: #7fb2ff;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 1px rgba(17, 100, 180, 0.12) inset;
}

.menu-tile:hover {
  border-color: #1f7cff;
  box-shadow: 0 6px 14px rgba(31, 124, 255, 0.15);
  filter: brightness(1.03);
}

.menu-tile.active {
  color: #ffffff;
  border-color: #ffd54d;
  box-shadow: 0 0 0 1px rgba(255, 213, 77, 0.4) inset,
    0 8px 20px rgba(255, 213, 77, 0.18);
  background: radial-gradient(
      120px 80px at 50% -10%,
      rgba(255, 213, 77, 0.15),
      transparent 60%
    ),
    #0a1424;
}

.menu-tile img {
  width: 42px;
  height: 42px;
}

.menu-tile span {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.nav-section {
  margin-bottom: 32px;
}

.nav-section-title {
  padding: 0 20px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.2), transparent);
  color: #ffffff;
  border-right: 3px solid #4f46e5;
}

.nav-item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}
.frame {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.frame.active {
  opacity: 1;
}

/* ===== Ajustes exclusivos para laptops 1366x599 ===== */
@media screen and (width: 1366px) and (height: 599px) {
  /* No tocar carrusel de banners aquí para evitar efectos colaterales */

  /* Espaciado de encabezados de sección para ganar vertical */
  .section-header-modern {
    margin-bottom: 20px;
  }
  .section-title-main {
    font-size: 1.6rem;
  }
  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Grids de juegos: una fila con scroll horizontal visible */
  .games-grid,
  #homeGamesGrid,
  #homeNewGrid,
  #homeBonusGrid,
  #homeDropsGrid,
  #homeLiveGrid,
  #homeCrashGrid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 10px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    width: 1070px;
  }

  .games-grid .game-card,
  #homeGamesGrid .game-card,
  #homeNewGrid .game-card,
  #homeBonusGrid .game-card,
  #homeDropsGrid .game-card,
  #homeLiveGrid .game-card,
  #homeCrashGrid .game-card {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
    border-radius: 12px;
  }

  .game-image {
    height: 130px;
    object-fit: cover;
  }
  .game-info {
    padding: 10px;
  }
  .game-title {
    font-size: 12px;
    line-height: 1.3;
  }
  .game-provider,
  .game-vendor {
    font-size: 10px;
  }

  /* Ajustes ligeros en menú lateral compacto */
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .menu-tile {
    width: 110px;
    height: 70px;
  }
  .menu-tile span {
    font-size: 12px;
  }
  .menu-tile .icon {
    font-size: 26px;
  }

  /* Scrollbar horizontal más fino en los carriles de juegos */
  .games-grid::-webkit-scrollbar,
  #homeGamesGrid::-webkit-scrollbar,
  #homeNewGrid::-webkit-scrollbar,
  #homeBonusGrid::-webkit-scrollbar,
  #homeDropsGrid::-webkit-scrollbar,
  #homeLiveGrid::-webkit-scrollbar,
  #homeCrashGrid::-webkit-scrollbar {
    height: 8px;
  }

  .games-grid::-webkit-scrollbar-thumb,
  #homeGamesGrid::-webkit-scrollbar-thumb,
  #homeNewGrid::-webkit-scrollbar-thumb,
  #homeBonusGrid::-webkit-scrollbar-thumb,
  #homeDropsGrid::-webkit-scrollbar-thumb,
  #homeLiveGrid::-webkit-scrollbar-thumb,
  #homeCrashGrid::-webkit-scrollbar-thumb {
    background: #0c1f45;
    border-radius: 6px;
  }

  /* Mantener .frame-grid sin cambios para el carrusel de banners */
  .cat-strip {
    gap: 0px;
    width: 1090px;
  }

  .cat-link span {
    font-size: 15px;
  }

  .section-header {
    width: 1065px;
  }

  .proveedor222 {
    width: 1070px;
  }
}
