/* 🎨 GEMINYZONE - ESTILO BASE */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #1a0033, #000);
  color: white;
  text-align: center;
  min-height: 100vh;
}

/* ==== CABECERA ==== */
header {
  padding: 40px 20px 25px;
  background: linear-gradient(90deg, #8a2be2, #4b0082);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 900;
}

header h1 {
  font-size: 2.6rem;
  color: #e5ccff;
  text-shadow: 0 0 10px #8a2be2, 0 0 25px #4b0082;
  margin-bottom: 5px;
}

header p {
  font-size: 1.1rem;
  color: #d9b3ff;
}

/* ==== MENÚ DE NAVEGACIÓN ==== */
.main-menu {
  position: sticky;
  top: 0;
  background-color: rgba(20, 0, 40, 0.85);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(138, 43, 226, 0.3);
}

.menu-btn {
  background: none;
  border: 1px solid transparent;
  color: #d9b3ff;
  text-decoration: none;
  margin: 5px 15px;
  padding: 10px 22px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.menu-btn:hover {
  background: linear-gradient(90deg, #6a00ff, #8a2be2);
  color: white;
  box-shadow: 0 0 10px #b366ff;
  transform: scale(1.05);
}

.menu-btn.active {
  background: linear-gradient(90deg, #8a2be2, #6a00ff);
  color: white;
  box-shadow: 0 0 12px #b366ff;
}

/* ==== SECCIONES ==== */
.section-container {
  padding: 60px 20px;
  background: linear-gradient(180deg, #0a001a, #1a0033, #000);
}

.section-header h2 {
  font-size: 2rem;
  color: #d9b3ff;
  text-shadow: 0 0 10px #8a2be2;
  margin-bottom: 10px;
}

.section-header p {
  color: #f0e6ff;
  font-size: 1rem;
  margin-bottom: 35px;
}

/* ==== TARJETAS ==== */
.card-section,
.cards-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 35px;
}

/* 🔥 TARJETAS GRANDES PARA TODA LA WEB */
.card {
  background: rgba(138, 43, 226, 0.12);
  border: 1px solid rgba(138, 43, 226, 0.35);
  border-radius: 20px;
  padding: 22px;
  width: 360px;              /* ⭐ MÁS GRANDES EN TODA LA WEB */
  text-align: center;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(178, 102, 255, 0.18);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(178, 102, 255, 0.5);
  background: rgba(138, 43, 226, 0.18);
}

.card img {
  width: 100%;
  height: 230px;             /* ⭐ TODAS CON LA MISMA ALTURA */
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.card h3 {
  color: #c68cff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  color: #e6ccff;
  font-size: 1rem;
  margin-bottom: 15px;
}

.card button {
  background: linear-gradient(90deg, #8a2be2, #00bfff);
  border: none;
  color: white;
  padding: 12px 26px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.card button:hover {
  background: linear-gradient(90deg, #b366ff, #7b68ee);
  box-shadow: 0 0 12px #b366ff;
}

/* ==== IMAGEN PRINCIPAL DE LA SECCIÓN ==== */
.section-image img {
  width: 100%;
  max-width: 350px;
  margin: 20px auto;
  display: block;
  border-radius: 15px;
}

/* ==== FOOTER ==== */
footer {
  background-color: #0b001a;
  color: #c9a6ff;
  padding: 25px;
  margin-top: 50px;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

footer a {
  color: #b366ff;
  text-decoration: none;
  margin: 0 5px;
  transition: 0.3s;
}

footer a:hover {
  text-shadow: 0 0 6px #b366ff;
  color: #fff;
}

/* =======================================================
   🔥 FIX MENÚ EN INICIO
   ======================================================= */
.menu-inicio {
  position: absolute;
  top: 140px;
  left: 0;
  width: 100%;
  z-index: 800;
}

.menu-inicio.scrolled {
  display: none;
}

.main-menu:not(.menu-inicio) {
  position: sticky;
  top: 0;
}

/* =======================================================
   📱 RESPONSIVE
   ======================================================= */
@media (max-width: 1024px) {
  .card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .card-section,
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .section-container {
    padding: 40px 10px;
  }

  .card {
    width: 95%;
  }
}

/* =======================================================
   📱 MENÚ MÓVIL — BOTÓN HAMBURGUESA
   ======================================================= */
.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  background: linear-gradient(90deg, #8a2be2, #00bfff);
  color: white;
  border: none;
  font-size: 1.8rem;
  padding: 8px 15px;
  border-radius: 10px;
  z-index: 2000;
  cursor: pointer;
  box-shadow: 0 0 10px #8a2be2;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* =======================================================
   📱 MENÚ DESPLEGABLE (OPCIÓN B)
   ======================================================= */
@media (max-width: 768px) {

  .main-menu {
    display: none;
    flex-direction: column;
    background: rgba(20, 0, 40, 0.95);
    width: 100%;
    padding: 20px 0;
    position: absolute;
    top: 90px;
    left: 0;
    animation: slideDown 0.3s ease forwards;
  }

  .main-menu.menu-open {
    display: flex;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .menu-btn {
    width: 90%;
    margin: 8px auto;
    padding: 12px 20px;
    font-size: 1.1rem;
  }
}
.content-box {
  max-width: 900px;
  margin: 30px auto;
  background: rgba(138, 43, 226, 0.1);
  padding: 25px;
  border-radius: 18px;
  text-align: left;
  line-height: 1.7;
  border: 1px solid rgba(138, 43, 226, 0.3);
  box-shadow: 0 0 15px rgba(178, 102, 255, 0.2);
}

.content-box h3 {
  color: #d9b3ff;
  margin-top: 25px;
  font-size: 1.6rem;
}

.content-box h4 {
  color: #c68cff;
  margin-top: 15px;
  font-size: 1.2rem;
}

.content-box p,
.content-box li {
  color: #f0e6ff;
  font-size: 1rem;
  margin-top: 10px;
}

.related-box {
  margin-top: 35px;
  text-align: center;
}

.related-link {
  display: inline-block;
  color: #9c6bff;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid rgba(138, 43, 226, 0.4);
  padding: 12px 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.related-link:hover {
  background: rgba(138, 43, 226, 0.3);
  color: white;
  box-shadow: 0 0 10px #8a2be2;
}
/* ===== TEXTO TIPO BLOG ===== */

.content-box {
  font-size: 20px;       /* Tamaño general del texto */
  line-height: 1.85;     /* Espaciado entre líneas estilo blog */
  font-weight: 400;
}

.content-box p {
  margin-bottom: 20px;   /* Espacio entre párrafos */
  font-size: 20px;
}

.content-box h3 {
  font-size: 30px;       /* Títulos grandes */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 700;
}

.content-box h4 {
  font-size: 24px;       /* Subtítulos */
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
}

.content-box ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.content-box li {
  font-size: 20px;
  margin-bottom: 10px;
}

