/* 1xbet app - Diseño moderno con azul eléctrico y cian */

/* Variables de color */
:root {
  --primary-blue: #0066FF;
  --secondary-cyan: #00D4FF;
  --dark-bg: #001a33;
  --light-bg: #f0f8ff;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --success-green: #00cc66;
  --warning-red: #ff3366;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  color: var(--primary-blue);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
}

p {
  margin-bottom: 1rem;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-cyan));
  color: var(--text-light);
  padding: 1.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 102, 255, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navegación */
nav {
  margin-top: 1rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Menú móvil */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  font-size: 1.5rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 8px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
  padding: 60px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 30px auto;
  max-width: 1200px;
}

.hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.3);
  margin: 30px auto;
  display: block;
}

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

/* Secciones */
section {
  background: var(--text-light);
  padding: 40px;
  margin-bottom: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

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

.juego-card {
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
  transition: all 0.3s ease;
}

.juego-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.juego-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.juego-info {
  padding: 20px;
}

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

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-cyan));
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
  background: var(--text-light);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--text-light);
}

/* Autor Section */
.autor-info {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  border-radius: 12px;
  margin: 30px 0;
}

.autor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-blue);
}

.autor-detalles h4 {
  color: var(--primary-blue);
  margin-bottom: 5px;
}

/* Reseñas */
.reseñas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.reseña-card {
  background: linear-gradient(135deg, #ffffff, #f0f8ff);
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
}

.reseña-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.estrellas {
  color: #ffd700;
  font-size: 1.2rem;
}

/* FAQ */
.faq-item {
  background: var(--text-light);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: linear-gradient(135deg, #e6f3ff, #d9edff);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

/* Pagos Grid */
.pagos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.pago-item {
  background: var(--text-light);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
  transition: all 0.3s ease;
}

.pago-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.pago-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg), #002a4d);
  color: var(--text-light);
  padding: 40px 20px 20px;
  margin-top: 60px;
}

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

.footer-section h3 {
  color: var(--secondary-cyan);
  margin-bottom: 15px;
}

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

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

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badges */
.badges-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.badge {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

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

  nav {
    width: 100%;
  }

  nav ul {
    flex-direction: column;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

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

  .autor-info {
    flex-direction: column;
    text-align: center;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Utilidades */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 20px;
}

.mb-2 {
  margin-bottom: 20px;
}

.highlight {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.1));
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
}
