:root {
  color-scheme: dark;
  --limbus-warm-white: #f5f1e9;
  --limbus-title: #f5f1e9;
  --limbus-panel: rgba(20, 20, 18, 0.82);
  --limbus-border: rgba(245, 241, 233, 0.14);
}

html,
body,
#root,
main {
  background: #0c0c0b !important;
  color: #f5f1e9;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-width: 0;
}

main > .pointer-events-none.fixed.inset-0 {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 107, 20, 0.18), transparent 36%),
    radial-gradient(circle at 84% 22%, rgba(255, 138, 29, 0.09), transparent 24%),
    linear-gradient(135deg, #0a0a09, #15110e 50%, #0a0a09) !important;
}

.glass-card {
  border-color: rgba(245, 241, 233, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(20, 20, 18, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.limbus-input {
  border-color: rgba(245, 241, 233, 0.14);
  background: rgba(8, 8, 7, 0.78);
}

.limbus-input:focus {
  border-color: rgba(255, 107, 20, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 107, 20, 0.14);
  background: rgba(14, 13, 11, 0.96);
}

.limbus-button-primary {
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #ff8a1d, #ff6b14 60%, #d84b00);
  color: #15110d;
  box-shadow: 0 12px 32px rgba(255, 107, 20, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.limbus-button-primary:hover {
  box-shadow: 0 16px 42px rgba(255, 107, 20, 0.36);
}

.limbus-button-secondary {
  border-color: rgba(245, 241, 233, 0.18);
  border-radius: 0.65rem;
  background: rgba(245, 241, 233, 0.045);
  color: #d6d1c8;
}

.limbus-button-secondary:hover {
  border-color: rgba(255, 107, 20, 0.62);
  background: rgba(255, 107, 20, 0.09);
  color: #ff8a1d;
}

.limbus-button-gold,
.limbus-chip:hover {
  border-color: rgba(255, 107, 20, 0.42);
  color: #ff9b53;
  background: rgba(255, 107, 20, 0.09);
}

.limbus-chip {
  border-color: rgba(245, 241, 233, 0.12);
  color: #aaa59d;
}

.bg-ember {
  background-color: #ff6b14 !important;
}

.text-amberforge,
.text-ember {
  color: #ff7a26 !important;
}

.border-amberforge\/25,
.border-amberforge\/20,
.border-ember\/25 {
  border-color: rgba(255, 107, 20, 0.28) !important;
}

.bg-amberforge\/10,
.bg-ember\/10 {
  background-color: rgba(255, 107, 20, 0.1) !important;
}

.shadow-ember {
  box-shadow: 0 12px 34px rgba(255, 107, 20, 0.18) !important;
}

header h1 {
  letter-spacing: -0.065em !important;
}

header > div:first-child {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-color: rgba(255, 107, 20, 0.45) !important;
  background:
    radial-gradient(circle, rgba(255, 107, 20, 0.2), transparent 68%),
    #141412 !important;
  box-shadow: 0 0 28px rgba(255, 107, 20, 0.18) !important;
}

header > div:first-child svg {
  display: none !important;
}

header > div:first-child::before {
  content: "IA";
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #15110d;
  background: #ff6b14;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

header p,
.text-steel {
  color: #a29e96 !important;
}

@media (max-width: 640px) {
  header {
    margin-bottom: 1.5rem !important;
  }

  header h1 {
    font-size: clamp(2.65rem, 15vw, 4.5rem) !important;
  }

  header p {
    margin-top: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  form.flex {
    align-items: stretch;
    flex-direction: column;
  }

  form.flex > button {
    width: 100%;
  }
}
