@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  height: 100%;
}

body {
  /* Negro con un toque azul abajo, clonando el degradado de la imagen,
     para que no se note el borde si la relacion de aspecto no encaja. */
  background: linear-gradient(180deg, #000000 0%, #02060d 55%, #061a33 100%);
  background-attachment: fixed;
  font-family: system-ui, -apple-system, sans-serif;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
}

.logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* cover = llena toda la pantalla; al recortar se lleva solo el margen
     vacio de los laterales, que la imagen ya tiene. */
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.logo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 5rem);
  color: #d7dde5;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.copyright {
  position: relative;
  z-index: 1;
  /* margin-top auto lo empuja abajo; sobre fondo oscuro necesita
     texto claro y una sombra, si no resulta ilegible. */
  margin-top: auto;
  padding-bottom: 1.5rem;
  color: #ffffff;
  font-size: clamp(0.6rem, 1.5vw, 0.8rem);
  text-align: center;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}
