:root {
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #020b0b;
  color: #effff2;
}

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

.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  background: #020b0b url("assets/fondo-limpio.png") center center / cover no-repeat;
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 46%, transparent 15%, #00000028 65%, #00000080 100%), linear-gradient(#00100912, #00080425);
}

.identity {
  z-index: 1;
  width: min(100%, 1172px);
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  padding-bottom: 2rem;
}

.matrix-rain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.emblem {
  width: clamp(210px, 30vw, 380px);
  height: auto;
  margin-bottom: -2.5rem;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px #3cff1926);
}

h1 { width: 100%; margin: 0; line-height: 0; position: relative; }
.logo { display: block; width: 100%; height: auto; mix-blend-mode: screen; }

.status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  width: 94%;
  margin-top: 1.1rem;
}

.status p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.75rem);
  line-height: 1.6;
  text-align: center;
  font-weight: 400;
  letter-spacing: .38em;
  padding-left: .38em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px #000, 0 0 24px #000;
}

.status-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #5cff22);
  box-shadow: 0 3px 12px #4cff2230;
}
.status-line:last-child { transform: rotate(180deg); }
.separator {
  width: clamp(140px, 20vw, 230px);
  height: auto;
  margin-top: .75rem;
  mix-blend-mode: screen;
  animation: glow 5s ease-in-out infinite;
}

@keyframes glow { 0%, 100% { opacity: .7; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #42ff2160); } }

@media (max-width: 600px) {
  .landing { padding: 2rem 1.25rem; background-position: 52% center; }
  .identity { padding-bottom: 1rem; }
  .emblem { width: min(72vw, 300px); margin-bottom: .4rem; }
  .status { width: 100%; gap: .65rem; margin-top: 1.5rem; }
  .status p { font-size: 1rem; letter-spacing: .2em; padding-left: .2em; }
  .status-line { min-width: 10px; }
  .separator { margin-top: 1.15rem; }
}

@media (max-width: 360px) {
  .status p { letter-spacing: .12em; padding-left: .12em; }
}

@media (max-height: 520px) and (min-width: 601px) {
  .landing { padding-block: 1.5rem; }
  .identity { width: min(76%, 760px); padding-bottom: 0; }
  .emblem { width: 180px; margin-bottom: -1.5rem; }
  .status { margin-top: .5rem; }
  .status p { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .matrix-rain { display: none; }
  .separator { animation: none; }
}
/* Composition aligned with inspirarse/referencia.webp. */
.landing {
  background-image: url("assets/fondo-limpio.png");
}
.landing::before {
  background: radial-gradient(ellipse at center, transparent 48%, #00110720 100%);
}
.identity {
  width: min(94%, 1172px);
  height: clamp(360px, 33vw, 550px);
  padding: 0;
  transform: translateY(-9vh);
  justify-content: center;
  padding-top: clamp(100px, 10vw, 170px);
}
.identity::before,
.identity::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: clamp(340px, 31vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.identity::before {
  border: 3px solid #8aff2a;
  box-shadow: 0 0 8px #9aff32, 0 0 22px #55ff17, inset 0 0 14px #4dff1680, 0 0 70px #53ff1730;
  background: radial-gradient(circle, #000b0780 35%, transparent 70%);
}
.identity::after {
  width: clamp(365px, 34vw, 565px);
  border: 1px solid #69ff2855;
  outline: 1px dashed #7cff2738;
  outline-offset: 10px;
}
.emblem {
  position: absolute;
  top: -9%;
  width: clamp(270px, 24vw, 400px);
  margin: 0;
  clip-path: polygon(24% 24%, 94% 24%, 94% 82%, 24% 82%);
  mask-image: radial-gradient(ellipse 47% 39% at 59% 52%, #000 53%, transparent 91%);
  transform: translateX(-6%);
  filter: brightness(1.2) contrast(1.25);
}
.logo {
  filter: brightness(1.18) contrast(1.12) drop-shadow(0 0 10px #54ff3638);
}
h1 {
  background: radial-gradient(ellipse, #000b05ed 35%, #000b0580 65%, transparent 74%);
}
.status {
  margin-top: .65rem;
  width: 98%;
  gap: clamp(1rem, 3vw, 3rem);
  background: radial-gradient(ellipse, #000b05e8 40%, transparent 74%);
}
.status p { font-size: clamp(1rem, 1.9vw, 1.9rem); letter-spacing: .45em; }
.status-line { height: 3px; box-shadow: 0 0 7px #65ff22, 0 0 18px #65ff22; }
.separator { width: clamp(140px, 15vw, 230px); filter: brightness(1.3); animation: none; }
@media (max-width: 600px) {
  .landing { padding-inline: .75rem; }
  .identity { width: 100%; height: 360px; padding-top: 125px; transform: translateY(-4vh); }
  .identity::before { width: min(83vw, 340px); }
  .identity::after { width: min(90vw, 365px); }
  .emblem { width: 270px; top: -8%; }
  .status { margin-top: 1rem; gap: .6rem; }
  .status p { font-size: 1rem; letter-spacing: .18em; }
  .separator { margin-top: .6rem; }
}
@media (max-height: 520px) and (min-width: 601px) {
  .identity { width: min(80%, 850px); height: 300px; padding-top: 120px; transform: none; }
  .identity::before { width: 290px; }
  .identity::after { width: 320px; }
  .emblem { width: 250px; top: -14%; }
  .status p { font-size: 1rem; }
}
