/* Manuel Linares - Prelanding mantenimiento */
/* Archivo: public_html/assets/prelanding.css */

:root {
  --ml-bg: #020707;
  --ml-teal: #02f5d0;
  --ml-white: #f7fbfb;
  --ml-muted: rgba(247, 251, 251, .66);
  --ml-dim: rgba(247, 251, 251, .44);
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--ml-bg);
  color: var(--ml-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

button,
a { -webkit-tap-highlight-color: transparent; }

.ml-entry {
  position: relative;
  width: 100%;
  min-height: 100svh;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: max(28px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
}

.ml-media,
.ml-video,
.ml-image-fallback,
.ml-vignette,
.ml-noise {
  position: fixed;
  inset: 0;
}

.ml-media {
  z-index: -5;
  background:
    radial-gradient(circle at 50% 55%, rgba(0, 255, 219, .18), transparent 32%),
    radial-gradient(circle at 50% 120%, rgba(0, 255, 219, .22), transparent 30%),
    #020707;
}

.ml-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  filter: saturate(.86) contrast(1.08) brightness(.72);
}

.ml-image-fallback {
  background-image: url("/assets/ml-cinematic-preview.png");
  background-size: cover;
  background-position: center;
  opacity: .31;
  filter: saturate(.8) contrast(1.08) brightness(.72);
}

.ml-vignette {
  background:
    radial-gradient(circle at 50% 44%, rgba(0,0,0,.08), rgba(0,0,0,.62) 52%, rgba(0,0,0,.96) 100%),
    linear-gradient(180deg, rgba(0,0,0,.88), transparent 32%, rgba(0,0,0,.9));
}

.ml-noise {
  opacity: .06;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(115deg, transparent 0 46%, rgba(255,255,255,.09) 47%, transparent 48% 100%),
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.08), transparent 1px);
  background-size: 220px 220px, 7px 7px;
}

.ml-content {
  width: min(92vw, 980px);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(18px, 4vw, 54px);
  animation: mlReveal 1.15s cubic-bezier(.2,.9,.2,1) both;
}

.ml-logo {
  width: clamp(240px, 45vw, 590px);
  max-height: 32vh;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(2,245,208,.36))
    drop-shadow(0 0 52px rgba(2,245,208,.18));
  opacity: .96;
}

.ml-kicker {
  margin: clamp(18px, 3vh, 30px) 0 0;
  color: var(--ml-muted);
  font-size: clamp(12px, 1.7vw, 15px);
  letter-spacing: .42em;
  text-transform: uppercase;
}

.ml-headline {
  margin: 12px 0 0;
  max-width: 780px;
  color: rgba(247,251,251,.9);
  font-size: clamp(17px, 2.45vw, 28px);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ml-subtitle {
  margin: 12px 0 0;
  max-width: 560px;
  color: var(--ml-dim);
  font-size: clamp(13px, 1.8vw, 16px);
  line-height: 1.65;
  letter-spacing: .08em;
}

.ml-actions {
  display: flex;
  gap: 10px;
  margin-top: clamp(20px, 3.5vh, 34px);
  padding: 6px;
  border: 1px solid rgba(2,245,208,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
}

.ml-lang {
  width: 48px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ml-muted);
  font-size: 12px;
  letter-spacing: .16em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.ml-lang:hover,
.ml-lang.is-active {
  background: var(--ml-teal);
  color: #00110f;
  box-shadow: 0 0 24px rgba(2,245,208,.24);
}

.ml-status {
  margin: clamp(18px, 3vh, 30px) 0 0;
  color: rgba(247,251,251,.58);
  font-size: clamp(12px, 1.7vw, 14px);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ml-socials {
  margin-top: clamp(18px, 3vh, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(14px, 3vw, 28px);
  align-items: center;
  justify-content: center;
  width: min(92vw, 680px);
}

.ml-socials a {
  color: rgba(247,251,251,.48);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .22s ease, text-shadow .22s ease;
}

.ml-socials a:hover {
  color: var(--ml-teal);
  text-shadow: 0 0 18px rgba(2,245,208,.38);
}

@keyframes mlReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 720px) {
  .ml-entry {
    place-items: start center;
    padding-top: max(24px, env(safe-area-inset-top));
  }

  .ml-content {
    min-height: 100svh;
    align-content: center;
    padding: 22px 12px 30px;
  }

  .ml-logo {
    width: min(84vw, 390px);
    max-height: 27vh;
  }

  .ml-kicker {
    margin-top: 18px;
    letter-spacing: .30em;
  }

  .ml-headline {
    max-width: 330px;
    letter-spacing: .11em;
    line-height: 1.5;
  }

  .ml-subtitle {
    max-width: 320px;
    letter-spacing: .05em;
  }

  .ml-actions {
    margin-top: 18px;
  }

  .ml-status {
    max-width: 310px;
    margin-top: 18px;
    line-height: 1.55;
    letter-spacing: .10em;
  }

  .ml-socials {
    position: static;
    margin-top: 18px;
    row-gap: 11px;
  }

  .ml-socials a {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  .ml-logo {
    width: min(82vw, 330px);
    max-height: 24vh;
  }

  .ml-headline {
    font-size: 15px;
  }

  .ml-subtitle,
  .ml-status {
    font-size: 11px;
  }

  .ml-socials {
    gap: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-content { animation: none; }
  .ml-lang,
  .ml-socials a { transition: none; }
}
