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

:root {
  --ink: #0f172a;
  --muted: #64748b;
  --panel: #f8fafc;
  --surface: #ffffff;
  --accent: #0ea5e9;
  --border: rgba(148, 163, 184, 0.25);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--panel);
  min-height: 100vh;
  padding-bottom: 140px;
  -webkit-font-smoothing: antialiased;
}

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

.events-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.events-hero {
  padding: 90px 0 40px;
  background: radial-gradient(circle at 15% 10%, rgba(14, 165, 233, 0.18), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.15), transparent 45%);
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.hero-subhead {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: #2563eb;
  font-weight: 700;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 4px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.events-controls {
  padding: 30px 0 10px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr));
  gap: 12px;
}

.search-field input,
select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-size: 0.95rem;
  background: #ffffff;
}

.filter-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.filter-chip.active {
  background: #111827;
  color: #ffffff;
  border-color: transparent;
}

.status-line {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.events-results {
  padding: 30px 0 70px;
}

.results-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 20px;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.events-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.empty {
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px dashed var(--border);
  color: var(--muted);
}

.event-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-rows: 180px auto;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-body {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f172a;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-weight: 600;
}

.events-host {
  padding: 40px 0 120px;
}

.host-card {
  background: linear-gradient(135deg, rgba(12, 170, 220, 0.95), rgba(8, 139, 187, 0.92));
  border-radius: 28px;
  padding: 40px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 24px 50px rgba(7, 124, 171, 0.35);
}

.host-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn.solid {
  background: #111827;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.btn.ghost {
  background: #ffffff;
  color: #111827;
  border-color: var(--border);
}

.btn:hover {
  transform: translateY(-1px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .search-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .host-card {
    padding: 28px;
  }
}

