.community-page .page-title {
  --background-color: #4a2bb5;
  background: radial-gradient(ellipse at 75% 20%, rgba(52, 220, 202, .32), transparent 35%),
              linear-gradient(125deg, #21104f 0%, #4a2bb5 58%, #7652e8 100%);
}

.community-page .page-title .heading {
  padding: 88px 0;
  border: 0;
}

.community-page .page-title h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin: 14px 0;
}

.community-page .page-title p {
  color: rgba(255, 255, 255, .84);
  font-size: 1.1rem;
}

.community-page .page-title nav {
  background: rgba(12, 8, 39, .2);
}

.community-eyebrow,
.community-kicker {
  color: #37e0cc;
  font-family: var(--nav-font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.community-eyebrow i { margin-right: 6px; }

.community-showcase {
  background:
    radial-gradient(ellipse at 0% 12%, rgba(99, 73, 220, .07), transparent 28%),
    #f7f8fc;
}

.community-intro {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.community-kicker { color: #6544cc; }

.community-intro h2 {
  margin: 10px 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
}

.community-intro p {
  color: #6b7280;
  margin: 0;
}

.community-project-section { margin-top: 48px; }

.community-project-section > h2 {
  margin: 0 0 22px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.community-empty-state {
  margin: 0;
  padding: 22px;
  color: #727586;
  background: #fff;
  border: 1px dashed #d8d3e8;
  border-radius: 14px;
  text-align: center;
}

.project-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(37, 24, 80, .08);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(37, 24, 80, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(37, 24, 80, .16);
}

.project-image-wrap {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: linear-gradient(135deg, #3e20a1, #23cbb4);
}

.project-image-wrap::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(20, 12, 55, .55));
  content: "";
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.project-card:hover .project-image-wrap img { transform: scale(1.06); }

.project-category,
.project-role {
  position: absolute;
  z-index: 1;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  padding: 7px 12px;
  font-size: .75rem;
  font-weight: 700;
}

.project-category {
  left: 14px;
  color: #fff;
  background: rgba(31, 19, 76, .78);
  backdrop-filter: blur(8px);
}

.project-role {
  right: 14px;
  color: #2e2169;
  background: #fff;
}

.project-card-body { padding: 22px; }

.project-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-icon,
.community-cta-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #6848d6, #28cbb5);
  border-radius: 14px;
  font-size: 1.2rem;
}

.project-title-row h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
}

.project-creator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  color: #727586;
  font-size: .9rem;
}

.project-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  color: #5c3cc4;
  border-top: 1px solid #ececf3;
  font-weight: 700;
}

.project-link:hover { color: #24a998; }

.project-delete-form { margin-top: 12px; }

.project-feature-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #51409a;
  background: #f3f0ff;
  border: 1px solid #ded7fa;
  border-radius: 9px;
  font-size: .85rem;
  font-weight: 700;
}

.project-feature-form button:hover {
  color: #fff;
  background: #5c3cc4;
  border-color: #5c3cc4;
}

.project-delete-form button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #a52834;
  background: #fff3f3;
  border: 1px solid #f1d2d5;
  border-radius: 9px;
  font-size: .85rem;
  font-weight: 700;
}

.project-delete-form button:hover {
  color: #fff;
  background: #b02a37;
  border-color: #b02a37;
}

.community-submit-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(110deg, #5c3cc4, #27bba9);
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(92, 60, 196, .2);
  font-weight: 700;
}

.community-submit-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(92, 60, 196, .27);
}

.community-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 50px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid rgba(37, 24, 80, .08);
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(37, 24, 80, .06);
}

.community-cta-icon { width: 52px; height: 52px; font-size: 1.4rem; }
.community-cta div { flex: 1; }
.community-cta h2 { margin: 0 0 4px; font-size: 1.15rem; font-weight: 800; }
.community-cta p { margin: 0; color: #727586; }

.community-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  color: #fff;
  background: #5c3cc4;
  border-radius: 30px;
  font-weight: 700;
  white-space: nowrap;
}

.community-cta > a:hover { background: #24a998; color: #fff; }

.community-form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid rgba(37, 24, 80, .08);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(37, 24, 80, .1);
}

.community-form-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.community-form-heading h2 { margin: 0 0 5px; font-size: 1.5rem; font-weight: 800; }
.community-form-heading p { margin: 0; color: #727586; }

.community-project-form {
  display: grid;
  gap: 10px;
}

.community-project-form label { margin-top: 9px; color: #332b4b; font-weight: 700; }

.community-project-form input,
.community-project-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  color: #343044;
  background: #fff;
  border: 1px solid #dedbe9;
  border-radius: 10px;
}

.community-project-form input[type="file"] { padding: 8px; }
.community-project-form input:focus,
.community-project-form select:focus { border-color: #6848d6; outline: 3px solid rgba(104, 72, 214, .13); }
.community-project-form small { color: #727586; }

.community-form-note {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 15px;
  color: #51467a;
  background: #f3f0ff;
  border-radius: 12px;
  font-size: .9rem;
}

.community-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 16px;
}

.community-form-actions > a { color: #6b6878; font-weight: 700; }

.community-form-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  color: #fff;
  background: #5c3cc4;
  border: 0;
  border-radius: 30px;
  font-weight: 700;
}

.community-form-actions button:hover { background: #24a998; }

@media (max-width: 575px) {
  .community-page .page-title .heading { padding: 64px 0; }
  .project-image-wrap { height: 205px; }
  .community-cta { align-items: flex-start; flex-wrap: wrap; padding: 22px; }
  .community-cta > a { margin-left: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-image-wrap img { transition: none; }
}
