/* ========================================
   POKERSTARS MEXICO - Tema Ninja Shinobi
   Estilos CSS Originales 2026
   ======================================== */

:root {
  --naranja-chakra: #ff6b00;
  --naranja-claro: #ff9d4d;
  --negro-sombra: #0a0a0a;
  --negro-profundo: #121212;
  --gris-ninja: #1a1a1a;
  --gris-medio: #2d2d2d;
  --dorado-victoria: #ffd700;
  --blanco-pergamino: #f5f0e6;
  --rojo-sharingan: #c41e3a;
  --azul-rasengan: #00bfff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Noto Sans', sans-serif;
  background: linear-gradient(180deg, var(--negro-profundo) 0%, var(--negro-sombra) 100%);
  color: var(--blanco-pergamino);
  line-height: 1.7;
  min-height: 100vh;
}

/* ========== TIPOGRAFÍA ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--naranja-chakra); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: rgba(245, 240, 230, 0.9);
}

a {
  color: var(--naranja-claro);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dorado-victoria);
}

/* ========== CONTENEDOR PRINCIPAL ========== */
.contenedor-shinobi {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== NAVEGACIÓN ========== */
.navegacion-ninja {
  background: linear-gradient(90deg, var(--negro-sombra) 0%, var(--gris-ninja) 50%, var(--negro-sombra) 100%);
  border-bottom: 3px solid var(--naranja-chakra);
  padding: 1rem 0;
}

.nav-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-marca img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

.nombre-marca {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--naranja-chakra), var(--dorado-victoria));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-principal {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu-principal li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--blanco-pergamino);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu-principal li a:hover {
  background: var(--naranja-chakra);
  color: var(--negro-sombra);
  transform: translateY(-2px);
}

.boton-jugar {
  background: linear-gradient(135deg, var(--naranja-chakra), var(--rojo-sharingan));
  color: white !important;
  padding: 0.8rem 1.5rem !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
  animation: pulso-chakra 2s infinite;
}

@keyframes pulso-chakra {
  0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(255, 107, 0, 0.7); }
}

/* ========== HERO BANNER ========== */
.seccion-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.hero-contenido {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-titulo {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
  background: linear-gradient(135deg, var(--naranja-chakra), var(--dorado-victoria), var(--naranja-claro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitulo {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--blanco-pergamino);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--naranja-chakra), var(--rojo-sharingan));
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(255, 107, 0, 0.5);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 107, 0, 0.7);
  color: white;
}

/* ========== SECCIONES ========== */
.seccion-contenido {
  padding: 5rem 0;
}

.seccion-contenido:nth-child(even) {
  background: linear-gradient(180deg, var(--gris-ninja) 0%, var(--negro-profundo) 100%);
}

.titulo-seccion {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.titulo-seccion::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--naranja-chakra), transparent);
  margin: 1rem auto 0;
}

/* ========== TARJETAS DE JUEGOS ========== */
.grid-juegos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tarjeta-juego {
  background: linear-gradient(145deg, var(--gris-medio), var(--negro-profundo));
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
}

.tarjeta-juego::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, var(--naranja-chakra), var(--dorado-victoria));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tarjeta-juego:hover::before {
  opacity: 1;
}

.tarjeta-juego:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.3);
}

.tarjeta-imagen {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tarjeta-contenido {
  padding: 1.5rem;
}

.tarjeta-titulo {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--naranja-claro);
}

.tarjeta-descripcion {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: rgba(245, 240, 230, 0.8);
}

.tarjeta-cta {
  display: inline-block;
  background: var(--naranja-chakra);
  color: var(--negro-sombra);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tarjeta-cta:hover {
  background: var(--dorado-victoria);
  color: var(--negro-sombra);
}

/* ========== INFORMACIÓN AUTOR (E-E-A-T) ========== */
.autor-info {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--gris-medio), var(--negro-profundo));
  padding: 2rem;
  border-radius: 20px;
  border-left: 5px solid var(--naranja-chakra);
  margin: 3rem 0;
}

.autor-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--naranja-chakra);
  object-fit: cover;
}

.autor-detalles h3 {
  color: var(--naranja-claro);
  margin-bottom: 0.5rem;
}

.autor-credenciales {
  font-size: 0.9rem;
  color: var(--dorado-victoria);
  margin-bottom: 1rem;
}

/* ========== MÉTODOS DE PAGO ========== */
.metodos-pago-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.metodo-pago-item {
  background: var(--gris-medio);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.metodo-pago-item:hover {
  border-color: var(--naranja-chakra);
  transform: scale(1.05);
}

.metodo-pago-item img {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

/* ========== FAQ ACORDEÓN ========== */
.faq-lista {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gris-medio);
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gris-ninja);
}

.faq-pregunta {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: var(--blanco-pergamino);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-pregunta:hover {
  background: rgba(255, 107, 0, 0.1);
}

.faq-pregunta::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--naranja-chakra);
  transition: transform 0.3s ease;
}

.faq-item.activo .faq-pregunta::after {
  transform: rotate(45deg);
}

.faq-respuesta {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.activo .faq-respuesta {
  max-height: 500px;
}

.faq-respuesta-contenido {
  padding: 0 1.5rem 1.5rem;
  color: rgba(245, 240, 230, 0.85);
}

/* ========== RESEÑAS USUARIOS ========== */
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.resena-tarjeta {
  background: linear-gradient(145deg, var(--gris-medio), var(--negro-profundo));
  padding: 2rem;
  border-radius: 20px;
  position: relative;
}

.resena-tarjeta::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--naranja-chakra);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.resena-cabecera {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.resena-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--naranja-chakra);
}

.resena-nombre {
  font-weight: 700;
  color: var(--naranja-claro);
}

.resena-ubicacion {
  font-size: 0.85rem;
  color: rgba(245, 240, 230, 0.6);
}

.resena-estrellas {
  color: var(--dorado-victoria);
  margin-bottom: 1rem;
}

.resena-texto {
  font-style: italic;
  color: rgba(245, 240, 230, 0.9);
  margin-bottom: 1rem;
}

.resena-fecha {
  font-size: 0.8rem;
  color: rgba(245, 240, 230, 0.5);
}

/* ========== LICENCIA ========== */
.licencia-contenedor {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--gris-medio);
  padding: 2rem;
  border-radius: 20px;
  flex-wrap: wrap;
}

.licencia-imagen {
  width: 150px;
  height: auto;
}

/* ========== JUEGO RESPONSABLE ========== */
.responsable-contenedor {
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.2), var(--negro-profundo));
  padding: 3rem;
  border-radius: 20px;
  border: 2px solid var(--rojo-sharingan);
}

.responsable-icono {
  width: 100px;
  margin-bottom: 1.5rem;
}

.edad-badge {
  display: inline-block;
  background: var(--rojo-sharingan);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* ========== FOOTER ========== */
.footer-ninja {
  background: linear-gradient(180deg, var(--negro-profundo), var(--negro-sombra));
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--naranja-chakra);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-columna h4 {
  color: var(--naranja-chakra);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-columna ul {
  list-style: none;
}

.footer-columna ul li {
  margin-bottom: 0.75rem;
}

.footer-columna ul li a {
  color: rgba(245, 240, 230, 0.7);
  transition: all 0.3s ease;
}

.footer-columna ul li a:hover {
  color: var(--naranja-claro);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--gris-medio);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--naranja-chakra);
  transform: translateY(-3px);
}

.footer-pagos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-pagos img {
  height: 35px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-pagos img:hover {
  opacity: 1;
}

.footer-legal {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gris-medio);
  color: rgba(245, 240, 230, 0.5);
  font-size: 0.9rem;
}

.footer-legal p {
  margin-bottom: 0.5rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-titulo {
    font-size: 2.5rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 768px) {
  .nav-contenido {
    flex-direction: column;
    text-align: center;
  }
  
  .menu-principal {
    justify-content: center;
  }
  
  .hero-titulo {
    font-size: 2rem;
  }
  
  .hero-subtitulo {
    font-size: 1.1rem;
  }
  
  .autor-info {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .licencia-contenedor {
    flex-direction: column;
    text-align: center;
  }
  
  .seccion-contenido {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .contenedor-shinobi {
    padding: 0 1rem;
  }
  
  .hero-cta {
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  .grid-juegos {
    grid-template-columns: 1fr;
  }
}

/* ========== ANIMACIONES ========== */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animar-entrada {
  animation: aparecer 0.6s ease forwards;
}

/* ========== UTILIDADES ========== */
.texto-centro { text-align: center; }
.texto-naranja { color: var(--naranja-chakra); }
.texto-dorado { color: var(--dorado-victoria); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ========== TABLA DE INFORMACIÓN ========== */
.tabla-info {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--gris-medio);
  border-radius: 12px;
  overflow: hidden;
}

.tabla-info th,
.tabla-info td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gris-ninja);
}

.tabla-info th {
  background: var(--naranja-chakra);
  color: var(--negro-sombra);
  font-weight: 700;
}

.tabla-info tr:hover {
  background: rgba(255, 107, 0, 0.1);
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(245, 240, 230, 0.6);
}

.breadcrumb span {
  color: var(--naranja-claro);
  margin: 0 0.5rem;
}
