/* caliente bet - Configuración de Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@300;400;500;700&display=swap');

/* Variables de Color - Tema Fuego */
:root {
  --primary-color: #D32F2F; /* Rojo Fuego */
  --secondary-color: #FF6F00; /* Naranja Intenso */
  --accent-color: #FFA000; /* Ámbar Cálido */
  --dark-bg: #1A1A1A;
  --light-bg: #2C2C2C;
  --text-light: #FFFFFF;
  --text-gray: #CCCCCC;
  --border-color: #444444;
  --success-color: #4CAF50;
  --warning-color: #FFC107;
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Contenedor Principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header y Navegación */
header {
  background: linear-gradient(180deg, rgba(211, 47, 47, 0.95) 0%, rgba(255, 111, 0, 0.85) 100%);
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.5);
  position: relative;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 111, 0, 0.6));
}

.site-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 2rem;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

/* Navegación */
nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

nav a:hover {
  background: rgba(255, 111, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.5);
}

/* Botón CTA */
.cta-button {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
  border: 2px solid var(--accent-color);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 111, 0, 0.6);
}

/* Hero Section */
.hero {
  background: url('../images/hero-banner.webp') center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.8) 0%, rgba(255, 111, 0, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Secciones */
section {
  padding: 60px 20px;
}

h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
}

h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  letter-spacing: 1px;
}

/* Grid de Juegos */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.game-card {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--dark-bg) 100%);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(255, 111, 0, 0.4);
  border-color: var(--secondary-color);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.1);
}

.game-info {
  padding: 20px;
}

.game-info h3 {
  margin-bottom: 10px;
}

.game-info p {
  color: var(--text-gray);
  margin-bottom: 15px;
}

/* Información en Columnas */
.info-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-box {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--dark-bg) 100%);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-box:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.3);
}

.info-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 10px;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
}

.info-box li:last-child {
  border-bottom: none;
}

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

.faq-item {
  background: var(--light-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-gray);
}

.faq-answer.active {
  padding: 20px;
  max-height: 500px;
}

/* Reseñas */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.review-card {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.reviewer-name {
  font-weight: 700;
  color: var(--accent-color);
}

.rating {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.review-text {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-style: italic;
}

.review-date {
  font-size: 0.9rem;
  color: #888;
}

/* Footer */
footer {
  background: linear-gradient(180deg, var(--dark-bg) 0%, #0A0A0A 100%);
  padding: 40px 20px 20px;
  border-top: 3px solid var(--primary-color);
}

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

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

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

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.payment-icons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.payment-icons img {
  height: 40px;
  width: auto;
  border-radius: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Menú Móvil */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary-color);
  color: var(--text-light);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .info-columns {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* Lazy Loading */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Badges */
.badge-18 {
  display: inline-block;
  background: var(--warning-color);
  color: var(--dark-bg);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-left: 10px;
}

/* Licencia Badge */
.license-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--light-bg);
  padding: 20px;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  margin: 20px 0;
}

.license-badge img {
  width: 80px;
  height: 80px;
}
