/* Estilos de la single del CPT "juego". Mobile-first, breakpoints en 768px y 1024px. */
/* Reutiliza las variables de color/tipografía definidas en :root dentro de style.css. */

.game-hero{
  position:relative;
  padding:60px 0 60px;
  background-size:cover;
  background-position:center;
  text-align:center;
}
/* Overlay oscuro para que el título/tagline se sigan leyendo aunque hero_fondo sea una imagen clara. */
.game-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgb(5 5 16 / 0%) 0%, rgb(5 5 16 / 0%) 65%, #0505103d 100%);
}
.game-hero-inner{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
}
.game-hero-logo{
  max-width:500px;
  width:100%;
}
.game-hero-title{
  font-size:clamp(28px,7vw,52px);
  font-weight:800;
  letter-spacing:-.015em;
  line-height:1.1;
}
.game-hero-tagline{
  max-width:560px;
  color:var(--ink-60);
  font-size:16px;
  line-height:1.7;
}

.game-swiper-outer{
  position:relative;
}
.game-nav-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-top:28px;
}
.game-nav{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:border-color .3s, transform .3s;
  flex:none;
}
.game-nav svg{width:18px; height:18px;}
.game-nav:hover{border-color:var(--white); transform:translateY(-2px);}
.game-nav.swiper-button-disabled{opacity:.35; cursor:default; transform:none;}
.swiper-pagination.game-features-pagination,
.swiper-pagination.game-recomendados-pagination{
  position:static;
  width:auto;
  display:flex;
  align-items:center;
  gap:8px;
}
.swiper-pagination-bullet{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--ink-40);
  opacity:1;
  transition:width .25s ease, border-radius .25s ease, background .25s ease;
  margin:0 !important;
}
.swiper-pagination-bullet-active{
  width:20px;
  border-radius:3.5px;
  background:var(--gold);
}

/* ===== Features ===== */
/* Fade + overflow:hidden del próximo slide, contenido dentro del wrap de 1240px */
.game-features .game-swiper-outer{
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
  mask-image:linear-gradient(90deg, transparent 0%, #000 4%, #000 92%, transparent 100%);
}
.game-features .game-features-swiper{
  overflow:visible;
}

.game-feature-slide{
  background:var(--bg-1);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  text-align:center;
  height:auto;
}
.game-feature-slide img{
  max-width:220px;
  width:100%;
  aspect-ratio:4/3;
  object-fit:contain;
  border-radius:14px;
  margin:0 auto 18px;
  display:block;
}
.game-feature-slide h3{
  font-size:18px;
  font-weight:800;
  letter-spacing:.02em;
  margin-bottom:10px;
}
.game-feature-slide p{
  color:var(--ink-60);
  font-size:14.5px;
  line-height:1.6;
}

@media (min-width:768px){
  .game-feature-slide{
    display:grid;
    grid-template-columns:3fr 2fr;
    grid-template-areas:
      "image title"
      "image desc";
    column-gap:28px;
    row-gap:6px;
    text-align:left;
    padding:32px 36px;
  }
  .game-feature-slide h3{
    grid-area:title;
    align-self:end;
    margin-bottom:0;
  }
  .game-feature-slide img{
    grid-area:image;
    width:100%;
    height:100%;
    max-width:100%;
    aspect-ratio:auto;
    object-fit:contain;
    margin:0;
    align-self:stretch;
    justify-self:center;
  }
  .game-feature-slide p{
    grid-area:desc;
    align-self:start;
  }
}

/* ===== Descripción larga ===== */
.game-description{
  padding:60px 0 0;
}
.game-description-title{
  max-width:760px;
  margin:0 auto 24px;
  text-align:center;
  font-size:clamp(22px,3.2vw,32px);
  font-weight:800;
  line-height:1.3;
}
.game-description-content{
  max-width:760px;
  margin:0 auto;
  color:var(--ink-60);
  font-size:16px;
  line-height:1.8;
  text-align:center;
}
.game-description-content p + p{
  margin-top:16px;
}

/* ===== Stats ===== */
.game-stats{
  padding:40px 0 90px;
}
.game-stats-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.game-stat-card{
  background:var(--bg-1);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px 16px;
  text-align:center;
}
.game-stat-card img{
  width:40px;
  height:40px;
  margin:0 auto 12px;
}
.game-stat-card h4{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--ink-60);
  margin-bottom:8px;
}
.game-stat-card span{
  font-size:20px;
  font-weight:800;
  color:var(--orange);
}

/* ===== Video ===== */
.game-video{
  padding:60px 0;
  background:#ff5100;
}
.game-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
}
.game-video-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

/* ===== Recomendados ===== */
.game-recomendados{
  padding:60px 0 80px;
}
.game-recomendado-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.game-recomendado-card img{
  width:100%;
  aspect-ratio:264/415;
  object-fit:cover;
  border-radius:var(--radius);
  border:1px solid var(--line);
}
.game-recomendado-btn{
  width:100%;
  justify-content:center;
  font-size:13px;
  padding:12px 20px;
}

@media (min-width:768px){
  .game-hero{padding:150px 0 80px;}
  .game-stats-grid{grid-template-columns:repeat(4,1fr);}
}

@media (min-width:1024px){
  .game-hero{padding:25apx 0 60px;}
}
