:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #1f2430;
  --muted: #5a6275;
  --accent: #e85d2a;
  --accent-dark: #c94616;
  --gold: #f59e0b;
  --border: #f0e4d8;
  --shadow: 0 10px 30px rgba(31, 36, 48, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
header {
  background: linear-gradient(135deg, #1f2430 0%, #3b2638 55%, #b94726 100%);
  color: #fff;
  padding: 1.2rem 1rem 3rem;
}
.nav {
  max-width: 1020px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span { color: #ffb74d; }
.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  margin-left: 1.2rem;
  font-size: 0.95rem;
}
.nav-links a:hover { color: #ffb74d; }
.hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}
main {
  max-width: 1020px;
  margin: -1.8rem auto 3rem;
  padding: 0 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.6rem;
}
.sunset-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}
.stat-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 1.1rem;
}
.stat-box.primary {
  background: linear-gradient(135deg, #fff1e6, #ffe4cc);
  border-color: #fb923c;
}
.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.stat-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent-dark);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.city-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.city-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.city-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}
.city-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.city-time {
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1.15rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}
th, td {
  padding: 0.7rem 0.6rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
th { color: var(--muted); font-weight: 600; }
h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.controls {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 1rem;
}
input[type="date"], select {
  padding: 0.55rem 0.8rem;
  border: 1px solid #d6c7b8;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
}
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border);
}
