:root {
--bg: #0d0804;
--bg-card: #130b05;
--bg-card-hover: #1a1008;
  --border: #3d2200;
  --border-accent: #FFCE1B;
  --text: #f5e6d0;
  --text-muted: #8a6a4a;
  --accent: #FFCE1B;
  --accent-dim: rgba(255, 206, 27, 0.15);
  --accent2: #069494;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.05em;
}

.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  transition: color 0.2s;
}

nav ul a:hover { color: var(--accent); }

.btn-outline {
  border: 1px solid var(--border-accent) !important;
  color: var(--accent) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.btn-outline:hover { background: var(--accent-dim) !important; }

/* ── HERO ── */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--text-muted); color: var(--text); }

/* ── SECTIONS ── */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
}

.section-header span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

/* ── GRID ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  padding: 1.75rem;
  transition: background 0.2s;
}

.card:hover { background: var(--bg-card-hover); }

.card-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
}

.card-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent2);
  text-decoration: none;
  transition: opacity 0.2s;
}

.card-link:hover { opacity: 0.7; }

/* ── EVENTS ── */
.event-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── CONTRIBUTE CTA ── */
.cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta h2 {
  font-family: var(--font-mono);
  font-size: 1.4rem;
}

.cta h2 span { color: var(--accent); }

@media (max-width: 640px) {
  nav ul { display: none; }
  .hero h1 { font-size: 2.2rem; }
  .cta { flex-direction: column; align-items: flex-start; }
}
/* ── CHAT BANNER ── */
.chat-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
}

.chat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}

.chat-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── ANNOUNCEMENTS ── */
.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.announcement {
  background: var(--bg-card);
  padding: 1.75rem;
  transition: background 0.2s;
}

.announcement:hover { background: var(--bg-card-hover); }

.announcement h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
}

.announcement p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
