.video-bg {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: hidden;
  z-index: 0;
}
#bg-video {
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  filter: brightness(0.7) saturate(1.3);
}
.bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(31,41,74,0.68) 70%, rgba(16,18,33,0.95) 100%);
  z-index: 2;
  pointer-events: none;
}
.star-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  /* JS puede añadir <span> con estrellas o puedes usar SVG simple */
}

.page-content.login-screen-content {
  position: relative;
  z-index: 5;
  background: transparent !important;
  box-shadow: 0 0 64px 0 #2227, 0 2px 12px #0009;
  border-radius: 32px;
  min-height: 100vh;
  padding: 24px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  /* backdrop-filter: blur(1.5px); si quieres más efecto */
}

.login-header {
  text-align: center;
  margin-bottom: 10px;
}
.astro-logo {
  animation: astronaut-float 2.4s ease-in-out infinite alternate;
}
.astro-logo img{
    max-width:100px;
}
@keyframes astronaut-float {
  0% { transform: translateY(0) scale(1.1); }
  100% { transform: translateY(-16px) scale(1.13) rotate(-6deg);}
}
h1 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  letter-spacing: 0.06em;
  font-size: 2.7rem;
  color: #f8fafc;
  margin-bottom: 0;
}
.subtitle {
  font-size: 13px;
  color: #7ecbfa;
  letter-spacing: 0.13em;
  margin-bottom: 0.5em;
}
.subtitle a{
    color:white;
}
.intro-text {
  background: rgba(18,24,44,0.77);
  color: #e0f6fd;
  border-radius: 18px;
  margin: 6px 0 24px 0;
  padding: 16px 20px 10px 20px;
  box-shadow: 0 2px 16px #0077ff17;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1.09rem;
  max-width: 400px;
  text-align: center;
  text-shadow: 0 2px 8px #0006;
  border: 1.5px solid #1c2146;
}
.badge-galaxy {
  display: inline-block;
  font-size: .89em;
  color: #ffeec7;
  background: black;
  padding: 3px 14px 3px 12px;
  border-radius: 16px;
  margin-bottom: 8px;
  letter-spacing: .03em;
  font-weight: 600
}


.block-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 24px;
  margin-bottom: 24px;
  font-family: var(--font-main);
  text-align: center;
  text-shadow: 0 2px 8px #000a;
}

/* Inputs y formulario: usa el CSS que tienes, pero considera colores más "space" */
.list {
background:black; !important;
  box-shadow: 0 2px 22px #8B0000;
  border-radius: 22px;
  border: 1px solid red;
}
.button.button-fill {
  background: linear-gradient(90deg,#5c43dc,#3366e4 80%,#1be7fc 100%) !important;
  box-shadow: 0 3px 14px #1be7fc18;
  font-size: 1.13rem;
  letter-spacing: .03em;
  text-shadow: 0 2px 12px #0006;
  border-radius: 16px;
}
.button.button-fill:hover {
  background: linear-gradient(90deg,#4c2ebf,#3550be 80%,#14b9d6 100%) !important;
}


@media (max-width: 540px) {
  .page-content.login-screen-content {
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }
  .list, .block { max-width: 99vw; }
  .block-title { font-size: 1.12rem; margin-top: 18px; }
  .intro-text { font-size: 0.97rem; padding: 10px 7px;}
}

/* Ejemplo de estrellas: puedes ponerlo con JS o puro CSS, aquí unas pocas */
.star-particles::before, .star-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
  width: 2px; height: 2px;
  left: 20%; top: 40%;
  box-shadow:
    13vw 12vh 1.7px 0px #fff9,
    60vw 83vh 1.3px 0px #bbffffaa,
    33vw 51vh 1.2px 0px #ddeeff77,
    70vw 20vh 2.2px 0px #fff,
    80vw 70vh 1.4px 0px #bff,
    55vw 10vh 2.2px 0px #fffffbcc,
    18vw 90vh 1.2px 0px #bbeeffcc;
}

.page-content .login-screen-content {
  background: var(--main-bg);
  min-height: 100vh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.block-title {
  color: var(--text-main);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 40px;
  margin-bottom: 32px;
  font-family: var(--font-main);
  text-align: center;
  text-shadow: 0 2px 8px #0007;
}

.list {
  width: 100%;
  max-width: 420px;
  box-shadow: 1px 1px 1px 1px #8B0000;
  padding: 18px 10px 12px 10px;
  margin: 10px;
}

.list ul {
background:black;
  margin: 0;
  padding: 0;
  list-style: none;
}
.item-inner{
  background:black;
}
.item-content .item-input {
  background: none !important;
  border-bottom: 1.2px solid var(--input-border);
  margin-bottom: 6px;
}

.item-content:last-child {
  border-bottom: none;
}

.item-title.item-label {
  color: var(--text-label);
  font-size: 1rem;
  font-family: var(--font-main);
  margin-bottom: 3px;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.item-input-wrap {
  background: var(--input-bg);
  border-radius: var(--radius);
  padding: 6px 0 0 0;
}

.item-input-wrap input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.1rem;
  width: 100%;
  padding: 10px 14px 10px 0;
  font-family: var(--font-main);
  border-radius: var(--radius);
  transition: background .14s, color .14s;
}

.item-input-wrap input::placeholder {
  color: var(--text-label);
  opacity: 0.7;
  font-style: italic;
}

.item-input-wrap input:focus {
  background: #23243c;
  color: #fff;
}

/* Botón principal */
.button.button-fill, .registro-btn {
  width: 100%;
  padding: 13px 0;
  margin: 18px 0 12px 0;
  font-size: 1.1rem;
  font-family: var(--font-main);
  background: var(--accent) !important;
  color: #fff !important;
  border: none;
  border-radius: none;
  font-weight: 600;
  text-shadow: 0 1px 5px #0006;
  box-shadow: 0 3px 14px #d7263d30;
  transition: background .14s;
  cursor: pointer;
}

.button.button-fill:hover, .registro-btn:hover {
  background: #b21e2b !important;
}

.block {
  width: 100%;
  max-width: 420px;
  background: transparent;
  margin: 0 auto;
  text-align: center;
  color: var(--text-label);
  font-family: var(--font-main);
}

.text-align-center {
  color: var(--text-label);
  font-size: 1.03rem;
  margin-top: 4px;
}

.text-align-center a {
  color: var(--accent);
  text-decoration: underline;
  transition: color .13s;
}
.text-align-center a:hover {
  color: #fff;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 540px) {
  .list, .block { max-width: 99vw; }
  .block-title { font-size: 1.22rem; margin-top: 22px; }
  .button.button-fill, .registro-btn { font-size: .97rem; }
}

::-webkit-input-placeholder { color: var(--text-label); opacity: 0.7;}
::-moz-placeholder { color: var(--text-label); opacity: 0.7;}
:-ms-input-placeholder { color: var(--text-label); opacity: 0.7;}
::placeholder { color: var(--text-label); opacity: 0.7;}



.item-content.item-input,
.item-inner,
.item-content,
.item-title.item-label,
.item-content::before{
    background: #000 !important;
    box-shadow: none !important;
    border: none !important;
}
.page[data-name="registro"]{
    background: #000 !important;
    color: #fff !important;
    border-color: #333 !important;
}