:root {
  --dsa-red: #c0272d;
  --dsa-black: #1a1a1a;
  --bg: #faf9f7;
  --border: #e2ddd6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--dsa-black);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dsa-black);
  color: white;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; }
.rose { font-size: 1.75rem; }
header h1 { margin: 0; font-size: 1.25rem; }
.subtitle { margin: 0.15rem 0 0; font-size: 0.8rem; color: #d0d0d0; }

nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.25rem;
  font-size: 0.9rem;
  opacity: 0.85;
}
nav a:hover { opacity: 1; text-decoration: underline; }

main { padding: 2rem; max-width: 900px; margin: 0 auto; }
h2 { margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.5rem; }
.chip {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--dsa-black);
  font-size: 0.8rem;
  background: white;
}
.chip.active { background: var(--dsa-red); color: white; border-color: var(--dsa-red); }

.event-list { display: flex; flex-direction: column; gap: 0.75rem; }

.event-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.event-date {
  text-align: center;
  min-width: 48px;
  color: var(--dsa-red);
}
.event-day { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

.event-body { flex: 1; }
.event-body h3 { margin: 0.25rem 0 0.15rem; font-size: 1rem; }
.muted { color: #888; font-size: 0.85rem; margin: 0; }

.host-tag {
  display: inline-block;
  color: white;
  font-size: 0.7rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
}

.event-rsvp { text-align: center; min-width: 60px; }
.rsvp-count { display: block; font-size: 1.2rem; font-weight: 700; }

footer { text-align: center; color: #888; font-size: 0.75rem; padding: 2rem; }
