/*
 * Filas independientes y deterministas:
 * 1. Título "Unite al club"
 * 2. Club de la Suerte
 * 3. Título de agencias oficiales
 * 4. Las otras tres opciones
 */
.play-section {
  display: grid;
  column-gap: 11px;
}

.play-section > .channel-grid {
  display: contents;
}

.play-section::after {
  content: "Unite al club";
  z-index: 2;
  grid-row: 1;
  align-self: end;
  color: #fff;
  text-align: center;
  letter-spacing: -.055em;
  font-family: var(--font-sans, Arial), sans-serif;
  font-size: clamp(2.65rem, 4.1vw, 4.65rem);
  font-weight: 760;
  line-height: .96;
  text-shadow: 0 0 22px #46a4ff33;
  margin-bottom: 48px;
  position: relative;
}

.play-section > .section-head.centered {
  grid-row: 3;
  margin-top: 72px;
  margin-bottom: 55px;
}

@media (min-width: 1051px) {
  .play-section {
    grid-template-columns:
      minmax(0, 1fr)
      repeat(3, minmax(0, calc((1320px - 22px) / 3)))
      minmax(0, 1fr);
  }

  .play-section > .section-head.centered {
    grid-column: 2 / 5;
  }

  .play-section::after {
    grid-column: 2 / 5;
  }

  .channel-grid > .channel:first-child {
    grid-column: 3;
    grid-row: 2;
  }

  .channel-grid > .channel:nth-child(2) {
    grid-column: 2;
    grid-row: 4;
  }

  .channel-grid > .channel:nth-child(3) {
    grid-column: 3;
    grid-row: 4;
  }

  .channel-grid > .channel:nth-child(4) {
    grid-column: 4;
    grid-row: 4;
  }
}

@media (min-width: 621px) and (max-width: 1050px) {
  .play-section {
    grid-template-columns:
      minmax(0, 1fr)
      repeat(2, minmax(0, calc((760px - 11px) / 2)))
      minmax(0, 1fr);
  }

  .play-section > .section-head.centered {
    grid-column: 2 / 4;
    margin-top: 58px;
  }

  .play-section::after {
    grid-column: 2 / 4;
  }

  .channel-grid > .channel:first-child {
    grid-column: 2 / 4;
    grid-row: 2;
    justify-self: center;
    width: calc((100% - 11px) / 2);
  }

  .channel-grid > .channel:nth-child(2) {
    grid-column: 2;
    grid-row: 4;
  }

  .channel-grid > .channel:nth-child(3) {
    grid-column: 3;
    grid-row: 4;
  }

  .channel-grid > .channel:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 5;
    justify-self: center;
    width: calc((100% - 11px) / 2);
    margin-top: 11px;
  }
}

@media (max-width: 620px) {
  .play-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px) minmax(0, 1fr);
  }

  .play-section > .section-head.centered {
    grid-column: 2;
    margin: 48px 0 40px;
  }

  .play-section::after {
    grid-column: 2;
    font-size: 2.55rem;
    margin-bottom: 40px;
  }

  .channel-grid > .channel:first-child {
    grid-column: 2;
    grid-row: 2;
  }

  .channel-grid > .channel:nth-child(2) {
    grid-column: 2;
    grid-row: 4;
  }

  .channel-grid > .channel:nth-child(3) {
    grid-column: 2;
    grid-row: 5;
    margin-top: 11px;
  }

  .channel-grid > .channel:nth-child(4) {
    grid-column: 2;
    grid-row: 6;
    margin-top: 11px;
  }
}

/* Los tres accesos a tableros conservan las tarjetas existentes. */
.steps article {
  cursor: pointer;
}

.steps article .board-card-link {
  z-index: 8;
  border-radius: inherit;
  position: absolute;
  inset: 0;
}

.steps article .board-card-link:focus-visible {
  outline: 3px solid #fff0a8;
  outline-offset: 5px;
}

.steps {
  max-width: 1400px;
  align-items: stretch;
}

.steps article,
.steps article + article {
  display: flex;
  min-height: 690px;
  padding: 22px 22px 34px;
  flex-direction: column;
}

.steps article > i {
  display: none;
}

.steps article .board-card-image {
  width: 100%;
  height: auto;
  max-height: 390px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #ffffff38;
  border-radius: 20px;
  background: #02030a;
  margin: 0 0 24px;
  box-shadow: 0 18px 38px #0008, 0 0 24px #ff2aaa24;
}

.steps article > b {
  font-size: clamp(1.2rem, 1.55vw, 1.48rem);
  line-height: 1.25;
}

.steps article > p {
  min-height: 0;
  margin-bottom: 24px;
  font-size: .92rem;
  line-height: 1.55;
}

.steps article > small {
  margin-top: auto;
  padding-bottom: 8px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .steps {
    max-width: 680px;
  }

  .steps article,
  .steps article + article {
    min-height: 0;
    padding: 24px 24px 34px;
  }

  .steps article .board-card-image {
    max-height: 560px;
  }
}

@media (max-width: 620px) {
  .steps article,
  .steps article + article {
    padding: 18px 18px 30px;
  }

  .steps article .board-card-image {
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .steps article > b {
    font-size: 1.18rem;
  }

  .steps article > p {
    font-size: .86rem;
  }
}

/* 15-09-2026: ocultar únicamente la numeración 01/02/03 de las tres tarjetas de tableros. */
.steps > article > span {
  display: none !important;
}


/* 20-09-2026 - menú principal fijo, colgado del borde superior */
.tio-top-menu{
  position:fixed !important; top:0 !important; left:0 !important; right:0 !important;
  z-index:2147483000 !important; width:100% !important;
  padding:8px 18px !important; box-sizing:border-box !important;
  background:linear-gradient(90deg,rgba(4,10,31,.98),rgba(19,10,48,.98),rgba(4,19,45,.98)) !important;
  border-bottom:1px solid rgba(255,213,67,.58) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.42),0 0 20px rgba(37,206,255,.10) !important;
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
}
.tio-top-menu-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;gap:8px;min-height:48px}
.tio-top-menu a{display:flex;align-items:center;justify-content:center;min-width:120px;padding:10px 22px;border-radius:999px;color:#f8f7ff !important;text-decoration:none !important;font-weight:850;font-size:.84rem;letter-spacing:.05em;transition:.2s ease;border:1px solid transparent}
.tio-top-menu a:hover{color:#ffe26b !important;background:rgba(255,255,255,.07);border-color:rgba(255,220,83,.22);transform:translateY(-1px)}
.tio-top-menu .tio-menu-spacer{flex:1}
.tio-top-menu .tio-login{min-width:112px;background:linear-gradient(90deg,#ff2db5,#8c49ff);box-shadow:0 0 18px rgba(215,54,255,.30);color:#fff !important}
html.has-tio-top-menu body{padding-top:65px !important}
@media(max-width:620px){
 .tio-top-menu{padding:6px 8px !important}
 .tio-top-menu-inner{gap:3px;min-height:44px}
 .tio-top-menu a{min-width:0;padding:9px 10px;font-size:.68rem;letter-spacing:.02em}
 .tio-top-menu .tio-login{min-width:68px}
 html.has-tio-top-menu body{padding-top:57px !important}
}

/* 20-09-2026 - ajuste de convivencia del menú superior con el sitio */
/* El header original también es fixed: lo desplazamos por debajo del nuevo menú. */
html.has-tio-top-menu .header{
  top:81px !important;
}
html.has-tio-top-menu .header.compact{
  top:73px !important;
}
/* La publicidad/modal debe quedar por encima de toda la navegación y nunca recortada por el menú. */
html.has-tio-top-menu .promo-modal{
  z-index:2147483646 !important;
}
/* Los modales propios agregados al sitio también tienen prioridad sobre la barra. */
html.has-tio-top-menu .associate-modal{
  z-index:2147483646 !important;
}
@media(max-width:620px){
  html.has-tio-top-menu .header{top:69px !important}
  html.has-tio-top-menu .header.compact{top:65px !important}
}
