@font-face {
  font-family: "Great Vibes";
  src: url("/fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

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

body {
  font-family: Arial, sans-serif;
  background: #082d4c;
  color: white;
}

.login-page {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 80px 20px;

  position: relative;
  overflow: hidden;
}

/* Überschrift */

.hero {
  text-align: center;
  margin-bottom: 55px;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;

  font-size: 16px;
  letter-spacing: 6px;
  color: #e9c77b;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: clamp(40px, 10vw, 140px);
  height: 2px;
  background: #e9c77b;
}

h1 {
  font-size: clamp(55px, 15vw, 180px);
  line-height: 0.9;
  letter-spacing: 4px;
  font-weight: 800;
  color: #f4d18a;
  font-family: "Great Vibes";
}

h1 span {
  display: block;

  font-size: 0.45em;
  letter-spacing: 15px;

  color: white;
  margin-top: 20px;
}

.subtitle {
  margin-top: 35px;

  font-size: 13px;
  letter-spacing: 4px;

  color: #c9d5e3;
}

/* Login-Karte */

.login-card {
  width: min(580px, 100%);

  padding: 45px;

  text-align: center;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;

  background: rgba(10, 45, 80, 0.35);

  backdrop-filter: blur(10px);

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.glasses {
  font-size: 42px;
  margin-bottom: 20px;
}

.login-card h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.login-card p {
  color: #c9d5e3;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Eingabefeld */

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input {
  width: 100%;

  padding: 18px 20px;

  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);

  background: rgba(0, 0, 0, 0.1);

  color: white;
  font-size: 16px;

  outline: none;
}

input::placeholder {
  color: #91a6bc;
}

input:focus {
  border-color: #e9c77b;
}

.input-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

.login-error {
  margin-top: 15px;
  color: #ff8a8a;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  75% {
    transform: translateX(6px);
  }
}

.shake {
  animation: shake 0.3s ease;
}

/* Button */

button {
  width: 100%;

  padding: 18px;

  border: none;
  border-radius: 15px;

  background: #e9c77b;
  color: #153f6b;

  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

button span {
  margin-left: 10px;
  font-size: 20px;
}

button:hover {
  transform: translateY(-2px);

  box-shadow: 0 8px 25px rgba(233, 199, 123, 0.3);
}

.rate-limit {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.button-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

input:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.intention-text {
  color: #c9d5e3;
  line-height: 1.6;
  text-align: center;
  font-size: 10px;
  margin-top: 30px;
}

/* Smartphone */

@media (max-width: 600px) {
  .login-page {
    padding: 50px 15px;
  }

  .hero {
    margin-bottom: 35px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    gap: 12px;
  }

  .eyebrow::before,
  .eyebrow::after {
    width: clamp(25px, 17vw, 90px);
  }

  .subtitle {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .login-card {
    padding: 30px 20px;
  }

  .login-card h2 {
    font-size: 24px;
  }
}
