* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   PAGE BACKGROUND
========================= */
body {
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background: radial-gradient(circle at top, #111827, #020617 75%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  color: #e5e7eb;
}

/* =========================
   MAIN CARD
========================= */
.glass-card {
  width: 100%;
  max-width: 520px;
  padding: 36px 32px;
  border-radius: 26px;
  background: linear-gradient(180deg, #0b1220, #020617);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 90px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* =========================
   HEADER (PERFECT CENTER)
========================= */
.card-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 26px;
}

/* Logo */
.logo {
  height: 56px;
  width: auto;
  display: block;
  margin: 0 auto 14px auto;
}

/* Title */
.header-title {
  font-size: 2rem;
  font-weight: 900;
  color: #f9fafb;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}

/* Subtitle */
.subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 26px;
}

/* =========================
   TEAM SECTION
========================= */
.team-section {
  text-align: center;
  margin-bottom: 28px;
}

.team-name {
  font-size: 19px;
  font-weight: 900;
  color: #60a5fa;
  margin-bottom: 16px;
  letter-spacing: 0.6px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.team-members span {
  font-size: 14px;
  font-weight: 700;
  color: #f9fafb;
  background: rgba(255,255,255,0.06);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* =========================
   INPUTS
========================= */
.input-box {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 15px 18px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  font-weight: 500;
  color: #f9fafb;
}

.input-box input::placeholder {
  color: #9ca3af;
}

.input-box:focus-within {
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 2px rgba(96,165,250,0.35);
}

/* =========================
   OR DIVIDER
========================= */
.or-divider {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9ca3af;
  margin: 20px 0;
  position: relative;
}

.or-divider::before,
.or-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: linear-gradient(to right, transparent, #374151);
}

.or-divider::after {
  right: 0;
  background: linear-gradient(to left, transparent, #374151);
}

.or-divider::before {
  left: 0;
}

/* =========================
   SEARCH BUTTON
========================= */
button {
  width: 100%;
  padding: 17px;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 18px 40px rgba(37,99,235,0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(37,99,235,0.75);
}

button:active {
  transform: translateY(0);
}

/* =========================
   OUTPUT PAGE
========================= */
#output {
  margin-top: 28px;
}

/* =========================
   RESULT CARD
========================= */
.result-card {
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge */
.badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Text */
.result-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
  color: #e5e7eb;
}

.stops {
  margin-top: 10px;
  font-size: 13px;
  color: #c7d2fe;
}

/* =========================
   ERROR
========================= */
.error {
  text-align: center;
  color: #f87171;
  font-weight: 800;
  background: rgba(248,113,113,0.15);
  padding: 12px;
  border-radius: 12px;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 480px) {
  .glass-card {
    padding: 28px 22px;
  }

  .header-title {
    font-size: 1.7rem;
  }

  .logo {
    height: 48px;
  }
}
h1,h3 {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #f9fafb;
  margin: 8px 0 4px 0;
}

p {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #9ca3af;
  margin: 0 0 26px 0;
}
