:root {
  --navy: #062134;
  --navy-dark: #041624;
  --blue: #1879b0;
  --blue-hover: #126393;
  --blue-light: #e0f2fe;
  --green: #48bb3a;
  --green-hover: #3ca22f;
  --green-light: #e8f9e5;
  --ink: #0f172a;
  --muted: #64748b;
  --paper: #f8fafc;
  --line: #e2e8f0;
  --white: #ffffff;
  --serif: Georgia, 'Times New Roman', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Header & Navigation */
.topbar {
  height: 72px;
  padding: 0 max(calc((100vw - 1180px)/2), 6%);
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(248, 250, 252, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(6, 33, 52, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.6px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
}

.brand-navy {
  color: var(--navy);
}

.brand-blue {
  color: var(--blue);
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 35px;
  color: #475569;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a.nav-active {
  color: var(--blue);
  font-weight: 700;
}

.nav-cta {
  background: linear-gradient(135deg, #48bb3a 0%, #1879b0 100%);
  color: white;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(24, 121, 176, 0.22);
  transition: transform .18s, box-shadow .18s;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 121, 176, 0.32);
}

.nav-cta span {
  color: #d1fae5;
  padding-left: 6px;
}

.nav-login {
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 600 14px 'DM Sans', sans-serif;
  padding: 9px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: color .18s, background .18s;
}

.nav-login:hover {
  color: var(--blue);
  background: rgba(24, 121, 176, 0.08);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
  color: var(--ink);
  cursor: pointer;
}

.page {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

/* Hero Section */
.hero {
  padding: 94px 0 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
  min-height: 545px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.8px;
  font-size: 11px;
}

.eyebrow:before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #48bb3a, #1879b0);
  border-radius: 2px;
}

.hero h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(48px, 5.8vw, 76px);
  line-height: 1.04;
  letter-spacing: -4px;
  margin: 20px 0 20px;
  font-weight: 700;
  color: var(--navy);
}

.hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--blue);
  font-style: italic;
}

.hero-copy {
  max-width: 480px;
  line-height: 1.85;
  color: #475569;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 29px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .18s, background .18s, box-shadow .18s;
}

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

.btn-primary {
  background: linear-gradient(135deg, #48bb3a 0%, #1879b0 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(24, 121, 176, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3ea831 0%, #126393 100%);
  box-shadow: 0 6px 20px rgba(24, 121, 176, 0.35);
}

.btn-secondary {
  border-color: #cbd5e1;
  background: white;
  color: var(--navy);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f0f7fc;
}

.btn-small {
  padding: 10px 14px;
  font-size: 12px;
}

.hero-note {
  margin-top: 24px;
  color: #64748b;
  font-size: 12px;
}

.hero-note b {
  color: #48bb3a;
  font-weight: 700;
}

/* Hero Art - Compass Logo in Center */
.hero-art {
  height: 356px;
  position: relative;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 50%, #e0f2fe 0%, #e8f7ee 50%, #edf5f9 100%);
  border: 1px solid #dbeafe;
  overflow: hidden;
}

.hero-art:before {
  content: '';
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 121, 176, 0.12) 0%, rgba(72, 187, 58, 0.12) 100%);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.art-orbit {
  position: absolute;
  inset: 28px;
  border: 1.5px dashed rgba(24, 121, 176, 0.25);
  border-radius: 50%;
  transform: scaleX(.83);
}

.orbit-dot {
  position: absolute;
  left: 20%;
  top: 38%;
  background: #48bb3a;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(72, 187, 58, 0.8);
}

.art-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 114px;
  height: 114px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-content: center;
  box-shadow: 0 16px 36px rgba(6, 33, 52, 0.16), 0 0 0 6px rgba(24, 121, 176, 0.08);
}

.hero-center-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
}

.float-card {
  position: absolute;
  z-index: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 12px 30px rgba(6, 33, 52, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-card strong {
  display: block;
  font-size: 11px;
  color: var(--navy);
}

.float-card small {
  font-size: 9px;
  color: #64748b;
}

.float-emoji {
  height: 36px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eef7fc;
  font-size: 19px;
}

.fc1 { left: 7%; top: 16%; }
.fc2 { right: 5%; top: 33%; }
.fc3 { left: 10%; bottom: 17%; }
.fc4 { right: 10%; bottom: 12%; }

/* Stats Bar */
.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  color: #64748b;
  font-size: 12px;
}

.stats-bar strong {
  color: var(--navy);
  font-size: 16px;
  padding-right: 5px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sections */
.section {
  padding: 75px 0;
}

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }

.section-head h2, .page-title {
  font: 700 37px/1.15 Manrope, sans-serif;
  letter-spacing: -1.7px;
  margin: 8px 0 0;
  color: var(--navy);
}

.section-head p {
  font-size: 14px;
  color: #64748b;
  margin: 9px 0 0;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  transition: color .18s;
}

.text-link:hover {
  color: var(--navy);
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.category-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  background: white;
  min-height: 108px;
  transition: transform .18s, border-color .18s, box-shadow .18s;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #93c5fd;
  box-shadow: 0 10px 25px rgba(24, 121, 176, 0.08);
}

.category-icon {
  font-size: 22px;
  margin-bottom: 12px;
  display: block;
}

.category-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.category-card small {
  display: block;
  color: #64748b;
  margin-top: 4px;
  font-size: 12px;
}

/* Featured section */
.featured-wrap {
  background: #edf5fa;
}

.featured-wrap .section {
  padding-top: 66px;
  padding-bottom: 70px;
}

/* Community Grid & Cards */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.community-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.community-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(6, 33, 52, 0.1);
}

.card-cover {
  height: 98px;
  background: linear-gradient(135deg, #e0f2fe 0%, #eef7ee 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 13px;
}

.card-cover.c2 { background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%); }
.card-cover.c3 { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.card-cover.c4 { background: linear-gradient(135deg, #fee2e2 0%, #ffedd5 100%); }
.card-cover.c5 { background: linear-gradient(135deg, #ede9fe 0%, #fae8ff 100%); }
.card-cover.c6 { background: linear-gradient(135deg, #ecfccb 0%, #f0fdf4 100%); }

.card-avatar {
  width: 52px;
  height: 52px;
  border: 3px solid white;
  border-radius: 16px;
  background: linear-gradient(135deg, #48bb3a 0%, #1879b0 100%);
  color: white;
  display: grid;
  place-content: center;
  font-size: 23px;
  box-shadow: 0 4px 14px rgba(6, 33, 52, 0.12);
}

.card-avatar.av2 { background: #d97706; }
.card-avatar.av3 { background: #0284c7; }
.card-avatar.av4 { background: #e11d48; }
.card-avatar.av5 { background: #7c3aed; }
.card-avatar.av6 { background: #65a30d; }

.community-image {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  margin-left: 4px;
}

.card-kicker {
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 1px;
  font-weight: 700;
}

.card-title-mini {
  font-size: 14px;
  font-weight: 700;
  margin-top: 4px;
  color: var(--navy);
}

.featured-badge {
  position: absolute;
  right: 11px;
  top: 11px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(24, 121, 176, 0.25);
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 10px;
  letter-spacing: .7px;
  font-weight: 700;
}

.card-body {
  padding: 14px 17px 16px;
}

.card-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  gap: 8px;
  align-items: center;
}

.card-meta .dot {
  width: 3px;
  height: 3px;
  background: #cbd5e1;
  border-radius: 50%;
}

.card-desc {
  font-size: 12px;
  color: #475569;
  line-height: 1.65;
  min-height: 36px;
  margin: 9px 0 13px;
}

.card-bottom {
  border-top: 1px solid #f1f5f9;
  padding-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.members {
  font-size: 12px;
  color: #64748b;
}

.join-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
}

.join-link:hover {
  color: var(--navy);
}

.join-link span {
  margin-left: 4px;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, #062134 0%, #0c3e60 55%, #0e5c46 100%);
  border-radius: 16px;
  padding: 38px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin: 6px 0 80px;
  box-shadow: 0 16px 40px rgba(6, 33, 52, 0.16);
}

.cta-banner h3 {
  font: 700 27px Manrope, sans-serif;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}

.cta-banner p {
  color: #c7dbe8;
  font-size: 14px;
  margin: 0;
}

.cta-banner .btn {
  background: linear-gradient(135deg, #48bb3a 0%, #22c55e 100%);
  color: white;
  font-weight: 700;
  border: 0;
  box-shadow: 0 4px 14px rgba(72, 187, 58, 0.35);
}

.cta-banner .btn:hover {
  background: linear-gradient(135deg, #3ea831 0%, #16a34a 100%);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px 20px;
  background: #ffffff;
}

.footer-inner, .footer-bottom {
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner {
  font-size: 12px;
  color: #64748b;
  padding-bottom: 22px;
}

.footer-inner .brand {
  font-size: 18px;
}

.footer-inner .brand-icon {
  width: 30px;
  height: 30px;
}

.footer-inner > a:last-child {
  color: var(--blue);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 12px;
  color: #94a3b8;
}

#connection-status {
  color: #d97706;
  font-size: 12px;
}

/* Explorer & Filters */
.listing-top {
  padding: 58px 0 32px;
}

.listing-top .page-title {
  font-size: 43px;
}

.listing-tools {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr .7fr auto;
  gap: 10px;
  margin: 25px 0 19px;
  box-shadow: 0 4px 16px rgba(6, 33, 52, 0.04);
}

.field-control {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
}

.field-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 121, 176, 0.15);
}

.search-field {
  position: relative;
}

.search-field input { padding-left: 40px; }



.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}

.chip {
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 8px 14px;
  color: #475569;
  font-size: 12px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.chip.active, .chip:hover {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.result-line {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 15px;
}

.listing-grid {
  padding: 0 0 70px;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 65px;
  color: #64748b;
}

/* Forms */
.form-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  padding: 62px 0 82px;
}

.form-intro {
  position: sticky;
  top: 108px;
  align-self: start;
}

.form-intro h1 {
  font: 700 43px/1.15 Manrope, sans-serif;
  letter-spacing: -2px;
  margin: 15px 0;
  color: var(--navy);
}

.form-intro p {
  color: #64748b;
  line-height: 1.8;
  font-size: 14px;
}

.form-note {
  background: #eef6fb;
  border-radius: 8px;
  border-left: 3px solid var(--blue);
  padding: 15px;
  margin-top: 27px;
  color: #1e3a52;
  font-size: 14px;
  line-height: 1.7;
}

.submit-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(6, 33, 52, 0.05);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1/-1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.form-group .field-control {
  font-size: 14px;
  padding: 12px;
}

.form-group textarea {
  min-height: 102px;
  resize: vertical;
}

.form-hint {
  font-size: 12px;
  color: #94a3b8;
}

.form-success {
  padding: 50px 30px;
  text-align: center;
}

.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #e0f2fe;
  color: var(--blue);
  font-size: 26px;
  margin: 0 auto 15px;
}

.form-success h2 {
  font: 700 25px Manrope, sans-serif;
  color: var(--navy);
}

.form-success p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

/* Detail page */
.detail-top {
  padding: 42px 0 80px;
  max-width: 890px;
}

.back-link {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
}

.detail-card {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 33, 52, 0.06);
}

.detail-cover {
  height: 195px;
  position: relative;
  background: linear-gradient(135deg, #e0f2fe 0%, #eef7ee 100%);
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-cover .card-avatar {
  position: absolute;
  bottom: -26px;
  left: 30px;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 32px;
  border-width: 4px;
}

.detail-content {
  padding: 43px 32px 32px;
}

.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.detail-heading h1 {
  font: 700 34px Manrope, sans-serif;
  letter-spacing: -1.5px;
  margin: 0 0 9px;
  color: var(--navy);
}

.detail-sub {
  font-size: 14px;
  color: #64748b;
}

.detail-description {
  max-width: 680px;
  color: #475569;
  line-height: 1.9;
  font-size: 14px;
  margin: 25px 0;
}

.detail-stats {
  display: flex;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  margin-bottom: 22px;
}

.detail-stat strong {
  display: block;
  font-size: 16px;
  color: var(--navy);
}

.detail-stat span {
  font-size: 12px;
  color: #64748b;
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.share-btn {
  background: white;
  border: 1px solid var(--line);
  color: var(--navy);
}

/* Admin */
.admin-head {
  padding: 55px 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.admin-head h1 {
  font: 700 37px Manrope, sans-serif;
  letter-spacing: -1.5px;
  margin: 8px 0;
  color: var(--navy);
}

.admin-head p {
  color: #64748b;
  font-size: 14px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-bottom: 20px;
}

.admin-stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
}

.admin-stat span {
  color: #64748b;
  font-size: 12px;
}

.admin-stat strong {
  font: 700 25px Manrope, sans-serif;
  display: block;
  margin-top: 7px;
  color: var(--navy);
}

.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 70px;
}

.admin-tabs {
  display: flex;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
}

.admin-tab {
  border: 0;
  background: none;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
  padding: 5px 0;
}

.admin-tab.active {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 2px solid var(--blue);
}

.admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
}

.admin-row:last-child {
  border: 0;
}

.admin-row-main {
  flex: 1;
}

.admin-row-main strong {
  font-size: 14px;
  color: var(--navy);
}

.admin-row-main small {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
}

.status-pill {
  border-radius: 999px;
  background: #e0f2fe;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--blue);
  font-weight: 600;
}

.admin-actions {
  display: flex;
  gap: 6px;
}

.admin-actions button {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}

.admin-actions .approve {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.admin-actions .approve:hover {
  background: var(--blue-hover);
}

.admin-actions .danger {
  color: #dc2626;
  border-color: #fecaca;
}

.admin-actions .danger:hover {
  background: #fef2f2;
}

/* Responsive */
@media (max-width: 850px) {
  .topbar { padding: 0 5%; }
  .nav-links { gap: 18px; }
  .hero { gap: 27px; min-height: auto; padding: 68px 0 50px; }
  .hero h1 { font-size: 57px; }
  .hero-art { height: 310px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .listing-tools { grid-template-columns: 1fr 1fr; }
  .listing-tools .search-field { grid-column: 1/-1; }
  .form-layout { gap: 25px; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  .topbar { height: 64px; }
  .topbar .nav-login { display: block; padding: 7px 8px; font-size: 12px; }
  .nav-cta { display: none !important; }
  .nav-links {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 18px 6%;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .page { padding: 0 19px; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 38px; gap: 31px; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .eyebrow { justify-content: center; }
  .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; }

  .hero h1 { font-size: 46px; letter-spacing: -3px; }
  .hero-copy { font-size: 15px; }
  .hero-art { height: 280px; }
  .float-card { padding: 8px 10px; }
  .fc1 { left: 4%; }
  .fc2 { right: 3%; }
  .fc3 { left: 5%; }
  .fc4 { right: 4%; }
  .stats-bar { flex-wrap: wrap; gap: 14px; }
  .stat-item:nth-child(n+4) { display: none; }
  .section { padding: 53px 0; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 12px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .category-card { padding: 13px 10px; min-height: 98px; }
  .category-card strong { font-size: 12px; }
  .community-grid { grid-template-columns: 1fr; }
  .featured-wrap .section { padding: 49px 0; }
  .community-card:nth-child(n+4) { display: none; }
  .cta-banner { padding: 27px 22px; gap: 15px; align-items: flex-start; flex-direction: column; margin-bottom: 50px; }
  .cta-banner h3 { font-size: 22px; }
  .footer-inner { align-items: flex-start; gap: 15px; flex-wrap: wrap; font-size: 11px; }
  .footer-inner > span { order: 3; width: 100%; }
  .footer-bottom { font-size: 11px; }
  .footer-bottom span { display: none; }
  .listing-top { padding-top: 40px; }
  .listing-top .page-title { font-size: 34px; }
  .listing-tools { grid-template-columns: 1fr 1fr; }
  .listing-tools .search-field { grid-column: 1/-1; }
  .form-layout { grid-template-columns: 1fr; padding: 41px 0 55px; }
  .form-intro { position: static; }
  .form-intro h1 { font-size: 35px; }
  .form-intro p { font-size: 13px; }
  .submit-form { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .detail-top { padding-top: 29px; }
  .detail-cover { height: 148px; }
  .detail-content { padding: 39px 20px 22px; }
  .detail-heading { flex-direction: column; }
  .detail-heading h1 { font-size: 28px; }
  .detail-stats { gap: 17px; }
  .detail-actions { flex-wrap: wrap; }
  .admin-head { padding-top: 38px; align-items: flex-start; flex-direction: column; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .admin-stat { padding: 13px; }
  .admin-stat strong { font-size: 21px; }
  .admin-row { gap: 8px; padding: 12px; }
  .admin-row .card-avatar { height: 37px; width: 37px; font-size: 17px; }
  .status-pill { display: none; }
  .admin-actions button { padding: 6px 7px; font-size: 10px; }
}

/* Explorer Layout */
.explorer-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 32px 0;
  align-items: start;
}
.explorer-sidebar {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(6,33,52,0.04);
}
.filter-group {
  margin-bottom: 24px;
}
.filter-group:last-child {
  margin-bottom: 0;
}
.filter-group h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-list button {
  background: white;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-list button:hover {
  border-color: var(--navy);
  color: var(--navy);
}
.filter-list button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
@media (max-width: 900px) {
  .explorer-layout {
    grid-template-columns: 1fr;
  }
}

.platform-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  margin-top: -2px;
}
.card-kicker {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 400px) { .brand-text { display: none; } .topbar .nav-login { font-size: 11px; padding: 6px; } }