/* Hacktoberfest 2026 — contributors wall (pure CSS, no frameworks, no JS) */

:root {
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --pink: #ec4899;
  --orange: #f97316;
  --bg: #0f172a;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

.hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 35%, var(--pink) 70%, var(--orange) 100%);
  color: #fff;
  text-align: center;
  padding: 64px 20px 56px;
}

.hero h1 {
  font-size: 2.6rem;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.tagline {
  opacity: 0.92;
  max-width: 620px;
  margin: 0 auto 26px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta {
  display: inline-block;
  background: #fff;
  color: var(--purple-dark);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.35);
}

.cta.ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.cta-hint {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ---------- Section title ---------- */

.section-title {
  color: #fff;
  max-width: 1100px;
  margin: 40px auto 20px;
  padding: 0 20px;
  font-size: 1.5rem;
  text-align: center;
}

/* ---------- Card grid ---------- */

.grid {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  border-top: 4px solid var(--purple);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid #ede9fe;
  margin-bottom: 12px;
  background: #ede9fe;
}

.card h3 {
  color: #0f172a;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.card .handle {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}

.card .handle:hover {
  text-decoration: underline;
}

.card .quote {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  font-style: italic;
}

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

footer {
  text-align: center;
  padding: 32px 20px 48px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

footer a {
  color: #c4b5fd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- Small screens ---------- */

@media (max-width: 520px) {
  .hero h1 {
    font-size: 2rem;
  }
}
