.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  margin: 0 auto;
  font-family: sans-serif;
}

.download-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-download {
  display: inline-block;
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s;
}

.btn-download.purple { background-color: #7b5cf6; }
.btn-download.purple:hover { background-color: #6d4ce0; }

.btn-download.blue { background-color: #3b82f6; }
.btn-download.blue:hover { background-color: #2563eb; }

.btn-download.red { background-color: #ef4444; }
.btn-download.red:hover { background-color: #dc2626; }

.final-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.dl-card {
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none; /* Quita subrayado */
  font-weight: bold;
  transition: all 0.3s;
  text-align: center;
}

/* Colores originales de los enlaces finales */
.dl-card.pixeldrain { background-color: #1e293b; } /* Gris oscuro */
.dl-card.mediafire { background-color: #f97316; }  /* Naranja */
.dl-card.terabox { background-color: #10b981; }    /* Verde */

/* Efecto hover mamalón */
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  opacity: 0.9;
}

.notice-text {
  margin-top: 8px;
  font-size: 14px;
  color: #fff;
  text-align: center;
}
/* Contenedor de botones finales */
.final-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Estilo base para todos los botones finales */
.final-links a.dl-card {
  padding: 12px 20px;
  border-radius: 10px;
  color: #fff;           /* Texto blanco */
  text-decoration: none;  /* Quitar subrayado */
  font-weight: bold;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Colores por tipo */
.dl-card.pixeldrain { background-color: #1e293b; }  /* Gris oscuro */
.dl-card.mediafire { background-color: #f97316; }   /* Naranja */
.dl-card.terabox { background-color: #10b981; }     /* Verde */

/* Hover efecto */
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  opacity: 0.95;
}
/* CONTENEDOR GENERAL */
.download-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

/* ===== ANDROID ===== */
.btn-download.blue {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.45);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-download.blue:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.65);
  filter: brightness(1.1);
}

/* ===== PC ===== */
.btn-download.purple {
  background: linear-gradient(135deg, #a855f7, #5b21b6);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.45);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-download.purple:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(168, 85, 247, 0.65);
  filter: brightness(1.1);
}

/* BOTÓN iOS */
.btn-download.red {
  background: linear-gradient(135deg, #ff4d4d, #b11226);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 18px;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.45);
  transition: all 0.3s ease;
  display: inline-block;
}

/* Hover brutal */
.btn-download.red:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(255, 0, 0, 0.65);
  filter: brightness(1.1);
}

/* Texto de aviso */
.notice-text {
  margin-top: 10px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  text-align: center;
  max-width: 260px;
  line-height: 1.4;
  backdrop-filter: blur(4px);
}
/* CONTENEDOR GENERAL */
.game-info {
  max-width: 900px;
  margin: 0 auto;
  font-family: inherit;
}

/* SINOPSIS */
.game-synopsis {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 15px;
}

/* ===== ESPECIFICACIONES COMPACTAS ===== */
.game-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

/* BURBUJA */
.spec-bubble {
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(6px);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* ICONO */
.spec-bubble span {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* HOVER SUAVE (PC) */
@media (hover: hover) {
  .spec-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  }
}

/* 📱 TELÉFONOS MUY CHICOS (4" - 360px) */
@media (max-width: 360px) {
  .game-specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-bubble {
    font-size: 11px;
    padding: 8px 6px;
  }

  .spec-bubble span {
    font-size: 16px;
  }
}

/* 📱 TELÉFONOS NORMALES */
@media (min-width: 361px) and (max-width: 600px) {
  .game-specs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 📲 TABLETS */
@media (min-width: 601px) and (max-width: 1024px) {
  .game-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 🖥️ PC */
@media (min-width: 1025px) {
  .game-specs {
    grid-template-columns: repeat(5, 1fr);
  }
}


/* GALERÍA HORIZONTAL */
/* ===== GALERÍA HORIZONTAL COMPACTA ===== */
.game-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* IMÁGENES */
.game-gallery img {
  width: 250px;          /* tamaño base chico */
  max-width: 65vw;
  height: auto;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* HOVER (PC) */
@media (hover: hover) {
  .game-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
    cursor: pointer;
  }
}

/* 📱 TELÉFONOS MUY CHICOS (4" – 360px) */
@media (max-width: 360px) {
  .game-gallery img {
    width: 220px;
  }
}

/* 📱 TELÉFONOS NORMALES */
@media (min-width: 361px) and (max-width: 600px) {
  .game-gallery img {
    width: 240px;
  }
}

/* 📲 TABLETS */
@media (min-width: 601px) and (max-width: 1024px) {
  .game-gallery img {
    width: 280px;
  }
}

/* 🖥️ PC */
@media (min-width: 1025px) {
  .game-gallery img {
    width: 220px;
  }
}

/* SCROLLBAR DISCRETA */
.game-gallery::-webkit-scrollbar {
  height: 6px;
}
.game-gallery::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
}


.game-gallery img:hover {
  transform: scale(1.05);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.modal.close {
  display: none;
}
/* SOPORTE GIF + VIDEO */
.game-gallery img,
.game-gallery video {
  width: 250px;
  max-width: 65vw;
  height: auto;
  border-radius: 14px;
  flex-shrink: 0;
  scroll-snap-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform .25s ease, box-shadow .25s ease;
  background: #000;
  object-fit: cover;
}

/* HOVER */
@media (hover: hover) {
  .game-gallery img:hover,
  .game-gallery video:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
    cursor: pointer;
  }
}

/* ===== SINOPSIS WRAPPER ===== */
.game-synopsis-wrapper {
  max-width: 900px;
  margin: 20px auto;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  color: inherit; /* ← usa el color del tema */
}

/* SINOPSIS */
.game-synopsis {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Estado colapsado */
.game-synopsis.collapsed {
  max-height: 120px;
  position: relative;
}

/* Gradiente adaptable al tema */
.game-synopsis.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.85)
  );
}

/* ===== BOTÓN ===== */
.synopsis-toggle {
  margin-top: 10px;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.synopsis-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(124,58,237,0.6);
}

/* ===== MODO CLARO ===== */
@media (prefers-color-scheme: light) {
  .game-synopsis.collapsed::after {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0),
      rgba(255,255,255,0.95)
    );
  }

  .synopsis-toggle {
    color: #fff;
  }
}

/* ===== MODO OSCURO ===== */
@media (prefers-color-scheme: dark) {
  .game-synopsis.collapsed::after {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0),
      rgba(0,0,0,0.9)
    );
  }
}
.oculto {display:none;}
