html {
  scroll-behavior: smooth; /* Esto hace que la página baje suavemente en lugar de saltar */
}
:root {
  --primary: #f97316;
  --bg-dark: #0a0a1f;
  --card-bg: #111827;
  --text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Rajdhani", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 100px auto 50px;
  padding: 0 20px;
}

/* Navbar */
.futuristic-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 31, 0.95);
  border-bottom: 2px solid var(--primary);
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron";
  color: var(--primary);
}

.logo-icon {
  background: var(--primary);
  color: #000;
  padding: 5px 12px;
  border-radius: 5px;
  font-weight: bold;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.wa-btn-nav {
  background: #22c55e;
  color: white;
  padding: 8px 12px;
  border-radius: 50%;
}

/* Hero Section */
.hero-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 60px;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.hero-content h1 {
  font-family: "Orbitron";
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  margin-right: 10px;
}

/* Efecto para los botones grandes del Hero */
.btn:hover {
  transform: translateY(-3px); /* El botón sube un poquito, como si flotara */
  box-shadow: 0 0 20px var(--primary); /* Crea el aura de luz naranja */
  transition: 0.3s; /* Hace que el brillo aparezca suavemente */
}

/* Brillo verde para WhatsApp */
.btn-green:hover {
  box-shadow: 0 0 25px #22c55e;
}

/* Brillo azul para Telegram */
.btn-blue:hover {
  box-shadow: 0 0 25px #3b82f6;
}

.btn-green {
  background: #22c55e;
}
.btn-blue {
  background: #3b82f6;
}

.btn-green {
  background-color: #22c55e; /* El color verde de WhatsApp */
  color: white;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); /* Un brillo verde suave */
}

.btn-green:hover {
  background-color: #16a34a; /* Un verde un poco más oscuro al pasar el mouse */
  box-shadow: 0 0 25px #22c55e;
  transform: translateY(-2px);
}

.hero-video iframe {
  width: 100%; /* Ocupará el ancho del contenedor */
  max-width: 400px; /* Pero nunca medirá más de 400px en computadoras */
  height: auto;
  aspect-ratio: 16/9; /* Mantiene la forma rectangular perfecta */
  border-radius: 10px;
}

/* Productos */
.section-title {
  font-family: "Orbitron";
  color: var(--primary);
  margin-bottom: 30px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-video iframe {
  width: 100%;
  height: 180px;
}

.card-info {
  padding: 20px;
  text-align: center;
}

.card-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.mini-btn {
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
}

.mini-btn.wa {
  background: #22c55e;
}
.mini-btn.binance {
  background: #f3ba2f;
  color: black;
}
.mini-btn.paypal {
  background: #003087;
}

/* Footer */
.futuristic-footer {
  background: #050510;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid var(--primary);
}

.footer-logo {
  margin-bottom: 20px;
  color: var(--primary);
  font-family: "Orbitron";
  /* Añadiremos este resplandor al texto */
  text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
  letter-spacing: 2px; /* Separa un poquito las letras para que se vea más moderno */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.icon {
  font-size: 2rem;
  color: white;
}

.icon.wa {
  color: #22c55e;
}
.icon.tg {
  color: #3b82f6;
}
.icon.yt {
  color: #ef4444;
}

.footer-glow {
  height: 5px;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
  /* Vamos a añadirle una animación de "latido" muy sutil */
  animation: brilloLinea 3s infinite alternate;
}

/* Paso a paso de la animación: */
@keyframes brilloLinea {
  from {
    opacity: 0.6;
    box-shadow: 0 0 10px var(--primary);
  }
  to {
    opacity: 1;
    box-shadow: 0 0 25px var(--primary);
  }
}
/* =========================================
   ESTILOS PARA MÓVILES Y TABLETS (Todo esto va al final del archivo)
   ========================================= */

@media (max-width: 768px) {
  /* 1. Ajuste del Menú Hamburguesa */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
  }

  /* Escondemos el menú normal para que solo salga al presionar las rayas */
  .navbar-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(10, 10, 31, 0.98);
    width: 100%;
    height: 100vh;
    transition: 0.4s ease;
    padding-top: 50px;
    border-top: 1px solid var(--primary);
  }

  .navbar-menu.active {
    left: 0;
  }

  /* 2. Ajuste del Contenedor Principal */
  .container {
    margin-top: 80px; /* Reduce el espacio arriba para que no se vea vacío en el celular */
    padding: 0 15px;
  }

  /* 3. Ajuste de la Tarjeta Principal (Hero) */
  .hero-card {
    flex-direction: column; /* Pone el texto arriba y el video abajo */
    text-align: center;
    padding: 20px;
    gap: 30px; /* Espacio entre el texto y el video */
  }

  /* 4. El video ahora se ajusta al ancho del celular */
  .hero-video iframe {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  /* 5. Ajuste de Títulos */
  .hero-content h1 {
    font-size: 1.8rem; /* Letra más pequeña para celulares */
    margin-bottom: 15px;
  }

  /* Centramos los botones en el móvil */
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/* <-- Esta llave de arriba es la que cierra todo el bloque de móviles. ¡No la borres! */
