:root {
  --bg-1: #041b2d;
  --bg-2: #0b3555;
  --bg-3: #111f2b;
  --accent: #ff8a00;
  --accent-2: #ffd166;
  --text-main: #f3f8ff;
  --text-soft: #b6cbe0;
  --card: rgba(10, 26, 43, 0.74);
  --border: rgba(220, 236, 252, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 138, 0, 0.18), transparent 36%),
    radial-gradient(circle at 92% 20%, rgba(255, 209, 102, 0.19), transparent 33%),
    linear-gradient(145deg, var(--bg-1), var(--bg-2) 40%, var(--bg-3));
}

h1,
h2,
.h1,
.h2,
.h3,
.h4,
.display-5 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.01em;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-a {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -100px;
  background: rgba(255, 180, 80, 0.26);
}

.ambient-b {
  width: 360px;
  height: 360px;
  right: -130px;
  bottom: -120px;
  background: rgba(62, 168, 255, 0.22);
}

main {
  position: relative;
  z-index: 1;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 240, 219, 0.4);
  background: rgba(255, 161, 53, 0.16);
  color: #ffdcb2;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.form-control,
.input-group-text {
  background: rgba(7, 22, 36, 0.65);
  border-color: rgba(207, 227, 248, 0.17);
  color: #eef5fd;
}

.form-control:focus {
  background: rgba(7, 22, 36, 0.9);
  border-color: rgba(255, 170, 83, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(255, 160, 64, 0.25);
  color: #fff;
}

.form-control::placeholder {
  color: #88a1b9;
}

.btn-gradient {
  border: 0;
  color: #15222c;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  font-weight: 700;
}

.btn-gradient:hover {
  color: #0d1a24;
  transform: translateY(-1px);
}

.btn-outline-light,
.btn-outline-warning {
  border-color: rgba(220, 236, 252, 0.36);
}

.pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.22rem 0.54rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 199, 130, 0.5);
  color: #ffdcb4;
  background: rgba(255, 152, 59, 0.15);
}

.status-shell {
  background: rgba(7, 17, 28, 0.72);
  border-radius: 14px;
  border: 1px solid rgba(206, 224, 245, 0.18);
  padding: 1rem;
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.status-label {
  color: #93abc2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-value {
  font-weight: 600;
  word-break: break-word;
}

.history-list {
  margin: 0;
  padding-left: 1rem;
  max-height: 250px;
  overflow: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: revealIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .hero-subtitle {
    font-size: 0.97rem;
  }
}
