
.site-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;

}

main {
  padding-top: var(--header-height);
    padding-top: 0; /* JS lo controla */

}

.hero-carousel--mobile .hero-carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 4; /* 1080 x 480 */
  object-fit: cover;
  display: block;
}
.hero-carousel--mobile .hero-carousel__slide {
  aspect-ratio: 9 / 4;
}
.hero-carousel--desktop,
.hero-carousel--mobile {
  margin-bottom: 16px;
}

/* ===============================
HERO CAROUSEL – VISIBILIDAD BASE
================================ */

/* DESKTOP */
.hero-carousel--desktop {
  display: block;
  margin: 24px auto;
}

/* MOBILE */
.hero-carousel--mobile {
  display: none;
  margin: 16px auto;
}

/* ===============================
DESKTOP HERO
================================ */

.hero-carousel--desktop {
  position: relative;
  width: 100%;
  max-width: 1280px;
  border-radius: 18px;
  overflow: hidden;
}

/* TRACK */
.hero-carousel--desktop .carousel-track {
  position: relative;
}

/* SLIDES */
.hero-carousel--desktop .carousel-slide {
  display: none;
}

.hero-carousel--desktop .carousel-slide.active {
  display: block;
}

/* IMAGEN */
.hero-carousel--desktop .carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ===============================
DESKTOP ARROWS
================================ */

.hero-carousel--desktop .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 140, 0.4);

  background: rgba(0, 0, 0, 0.55);
  color: #00ff8c;
  font-size: 22px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel--desktop .carousel-arrow:hover {
  background: #00ff8c;
  color: #000;
}

.hero-carousel--desktop .carousel-arrow.prev {
  left: 16px;
}

.hero-carousel--desktop .carousel-arrow.next {
  right: 16px;
}

/* ===============================
MOBILE HERO
================================ */

.hero-carousel--mobile {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  min-height: 180px;
}

/* TRACK */
.hero-carousel--mobile .hero-carousel__track {
  position: relative;
}

/* SLIDES */
.hero-carousel--mobile .hero-carousel__slide {
  display: none;
}

.hero-carousel--mobile .hero-carousel__slide.active {
  display: block;
}

/* IMAGEN */
.hero-carousel--mobile .hero-carousel__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================
MOBILE ARROWS
================================ */

.hero-carousel--mobile .hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 140, 0.4);

  background: rgba(0, 0, 0, 0.55);
  color: #00ff8c;
  font-size: 18px;
  font-weight: bold;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.hero-carousel--mobile .hero-carousel__arrow--prev {
  left: 10px;
}

.hero-carousel--mobile .hero-carousel__arrow--next {
  right: 10px;
}

/* ===============================
RESPONSIVE SWITCH
================================ */

@media (max-width: 768px) {
  .hero-carousel--desktop {
    display: none;
  }

  .hero-carousel--mobile {
    display: block;
  }
}

/* ===============================
SECOND NAV (BASE)
================================ */

.sub-nav {
  background: #0b0f14;
  border-radius: 50px;
  border: 1px solid rgba(0, 255, 163, 0.35);
  box-shadow:
    0 0 8px rgba(0, 255, 163, 0.25),
    inset 0 0 6px rgba(0, 255, 163, 0.15);
}

.sub-nav-inner {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 10px 12px;

}

/* ===============================
TAB
================================ */

.tab {
  display: flex;
  align-items: center;
  gap: 10px;

  background: none;
  border: none;
  cursor: pointer;

  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #9ca3af;

 padding: 10px 6px 14px;
  transition: color 0.25s ease;
}

.tab-label {
  display: inline-block;
  line-height: 1;
}

.tab.active {
  color: #22c55e;
}

/* ===============================
ICON
================================ */

.tab-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%) invert(65%);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.tab:hover .tab-icon {
  filter: brightness(0) saturate(100%) invert(57%) sepia(92%) saturate(460%) hue-rotate(88deg);
  transform: scale(1.05);
}

.tab.active .tab-icon {
  filter: brightness(0) saturate(100%) invert(57%) sepia(92%) saturate(460%) hue-rotate(88deg);
  transform: scale(1.1);
}

/* ===============================
INDICATOR (ÚNICO SISTEMA)
================================ */

.tab-indicator {
  position: absolute;
  bottom: 6px;
  height: 3px;
  background: #22c55e;
  border-radius: 2px;
  pointer-events: none;
  transition: transform 0.3s ease, width 0.3s ease;
}

/* ===============================
RESPONSIVE (MOBILE)
================================ */

@media (max-width: 768px) {

  .sub-nav {
    border-radius: 14px;
    overflow: hidden;
  }

  .sub-nav-inner {
    gap: 16px;
    padding: 10px 12px 22px;
  }

  .tab {
    flex-direction: column;
    gap: 6px;

    font-size: 12px;
    padding: 6px 4px;
    min-width: 64px;
    text-align: center;
  }

  .tab-icon {
    width: 22px;
    height: 22px;
  }

  .tab-indicator {
    bottom: 4px;
    height: 3px;


  }
}



/* ===============================
CATEGORY CARDS 
================================ */


/* ===============================
CATEGORY CARDS (BASE)
================================ */

.category-cards {
  padding: 24px 0;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* ===============================
CARD
================================ */

.category-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.category-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;

  transition: transform 0.3s ease;
}

/* ===============================
HOVER (DESKTOP ONLY)
================================ */

@media (hover: hover) {
  .category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }

  .category-card:hover img {
    transform: scale(1.03);
  }

  .category-card:hover .category-label {
    background: rgba(34, 197, 94, 0.75);
  }
}

/* ===============================
LABEL
================================ */

.category-label {
  position: absolute;
  top: 12px;
  left: 12px;

  background: rgba(0, 0, 0, 0.55);
  padding: 6px 14px;
  border-radius: 999px;

  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;

  transition: background 0.25s ease;
}

/* ===============================
TABLET
================================ */

@media (max-width: 1024px) {
  .category-list {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===============================
MOBILE (SCROLL HORIZONTAL REAL)
================================ */

@media (min-width: 751px) {
  .category-list::-webkit-scrollbar {
    display: none;
  }

  .category-list {
    scrollbar-width: none;
  }
}

/* ===============================
MOBILE (SCROLL VISIBLE)
================================ */

@media (max-width: 750px) {

  .category-list {
    scrollbar-width: thin;            /* Firefox */
    scrollbar-color: #111 #000;        /* thumb / track */
  }

  .category-list::-webkit-scrollbar {
    height: 6px;                      /* barra horizontal */
  }

  .category-list::-webkit-scrollbar-track {
    background: #000;
    border-radius: 10px;
  }

  .category-list::-webkit-scrollbar-thumb {
    background: #111;
    border-radius: 10px;
  }

  .category-list::-webkit-scrollbar-thumb:hover {
    background: #222;
  }
}

@media (max-width: 750px) {

  .category-cards {
  position: relative;
}

.category-cards::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to left,
    #0b0f14 0%,
    rgba(11, 15, 20, 0) 100%
  );
}

  .category-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 12px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

  }

  .category-list::before {
  content: '';
  flex: 0 0 16px;
}


  .category-card {
    flex: 0 0 78%;
    max-width: 78%;
    height: 220px;

    scroll-snap-align: start; 
  }

  .category-card img {
    aspect-ratio: auto;
    height: 100%;
    object-position: center;
  }

  .category-label {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* ===============================
SCROLLBAR HIDDEN
================================ */

.category-list::-webkit-scrollbar {
  display: none;
}

.category-list {
  scrollbar-width: none;
}






/* ===============================
GAME SECTION
================================ */

.games-section {
  padding: 32px 0;
  position: relative;
  overflow-x: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 5;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.section-title img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.section-title h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

/* ===============================
SECTION ACTIONS
================================ */

.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.view-all {
  background: #111827;
  color: #22c55e;
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;

  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ===============================
ARROWS
================================ */

.nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: #0b0f14;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 1;
  pointer-events: auto;

  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-arrow:hover {
  background: #151b22;
  transform: scale(1.05);
}

.nav-arrow {
  opacity: 1;
  pointer-events: auto;
}



/* ===============================
GAMES LIST
================================ */

.games-list {
  display: flex;
  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;

  max-width: 100%;
  padding-bottom: 8px;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

/* ocultar scrollbar desktop */
.games-list::-webkit-scrollbar {
  display: none;
}
.games-list {
  scrollbar-width: none;
}

/* ===============================
GAME CARD
================================ */

.game-card {
  position: relative;              /* 🔑 CLAVE */
  flex: 0 0 auto;
  width: 190px;

  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;

  transition: transform 0.25s ease;
}

.game-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.game-card:hover {
  transform: translateY(-4px);
}

.game-title {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;

  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;

  text-shadow: 0 4px 10px rgba(0,0,0,0.7);
  pointer-events: none;
}

/* ===============================
MOBILE (3–4 CARDS + SCROLL)
================================ */

@media (max-width: 768px) {

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section-actions {
    align-self: flex-end;
    gap: 6px;
  }

  .section-title h2 {
    font-size: 15px;
    word-break: break-word;
  }

  .section-title img {
    width: 16px;
    height: 16px;
  }

  .nav-arrow {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .game-card {
    width: 32vw;          /* ~3 cards visibles */
    min-width: 150px;
  }

  .game-title {
    font-size: 13px;
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
}


.section-title h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 22px;        /* 🔥 más grande pero prudente */
  color: #ffffff;
  letter-spacing: 0.2px;
}


/* ===============================
B9 JACKPOT SECTION
================================ */

.b9jackpot-section {
  margin: 48px 0;
  text-align: center;
}

/* ===============================
BANNER
================================ */

.b9jackpot-banner img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 32px;
}

/* ===============================
ITEMS GRID (DESKTOP)
================================ */

.b9jackpot-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 32px;
}

/* ===============================
ITEM
================================ */

.b9jackpot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.b9jackpot-item img {
  width: 90px;
  height: auto;
}

/* ===============================
TEXT
================================ */

.b9jackpot-amount {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

.b9jackpot-amount.highlight {
  font-size: 28px;
  font-weight: 900;
  color: var(--green-main);
}

.b9jackpot-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  opacity: 0.9;
}

/* ===============================
BUTTON
================================ */

.b9jackpot-action {
  display: flex;
  justify-content: center;
}

.btn-jackpot {
  background: #ffb800;
  color: #000;
  border: none;
  padding: 14px 38px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.btn-jackpot:hover {
  transform: translateY(-2px);
}

/* ===============================
TABLET (2 COLUMNAS)
================================ */

@media (max-width: 1024px) {

  .b9jackpot-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .b9jackpot-item.main {
    grid-column: span 2;
  }
}

/* ===============================
MOBILE (STACK + FOCO EN MEGA)
================================ */

@media (max-width: 750px) {
  .b9jackpot-item.main {
  transform: scale(1.05);
}

  .b9jackpot-banner img {
    max-height: 100px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .b9jackpot-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .b9jackpot-item img {
    width: 72px;
  }

  .b9jackpot-amount {
    font-size: 20px;
  }

  .b9jackpot-amount.highlight {
    font-size: 24px;
  }

  .b9jackpot-label {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .btn-jackpot {
    padding: 12px 32px;
    font-size: 14px;
  }
}

/* ===============================
PROVIDERS LIST
================================ */

.providers-list {
  display: flex;
  gap: 16px;

  overflow-x: auto;
  overflow-y: hidden;

  padding: 12px 4px 16px;

  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: none;
}

.providers-list::-webkit-scrollbar {
  display: none;
}

/* ===============================
PROVIDER CARD
================================ */

.provider-card {
  position: relative;
  flex: 0 0 auto;

  background: #0b0f14;
  border-radius: 999px;

  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;

  cursor: grab;

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.provider-card:active {
  cursor: grabbing;
}

/* LOGO NORMALIZADO */
.provider-card img {
  height: 36px;
  max-width: 100px;
  object-fit: contain;
  display: block;

  transition: transform .2s ease, filter .2s ease;
}

/* BADGE */
.provider-badge {
  background: #ffb800;
  color: #000;

  font-size: 12px;
  font-weight: 800;

  padding: 4px 8px;
  border-radius: 999px;

  white-space: nowrap;
}

/* HOVER SUAVE (NO GROTESCO) */
@media (hover: hover) {
  .provider-card:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
  }

  .provider-card:hover img {
    transform: scale(1.05);
  }
}

/* LOGO BLANCO (EVOLUTION) */
.provider-card img.evolution {
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {

  .provider-card {
    padding: 12px 14px;
  }

  .provider-card img {
    height: 32px;
  }

  .provider-badge {
    font-size: 11px;
    padding: 3px 7px;
  }
}





.btn-jackpot:hover {
  background: #ffd34d;
  transform: translateY(-2px);
}

.promo-cards {
  margin-top: 40px;
}

.promo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.promo-card {
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  height: auto;
}

.promo-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* ===============================
   GAME CATEGORIES (ISOLATED)
================================ */
.game-categories {
  margin-top: 48px;
}

.game-categories-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* CARD */
.game-category-card {
  position: relative;
  height: 160px;
  border-radius: 18px;
  overflow: visible; 
}

/* GRADIENT BACKGROUNDS */
.game-slots {
  background: linear-gradient(135deg, #5c1a7a, #2b0d3a);
}

.game-jackpots {
  background: linear-gradient(135deg, #0b6fa4, #05324a);
}

.game-live {
  background: linear-gradient(135deg, #1c7c5a, #0f3f2e);
}

.game-crash {
  background: linear-gradient(135deg, #5a0f0f, #2b0707);
}

/* CHARACTER IMAGE */
.game-category-img {
  position: absolute;
  right: -14px;
  bottom: -18px;
  height: 190px;
  z-index: 2;           
  pointer-events: none;
}

/* TAG */
.game-category-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.65);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.game-category-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
}
.game-slots .game-category-img {
  height: 220px;     /* antes ~185px */
  right: -20px;
  bottom: -26px;
}
.game-jackpots .game-category-img,
.game-live .game-category-img,
.game-crash .game-category-img {
  height: 190px;
}
.game-category-card:hover .game-category-img {
  transform: scale(1.06) translateY(-6px);
}

.game-slots .game-category-img {
  height: 240px;
  right: -28px;
  bottom: -34px;
}

/* LIVE CASINO (mujer) */
.game-live .game-category-img {
  height: 225px;
  right: -16px;
  bottom: -28px;
}

/* CRASH (spaceman) */
.game-crash .game-category-img {
  height: 230px;
  right: -20px;
  bottom: -30px;
}

/* JACKPOTS se queda más contenido */
.game-jackpots .game-category-img {
  height: 240px;
}

.game-category-img {
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.45));
}

/* ===============================
   GAMING HOVER EFFECT
================================ */

/* transición base */
.game-category-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* hover del card */
.game-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* personaje */
.game-category-img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* hover personaje */
.game-category-card:hover .game-category-img {
  transform: scale(1.08) translateY(-6px);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}

/* label */
.game-category-tag {
  transition: background 0.3s ease, transform 0.3s ease;
}

/* hover label */
.game-category-card:hover .game-category-tag {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
}
.game-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.12),
    transparent
  );
}

.game-category-card:hover::after {
  opacity: 1;
}

/* ===============================
RESPONSIVE – GAME CATEGORIES
================================ */

/* TABLET */
@media (max-width: 1024px) {
  .game-categories-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ===============================
GAME CATEGORIES – MOBILE CAROUSEL
================================ */

@media (max-width: 600px) {

  .game-categories-list {
    display: flex;
    gap: 14px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 4px 16px 12px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
  }

  .game-categories-list {
    padding-top: 78px;   /* 🔥 espacio para la cabeza */
  }

  .game-category-card {
    overflow: visible;   /* permite que sobresalga sin cortar */
  }

  .game-categories-list::-webkit-scrollbar {
    display: block;
    height: 4px;
  }

  .game-categories-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
    border-radius: 999px;
  }

  .game-category-card {
    flex: 0 0 70%;              /* 🔥 card grande + peek */
    height: 140px;
    border-radius: 16px;

    scroll-snap-align: start;
  }

  /* PERSONAJES CONTROLADOS */
  .game-category-img {
    height: 160px;
    right: -10px;
    bottom: -22px;
  }

  /* LABEL */
  .game-category-tag {
    font-size: 12px;
    padding: 6px 14px;
    left: 10px;
    bottom: 10px;
  }

  /* DESACTIVAR HOVER EN MOBILE */
  .game-category-card:hover {
    transform: none;
    box-shadow: none;
  }

  .game-category-card:hover .game-category-img {
    transform: none;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.45));
  }
}


/* ===============================
FEATURES – BASE
================================ */

.features {
  padding: 60px 24px;
}

/* ===============================
FEATURES – DESKTOP GRID
================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 20px;
  margin: 80px 0;
  padding: 0 24px;
}

.feature-main,
.feature-card {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  overflow: hidden;
  z-index: 1;
}

/* FEATURE PRINCIPAL */
.feature-main {
  grid-row: span 2;
}

.feature-main h2 {
  font-size: 20px;
  font-weight: 800;
}

.feature-main p {
  font-size: 14px;
  color: #cfcfcf;
  line-height: 1.6;
}

/* FEATURE CARD */
.feature-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card.small {
  min-height: 160px;
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.feature-text {
  font-size: 13px;
  color: #cfcfcf;
  line-height: 1.5;
}

/* ICONOS */
.feature-icon {
  width: 22px;
  height: 22px;
}

/* BOTÓN */
.feature-btn {
  margin-top: 14px;
  background: #f7b500;
  color: #000;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  cursor: pointer;
}

/* ===============================
NEON BORDER (DESKTOP)
================================ */

.feature-card::before,
.feature-main::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  background: linear-gradient(
    120deg,
    var(--neon-green),
    var(--neon-purple),
    var(--neon-blue),
    var(--neon-green)
  );
  background-size: 300% 300%;
  animation: neonBorder 6s linear infinite;
  z-index: -1;
}

.feature-card::after,
.feature-main::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: #2f2f39;
  border-radius: 16px;
  z-index: -1;
}

@keyframes neonBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.feature-card:hover,
.feature-main:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 25px rgba(0, 255, 156, 0.25),
    0 0 60px rgba(139, 92, 246, 0.15);
}

/* ===============================
FEATURES – VISIBILIDAD
================================ */
@media (max-width: 1920px) {

.features-desktop {
  display: block;
}

.features-mobile {
  display: none;
}
}

/* ===============================
FEATURES – MOBILE
================================ */

@media (max-width: 768px) {

  /* OCULTAR DESKTOP */
  .features-desktop {
    display: none;
  }

  /* MOSTRAR MOBILE */
  .features-mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }

  .feature-mobile-card {
    background: #1f2430;
    border-radius: 20px;
    padding: 20px;
  }

  .feature-mobile-card.main {
    background: linear-gradient(135deg, #1f2933, #111827);
  }

  .feature-mobile-card h2,
  .feature-mobile-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
  }

  .feature-mobile-card img {
    width: 20px;
    height: 20px;
  }

  .feature-mobile-card p {
    font-size: 13px;
    line-height: 1.55;
    color: #cfcfcf;
  }

  .feature-btn {
    margin-top: 12px;
    padding: 10px 22px;
    font-size: 14px;
  }

  /* DESACTIVAR EFECTOS DESKTOP */
  .feature-card:hover,
  .feature-main:hover {
    transform: none;
    box-shadow: none;
  }
}



//*TABLE*// 

.activity-table {
  background: #0b0b0b;
  padding: 40px 0;
  margin-bottom: 20px;
}

.table-wrapper {
  max-width: 1200px;
  margin: auto;
  background: #121212;
  border-radius: 14px;
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #e5e5e5;
}

thead {
  background: #0e0e0e;
}

th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.04em;
}

tbody tr {
  transition: background 0.25s ease, transform 0.15s ease;
}

tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(0,255,170,0.08),
    rgba(0,255,170,0.02)
  );
  transform: scale(1.002);
}

td {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
}

td.positive {
  color: #22c55e;
  font-weight: 600;
}



.activity-header h2 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.activity-actions {
  display: flex;
  align-items: center;
  justify-content: center;   /* 👈 CENTRADO */
  gap: 20px;
  flex: 1;
}


/* ===== TABLE CONTROLS ===== */
.table-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #aaa;
}

.table-controls select {
  background: #0a0a0a;
  color: var(--green-main);
  padding: 4px 8px;
  border-radius: 6px;
  border: none;
  outline: none;
}

/* ===============================
ACTIVITY TABLE – RESPONSIVE
================================ */

@media (max-width: 1024px) {

  .activity-table {
    padding: 24px 12px;
  }

  .table-wrapper {
    border-radius: 12px;
    overflow-x: auto;                 /* 🔑 clave */
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 900px;                 /* 🔑 fuerza todas las columnas */
  }
}

/* ===============================
MOBILE
================================ */

@media (max-width: 768px) {

  /* Header */
  .activity-header {
    padding: 0 12px 12px;
  }

  .activity-actions {
    flex-wrap: wrap;                  /* 🔑 */
    justify-content: center;
    gap: 12px;
  }

  .table-controls {
    order: 1;
  }

  .section-actions {
    order: 2;
    display: flex;
    gap: 8px;
  }

  /* Tabla */
  .table-wrapper {
    border-radius: 10px;
    overflow-x: auto;
  }

  table {
    min-width: 760px;                 /* 👈 ajustable */
    font-size: 13px;
  }

  th,
  td {
    padding: 12px 12px;
  }

  th {
    font-size: 11px;
  }
}
/* ===============================
SCROLL HINT
================================ */

.scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;

  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;

  animation: hintFade 2s infinite;
}

.scroll-hint .arrow {
  font-size: 16px;
}

/* Solo mobile */
@media (max-width: 768px) {
  .scroll-hint {
    display: flex;
  }
}

@keyframes hintFade {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}
/* ===============================
EXTRA SMALL DEVICES
================================ */

@media (max-width: 480px) {

  table {
    min-width: 680px;                 /* 🔑 que no se aplaste */
  }

  td,
  th {
    padding: 10px 10px;
  }

  .table-controls select {
    font-size: 12px;
    padding: 4px 6px;
  }
}


/* ===== SECTION BUTTONS ===== */
.section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all {
  background: #03160d;
  color: var(--green-main);
  padding: 6px 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== NAV ARROWS ===== */
.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0e2b1d;
  color: var(--green-main);
  font-size: 22px;
  border: none;
  cursor: pointer;
}

.nav-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== RESET BOTONES ===== */
button,
select {
  font-family: inherit;
  outline: none;
}

/* ===== USER REVIEWS ===== */

.reviews-section {
  padding: 40px 20px;
}

.reviews-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 24px;
}

.reviews-title img {
  width: 18px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.review-card {
  background: #2a2d33;
  border-radius: 16px;
  padding: 18px;
  color: #cfd3d6;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-stars {
  color: #ffbf00;
  font-size: 14px;
  letter-spacing: 1px;
}

.review-user {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 14px;
}

.review-text {
  font-size: 13px;
  line-height: 1.4;
  color: #b9bec4;
}

/* Responsive */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-main {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}


/* ===============================
FOOTER BASE
================================ */

.site-footer {
  background: #0a0a0a;
  color: #9ca3af;
  font-size: 14px;
  margin-top: 40px;
}

/* ===============================
TOP
================================ */

.footer-top {
  padding: 60px 20px 40px;
}

/* ===============================
LOGO + SOCIALS INLINE
================================ */

.footer-brand-top.footer-brand-social {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand-top img {
  height: 44px;
  opacity: 0.95;
}

/* SOCIAL INLINE */
.footer-social-inline {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-inline span {
  font-size: 13px;
  color: #9ca3af;
  white-space: nowrap;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons img {
  height: 22px;
  width: auto;
  opacity: 0.85;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.social-icons img:hover {
  transform: translateY(-3px) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(34,197,94,0.7));
}

/* ===============================
GRID
================================ */

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-grid li:hover {
  color: #22c55e;
  transform: translateX(4px);
}

/* ===============================
VERIFIED
================================ */

.footer-verified {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-verified img {
  width: 90px;
  margin-bottom: 12px;
}

.footer-verified span {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.footer-verified p {
  font-size: 13px;
  line-height: 1.4;
  color: #9ca3af;
}

/* ===============================
CRYPTO / PAYMENTS
================================ */

.footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding: 26px 20px;
  flex-wrap: wrap;
}

/* CRYPTO ICONS */
.footer-row.icons.crypto img {
  height: 42px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-row.icons.crypto img:hover {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 8px rgba(34,197,94,0.6));
}

/* CARDS / BANK */
.footer-row.icons img[alt="Visa"],
.footer-row.icons img[alt="Mastercard"],
.footer-row.icons img[alt="Bank Transfer"] {
  height: 26px;
}

/* ===============================
BOTTOM
================================ */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

/* BADGES */
.footer-badges {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-badges img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(34,197,94,0.4));
}

/* ===============================
APP BUTTONS
================================ */

.app-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.app-buttons img {
  height: 48px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-buttons img:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* ===============================
RESPONSIVE
================================ */

@media (max-width: 900px) {

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

/* ===============================
MOBILE – ULTRA COMPACT (APP STYLE)
================================ */

@media (max-width: 600px) {

  .footer-top {
    padding: 40px 16px 24px;
  }

  .footer-brand-top.footer-brand-social {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-brand-top img {
    height: 38px;
  }

  .footer-social-inline {
    flex-direction: column;
    gap: 10px;
  }

  .social-icons {
    gap: 16px;
  }

  .social-icons img {
    height: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-verified {
    margin-top: 12px;
  }

  .footer-row {
    padding: 20px 12px;
    gap: 18px;
  }

  .footer-row.icons.crypto img {
    height: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 12px;
  }

  .footer-badges img {
    height: 30px;
  }

  .app-buttons {
    justify-content: center;
  }

  .app-buttons img {
    height: 42px;
  }

  /* Social icons next to BIT9JA logo */
  .footer-social-inline .social-icons img {
    height: 32px;       
    width: auto;
    opacity: 1;
  }

  .footer-social-inline .social-icons {
    gap: 16px;           /* más aire entre iconos */
  }

}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .game-slots .game-category-img,
  .game-live .game-category-img,
  .game-crash .game-category-img {
    height: 190px;
    right: -10px;
    bottom: -18px;
  }
}
@media (max-width: 1023px) {
  .game-categories-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .game-categories-list {
    grid-template-columns: 1fr;
  }
}
/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1023px) {
  .promo-list {
    grid-template-columns: 1fr;
  }

  .promo-card {
    height: 200px;
  }
}
.promo-card:hover img {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .hero-carousel {
    border-radius: 12px;
  }
}
@media (max-width: 768px) {
  .category-list {
    overflow-x: auto;
  }

  .category-card {
    min-width: 220px;
    flex: none;
  }
}


/* ===============================
   FORCE IMAGE MODAL
================================ */

.force-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

/* ACTIVO */
.force-modal.active {
  opacity: 1;
  pointer-events: all;
}

/* CONTENEDOR */
.force-modal-content {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 12px;
  border-radius: 24px;

  box-shadow:
    0 0 26px rgba(0, 224, 69, 0.55),
    0 0 60px rgba(0, 224, 69, 0.35);
}

/* IMAGEN */
.force-modal-image {
  width: 500px;
  height: 500px;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 20px;
}

/* BLOQUEO TOTAL */
body.modal-locked {
  overflow: hidden;
  height: 100vh;
}