* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #0a0e1a; color: #c8d8e8; font-family: 'Segoe UI', sans-serif; min-height: 100vh; padding: 20px; }

header { text-align: center; padding: 30px 0 20px; }
header h1 { font-size: 2rem; color: #7eb8f7; letter-spacing: 4px; text-transform: uppercase; }
header p { color: #5a7a9a; font-size: 0.85rem; margin-top: 6px; letter-spacing: 2px; }

.search-bar { display: flex; justify-content: center; gap: 10px; margin: 24px auto; }
.search-bar input {
  flex: 1; padding: 12px 18px; background: #111827; border: 1px solid #2a3a4a;
  border-radius: 6px; color: #e0eaf4; outline: none; transition: border 0.2s;
}
.search-bar input:focus { border-color: #7eb8f7; }
.search-bar input::placeholder { color: #3a5a7a; }
.search-bar button {
  padding: 12px 24px; background: #1d4ed8; color: #fff; border: none;
  border-radius: 6px; font-size: 0.95rem; cursor: pointer; transition: background 0.2s; letter-spacing: 1px;
}
.search-bar button:hover { background: #2563eb; }
.search-bar button:disabled { background: #1e3a5f; cursor: not-allowed; }

#error-msg { text-align: center; color: #f87171; font-size: 0.9rem; min-height: 22px; margin-bottom: 10px; }
#loading { text-align: center; color: #4a7a9a; padding: 30px; letter-spacing: 2px; font-size: 0.85rem; }

.section { margin: 0 auto 28px; background: #111827; border: 1px solid #1e2d40; border-radius: 10px; overflow: hidden; }
.section-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 18px; background: #0f1c2e; border-bottom: 1px solid #1e2d40; }
.section-header h2 { font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; color: #7eb8f7; }

.hidden { display: none; }

.site-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 6px;
  padding: 8px 16px 12px; margin-bottom: 8px;
}
.site-nav a {
  display: inline-flex; align-items: center; padding: 8px 16px;
  background: #111827; border: 1px solid #1e2d40; border-radius: 20px;
  color: #7eb8f7; text-decoration: none; font-size: 0.78rem;
  letter-spacing: 1.5px; text-transform: uppercase; transition: background 0.2s, border-color 0.2s;
  min-height: 36px; white-space: nowrap;
}
.site-nav a:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.site-nav a[aria-current="page"] { background: #1e3a5f; border-color: #7eb8f7; color: #fff; }
