:root {
  --bg: #F0F6FC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --input-bg: #F8FAFC;
  --ink: #0F172A;
  --text-secondary: #334155;
  --muted: #64748B;
  --brand: #0284C7;
  --brand-dark: #0369A1;
  --brand-tint: #E0F2FE;
  --brand-ring: #BAE6FD;
  --cta-start: #FACC15;
  --cta-end: #F59E0B;
  --cta-ink: #0F172A;
  --danger: #DC2626;
  --danger-tint: #FEF2F2;
  --success: #16A34A;
  --success-tint: #F0FDF4;
  --warn: #D97706;
  --warn-tint: #FFFBEB;
  --warn-border: #FCD34D;
}

* { box-sizing: border-box; }

body {
  position: relative;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--text-secondary);
  margin: 0;
  padding: 40px 16px 60px;
  min-height: 100dvh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: -10%;
  right: -8%;
  width: 46vw;
  height: 46vw;
  max-width: 520px;
  max-height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(250,204,21,.30) 0%, rgba(250,204,21,0) 70%);
}
body::after {
  content: "";
  position: fixed;
  bottom: -12%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(2,132,199,.16) 0%, rgba(2,132,199,0) 70%);
}

.wrap { position: relative; z-index: 1; max-width: 460px; margin: 0 auto; }
@media (min-width: 900px) { .wrap { max-width: 1080px; } }

.hero { text-align: center; margin-bottom: 28px; }
.wordmark {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.sub {
  color: #475569;
  font-size: 14px;
  margin: 10px auto 0;
  max-width: 520px;
  line-height: 1.6;
  text-align: center;
}
.last-updated {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand-dark);
  background: var(--brand-tint);
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.filter-chip {
  padding: 9px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 13px;
  transition: all .15s ease;
}
.filter-chip:hover { border-color: var(--brand-ring); }
.filter-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1050px) {
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
}

.promo-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: 0 16px 32px -14px rgba(2, 132, 199, 0.14);
  overflow: hidden;
}
.promo-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta-start), var(--brand), var(--cta-start));
}
.promo-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}
.promo-airline {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--brand-dark);
}
.promo-badge {
  flex: none;
  background: linear-gradient(135deg, var(--cta-start), var(--cta-end));
  color: var(--cta-ink);
  font-weight: 800;
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.promo-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.4;
}
.promo-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.promo-detail-row:last-of-type { border-bottom: none; }
.promo-detail-label { color: var(--muted); font-weight: 700; }
.promo-detail-value { color: var(--ink); font-weight: 700; text-align: right; }
.promo-deadline {
  margin-top: 12px;
  background: var(--warn-tint);
  border: 1px solid var(--warn-border);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: #92400E;
  font-weight: 700;
}
.promo-source {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-weight: 700;
}

.foot {
  text-align: center;
  color: #94A3B8;
  font-size: 12px;
  margin-top: 36px;
}
