/* Casino NetBet - Tema Cenote Yucatán
   Diseño original inspirado en los cenotes sagrados de la Península de Yucatán
   Paleta: Profundidad cavernosa, aguas turquesas, oro ancestral maya
*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Lato:wght@300;400;700;900&display=swap');

:root {
  --cenote-profundo: #0a1628;
  --cenote-medio: #132744;
  --cenote-claro: #1a3a5c;
  --turquesa-brillante: #00d4aa;
  --turquesa-suave: #2dd4bf;
  --jade-maya: #10b981;
  --oro-ancestral: #d4a574;
  --oro-brillante: #f59e0b;
  --piedra-caliza: #8b9dc3;
  --luz-solar: #fef3c7;
  --texto-claro: #e2e8f0;
  --texto-suave: #94a3b8;
  --sombra-cueva: rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: 'Lato', sans-serif;
  background: linear-gradient(180deg, var(--cenote-profundo) 0%, var(--cenote-medio) 50%, var(--cenote-profundo) 100%);
  color: var(--texto-claro);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--luz-solar);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
  margin-bottom: 1rem;
  color: var(--texto-claro);
}

a {
  color: var(--turquesa-brillante);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--oro-brillante);
  text-shadow: 0 0 10px var(--turquesa-brillante);
}

/* Contenedor principal */
.contenedor {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navegación */
.navegacion-principal {
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(19, 39, 68, 0.95) 100%);
  padding: 1rem 0;
  border-bottom: 2px solid var(--turquesa-brillante);
  box-shadow: 0 4px 30px rgba(0, 212, 170, 0.15);
}

.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: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--oro-ancestral);
}

.logo-marca span {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--oro-ancestral), var(--oro-brillante));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.menu-navegacion {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-navegacion li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--texto-claro);
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.menu-navegacion li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--turquesa-brillante);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu-navegacion li a:hover::after {
  width: 80%;
}

.menu-navegacion li a:hover {
  color: var(--turquesa-brillante);
  background: rgba(0, 212, 170, 0.1);
}

.boton-cta {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--oro-ancestral), var(--oro-brillante));
  color: var(--cenote-profundo) !important;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.boton-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, var(--oro-brillante), var(--luz-solar));
}

/* Hero Section */
.seccion-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-fondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.hero-fondo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(10, 22, 40, 0.7) 0%, 
    rgba(10, 22, 40, 0.4) 50%, 
    rgba(10, 22, 40, 0.9) 100%);
}

.hero-contenido {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-contenido h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-contenido h1 span {
  display: block;
  color: var(--turquesa-brillante);
  font-size: 0.6em;
  margin-top: 0.5rem;
}

.hero-contenido p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.boton-secundario {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--turquesa-brillante);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  border: 2px solid var(--turquesa-brillante);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.boton-secundario:hover {
  background: var(--turquesa-brillante);
  color: var(--cenote-profundo);
  box-shadow: 0 0 30px rgba(0, 212, 170, 0.5);
}

/* Secciones */
.seccion {
  padding: 5rem 0;
  position: relative;
}

.seccion-clara {
  background: linear-gradient(180deg, var(--cenote-medio) 0%, var(--cenote-claro) 50%, var(--cenote-medio) 100%);
}

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

.seccion-titulo h2 {
  position: relative;
  display: inline-block;
}

.seccion-titulo h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--turquesa-brillante), transparent);
}

.seccion-titulo p {
  color: var(--texto-suave);
  max-width: 700px;
  margin: 1.5rem auto 0;
}

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

.juego-tarjeta {
  background: linear-gradient(145deg, rgba(26, 58, 92, 0.8), rgba(19, 39, 68, 0.9));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 170, 0.2);
  transition: all 0.4s ease;
  position: relative;
}

.juego-tarjeta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.juego-tarjeta:hover {
  transform: translateY(-10px);
  border-color: var(--turquesa-brillante);
  box-shadow: 0 20px 50px rgba(0, 212, 170, 0.2);
}

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

.juego-imagen {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.juego-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.juego-tarjeta:hover .juego-imagen img {
  transform: scale(1.1);
}

.juego-contenido {
  padding: 1.5rem;
  position: relative;
  z-index: 1;
}

.juego-contenido h3 {
  margin-bottom: 0.75rem;
  color: var(--oro-ancestral);
}

.juego-contenido p {
  font-size: 0.95rem;
  color: var(--texto-suave);
  margin-bottom: 1rem;
}

.juego-rtp {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(0, 212, 170, 0.2);
  color: var(--turquesa-brillante);
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* Promociones */
.promocion-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 2rem 0;
}

.promocion-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.promocion-contenido {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(90deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.5) 60%, transparent 100%);
}

.promocion-contenido h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.promocion-contenido .bono-valor {
  font-size: 3rem;
  color: var(--oro-brillante);
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

/* Métodos de Pago */
.pagos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pago-item {
  background: rgba(26, 58, 92, 0.5);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 212, 170, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.pago-item:hover {
  border-color: var(--turquesa-brillante);
  transform: translateY(-5px);
}

.pago-item h4 {
  color: var(--oro-ancestral);
  margin-bottom: 0.5rem;
}

.pago-item p {
  font-size: 0.9rem;
  color: var(--texto-suave);
}

.pago-tiempo {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.2);
  color: var(--jade-maya);
  border-radius: 20px;
  font-size: 0.8rem;
}

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

.faq-item {
  background: rgba(26, 58, 92, 0.5);
  border-radius: 15px;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 212, 170, 0.1);
  overflow: hidden;
}

.faq-pregunta {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--texto-claro);
  font-family: 'Lato', sans-serif;
  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 {
  color: var(--turquesa-brillante);
}

.faq-pregunta::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--turquesa-brillante);
  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.3s ease;
}

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

.faq-respuesta-contenido {
  padding: 0 1.5rem 1.5rem;
  color: var(--texto-suave);
}

/* Testimonios */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonio-tarjeta {
  background: linear-gradient(145deg, rgba(26, 58, 92, 0.7), rgba(19, 39, 68, 0.8));
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 170, 0.15);
  position: relative;
}

.testimonio-tarjeta::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  font-family: 'Cinzel', serif;
  color: rgba(0, 212, 170, 0.1);
  line-height: 1;
}

.testimonio-estrellas {
  color: var(--oro-brillante);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonio-texto {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonio-autor-info h4 {
  color: var(--texto-claro);
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

.testimonio-autor-info span {
  color: var(--texto-suave);
  font-size: 0.85rem;
}

.testimonio-fecha {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--piedra-caliza);
}

/* Sobre Nosotros / Autor */
.autor-seccion {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.autor-imagen {
  position: relative;
}

.autor-imagen img {
  width: 100%;
  border-radius: 20px;
  border: 3px solid var(--oro-ancestral);
}

.autor-credenciales {
  margin-top: 1.5rem;
}

.autor-credenciales span {
  display: block;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--turquesa-suave);
}

/* Juego Responsable */
.responsable-contenido {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.responsable-item {
  background: rgba(26, 58, 92, 0.5);
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid var(--turquesa-brillante);
}

.responsable-item h4 {
  color: var(--oro-ancestral);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.edad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  margin-right: 1rem;
}

/* Licencia */
.licencia-contenido {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.licencia-imagen {
  flex: 0 0 300px;
}

.licencia-imagen img {
  width: 100%;
  border-radius: 15px;
  border: 2px solid var(--oro-ancestral);
}

.licencia-info {
  flex: 1;
  min-width: 300px;
}

.licencia-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--jade-maya), var(--turquesa-brillante));
  color: var(--cenote-profundo);
  font-weight: 700;
  border-radius: 25px;
  margin-bottom: 1rem;
}

/* Soporte */
.soporte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.soporte-item {
  background: rgba(26, 58, 92, 0.6);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(0, 212, 170, 0.1);
  transition: all 0.3s ease;
}

.soporte-item:hover {
  border-color: var(--turquesa-brillante);
  transform: translateY(-5px);
}

.soporte-icono {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.soporte-item h4 {
  color: var(--oro-ancestral);
  margin-bottom: 0.5rem;
}

/* Footer */
.pie-pagina {
  background: linear-gradient(180deg, var(--cenote-profundo) 0%, #050d18 100%);
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(0, 212, 170, 0.2);
}

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

.footer-columna h4 {
  color: var(--oro-ancestral);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

.footer-columna ul li a {
  color: var(--texto-suave);
  transition: all 0.3s ease;
}

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

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 170, 0.1);
  border-radius: 50%;
  color: var(--turquesa-brillante);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--turquesa-brillante);
  color: var(--cenote-profundo);
}

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

.footer-pagos span {
  padding: 0.5rem 1rem;
  background: rgba(26, 58, 92, 0.5);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--texto-suave);
}

.footer-inferior {
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 212, 170, 0.1);
  text-align: center;
}

.footer-inferior p {
  color: var(--texto-suave);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--texto-suave);
  font-size: 0.85rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: rgba(10, 22, 40, 0.5);
}

.breadcrumb-lista {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb-lista li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--texto-suave);
  font-size: 0.9rem;
}

.breadcrumb-lista li a {
  color: var(--turquesa-suave);
}

.breadcrumb-lista li::after {
  content: '›';
  color: var(--piedra-caliza);
}

.breadcrumb-lista li:last-child::after {
  display: none;
}

/* Páginas internas */
.pagina-hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(180deg, var(--cenote-profundo) 0%, var(--cenote-medio) 100%);
  text-align: center;
}

.pagina-hero h1 {
  margin-bottom: 1rem;
}

.pagina-contenido {
  padding: 3rem 0;
}

.contenido-principal {
  max-width: 900px;
  margin: 0 auto;
}

.contenido-principal img {
  width: 100%;
  border-radius: 15px;
  margin: 2rem 0;
}

.contenido-principal h2 {
  margin-top: 2.5rem;
  color: var(--turquesa-brillante);
}

.contenido-principal h3 {
  margin-top: 2rem;
  color: var(--oro-ancestral);
}

.contenido-principal ul, .contenido-principal ol {
  margin: 1rem 0 1rem 2rem;
  color: var(--texto-suave);
}

.contenido-principal li {
  margin-bottom: 0.5rem;
}

.tabla-info {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: rgba(26, 58, 92, 0.5);
  border-radius: 10px;
  overflow: hidden;
}

.tabla-info th, .tabla-info td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 170, 0.1);
}

.tabla-info th {
  background: rgba(0, 212, 170, 0.1);
  color: var(--turquesa-brillante);
  font-weight: 600;
}

.tabla-info td {
  color: var(--texto-suave);
}

/* Animaciones */
@keyframes pulso-turquesa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.4); }
  50% { box-shadow: 0 0 20px 10px rgba(0, 212, 170, 0); }
}

.pulso {
  animation: pulso-turquesa 2s infinite;
}

@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.flotar {
  animation: flotar 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 992px) {
  .autor-seccion {
    grid-template-columns: 1fr;
  }
  
  .autor-imagen {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .licencia-contenido {
    flex-direction: column;
    text-align: center;
  }
  
  .licencia-imagen {
    flex: 0 0 auto;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .nav-contenido {
    flex-direction: column;
    text-align: center;
  }
  
  .menu-navegacion {
    justify-content: center;
  }
  
  .hero-contenido {
    text-align: center;
  }
  
  .hero-botones {
    justify-content: center;
  }
  
  .seccion {
    padding: 3rem 0;
  }
  
  .promocion-contenido {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.8) 100%);
  }
  
  .promocion-contenido h3 {
    font-size: 1.5rem;
  }
  
  .promocion-contenido .bono-valor {
    font-size: 2rem;
  }
}

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

/* Utilidades */
.texto-centro { text-align: center; }
.texto-turquesa { color: var(--turquesa-brillante); }
.texto-oro { color: var(--oro-ancestral); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
