* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f7f9fc;
  color: #111827;
}

.community-nav {
  align-items: center;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  padding: 20px 8%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  color: #2563eb;
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
}

.logo span {
  color: #10b981;
}

.community-nav nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.community-nav a {
  color: #374151;
  font-weight: 800;
  text-decoration: none;
}

.community-nav button,
.share-actions button {
  border: none;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  padding: 12px 16px;
  border-radius: 14px;
}

.community-hero {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.12)), #ffffff;
  padding: 70px 8% 48px;
}

.community-hero h1 {
  font-size: 48px;
  line-height: 1.12;
  max-width: 780px;
  margin-bottom: 16px;
}

.community-hero p {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.7;
  max-width: 820px;
}

.community-section {
  padding: 48px 8% 76px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 22px;
}

.showcase-header {
  align-items: center;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.showcase-avatar {
  align-items: center;
  background: linear-gradient(135deg, #2563eb, #10b981);
  border-radius: 18px;
  color: #ffffff;
  display: inline-flex;
  font-size: 26px;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 64px;
}

.showcase-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.showcase-card h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.showcase-meta {
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.showcase-card h3 {
  margin: 16px 0 8px;
}

.showcase-card p {
  color: #5b6472;
  line-height: 1.65;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.share-actions button.secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #2563eb;
}

.empty-state {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  color: #64748b;
  padding: 28px;
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.pagination button {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #2563eb;
  cursor: pointer;
  font-weight: 900;
  min-width: 42px;
  padding: 10px 13px;
  border-radius: 12px;
}

.pagination button.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 960px) {
  .community-grid {
    grid-template-columns: 1fr;
  }

  .community-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .community-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .community-nav nav {
    flex-wrap: wrap;
  }
}
