/* Layout base de la home (solo afecta a la página que carga home.css) */

html,
body {
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #111;
}

/* Hero del Home (antes About) */

.about-page {
  max-width: 840px;
  margin: calc(var(--header-h) + 30px) auto 80px auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 0 20px 40px 20px;
}

/* Logo grande */

.about-page .logo {
  display: block;
  width: 480px;
  max-width: 80vw;
  margin: 10px auto 10px auto;
}

.about-page h1 {
  text-align: center;
  letter-spacing: 0.18em;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 12px 0 32px 0;
  text-transform: uppercase;
  color: #555;
}

/* Cards de contenido */

.about-page section {
  background: #fff;
  border-radius: 20px;
  padding: 24px 24px 26px 24px;
  margin-bottom: 18px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.06),
    0 0 1px rgba(0, 0, 0, 0.04);
}

.about-page section h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #333;
}

.about-page p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #222;
}

.about-page .note {
  font-size: 1rem;
}

/* Enlaces dentro del texto */

.about-page a.email,
.about-page a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.about-page a.email:hover,
.about-page a:hover {
  text-decoration-thickness: 2px;
}

/* Footer en gris también para que no se vea el corte blanco */

footer {
  background: #f5f5f5;
}

/* Responsivo específico de la home */

@media (max-width: 768px) {
  .about-page {
    margin-top: calc(var(--header-h) + 10px);
    margin-bottom: 60px;
  }

  .about-page section {
    border-radius: 18px;
    padding: 20px 18px 22px 18px;
  }
}

/* ===== AI GAMES HERO ===== */

.home-hero {
  margin: 10px auto 32px auto;
  max-width: 640px;
  text-align: center;
}

.hero-title {
  margin: 0 0 12px 0;
  font-family: 'Zalando Sans', Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: #777;
}

.hero-kicker {
  display: block;
  margin-bottom: 6px;
}

.hero-ai {
  display: inline-block;
  font-size: 2.4rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  background: linear-gradient(90deg, #ff5c7a, #ffb347, #4f8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 auto;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #222;
}

/* Mobile tweaks */

@media (max-width: 768px) {
  .home-hero {
    margin: 6px auto 24px auto;
    padding: 0 8px;
  }

  .hero-ai {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
  }

  .hero-lead {
    font-size: 0.95rem;
  }
}

/* ===== ICON SEPARATOR ===== */

.section-separator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 40px auto;
  opacity: 0.9;
}

.section-separator img {
  width: 110px;          /* tamaño mediano */
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.section-separator img:hover {
  transform: scale(1.06);
  opacity: 1;
}

@media (max-width: 768px) {
  .section-separator {
    margin: 28px auto 32px auto;
  }

  .section-separator img {
    width: 88px; /* más pequeño en móvil */
  }
}
