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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", sans-serif;
  background: #f5f5f7;
  color: #1d1d1f;
  min-height: 100vh;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5ea;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1d1d1f;
  white-space: nowrap;
}

.site-title span {
  color: #86868b;
  font-weight: 400;
}

#search {
  flex: 1;
  max-width: 320px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

#search:focus {
  border-color: #007aff;
}

/* Main container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Category tabs */
.category-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.category-tab {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid #d2d2d7;
  background: #fff;
  color: #515154;
  transition: all 0.2s;
}

.category-tab:hover {
  border-color: #007aff;
  color: #007aff;
}

.category-tab.active {
  background: #007aff;
  color: #fff;
  border-color: #007aff;
}

/* Section */
.section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86868b;
  margin-bottom: 0.75rem;
  padding: 0 0.25rem;
}

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-icon {
  font-size: 1.75rem;
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.card-body p {
  font-size: 0.8rem;
  color: #86868b;
  line-height: 1.4;
}

.card-tags {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.35rem;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: #f0f0f5;
  color: #636366;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: #a1a1a6;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #86868b;
  font-size: 0.9rem;
}

/* Venues page */
.venues-wrap { background: #fff; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.venues-wrap table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 0.75rem; }
.venues-wrap th { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 2px solid #e5e5ea; font-weight: 600; white-space: nowrap; }
.venues-wrap td { padding: 0.4rem 0.5rem; border-bottom: 1px solid #f0f0f5; }
.venues-wrap tr:hover { background: #f8f8fa; }
.venues-wrap h2 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
.venues-wrap h3 { font-size: 1rem; font-weight: 600; margin: 1rem 0 0.5rem; }
.venues-wrap p { font-size: 0.88rem; line-height: 1.6; margin: 0.35rem 0; color: #515154; }
.venues-wrap hr { border: none; border-top: 1px solid #e5e5ea; margin: 1.5rem 0; }
.venues-wrap li { margin: 0.15rem 0; font-size: 0.85rem; color: #515154; }
.venues-wrap .highlight { font-weight: 600; }

/* Responsive */
@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 0 1rem;
  }
  .site-title {
    font-size: 1.1rem;
  }
  #search {
    max-width: 100%;
    order: 3;
  }
  .container {
    padding: 0.75rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .card {
    padding: 0.75rem 1rem;
  }
}

/* Large screen */
@media (min-width: 1200px) {
  .container {
    max-width: 1100px;
  }
  .header-inner {
    max-width: 1100px;
  }
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
