:root {
  --bg-blue: #060241;
  /* --gold: #ffd700; */
  --gold: #ecd551;
  --blue: #0000ff;
  --text-muted: #9aa4b2;
  --card-border: rgba(255, 255, 255, 0.18);
  --card-bg: rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  margin: 0;
  padding: 0;
  height: 100%;

  background: var(--bg-blue);
  font-family: "Poppins", sans-serif;
  color: #e6eaf0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn.demo-btn {
  font-size: 1.5rem;
  border-radius: 18px;
}

.btn-primary {
  background: var(--gold);
  color: #1b1b1b;
  border: 1px solid rgba(255, 215, 0, 0.75);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  color: #e6eaf0;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.55);
}

/* ---------- Header ---------- */
.landing-header {
  position: absolute;
  top: 30px;
  left: 80px;
  right: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* outline: 5px solid white; */
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.landing-logo {
  height: 50px;
  width: auto;
}

/* ---------- Main layout ---------- */
.landing-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;

  padding-top: clamp(70px, 10vh, 140px);
  padding-bottom: clamp(20px, 4vh, 60px);

  /*  outlilne: 5px solid green; */
}

.landing-center {
  width: 100%;
  max-width: 500px;

  /*  outline: 5px solid pink; */
}

.landing-title {
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1;

  /*  outline: 5px solid green; */
}

.landing-line1,
.landing-line2 {
  display: block;
}

.landing-line1 {
  font-size: 2.5rem;
  color: var(--gold);
}

.landing-line2 {
  font-size: 2.2rem;
  color: #144e7f;
}

/* ---------- Auth card ---------- */
.auth-card {
  margin: 18px auto 0;
  padding: 18px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 14px;
  text-align: left;
  backdrop-filter: blur(6px);
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e6eaf0;
  opacity: 0.95;
}

.field-input {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.22);
  color: #e6eaf0;
  font-size: 1.05rem;
  outline: none;
}

.field-input::placeholder {
  color: rgba(230, 234, 240, 0.45);
}

.field-input:focus {
  border-color: rgba(255, 215, 0, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
}

.auth-submit {
  width: 100%;
  height: 52px;
  font-size: 1.25rem;
  border-radius: 12px;
}

.auth-links {
  margin-top: 12px;
  text-align: center;
  font-size: 1rem;
}

.auth-links a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  margin-left: 6px;
}

.auth-links a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.landing-footer {
  bottom: 16px;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.landing-disclaimer,
.landing-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------- landscape ------------------------- */
@media (max-width: 992px) {
  .landing-header {
    top: 30px;

    left: 50px;
    right: 50px;
  }

  .landing-logo {
    height: 40px;
  }

  .btn.demo-btn {
    font-size: 1rem;
    padding: 8px 8px;
  }

  .landing-center {
    width: 100%;
    max-width: 400px;
    margin-top: 48px;

    /*  outline: 5px solid pink; */
  }

  .auth-card {
    padding-top: 0px;

    /* outline: 5px solid cyan; */
  }

  .field-label {
    font-size: 15px;
  }

  .field-input {
    max-height: 40px;
    /*    outline: 5px solid brown; */

    padding: 6px 10px;
    font-size: 0.9rem;
  }

  .landing-title {
    margin-top: 0px;

    /*  outline: 5px solid white; */
  }

  .landing-line1 {
    font-size: 1.5rem;
  }

  .landing-line2 {
    font-size: 2rem;
  }

  .landing-logo {
    height: 40px;
  }

  .landing-footer {
    margin-top: 20px;
  }

  .landing-disclaimer,
  .landing-copy {
    font-size: 0.7rem;
  }

  .auth-submit {
    width: 100%;
    height: 40px;
    font-size: 1rem;
    border-radius: 12px;
    margin: 0 auto;
    display: block;
  }

  .auth-links {
    font-size: 0.8rem;
  }
}

/* --------------------------------------- Mobile ------------------------ */
@media (max-width: 480px) {
  .landing-header {
    top: 5px;
    left: 5px;
    right: 5px;
    gap: 0;
  }

  .landing-main {
    padding-top: 70px;
    padding-bottom: 12px;
  }

  .landing-logo {
    height: 40px;
  }

  .landing-line1 {
    font-size: 30px;
  }

  .landing-line2 {
    font-size: 24px;
  }

  .btn,
  .btn.demo-btn {
    font-size: 18px;
  }

  .auth-card {
    padding: 14px;
    border-radius: 12px;
  }

  .field-input {
    height: 46px;
    font-size: 1rem;
  }

  .auth-submit {
    height: 50px;
    font-size: 1.1rem;
  }
}
