:root {
  --bg: #0b0b0d;
  --panel: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.12);
  --accent: #4f8cff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, #111 0%, #000 65%);
  color: #fff;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.logo { font-weight: 700; }

.nav {
  display: flex;
  gap: 28px;
}

.nav-item {
  position: relative;
  color: #aaa;
  cursor: pointer;
  text-decoration: none;
}

.nav-item:hover { color: #fff; }

/* POPOUT */
.has-popout::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -12px;
  width: calc(100% + 24px);
  height: 20px;
}

.popout {
  position: absolute;
  top: 140%;
  left: 0;
  width: 280px;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.has-popout:hover .popout,
.popout:hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.popout-card {
  display: block;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: background .15s ease, transform .15s ease;
}

.popout-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(2px);
}

.popout-card p {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #aaa;
}

/* HERO */
.hero {
  text-align: center;
  padding: 120px 20px 80px;
}

.hero h1 { font-size: 4rem; margin: 0; }
.subtitle { color: #aaa; }

.status {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
}

.status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.actions { margin-top: 32px; }

.btn {
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: white;
  text-decoration: none;
  margin: 0 6px;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}

/* SEARCH */
.search-section {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.search-section input {
  width: 420px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: white;
}

/* CONTENT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

section { margin-bottom: 80px; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;
  color: white;
  transition: transform .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.donate {
  text-align: center;
  font-weight: 600;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid var(--border);
  color: #777;
}
