html,
body {
  height: 100%;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #e0e7ff 0%, #f5f7fa 100%);
  color: #222;
}

/* Barra superior con botón FAQ */
.top-bar {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;

  border-radius: 18px;
  z-index: 1000;
  padding: 12px 0;
}

.top-bar-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  background: linear-gradient(90deg, #0056b3, #0099cc);
}

.nav-btn i {
  font-size: 1rem;
}

.nav-btn span {
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Estilos específicos para cada botón */
.home-btn {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.home-btn:hover {
  background: linear-gradient(90deg, #1e7e34, #17a2b8);
}

.faq-btn {
  background: linear-gradient(90deg, #007bff, #00c6ff);
}

.faq-btn:hover {
  background: linear-gradient(90deg, #0056b3, #0099cc);
}

body {
  margin: 0;
  padding: 75px 0 0 0; /* Padding top para compensar la barra fija separada */
  /* font-family actualizado arriba */
  /* background actualizado arriba */
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  min-height: 100vh;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  padding: 48px 24px;
  box-sizing: border-box;
}

.left-box,
.right-box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-box {
  max-width: 600px;
  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.1);
  padding: 24px;
}

.right-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 48px 36px;
  box-shadow: 0 8px 32px rgba(0, 60, 255, 0.1), 0 1.5px 8px rgba(0, 0, 0, 0.04);
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1.5px solid #e0e7ff;
}

.line-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -1px;
  color: #1a237e;
  text-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
}

.line-bar {
  height: 5px;
  background: linear-gradient(90deg, #007bff 0%, #00c6ff 100%);
  border-radius: 3px;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: 0 1px 6px rgba(0, 123, 255, 0.1);
}

/* Botones de enlaces personalizados */
.button-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  width: 100%;
}

.custom-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  border: none;
  box-sizing: border-box;
}

.btn-text {
  flex: 1;
  text-align: center;
}

.custom-btn i {
  margin-left: 0;
  font-size: 1.2em;
  vertical-align: middle;
}

/* Colores de plataforma para los botones */
.btn-telegram {
  background: linear-gradient(90deg, #229ed9 0%, #37aee2 100%) !important;
}
.btn-telegram:hover,
.btn-telegram:focus {
  background: linear-gradient(90deg, #178bb7 0%, #229ed9 100%) !important;
}

.btn-tiktok {
  background: #111 !important;
  color: #fff !important;
}
.btn-tiktok:hover,
.btn-tiktok:focus {
  background: #333 !important;
  color: #fff !important;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Espacio entre texto e icono */
  width: 100%;
  text-align: center;
  gap: 8px;
}

.btn-icon i {
  font-size: 1.2em;
  margin-left: 6px;
  vertical-align: middle;
}
.btn-icon img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  vertical-align: middle;
}

.btn-mining {
  background: #111 !important;
  color: #fff !important;
}
.btn-mining:hover,
.btn-mining:focus {
  background: #333 !important;
  color: #fff !important;
}

.btn-youtube {
  background: #ff0000 !important;
  color: #fff !important;
}
.btn-youtube:hover,
.btn-youtube:focus {
  background: #cc0000 !important;
  color: #fff !important;
}

/* --- Overlay y botón de play para el video --- */
.video-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
  object-fit: cover;
}

.logo {
  max-width: 220px;
  width: 80%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  z-index: 2;
  transition: background 0.3s;
}

.play-btn {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #007bff;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: background 0.2s, color 0.2s, transform 0.1s;
}
.play-btn:hover,
.play-btn:focus {
  background: #007bff;
  color: #fff;
  transform: scale(1.08);
}

/* Ajuste para el video dentro del contenedor */
.video-container video {
  width: 100% !important;
  height: auto;
  display: block;
  border-radius: 18px !important;
  object-fit: contain !important;
}

video {
  width: 100% !important;
  border-radius: 18px !important;
  object-fit: contain !important;
  max-height: 70vh !important;
  background: #000 !important;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.18);
  border: 2px solid #e0e7ff;
}

/* --- Botones secundarios menos protagonistas --- */
.secondary-btn {
  background: #fff !important;
  color: #555 !important;
  border: 1.5px solid #d1d5db !important;
  box-shadow: none !important;
  font-size: 0.92rem !important;
  padding: 9px 8px !important;
  opacity: 0.85;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.secondary-btn:hover,
.secondary-btn:focus {
  background: #f3f4f6 !important;
  color: #222 !important;
  border-color: #bfc5cc !important;
  opacity: 1;
}
.secondary-btn i {
  opacity: 0.7;
  font-size: 1em !important;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  padding: 12px 22px;
  font-size: 18px;
  font-weight: bold;
  z-index: 1000;
  text-decoration: none;
  transition: background 0.2s;
}
.whatsapp-float:hover {
  background-color: #1ebe5d;
  color: #fff;
}
.whatsapp-float i {
  font-size: 24px;
  margin-right: 10px;
}
.whatsapp-text {
  font-family: inherit;
}

@media (max-width: 900px) {
  .top-bar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .top-bar-content {
    padding: 0 16px;
    gap: 10px;
  }

  .nav-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .container {
    flex-direction: column;
    gap: 28px;
    padding: 24px 8px;
    align-items: stretch;
  }
  .left-box,
  .right-box {
    max-width: 100%;
    min-width: 0;
  }
  .right-box {
    padding: 28px 10px;
  }
  .line-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 65px; /* Ajustado para la barra separada en móvil */
  }

  .top-bar {
    top: 6px;
    left: 6px;
    right: 6px;
    padding: 8px 0;
  }

  .top-bar-content {
    padding: 0 10px;
    gap: 8px;
  }

  .nav-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .home-btn span {
    display: none; /* Ocultar solo el texto del botón Home en móvil */
  }

  .faq-btn span {
    display: inline; /* Mantener el texto FAQ visible en móvil */
  }

  .container {
    padding: 8px 10px;
    gap: 12px;
  }
  .right-box {
    padding: 14px 10px;
  }
  .left-box {
    padding: 10px;
  }
  .line-title {
    font-size: 1.1rem;
  }
  .line-bar {
    width: 100%;
  }
  .button-links {
    gap: 8px;
  }
  .custom-btn {
    font-size: 0.95rem;
    padding: 10px 10px;
  }
  .logo {
    max-width: 150px;
    width: 90%;
  }
  /* video {
    max-height: 40vh !important;
  } */
}

/* Estilos para la sección de FAQ */
.faq-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.faq-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 48px 36px;
  box-shadow: 0 8px 32px rgba(0, 60, 255, 0.1), 0 1.5px 8px rgba(0, 0, 0, 0.04);
  border: 1.5px solid #e0e7ff;
}

.faq-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -1px;
  color: #1a237e;
  text-shadow: 0 2px 8px rgba(0, 123, 255, 0.08);
  text-align: center;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1.5px solid #e0e7ff;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 123, 255, 0.08);
  border-color: #007bff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a237e;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

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

.faq-question span {
  flex: 1;
  margin-right: 16px;
}

.faq-icon {
  font-size: 1rem;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(248, 250, 252, 0.8);
}

.faq-answer p {
  padding: 0 24px 20px 24px;
  margin: 0;
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-question {
  background: rgba(0, 123, 255, 0.08);
  border-bottom: 1px solid #e0e7ff;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Responsive para FAQ */
@media (max-width: 900px) {
  .faq-section {
    margin: 32px auto;
    padding: 0 16px;
  }

  .faq-container {
    padding: 32px 24px;
  }

  .faq-title {
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 20px 16px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .faq-section {
    margin: 24px auto;
    padding: 0 10px;
  }

  .faq-container {
    padding: 24px 16px;
  }

  .faq-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 16px 14px 16px;
    font-size: 0.9rem;
  }

  .faq-items {
    gap: 12px;
  }
}
