/* ==========================================================================
   Hero Banner Interactivo — Machu Picchu (Sistema de Partículas)
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #05070a;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overscroll-behavior: none;
}

/* Contenedor principal del hero. El degradado oscuro sirve de fondo
   detrás del canvas (visible solo en bordes durante el resize/carga).
   La imagen de partículas está configurada para cubrir el 100% de la
   pantalla (equivalente a background-size: cover). */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* alto real de viewport en móviles (evita saltos por la barra de direcciones) */
  background: radial-gradient(ellipse at center, #1a2233 0%, #0a0e17 55%, #030405 100%);
  overflow: hidden;
  touch-action: none; /* evita scroll/zoom accidental al interactuar con el dedo */
}

#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: none; /* el propio "sistema de partículas" reacciona al cursor */
  touch-action: none;
}

/* Texto superpuesto al hero */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.15em;
  color: #f4ede1;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(244, 237, 225, 0.25);
}

.hero-subtitle {
  margin-top: 0.75rem;
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  letter-spacing: 0.3em;
  color: #b9c2cf;
  text-transform: uppercase;
}

.hero-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  pointer-events: none;
}
