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

html, body {
  touch-action: manipulation;
}

body.login-page {
  min-height: 100vh;
  color: #e6e6e6;
  font-family: "Cinzel", serif;
  background: #0b0b0f;
}

body {
  -webkit-user-select: none;
  user-select: none;
}

@font-face {
  font-family: "Cicero";
  src: url("/fonts/HamletCicero12.otf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Tertia";
  src: url("/fonts/HamletTertia18.otf");
  font-weight: normal;
  font-style: normal;
}

/* PAGE */
.login-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(10, 10, 15, 0.7), rgba(10, 10, 15, 0.95)),
    url("/images/city.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* CONTENT CARD */
.login-shell {
  position: relative;
  z-index: 1;
  width: min(92vw, 500px);
  text-align: center;
  padding: 42px 30px;
  border: none;
  color: rgba(255, 255, 255, 0);
}

/* ORNAMENTS */


.motto {
  color: rgb(141, 162, 223);
  margin-bottom: 20px;
  font-size: 1rem;
  font-style: italic;
  font-family: Cicero;
  letter-spacing: 1px;
  margin-top: 20px;
  opacity: 0.5;
}


/* FORM */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}



.login-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(198, 169, 106, 0.71);
  padding: 10px 4px;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.login-form input::placeholder {
  opacity: 0.3;
  font-style: italic;
}

.login-form input:focus {
  outline: none;
  border-color: rgba(198, 169, 106, 0.854);
  box-shadow: 0 0 0 1px rgba(198, 169, 106, 0.18);
  background: rgba(11, 11, 15, 0);
  color: white;
}

.login-form input {
  color: white;
  margin-bottom: 20px;
}


.login-form button {
  background: none;
  border: none;
  color: #d3ab55;
  letter-spacing: 3px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.login-form button:hover {
  opacity: 1;
  text-shadow: 0 0 10px rgba(198,169,106,0.4);
}

.login-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.726);
  font-size: 0.85rem;
  line-height: 1.6;
  font-style: italic;
}

.sigil-line {
  width: 60%;
  height: 1px;
  margin: 18px auto;
  background: linear-gradient(to right, transparent, rgba(198,169,106,0.4), transparent);
}



/* TWINKLE */
@keyframes starTwinkle {
  0% { opacity: 0.28; }
  25% { opacity: 0.42; }
  50% { opacity: 0.34; }
  75% { opacity: 0.5; }
  100% { opacity: 0.3; }
}

/* MOBILE */
@media (max-width: 520px) {
  .login-hero {
    padding: 18px;
  }

  .login-shell {
    width: min(94vw, 460px);
    padding: 34px 18px;
  }

  .motto {
    margin-top: 100px;
    margin-bottom: 24px;
    font-size: 0.95rem;
  }

  .login-form input,
  .login-form button {
    padding: 13px 14px;
  }

  .topline {
    display: none;
  }
}