body {
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  margin: 0;
  color: #111;
}
.site-header {
  text-align: center;
  padding: 20px 10px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 20px;
}
.event-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.event-card h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.event-card .meta {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 10px;
}
.btn {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.btn-ghost {
  background: #eef2f7;
  color: #111;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* 🌟 Vitrin alanı */
.featured-grid {
  background: linear-gradient(135deg, #fff, #f1f5ff);
  padding: 30px 20px 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.featured-grid h2 {
  margin-bottom: 18px;
  font-size: 22px;
  color: #1e3a8a;
}
#featured-list .event-card {
  border: 2px solid #2563eb;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
  transform: scale(1.02);
}
#featured-list .event-card h2 {
  font-size: 20px;
}

/* Popup */
.popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.popup {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  width: min(90%, 400px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.popup header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.popup footer {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
