/* ----------------------------------------------------------
   Base Styles — Dark Mode
---------------------------------------------------------- */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #1e1f22;
  color: #d0d0d0;
  line-height: 1.6;
}

h1, h2 {
  margin-top: 0;
  font-weight: 600;
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----------------------------------------------------------
   Header
---------------------------------------------------------- */

.site-header {
  background: #2a2c2f;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid #3a3c40;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.subtitle {
  font-size: 0.9rem;
  color: #b0b0b0;
}

.last-updated {
  font-size: 0.85rem;
  color: #9a9a9a;
}

/* ----------------------------------------------------------
   Hero Section
---------------------------------------------------------- */

.hero {
  background: linear-gradient(180deg, #2a2c2f, #1e1f22);
  padding: 3rem 2rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: #c0c0c0;
}

/* ----------------------------------------------------------
   Card Layout
---------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.card {
  background: #2a2c2f;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #3a3c40;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transform: translateY(-2px);
}

.card p {
  margin-bottom: 0.75rem;
  color: #cfcfcf;
}

.meta {
  font-size: 0.85rem;
  color: #9a9a9a;
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   Card Links
---------------------------------------------------------- */

.card-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   External Services Links
---------------------------------------------------------- */

.external-links {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.external-links li {
  margin: 0.35rem 0;
}

.external-links a {
  font-size: 1rem;
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.external-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Footer
---------------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 1.5rem;
  background: #2a2c2f;
  border-top: 1px solid #3a3c40;
  margin-top: 2rem;
}

.footer-main {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
}

.footer-sub {
  font-size: 0.8rem;
  color: #9a9a9a;
  margin-top: 0.25rem;
}
