/* UTN Juegos Tecnológicos — Maintenance Page
   Palette: PALETA DE COLORES UTN.EDU.AR
*/

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

:root {
  --utn-bg:           #005874;   /* AZUL — fondo principal / transparentados */
  --utn-celeste:      #1c819e;   /* CELESTE — bordes, líneas, anillos */
  --utn-celeste-var:  #1c819f;
  --utn-dark:         #0e404f;   /* AZUL-OSCURO — rollover */
  --utn-darker:       #002c3a;   /* AZUL-OSCURO-PLUS */
  --utn-orange:       #cc7c1b;   /* NARANJA — acento principal */
  --utn-orange-var:   #dd7c1b;   /* NARANJA-VARIACIÓN */
  --utn-brown:        #663e0d;   /* MARRÓN */
  --utn-grey:         #73736a;   /* GRIS-CÁLIDO */
  --utn-white:        #FFFFFF;
  --utn-back:         #f2f2f0;   /* BLANCO-BACK */
}

html {
  height: 100%;
}

body {
  height: 100%;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: var(--utn-white);
  background: #000000;
  overflow-x: hidden;
}

/* ── Video de fondo ── */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.video-overlay {
  position: absolute;
  inset: 0;
  opacity: 1;
  background: linear-gradient(
    155deg,
    rgba(10, 22, 60, 0.82) 0%,
    rgba(5, 15, 45, 0.65) 45%,
    rgba(0, 8, 30, 0.90) 100%
  );
}

/* ── Scanlines ── */
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.05) 3px,
    rgba(0, 0, 0, 0.05) 4px
  );
  pointer-events: none;
}

/* ── Hero layout ── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  max-width: 680px;
  width: 100%;
}

/* ── Emblema UTN ── */
.utn-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  animation: fadeDown 0.7s ease both;
}

.utn-emblem__logo {
  width: 96px;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(28, 129, 158, 0.55))
    drop-shadow(0 0 40px rgba(28, 129, 158, 0.20));
  animation: pulse-logo 3.2s ease-in-out infinite;
}

.utn-emblem__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.67rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Título principal ── */
.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.2rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--utn-white);
  animation: fadeUp 0.7s ease 0.15s both;
}

.hero__title--gold {
  display: block;
  color: var(--utn-orange);
  text-shadow:
    0 0 50px rgba(204, 124, 27, 0.40),
    0 0 100px rgba(204, 124, 27, 0.15);
}

/* ── Badge mantenimiento ── */
.maintenance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(204, 124, 27, 0.10);
  border: 1px solid rgba(204, 124, 27, 0.50);
  color: var(--utn-orange);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.55rem 1.3rem;
  border-radius: 3px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.maintenance-badge__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── Subtítulo ── */
.hero__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.76);
  max-width: 500px;
  animation: fadeUp 0.7s ease 0.42s both;
}

/* ── Detalle ── */
.hero__detail {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.80rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
  animation: fadeUp 0.7s ease 0.52s both;
}

/* ── Divisor decorativo ── */
.hero__divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 160px;
  animation: fadeUp 0.7s ease 0.62s both;
}

.hero__divider span:not(.hero__divider-diamond) {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(28, 129, 158, 0.60));
}

.hero__divider span:last-child {
  background: linear-gradient(to left, transparent, rgba(28, 129, 158, 0.60));
}

.hero__divider-diamond {
  width: 6px;
  height: 6px;
  background: var(--utn-celeste);
  transform: rotate(45deg);
  flex: none !important;
}

/* ── Footer ── */
.hero__footer {
  position: relative;
  margin-top: 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  animation: fadeUp 0.7s ease 0.72s both;
}

/* ── Animaciones ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-logo {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(28, 129, 158, 0.55))
      drop-shadow(0 0 40px rgba(28, 129, 158, 0.20));
  }
  50% {
    filter:
      drop-shadow(0 0 28px rgba(28, 129, 158, 0.80))
      drop-shadow(0 0 60px rgba(28, 129, 158, 0.35));
  }
}
