/* ============================================================
   Aires Nórdicos - Start Page Styles
   ============================================================ */

:root {
  --bg-color: #020408;
  --text-pure-white: #ffffff;
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-pure-white);
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lienzo de la aurora interactiva */
#aurora-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  display: block;
  pointer-events: auto;
}

/* Capa de atmósfera y viñeta sutil para mayor profundidad */
.ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(2, 4, 8, 0.1) 0%,
    rgba(2, 4, 8, 0.45) 75%,
    rgba(1, 2, 5, 0.85) 100%
  );
  backdrop-filter: contrast(105%);
}

/* Contenedor central del contenido */
.content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  pointer-events: none; /* Permite que el movimiento del ratón pase directo al canvas */
}

/* Bloque de marca */
.brand-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  animation: fadeInNordic 2.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* H1: Aires Nórdicos en blanco pleno */
.brand-title {
  color: var(--text-pure-white);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.25);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* H3: Próximamente en blanco pleno */
.coming-soon {
  color: var(--text-pure-white);
  font-size: clamp(0.85rem, 1.8vw, 1.15rem);
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  margin: 0;
  padding-left: 0.38em; /* Compensa el espaciado del tracking para centrado perfecto */
  opacity: 0.95;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Línea divisoria minimalista nórdica entre H1 y H3 */
.brand-wrapper::after {
  content: '';
  width: 48px;
  height: 1px;
  background-color: var(--text-pure-white);
  opacity: 0.3;
  margin-top: 0.2rem;
  order: 2;
}

.coming-soon {
  order: 3;
}

.brand-title {
  order: 1;
}

/* Animación de entrada suave y cinematográfica */
@keyframes fadeInNordic {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Adaptación para pantallas móviles */
@media (max-width: 600px) {
  .brand-wrapper {
    gap: 1.1rem;
  }
  .brand-title {
    letter-spacing: 0.14em;
  }
  .coming-soon {
    letter-spacing: 0.28em;
    padding-left: 0.28em;
  }
}
