:root {
  --bg: #020912;
  --bg-deep: #01060d;
  --panel: rgba(8, 15, 25, 0.9);
  --panel-strong: rgba(10, 18, 30, 0.94);
  --panel-soft: rgba(14, 22, 33, 0.82);
  --line: rgba(54, 75, 109, 0.58);
  --line-soft: rgba(54, 75, 109, 0.34);
  --gold-line: rgba(214, 151, 36, 0.78);
  --text: #f8f8fb;
  --muted: #b4bdcc;
  --muted-2: #8793a8;
  --gold: #fcd163;
  --gold-2: #eab13e;
  --gold-3: #b9780b;
  --shadow: rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(560px 520px at 86% 18%, rgba(122, 91, 38, 0.3), transparent 66%),
    radial-gradient(520px 420px at 14% 6%, rgba(22, 58, 99, 0.22), transparent 72%),
    linear-gradient(180deg, #020912 0%, #04101d 48%, #020912 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 67px 67px;
  mask-image: radial-gradient(circle at 76% 21%, black 0 32%, transparent 58%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(440px 360px at 70% 9%, rgba(241, 183, 70, 0.14), transparent 72%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.12));
}

body.modal-open {
  overflow: hidden;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #05070b;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 18px 0 10px;
  background: linear-gradient(180deg, rgba(2, 9, 18, 0.96), rgba(2, 9, 18, 0));
}

.header-inner,
.mobile-menu,
.landing-main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px 18px 28px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(74, 95, 132, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(13, 23, 39, 0.92), rgba(7, 15, 27, 0.88));
  box-shadow: 0 18px 44px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: #fff;
  text-decoration: none;
}

.logo img {
  width: 52px;
  height: 52px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(252, 209, 99, 0.18));
}

.logo span {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-desktop a,
.mobile-menu a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-desktop a:hover,
.nav-desktop a.is-active,
.mobile-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.burger {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(26, 38, 59, 0.92), rgba(11, 20, 34, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 12px 28px rgba(0, 0, 0, 0.26);
  cursor: pointer;
}

.burger span {
  width: 29px;
  height: 3px;
  display: block;
  margin: 3px 0;
  border-radius: 999px;
  background: #fff;
}

.mobile-menu {
  display: none;
  gap: 8px;
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(12, 21, 39, 0.98), rgba(8, 14, 28, 0.96));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.mobile-menu.open {
  display: grid;
}

.landing-main {
  display: grid;
  gap: 14px;
  padding: 26px 0 38px;
}

.catalog-hero,
.section {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 300px at 96% 9%, rgba(122, 93, 43, 0.25), transparent 74%),
    radial-gradient(420px 260px at 5% 2%, rgba(22, 58, 99, 0.18), transparent 72%),
    linear-gradient(135deg, rgba(8, 16, 28, 0.96), rgba(4, 10, 18, 0.98));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.catalog-hero {
  display: grid;
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 24px;
  border: 1.5px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(8, 15, 25, 0.72);
  box-shadow: 0 0 22px rgba(234, 177, 62, 0.08);
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy h1,
.section h2 {
  margin: 0;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.44);
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8.8vw, 5.4rem);
  line-height: 1.08;
}

.hero-copy h1 span,
.section h2 span {
  color: var(--gold);
}

.hero-copy > p:not(.eyebrow),
.section-copy > p:not(.eyebrow),
.submit-section > div > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.14rem, 2.8vw, 1.78rem);
  line-height: 1.54;
}

.catalog-preview {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1.5px solid var(--gold-line);
  border-radius: 25px;
  background:
    radial-gradient(440px 240px at 70% 12%, rgba(62, 87, 119, 0.18), transparent 76%),
    linear-gradient(180deg, rgba(6, 13, 23, 0.88), rgba(4, 10, 18, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 48px rgba(0, 0, 0, 0.28);
}

.preview-toolbar {
  display: grid;
  gap: 16px;
  padding: 0 16px;
}

.search-field {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 18, 30, 0.84);
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.28);
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 500;
}

.search-field input::placeholder {
  color: #9aa6ba;
}

.filter-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pills button {
  min-height: 48px;
  flex: 0 0 auto;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e9edf6;
  background: rgba(12, 20, 33, 0.88);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
}

.filter-pills button:hover,
.filter-pills button.is-active {
  color: #171206;
  border-color: rgba(255, 225, 130, 0.72);
  background: linear-gradient(135deg, #ffe47f, #f0b742);
  box-shadow: 0 10px 24px rgba(234, 177, 62, 0.18);
}

.preview-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
}

.quick-filters,
.preview-community-card,
.preview-stats,
.catalog-note,
.why-cta {
  border: 1px solid rgba(214, 151, 36, 0.5);
  background:
    radial-gradient(240px 170px at 80% 10%, rgba(72, 92, 121, 0.16), transparent 72%),
    linear-gradient(180deg, rgba(12, 20, 32, 0.92), rgba(6, 12, 21, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.quick-filters {
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 22px;
  border-radius: 18px;
}

.quick-filters strong {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
}

.quick-filters > span {
  min-height: 51px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(54, 75, 109, 0.38);
  color: #c4ccda;
  font-size: 0.98rem;
}

.quick-filters > span:last-child {
  border-bottom: 0;
}

.quick-filters > span::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.preview-list {
  display: grid;
  gap: 12px;
}

.preview-community-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 16px 18px;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.preview-community-card:hover,
.preview-community-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(252, 209, 99, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 14px 34px rgba(0, 0, 0, 0.26);
  outline: none;
}

.preview-community-card img {
  width: 86px;
  height: 86px;
  border-radius: 18px;
  object-fit: cover;
  background: #02060c;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.preview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-community-card h2 {
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.12;
  font-weight: 900;
}

.preview-community-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.35;
}

.mini-badge {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(9, 15, 24, 0.78);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}

.mini-pills span,
.submit-types span,
.modal-list span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #e7edf8;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  font-weight: 800;
}

.flag {
  width: 20px;
  height: 14px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: -1px;
  background: linear-gradient(90deg, #069357 0 33%, #fff 33% 66%, #d7333f 66%);
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  border-radius: 18px;
  overflow: hidden;
}

.preview-stats > span {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-right: 1px solid rgba(54, 75, 109, 0.48);
  color: var(--muted);
  font-size: 1rem;
}

.preview-stats > span:last-child {
  border-right: 0;
}

.preview-stats strong {
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.12;
}

.hero-actions {
  display: grid;
  gap: 18px;
}

.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn.primary {
  color: #161207;
  background: linear-gradient(135deg, #ffe987 0%, #f8ce5e 42%, #dc9d27 100%);
  box-shadow: 0 16px 34px rgba(234, 177, 62, 0.24), inset 0 2px 0 rgba(255, 255, 255, 0.32);
}

.btn.ghost {
  color: #fff;
  background: rgba(4, 10, 18, 0.72);
  border-color: var(--gold-line);
}

.btn-large {
  min-height: 84px;
  justify-content: space-between;
  padding: 0 32px;
  font-size: clamp(1.18rem, 3vw, 1.72rem);
}

.catalog-note {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 28px 34px;
  border-radius: 24px;
}

.catalog-note p,
.modal-head p {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-note strong {
  display: block;
  max-width: 560px;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.32;
}

.catalog-note .note-subtitle {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.38rem);
}

.people-asset {
  width: 180px;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(252, 209, 99, 0.16));
}

.section {
  display: grid;
  gap: 26px;
  padding: clamp(26px, 4.6vw, 48px);
}

.section-copy {
  display: grid;
  gap: 18px;
}

.section h2 {
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 3.65rem);
  line-height: 1.06;
}

.submit-section {
  gap: 22px;
}

.submit-section > div:first-child {
  display: grid;
  gap: 18px;
}

.submit-types {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.submit-types span {
  min-height: 43px;
  padding: 8px 16px;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  gap: 22px;
}

.partner-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 12px;
  min-height: 218px;
  padding: 26px 22px;
  border: 1px solid rgba(214, 151, 36, 0.48);
  border-radius: 16px;
  background:
    radial-gradient(210px 150px at 50% 4%, rgba(252, 209, 99, 0.14), transparent 66%),
    linear-gradient(180deg, rgba(17, 25, 35, 0.9), rgba(8, 14, 23, 0.95));
  text-align: center;
}

.feature-grid h3 {
  margin: 0;
  color: var(--gold);
  font-size: 1.08rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.4;
}

.section-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
}

.section-actions .btn {
  min-height: 66px;
  justify-content: space-between;
  padding-inline: 26px;
  font-size: 1.18rem;
}

.why-cta {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 280px;
  align-items: center;
  gap: 24px;
  padding: 22px 22px;
  border-radius: 18px;
}

.why-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.why-cta .btn {
  min-height: 64px;
  justify-content: space-between;
  padding-inline: 22px;
}

.ui-icon,
.feature-icon {
  display: inline-block;
  flex: 0 0 auto;
}

.ui-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.ui-icon--eyebrow {
  width: 23px;
  height: 23px;
}

.ui-icon--search {
  width: 30px;
  height: 30px;
  color: #fff;
}

.ui-icon--cta-search,
.ui-icon--cta-plus {
  width: 34px;
  height: 34px;
}

.ui-icon--cta-search {
  color: #111;
}

.ui-icon--cta-plus {
  color: inherit;
}

.ui-icon--mini {
  width: 18px;
  height: 18px;
  color: #d7dee8;
}

.ui-icon--badge {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.ui-icon--pill,
.ui-icon--chip {
  width: 17px;
  height: 17px;
}

.ui-icon--telegram {
  color: #47b7ff;
}

.ui-icon--youtube {
  color: #ff3c36;
}

.ui-icon--tiktok {
  color: #fff;
}

.ui-icon--stat {
  width: 26px;
  height: 26px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 50%, rgba(252, 209, 99, 0.2), rgba(252, 209, 99, 0.07) 48%, transparent 70%);
  filter: drop-shadow(0 0 16px rgba(252, 209, 99, 0.28));
}

.ui-icon--feature {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.arrow {
  position: relative;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.arrow::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-top: 3px solid #100c04;
  border-right: 3px solid #100c04;
  transform: rotate(45deg);
}

.arrow-light::before {
  border-color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 22px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(214, 151, 36, 0.58);
  border-radius: 24px;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(252, 209, 99, 0.14), transparent 72%),
    linear-gradient(145deg, rgba(14, 23, 36, 0.99), rgba(5, 8, 14, 0.99));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.modal-panel-detail {
  width: min(980px, 100%);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head h2,
.detail-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0;
}

.icon-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.modal-copy,
.detail-description {
  color: var(--muted);
  line-height: 1.65;
}

.modal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
}

.detail-aside {
  display: grid;
  align-content: start;
  gap: 14px;
}

.detail-logo {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(214, 151, 36, 0.38);
  border-radius: 24px;
  object-fit: cover;
  background: #080d15;
}

.detail-main {
  min-width: 0;
  display: grid;
  gap: 18px;
  padding-right: 44px;
}

.detail-title {
  display: grid;
  gap: 10px;
}

.community-badges,
.community-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8deea;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 900;
}

.badge.gold {
  color: var(--gold);
  border-color: var(--gold-line);
  background: rgba(252, 209, 99, 0.07);
}

.badge.blue {
  color: #d8eaff;
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.08);
}

.detail-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #eaf0fb;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  font-weight: 800;
}

.detail-link span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-partner-box {
  padding: 16px;
  border: 1px solid var(--gold-line);
  border-radius: 16px;
  background: rgba(252, 209, 99, 0.06);
}

.detail-partner-box strong {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
}

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

.empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
}

@media (max-width: 1040px) {
  .nav-desktop,
  .header-login {
    display: none;
  }

  .preview-body {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
  }

  .preview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-stats > span:nth-child(2) {
    border-right: 0;
  }

  .preview-stats > span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(54, 75, 109, 0.48);
  }

  .partner-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-actions,
  .why-cta {
    grid-template-columns: 1fr;
  }

  .catalog-note {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .quick-filters {
    padding: 16px 14px;
  }

  .quick-filters strong {
    margin-bottom: 8px;
    font-size: 0.95rem;
  }

  .quick-filters > span {
    min-height: 42px;
    gap: 8px;
    font-size: 0.82rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 10px 0 8px;
  }

  .header-inner,
  .mobile-menu,
  .landing-main {
    width: min(calc(100% - 24px), 1120px);
  }

  .header-inner {
    min-height: 132px;
    padding: 22px 18px 22px 30px;
    border-radius: 34px;
  }

  .logo {
    gap: 16px;
  }

  .logo img {
    width: 58px;
    height: 58px;
  }

  .logo span {
    font-size: clamp(1.78rem, 8vw, 2.45rem);
  }

  .burger {
    width: 86px;
    height: 86px;
    padding: 24px;
  }

  .burger span {
    width: 33px;
    height: 3px;
  }

  .landing-main {
    gap: 14px;
    padding-top: 32px;
  }

  .catalog-hero {
    gap: 28px;
    padding: 12px 0 12px;
  }

  .hero-copy {
    gap: 26px;
  }

  .eyebrow {
    min-height: 74px;
    padding: 13px 28px;
    font-size: clamp(1.02rem, 4.4vw, 1.42rem);
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(3.25rem, 11.8vw, 5.35rem);
    line-height: 1.1;
  }

  .hero-copy > p:not(.eyebrow),
  .section-copy > p:not(.eyebrow),
  .submit-section > div > p:not(.eyebrow) {
    max-width: 760px;
    font-size: clamp(1.44rem, 5.5vw, 2rem);
    line-height: 1.48;
  }

  .catalog-preview {
    gap: 16px;
    padding: 18px 12px 12px;
    border-radius: 24px;
  }

  .preview-toolbar {
    padding: 0 12px;
  }

  .search-field {
    min-height: 60px;
    padding: 0 18px;
    gap: 14px;
  }

  .search-icon {
    width: 26px;
    height: 26px;
    border-width: 2px;
  }

  .search-icon::after {
    right: -8px;
    bottom: -4px;
    width: 11px;
    height: 2px;
  }

  .search-field input {
    font-size: clamp(0.92rem, 3.9vw, 1.08rem);
  }

  .filter-pills {
    gap: 8px;
  }

  .filter-pills button {
    min-height: 40px;
    padding: 0 14px;
    font-size: clamp(0.82rem, 2.8vw, 0.96rem);
  }

  .preview-list {
    gap: 10px;
  }

  .preview-community-card {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    min-height: 122px;
    padding: 12px;
  }

  .preview-community-card img {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .preview-community-card h2 {
    font-size: clamp(1rem, 3.2vw, 1.14rem);
  }

  .preview-community-card p {
    font-size: clamp(0.8rem, 2.7vw, 0.92rem);
  }

  .mini-badge {
    min-height: 28px;
    gap: 5px;
    padding: 4px 9px;
    font-size: 0.64rem;
  }

  .mini-pills span {
    min-height: 24px;
    gap: 5px;
    padding: 3px 8px;
    font-size: 0.72rem;
  }

  .preview-stats {
    border-radius: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .preview-stats > span {
    min-height: 70px;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .preview-stats strong {
    font-size: 1rem;
  }

  .btn-large {
    min-height: 72px;
    padding: 0 24px;
    font-size: clamp(1.12rem, 3.6vw, 1.38rem);
  }

  .catalog-note {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 30px;
    border-radius: 24px;
  }

  .catalog-note strong {
    font-size: clamp(1.62rem, 6vw, 2.25rem);
  }

  .catalog-note .note-subtitle {
    font-size: clamp(1.28rem, 4.8vw, 1.62rem);
  }

  .section {
    gap: 28px;
    padding: 32px 36px;
    border-radius: 24px;
  }

  .section h2 {
    font-size: clamp(2.3rem, 8.6vw, 3.4rem);
    line-height: 1.08;
  }

  .submit-types {
    gap: 11px;
  }

  .submit-types span {
    min-height: 43px;
    padding: 7px 16px;
    font-size: clamp(1rem, 4vw, 1.12rem);
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .why-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-grid article {
    min-height: 176px;
    padding: 18px 12px;
    gap: 10px;
  }

  .feature-grid h3 {
    font-size: clamp(0.84rem, 2vw, 0.98rem);
  }

  .feature-grid p {
    font-size: clamp(0.76rem, 1.9vw, 0.88rem);
    line-height: 1.28;
  }

  .section-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .section-actions .btn {
    min-height: 54px;
    padding-inline: 18px;
    font-size: clamp(0.92rem, 2.3vw, 1.02rem);
  }

  .why-cta {
    grid-template-columns: 84px minmax(0, 1fr) 228px;
    gap: 16px;
    padding: 18px;
  }

  .why-cta p {
    font-size: clamp(0.8rem, 2vw, 0.92rem);
    line-height: 1.4;
  }

  .why-cta .btn {
    width: auto;
    min-height: 54px;
    padding-inline: 18px;
  }

  .modal {
    align-items: center;
    padding: 10px;
  }

  .modal-panel {
    width: min(390px, 100%);
    max-height: calc(100dvh - 20px);
    padding: 16px;
    border-radius: 18px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .detail-main {
    padding-right: 0;
  }

  .detail-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .mobile-menu,
  .landing-main {
    width: min(calc(100% - 18px), 1120px);
  }

  .header-inner {
    min-height: 64px;
    padding: 9px 13px 9px 18px;
    border-radius: 25px;
  }

  .logo img {
    width: 31px;
    height: 31px;
  }

  .logo span {
    font-size: 1.18rem;
  }

  .burger {
    width: 44px;
    height: 44px;
    padding: 13px;
  }

  .burger span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  .landing-main {
    gap: 12px;
    padding-top: 10px;
  }

  .catalog-hero {
    gap: 16px;
    padding-top: 0;
  }

  .eyebrow {
    min-height: 36px;
    padding: 6px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.045em;
  }

  .eyebrow .ui-icon {
    width: 20px;
    height: 20px;
  }

  .hero-copy {
    justify-items: center;
    gap: 12px;
    padding-inline: 6px;
    text-align: center;
  }

  .hero-copy h1 {
    max-width: 22rem;
    font-size: clamp(1.78rem, 8.1vw, 2.08rem);
    line-height: 1.09;
  }

  .hero-copy > p:not(.eyebrow),
  .section-copy > p:not(.eyebrow),
  .submit-section > div > p:not(.eyebrow) {
    max-width: 21rem;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .catalog-preview {
    width: 100%;
    margin-inline: 0;
    padding: 10px;
    border-radius: 18px;
  }

  .preview-toolbar {
    padding: 0;
  }

  .preview-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .search-field input {
    font-size: 0.76rem;
  }

  .search-field {
    min-height: 50px;
    gap: 12px;
    padding: 0 16px;
  }

  .ui-icon--search {
    width: 24px;
    height: 24px;
  }

  .quick-filters {
    display: none;
  }

  .quick-filters strong {
    font-size: 0.76rem;
  }

  .quick-filters > span {
    min-height: 34px;
    font-size: 0.66rem;
  }

  .quick-filters > span::after {
    width: 7px;
    height: 7px;
  }

  .filter-pills button {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.76rem;
  }

  .preview-community-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 10px;
    min-height: 94px;
    padding: 10px;
    border-radius: 15px;
  }

  .preview-community-card img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }

  .preview-card-head {
    align-items: center;
    gap: 8px;
  }

  .preview-community-card h2 {
    min-width: 0;
    font-size: 0.9rem;
  }

  .preview-community-card p {
    margin-top: 4px;
    font-size: 0.72rem;
    line-height: 1.24;
  }

  .mini-badge {
    min-height: 23px;
    gap: 4px;
    padding: 3px 7px;
    font-size: 0.56rem;
  }

  .mini-badge .ui-icon {
    width: 12px;
    height: 12px;
  }

  .mini-pills span {
    min-height: 20px;
    gap: 4px;
    padding: 2px 6px;
    font-size: 0.6rem;
  }

  .mini-pills .ui-icon {
    width: 13px;
    height: 13px;
  }

  .preview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-stats > span {
    min-height: 52px;
    gap: 7px;
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .preview-stats .ui-icon {
    width: 18px;
    height: 18px;
  }

  .preview-stats strong {
    font-size: 0.86rem;
  }

  .preview-stats > span:nth-child(odd) {
    border-right: 1px solid rgba(54, 75, 109, 0.48);
  }

  .preview-stats > span:nth-child(even) {
    border-right: 0;
  }

  .preview-stats > span:nth-child(-n+2) {
    border-bottom: 1px solid rgba(54, 75, 109, 0.48);
  }

  .btn-large {
    width: 100%;
    margin-inline: 0;
    min-height: 54px;
    justify-content: center;
    padding: 0 16px;
    font-size: 0.92rem;
    text-align: center;
  }

  .ui-icon--cta-search {
    width: 30px;
    height: 30px;
  }

  .catalog-note {
    width: 100%;
    margin-inline: 0;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 14px;
    border-radius: 18px;
  }

  .people-asset {
    width: 84px;
  }

  .catalog-note p {
    margin-bottom: 6px;
    font-size: 0.72rem;
  }

  .catalog-note strong {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .catalog-note .note-subtitle {
    margin-top: 7px;
    font-size: 0.82rem;
    line-height: 1.34;
  }

  .section {
    gap: 18px;
    padding: 22px 16px;
    border-radius: 20px;
  }

  .section-copy,
  .submit-section > div:first-child {
    justify-items: center;
    text-align: center;
  }

  .section h2 {
    max-width: 21rem;
    font-size: clamp(1.52rem, 7vw, 1.82rem);
    line-height: 1.12;
  }

  .submit-types {
    justify-content: center;
    gap: 8px;
  }

  .submit-types span {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.7rem;
  }

  .submit-section > div:first-child {
    gap: 12px;
  }

  .submit-section .btn-large {
    margin-inline: 0;
    min-height: 52px;
    font-size: 0.9rem;
  }

  .partner-grid,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-grid article {
    min-height: 132px;
    padding: 14px 10px 12px;
    gap: 8px;
  }

  .feature-icon {
    width: 44px;
    height: 44px;
  }

  .feature-grid h3 {
    font-size: 0.68rem;
    line-height: 1.08;
  }

  .feature-grid p {
    font-size: 0.66rem;
    line-height: 1.26;
  }

  .section-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-actions .btn,
  .why-cta .btn {
    min-height: 48px;
    justify-content: center;
    padding-inline: 14px;
    font-size: 0.84rem;
    text-align: center;
  }

  .why-cta {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }

  .why-cta p {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  .why-cta .people-asset {
    width: 58px;
  }

  .why-cta .btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ui-icon--feature {
    width: 25px;
    height: 25px;
  }

  .modal {
    place-items: center;
    padding: 10px;
  }

  .modal-panel {
    width: min(360px, 100%);
    max-height: calc(100dvh - 20px);
    padding: 13px;
    border-radius: 16px;
  }

  .modal-panel-detail {
    width: min(360px, 100%);
  }

  .modal-close,
  .modal-head .icon-button {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.35rem;
  }

  .modal-head {
    gap: 10px;
    margin-bottom: 10px;
    padding-right: 38px;
  }

  .modal-head p,
  .catalog-note p {
    letter-spacing: 0.045em;
  }

  .modal-head p {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  .modal-head h2,
  .detail-title h2 {
    font-size: 1.16rem;
    line-height: 1.12;
  }

  .modal-copy,
  .detail-description {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .modal-list {
    gap: 6px;
    margin-top: 10px;
  }

  .modal-list span {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 0.64rem;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .modal-actions .btn {
    width: 100%;
    min-height: 42px;
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .detail-layout {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
  }

  .detail-aside {
    gap: 7px;
  }

  .detail-logo {
    width: 62px;
    height: 62px;
    border-radius: 14px;
  }

  .detail-main {
    gap: 8px;
    padding-right: 0;
  }

  .detail-title {
    gap: 6px;
    padding-right: 34px;
  }

  .detail-title .eyebrow {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.55rem;
  }

  .community-badges {
    gap: 4px;
  }

  .badge {
    min-height: 21px;
    gap: 4px;
    padding: 2px 6px;
    font-size: 0.56rem;
  }

  .detail-links {
    gap: 7px;
  }

  .detail-link {
    min-height: 38px;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 11px;
    font-size: 0.72rem;
  }

  .detail-partner-box {
    padding: 10px;
    border-radius: 12px;
    font-size: 0.74rem;
    line-height: 1.36;
  }

  .detail-partner-box p {
    margin: 0;
  }

  .detail-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .detail-cta .btn {
    width: 100%;
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  .preview-card-head {
    display: grid;
    gap: 7px;
  }

  .preview-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-stats > span {
    border-bottom: 1px solid rgba(54, 75, 109, 0.48);
  }

  .preview-stats > span:nth-child(odd) {
    border-right: 1px solid rgba(54, 75, 109, 0.48);
  }

  .preview-stats > span:nth-child(even) {
    border-right: 0;
  }

  .preview-stats > span:last-child {
    border-bottom: 0;
  }

  .preview-stats > span:nth-last-child(2) {
    border-bottom: 0;
  }

  .modal-panel,
  .modal-panel-detail {
    width: min(342px, 100%);
  }

  .detail-layout {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 8px;
  }

  .detail-logo {
    width: 54px;
    height: 54px;
  }

  .detail-title h2 {
    font-size: 1.05rem;
  }
}

.community-card[role="button"] {
  cursor: pointer;
}

.community-card[role="button"]:focus-visible {
  outline: 3px solid rgba(252, 209, 99, 0.7);
  outline-offset: 4px;
}

.community-public-profile {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.community-public-profile-aside {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.community-public-profile-logo {
  width: 156px;
  height: 156px;
  display: block;
  border: 1px solid rgba(252, 209, 99, 0.42);
  border-radius: 28px;
  object-fit: cover;
  background: #05090f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.community-public-profile-main {
  min-width: 0;
  display: grid;
  gap: 13px;
  padding-right: 42px;
}

.community-public-profile-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(252, 209, 99, 0.58);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(252, 209, 99, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-public-profile h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.06;
  font-weight: 900;
}

.community-public-profile-handle,
.community-public-profile-bio {
  margin: 0;
  color: var(--muted);
}

.community-public-profile-handle {
  font-weight: 800;
}

.community-public-profile-bio {
  font-size: 1.02rem;
  line-height: 1.58;
}

.community-public-profile-metric {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 16, 27, 0.58);
}

.community-public-profile-metric strong {
  color: #fff;
  font-size: 1.15rem;
}

.community-public-profile-metric span {
  color: var(--muted);
  font-size: 0.92rem;
}

.community-public-profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.community-public-profile-link {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #eef4fb;
  background: rgba(8, 16, 27, 0.6);
  text-decoration: none;
  font-weight: 900;
}

.community-public-profile-link small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-public-profile-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.community-public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.community-public-profile-actions .btn {
  width: auto;
  min-width: 168px;
}

@media (max-width: 720px) {
  .community-public-profile {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .community-public-profile-aside {
    justify-items: start;
  }

  .community-public-profile-logo {
    width: 124px;
    height: 124px;
    border-radius: 24px;
  }

  .community-public-profile-main {
    padding-right: 0;
  }

  .community-public-profile-links {
    grid-template-columns: 1fr;
  }

  .community-public-profile-actions .btn {
    width: 100%;
  }
}

/* Community detail modal: copied from /community popup to keep landing identical. */
:root {
  --community-bg: #02060c;
  --community-card: rgba(8, 16, 27, 0.88);
  --community-card-strong: rgba(10, 18, 30, 0.94);
  --community-line: rgba(94, 124, 164, 0.48);
  --community-line-soft: rgba(94, 124, 164, 0.25);
  --community-text: #f7f8fb;
  --community-muted: #a9b4c8;
  --community-gold: #ffc20a;
  --community-gold-2: #ed9d00;
  --community-green: #70e45c;
  --community-radius: 18px;
}

body.community-modal-open {
  overflow: hidden;
}

.pill-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.pill-icon--telegram {
  background: #259bdc;
}

.pill-icon--telegram::before {
  content: ">";
  transform: rotate(-35deg);
  font-size: 1rem;
}

.pill-icon--youtube {
  background: #f03b34;
}

.pill-icon--youtube::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  margin-left: 2px;
}

.pill-icon--tiktok {
  background: #101721 url("/community/assets/icon-tiktok.svg") center / 78% 78% no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pill-icon--instagram {
  position: relative;
  background: linear-gradient(135deg, #833ab4, #fd1d1d 52%, #fcb045);
}

.pill-icon--instagram::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 4px;
}

.pill-icon--instagram::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 6px;
  width: 3px;
  height: 3px;
  border-radius: 99px;
  background: #fff;
}

.pill-icon--forex,
.pill-icon--crypto,
.pill-icon--globe,
.pill-icon--website {
  background: transparent;
  color: currentColor;
  border-radius: 0;
}

.pill-icon--forex::before { content: "\2197"; font-size: 1.25rem; }
.pill-icon--crypto::before { content: "B"; font-size: 1.15rem; }
.pill-icon--globe::before,
.pill-icon--website::before { content: "\25CE"; font-size: 1.25rem; }

.community-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.community-badge {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border: 1px solid rgba(93, 123, 164, 0.44);
  border-radius: 999px;
  color: #b7c3d6;
  background: rgba(8, 16, 27, 0.78);
  font-size: 1rem;
}

.community-badge--gold {
  color: var(--community-gold);
  border-color: rgba(255, 194, 10, 0.58);
  background: rgba(255, 194, 10, 0.07);
}

.community-primary-button,
.community-secondary-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 900;
}

.community-primary-button {
  width: 100%;
  border: 0;
  color: #111;
  background: linear-gradient(135deg, #ffc20a, #ffdc55);
  cursor: pointer;
  font-size: 1.06rem;
  box-shadow: 0 18px 32px rgba(255, 194, 10, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.community-secondary-button {
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  border: 1px solid rgba(94, 124, 164, 0.48);
  color: #f5f7fb;
  background: rgba(9, 18, 30, 0.72);
}

.community-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}

.community-modal.is-open {
  display: grid;
}

.community-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.community-modal-panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  overflow: auto;
  padding: 26px;
  border: 1px solid rgba(255, 194, 10, 0.5);
  border-radius: 22px;
  background:
    radial-gradient(420px 240px at 100% 0%, rgba(33, 70, 111, 0.28), transparent 70%),
    linear-gradient(145deg, rgba(10, 18, 30, 0.98), rgba(4, 9, 16, 0.99));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.community-modal-panel--public-profile {
  width: min(860px, 100%);
  padding: 30px;
}

.community-public-profile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.community-icon-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(94, 124, 164, 0.48);
  border-radius: 14px;
  color: #fff;
  background: rgba(9, 18, 30, 0.72);
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
}

.community-public-profile {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.community-public-profile-aside {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.community-public-profile-logo {
  width: 156px;
  height: 156px;
  display: block;
  border: 1px solid rgba(255, 194, 10, 0.42);
  border-radius: 28px;
  object-fit: cover;
  background: #05090f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.community-public-profile-main {
  min-width: 0;
  display: grid;
  gap: 13px;
  padding-right: 42px;
}

.community-public-profile-kicker {
  width: fit-content;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 194, 10, 0.58);
  border-radius: 999px;
  color: var(--community-gold);
  background: rgba(255, 194, 10, 0.07);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.community-public-profile h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.06;
  font-weight: 900;
}

.community-public-profile-handle,
.community-public-profile-bio {
  margin: 0;
  color: var(--community-muted);
}

.community-public-profile-handle {
  font-weight: 800;
}

.community-public-profile-bio {
  font-size: 1.02rem;
  line-height: 1.58;
}

.community-public-profile-metric {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(94, 124, 164, 0.42);
  border-radius: 14px;
  background: rgba(8, 16, 27, 0.58);
}

.community-public-profile-metric strong {
  color: #fff;
  font-size: 1.15rem;
}

.community-public-profile-metric span {
  color: var(--community-muted);
  font-size: 0.92rem;
}

.community-public-profile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.community-public-profile-link {
  min-height: 54px;
  display: grid;
  grid-template-columns: 22px minmax(0, auto) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(94, 124, 164, 0.42);
  border-radius: 14px;
  color: #eef4fb;
  background: rgba(8, 16, 27, 0.6);
  text-decoration: none;
  font-weight: 900;
}

.community-public-profile-link small {
  min-width: 0;
  overflow: hidden;
  color: var(--community-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.community-public-profile-empty {
  margin: 0;
  padding: 14px;
  border: 1px dashed rgba(94, 124, 164, 0.42);
  border-radius: 14px;
  color: var(--community-muted);
  text-align: center;
}

.community-public-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.community-public-profile-actions .community-primary-button,
.community-public-profile-actions .community-secondary-button {
  width: auto;
  min-width: 168px;
  margin-top: 0;
  padding-inline: 20px;
}

@media (max-width: 960px) {
  .community-public-profile {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
  }

  .community-public-profile-logo {
    width: 128px;
    height: 128px;
    border-radius: 22px;
  }

  .community-public-profile-main {
    padding-right: 34px;
  }
}

@media (max-width: 620px) {
  .pill-icon {
    width: 20px;
    height: 20px;
  }

  .community-badges {
    gap: 5px;
  }

  .community-badge {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 0.74rem;
  }

  .community-primary-button,
  .community-secondary-button {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .community-modal {
    padding: 10px;
    place-items: center;
    align-items: center;
  }

  .community-modal-panel {
    width: min(360px, 100%);
    max-height: calc(100dvh - 20px);
    padding: 14px;
    border-radius: 16px;
  }

  .community-modal-panel--public-profile {
    width: min(360px, 100%);
    padding: 13px;
  }

  .community-public-profile-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.35rem;
  }

  .community-public-profile {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .community-public-profile-aside {
    justify-items: start;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
  }

  .community-public-profile-logo {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .community-public-profile-main {
    gap: 8px;
    padding-right: 0;
  }

  .community-public-profile-kicker {
    padding: 5px 8px;
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .community-public-profile h2 {
    padding-right: 40px;
    font-size: 1.18rem;
    line-height: 1.12;
  }

  .community-public-profile-handle {
    font-size: 0.78rem;
  }

  .community-public-profile-bio {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .community-public-profile-metric {
    gap: 5px;
    padding: 6px 9px;
    border-radius: 11px;
  }

  .community-public-profile-metric strong {
    font-size: 0.94rem;
  }

  .community-public-profile-metric span {
    font-size: 0.74rem;
  }

  .community-public-profile-links {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .community-public-profile-link {
    min-height: 38px;
    grid-template-columns: 18px minmax(0, auto) minmax(0, 1fr);
    gap: 6px;
    padding: 7px 9px;
    border-radius: 11px;
    font-size: 0.72rem;
  }

  .community-public-profile-link small {
    font-size: 0.62rem;
  }

  .community-public-profile-empty {
    padding: 10px;
    border-radius: 11px;
    font-size: 0.74rem;
  }

  .community-public-profile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .community-public-profile-actions .community-primary-button,
  .community-public-profile-actions .community-secondary-button {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.76rem;
  }
}

.community-card .community-badges {
  gap: 7px;
}

@media (max-width: 620px) {
  .community-card .community-badges {
    gap: 4px;
  }
}
