*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;background:#000;color:#fff;font-family:Arial,system-ui,sans-serif}
body{overflow:hidden}

.inicio{
  position:relative;
  width:100vw;
  height:100vh;
  height:100dvh;
  overflow:hidden;
}

.fondo-real{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}

.oscuro{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.32) 42%,rgba(0,0,0,.88) 100%);
  z-index:1;
}

.login-box{
  position:relative;
  z-index:2;
  width:100%;
  max-width:430px;
  height:100dvh;
  margin:0 auto;
  padding:18px 22px 26px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  text-align:center;
}

.login-top{
  position:absolute;
  top:16px;
  left:22px;
  font-size:11px;
  letter-spacing:3px;
  color:white;
  background:none;
  border:none;
  padding:0;
  font-family:inherit;
  font-weight:700;
  cursor:pointer;
  z-index:3;
}
.login-top::after{content:"";color:#e50914}

/* ===================== PANTALLA DE ACCESO / LOGIN ===================== */

.acceso{
  position:relative;
  width:100vw;
  height:100vh;
  height:100dvh;
  overflow:hidden;
}

.fondo-acceso{ filter:saturate(.85) brightness(.7); }

.oscuro-acceso{
  background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.75) 35%,rgba(0,0,0,.94) 100%);
}

.acceso-box{
  position:relative;
  z-index:2;
  width:100%;
  max-width:430px;
  height:100%;
  margin:0 auto;
  padding:64px 26px 40px;
  display:flex;
  flex-direction:column;
  text-align:center;
}

.acceso-volver{
  position:absolute;
  top:18px;
  left:18px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.06);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.acceso-marca{
  font-size:20px;
  font-weight:1000;
  letter-spacing:3px;
  margin-bottom:40px;
}
.acceso-marca span{color:#e50914}

.acceso-box h2{
  font-size:26px;
  font-weight:1000;
  margin:0 0 8px;
  letter-spacing:.5px;
}

.acceso-sub{
  font-size:14px;
  color:rgba(255,255,255,.65);
  margin:0 0 32px;
  text-transform:none;
  font-weight:400;
  text-shadow:none;
}

.acceso-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.campo{
  position:relative;
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:0 16px;
  height:54px;
  text-align:left;
}

.campo-icono{ color:rgba(255,255,255,.55); flex-shrink:0; }

.campo input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color:#fff;
  font-size:15px;
  padding:0 12px;
  font-family:inherit;
}
.campo input::placeholder{ color:rgba(255,255,255,.4); }

.campo-ojo{
  background:none;
  border:none;
  color:rgba(255,255,255,.55);
  cursor:pointer;
  display:flex;
  padding:4px;
}

.btn-acceso-primario{
  margin-top:10px;
  padding:17px 18px;
  border:none;
  border-radius:18px;
  background:#e50914;
  color:#fff;
  font-weight:1000;
  font-size:16px;
  box-shadow:0 0 35px rgba(229,9,20,.55);
  cursor:pointer;
}

.acceso-divisor{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px 0;
  color:rgba(255,255,255,.4);
  font-size:13px;
}
.acceso-divisor::before,.acceso-divisor::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.18);
}

.btn-acceso-secundario{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
}

.acceso-olvido{
  margin-top:20px;
  color:#e50914;
  font-size:14px;
  text-decoration:none;
  font-weight:600;
}

.acceso-error{
  margin:10px 0 0;
  font-size:13px;
  color:#ff6b6b;
  text-align:left;
}
.acceso-error.acceso-exito{ color:#4ade80; }

.logo-mark{
  width:58px;
  height:58px;
  border:8px solid #e50914;
  border-radius:50%;
  margin:0 auto 14px;
  box-shadow:0 0 25px rgba(229,9,20,.65);
}
.logo-mark::after{
  content:"";
  display:block;
  width:18px;
  height:18px;
  background:#e50914;
  border-radius:50%;
  margin:12px auto;
}

.logo-text{
  font-size:30px;
  font-weight:1000;
  line-height:1;
}
.logo-text span{color:#e50914}
.tagline{
  margin-top:8px;
  font-size:12px;
  letter-spacing:5px;
  font-weight:800;
}

.marca-simple{
  position:absolute;
  top:54px;
  left:0;
  right:0;
  text-align:center;
  font-size:17px;
  font-weight:900;
  letter-spacing:6px;
  text-shadow:0 3px 16px #000;
}
.marca-simple span{color:#e50914}

/* Empuja el bloque inferior (h1/btn) hacia abajo de forma flexible,
   en vez de un margin-top fijo en px que rompia en pantallas cortas */
h1{
  margin:0 0 12px;
  margin-top:auto;
  padding-top:clamp(24px, 12vh, 120px);
  font-size:clamp(34px, 9vw, 50px);
  line-height:.95;
  text-align:left;
  font-weight:1000;
  text-shadow:0 6px 28px #000;
  word-break:break-word;
  overflow-wrap:break-word;
  max-width:100%;
}
h1 span{color:#e50914}

p{
  margin:8px auto 0;
  max-width:310px;
  font-size:16px;
  line-height:1.35;
  font-weight:1000;
  text-transform:uppercase;
  text-shadow:0 5px 18px #000;
}

.btn{
  display:block;
  width:100%;
  margin:24px auto 12px;
  padding:17px 18px;
  border-radius:18px;
  background:#e50914;
  color:#fff;
  text-decoration:none;
  font-weight:1000;
  font-size:16px;
  box-shadow:0 0 35px rgba(229,9,20,.65);
}

.login-form{
  display:none;
}

/* ===================== SPLASH (3 segundos) ===================== */

.splash{
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  height:100dvh;
  background:#000;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  z-index:10;
  opacity:1;
  transition:opacity .4s ease;
}
.splash[hidden]{ display:none !important; }
.splash.splash-fuera{ opacity:0; pointer-events:none; }

.splash-logo-mark{
  width:96px;
  height:96px;
  border:10px solid #e50914;
  border-radius:50%;
  margin-bottom:22px;
  box-shadow:0 0 40px rgba(229,9,20,.65);
  position:relative;
}
.splash-logo-mark::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  width:30px;
  height:30px;
  background:radial-gradient(circle at 35% 30%, #ff5b63, #e50914 60%, #9a0610);
  border-radius:50%;
}

.splash-marca{
  font-size:28px;
  font-weight:1000;
  letter-spacing:2px;
  color:#fff;
}
.splash-marca span{color:#e50914}

.splash-tagline{
  position:absolute;
  bottom:60px;
  font-size:12px;
  letter-spacing:4px;
  font-weight:800;
  color:#fff;
}
.splash-tagline span{color:#e50914}

@media(max-height:740px){
  .logo-mark,.logo-text,.tagline{display:none}
  h1{padding-top:0;font-size:clamp(30px, 9vw, 46px)}
}
