@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZFhiI2B.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuLyfAZ9hiA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fAZFhiI2B.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuI6fAZ9hiA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYAZFhiI2B.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/inter/v18/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuFuYAZ9hiA.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #102a43;
  --navy-2: #173f5f;
  --navy-3: #0b2033;
  --ink: #132238;
  --muted: #64748b;
  --line: #dce5ec;
  --surface: #f4f7fa;
  --white: #fff;
  --accent: #dc2f3f;
  --accent-dark: #b92333;
  --telegram: #229ed9;
  --whatsapp: #20b765;
  --danger: #d9485f;
  --success: #12835a;
  --shadow: 0 18px 50px rgba(16, 42, 67, 0.1);
  --radius: 18px;
  --radius-sm: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: #fff;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.container {
  width: min(1520px, calc(100% - 64px));
  margin: 0 auto;
}
.narrow {
  width: min(760px, calc(100% - 40px));
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
}
h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}
h3 {
  font-size: 1.12rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.eyebrow.dark {
  color: #a71f30;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  padding: 13px 20px;
  font-weight: 800;
  transition: 0.2s ease;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.button-small {
  padding: 9px 14px;
  font-size: 0.88rem;
}
.button-large {
  padding: 16px 24px;
}
.button-block {
  width: 100%;
}
.button-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(220, 47, 63, 0.26);
}
.button-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button-telegram {
  background: var(--telegram);
  color: #fff;
}
.button-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.button-danger {
  background: var(--danger);
  color: #fff;
}
.button-success {
  background: var(--success);
  color: #fff;
}
.text-link {
  font-weight: 750;
}
.text-link:hover {
  color: var(--telegram);
}
.site-header {
  height: 76px;
  background: var(--navy-3);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}
.brand-logo-link {
  line-height: 0;
  flex: 0 0 auto;
}
.site-logo {
  display: block;
  width: 190px;
  height: auto;
  filter: brightness(0) invert(1);
}
.site-logo-footer {
  width: 210px;
}
.site-logo-dark {
  width: 220px;
  filter: none;
}
.site-logo-admin {
  width: 190px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--accent);
  flex: 0 0 auto;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-mark.large {
  font-size: 4rem;
  width: auto;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  margin-left: 20px;
}
.main-nav a {
  font-size: 0.93rem;
  color: #c8d5e1;
  font-weight: 650;
}
.main-nav a:hover {
  color: #fff;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  color: #fff;
  font-size: 1.45rem;
}
.flash-stack {
  padding-top: 14px;
}
.flash {
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 650;
  margin-bottom: 8px;
}
.flash-success {
  background: #e4f7ef;
  color: #0c6547;
}
.flash-error {
  background: #ffeaed;
  color: #a72f45;
}
.flash-info {
  background: #e8f3fb;
  color: #245d80;
}
.hero {
  background: linear-gradient(112deg, var(--navy-3) 0%, #123b59 62%, #195579 100%);
  color: #fff;
  padding: 90px 0 76px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, 0.82fr);
  align-items: center;
  gap: clamp(60px, 6vw, 110px);
}
.hero h1 {
  margin-bottom: 22px;
  max-width: 720px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  font-size: 1.12rem;
  color: #c8d7e3;
  max-width: 650px;
}
.hero-search {
  margin: 32px 0 26px;
  background: #fff;
  padding: 7px 7px 7px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  max-width: 650px;
}
.hero-search > span {
  color: #64748b;
  font-size: 1.5rem;
}
.hero-search input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  padding: 12px 2px;
  color: var(--ink);
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  color: #aebfce;
  font-size: 0.86rem;
}
.hero-stats span {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-stats strong {
  font-size: 1.35rem;
  color: #fff;
}
.hero-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
}
.how-card {
  width: min(100%, 540px);
  background: #fff;
  color: var(--navy);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 26px 70px rgba(4, 20, 34, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.how-head {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}
.how-head > span {
  color: #74879a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.how-head > strong {
  color: var(--ink);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.how-head p {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}
.how-steps {
  display: grid;
  gap: 10px;
}
.how-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #f3f7fa;
  border-radius: 13px;
}
.how-step > b {
  color: #111827;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-align: center;
}
.how-step > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 44px;
  justify-content: center;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.how-step strong {
  color: var(--ink);
  font-size: 0.95rem;
}
.how-step div > span {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}
.platform-section {
  margin-top: -28px;
  position: relative;
  z-index: 3;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.platform-card {
  min-height: 122px;
  border-radius: 16px;
  color: #fff;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.platform-card:hover {
  transform: translateY(-4px);
}
.platform-card.telegram {
  background: linear-gradient(135deg, #2babe5, #1687bf);
}
.platform-card.telegram-dark {
  background: linear-gradient(135deg, #264b70, #17364f);
}
.platform-card.whatsapp {
  background: linear-gradient(135deg, #28c777, #149956);
}
.platform-card.whatsapp-dark {
  background: linear-gradient(135deg, #18795b, #0d5542);
}
.platform-icon {
  font-size: 2rem;
  opacity: 0.95;
  display: inline-flex;
  flex: 0 0 auto;
}
.brand-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.brand-icon-small {
  width: 1.05em;
  height: 1.05em;
}
.platform-card span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.platform-card strong {
  font-size: 1.02rem;
}
.platform-card small {
  opacity: 0.78;
  margin-top: 3px;
}
.platform-card b {
  margin-left: auto;
  font-size: 1.3rem;
}
.section {
  padding: 82px 0;
}
.section-muted {
  background: var(--surface);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}
.section-head h2 {
  margin: 0;
}
.section-head a {
  font-weight: 800;
  color: #315a78;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  min-width: 0;
}
.listing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: 0.2s;
  min-width: 0;
  width: 100%;
}
.listing-card:hover {
  border-color: #b8c9d7;
  box-shadow: 0 14px 35px rgba(16, 42, 67, 0.09);
  transform: translateY(-2px);
}
.listing-card.is-featured {
  border-color: #ead47f;
  background: linear-gradient(135deg, #fff4f5, #fff);
}
.listing-main {
  display: flex;
  gap: 13px;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}
.listing-avatar {
  width: 62px;
  height: 62px;
  border-radius: 15px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  flex: 0 0 auto;
}
.platform-telegram {
  background: linear-gradient(145deg, #39b4e9, #187caf);
}
.platform-whatsapp {
  background: linear-gradient(145deg, #2acb79, #14864d);
}
.listing-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.listing-copy > strong {
  font-size: 1rem;
  margin: 4px 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-description {
  font-size: 0.84rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-badges {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  border-radius: 20px;
  padding: 3px 7px;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}
.badge-telegram {
  background: #e5f5fc;
  color: #1178a8;
}
.badge-whatsapp {
  background: #e3f7ed;
  color: #0d7a45;
}
.badge-soft {
  background: #edf2f6;
  color: #526679;
}
.badge-featured {
  background: #fff1b8;
  color: #776013;
}
.listing-meta {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  color: #8493a2;
  font-size: 0.69rem;
}
.listing-card > .button {
  flex: 0 0 auto;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.category-card {
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c1d0db;
}
.category-card > span {
  font-size: 1.7rem;
  margin-bottom: 12px;
}
.category-card strong {
  font-size: 0.94rem;
}
.category-card small {
  color: var(--muted);
  margin-top: 4px;
}
.cta-panel {
  background: linear-gradient(130deg, var(--navy-3), var(--navy-2));
  border-radius: 24px;
  padding: 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
}
.cta-panel h2 {
  max-width: 680px;
  margin-bottom: 12px;
}
.cta-panel p {
  color: #c9d7e2;
  margin-bottom: 0;
  max-width: 720px;
}
.empty-state {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #bdcbd6;
  border-radius: 14px;
  padding: 35px;
  text-align: center;
  color: var(--muted);
}
.page-hero {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  color: #fff;
  padding: 65px 0 55px;
}
.page-hero.compact {
  padding: 48px 0;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin: 8px 0 13px;
}
.page-hero p {
  color: #c6d4df;
  font-size: 1.04rem;
  max-width: 720px;
  margin: 0;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.79rem;
  color: #aebfcc;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: #fff;
}
.directory-search {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) 1fr 1fr auto;
  gap: 9px;
  background: #fff;
  padding: 8px;
  border-radius: 13px;
  margin-top: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #6db9de;
  box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.1);
}
label {
  display: block;
  font-weight: 750;
  font-size: 0.9rem;
  margin-bottom: 17px;
}
label input,
label select,
label textarea {
  margin-top: 7px;
  font-weight: 500;
}
label small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 5px;
}
.directory-search input,
.directory-search select {
  border: 0;
  background: #f3f6f8;
}
.directory-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
}
.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  height: max-content;
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}
.filter-card h3 {
  padding: 7px 9px;
  margin-bottom: 10px;
}
.filter-card a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px;
  border-radius: 8px;
  color: #4f6274;
  font-size: 0.85rem;
}
.filter-card a:hover,
.filter-card a.active {
  background: #eaf3f8;
  color: #155f86;
  font-weight: 750;
}
.filter-card a span {
  background: #edf2f5;
  border-radius: 20px;
  padding: 1px 7px;
  font-size: 0.72rem;
}
.results-head {
  display: flex;
  justify-content: space-between;
  margin: 3px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
}
.results-head strong {
  color: var(--ink);
}
.pagination {
  display: flex;
  gap: 7px;
  margin-top: 26px;
  justify-content: center;
}
.pagination a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  font-weight: 750;
}
.pagination a.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.seo-copy {
  padding: 70px 0;
}
.prose {
  font-size: 1rem;
  color: #35475a;
}
.prose h2,
.prose h3 {
  color: var(--ink);
  margin-top: 30px;
}
.prose p {
  line-height: 1.8;
}
.prose li {
  margin: 7px 0;
}
.category-emoji {
  font-size: 2.4rem;
}
.detail-hero {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  color: #fff;
  padding: 42px 0 58px;
}
.detail-card {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}
.detail-avatar {
  width: 105px;
  height: 105px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2.3rem;
  font-weight: 900;
}
.detail-title h1 {
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  margin: 9px 0;
}
.detail-title p {
  color: var(--muted);
  margin: 0;
}
.detail-stats {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #6f8090;
  margin-top: 14px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 25px;
}
.content-card,
.info-card,
.report-card,
.form-card,
.panel-card,
.success-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 26px rgba(16, 42, 67, 0.04);
}
.content-card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 30px 0;
}
.info-card {
  margin-bottom: 15px;
}
.info-card dl {
  margin: 0;
}
.info-card dt {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 17px;
}
.info-card dd {
  margin: 3px 0 0;
  font-weight: 750;
}
.info-card dd a {
  color: #167ead;
}
.report-card summary {
  cursor: pointer;
  font-weight: 800;
}
.report-card form {
  margin-top: 18px;
}
.report-card input,
.report-card select,
.report-card textarea {
  margin-bottom: 10px;
}
.auth-section {
  min-height: calc(100vh - 76px);
  background: var(--surface);
  padding: 55px 20px;
}
.auth-shell {
  width: min(960px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
}
.auth-visual {
  background: radial-gradient(
      circle at 80% 20%,
      rgba(34, 158, 217, 0.25),
      transparent 35%
    ),
    var(--navy-3);
  color: #fff;
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-visual h1 {
  font-size: 3.1rem;
  margin: 15px 0;
}
.auth-visual p {
  color: #c8d5df;
}
.auth-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #dbe5ed;
  font-size: 0.88rem;
  margin-top: 25px;
}
.auth-card {
  background: #fff;
  padding: 50px;
}
.auth-card > .brand {
  margin-bottom: 45px;
}
.auth-logo-mark {
  display: block;
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
}
.auth-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.auth-card > p {
  color: var(--muted);
}
.auth-card form {
  margin-top: 28px;
}
.auth-switch {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 20px !important;
}
.auth-switch a {
  color: #147fae;
  font-weight: 800;
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: #5c6e7d;
}
.checkbox input {
  width: auto;
  margin-top: 3px;
}
.dashboard-hero {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  color: #fff;
  padding: 45px 0;
}
.dashboard-hero .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.dashboard-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 7px;
}
.dashboard-hero p {
  color: #bdcedb;
  margin: 0;
}
.dashboard-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dashboard-actions .button-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.member-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.member-action-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(16, 42, 67, 0.12);
}
.member-action-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 850;
}
.member-action-card.pricing .member-action-icon {
  background: var(--accent);
}
.member-action-card.ads .member-action-icon {
  background: var(--navy-2);
}
.member-action-card.telegram .member-action-icon {
  background: var(--telegram);
}
.member-action-icon svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}
.member-action-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.member-action-card strong {
  color: var(--ink);
  font-size: 0.92rem;
}
.member-action-card small {
  color: var(--muted);
  font-size: 0.73rem;
}
.member-action-card > b {
  color: #8192a1;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}
.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.metric-card span {
  color: var(--muted);
  font-size: 0.8rem;
}
.metric-card strong {
  font-size: 2rem;
  margin-top: 8px;
}
.metric-card.warning {
  border-top: 3px solid #e6b83f;
}
.metric-card.danger {
  border-top: 3px solid var(--danger);
}
.metric-card.success {
  border-top: 3px solid var(--success);
}
.panel-card {
  margin-bottom: 20px;
}
.ad-price-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ad-price-card {
  min-width: 0;
  margin: 0;
}
.ad-price-card .panel-head {
  margin-bottom: 16px;
}
.ad-price-card h2 {
  margin: 0;
}
.ad-price-table th,
.ad-price-table td {
  padding: 13px 12px;
}
.ad-price-table td:first-child strong,
.ad-price-table td:first-child small {
  display: block;
}
.ad-price-table td:first-child small {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.68rem;
}
.ad-price-table td:last-child {
  white-space: nowrap;
  text-align: right;
}
.ad-price-table th:last-child {
  text-align: right;
}
.ad-type {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 800;
}
.ad-type.featured {
  color: #a91f30;
  background: #fff0f2;
}
.ad-type.banner {
  color: #145c80;
  background: #e9f5fb;
}
.ad-price-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  color: #fff;
  background: linear-gradient(120deg, var(--navy-3), var(--navy-2));
  border-radius: 17px;
}
.ad-price-cta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ad-price-cta > div strong {
  font-size: 1.15rem;
}
.ad-price-cta > div span {
  color: #b9cbd8;
  font-size: 0.82rem;
}
.ad-price-cta .button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.panel-head h2 {
  font-size: 1.35rem;
  margin: 0;
}
.panel-head a {
  color: #137cab;
  font-weight: 800;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
th,
td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid #e7edf1;
  font-size: 0.86rem;
  vertical-align: middle;
}
th {
  color: #607284;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
td strong,
td small {
  display: block;
}
td small {
  color: var(--muted);
  margin-top: 3px;
}
.status {
  display: inline-flex;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: capitalize;
}
.status-approved,
.status-paid,
.status-active,
.status-resolved {
  background: #e3f6ed;
  color: #0b7545;
}
.status-pending,
.status-open {
  background: #fff3c7;
  color: #796218;
}
.status-rejected,
.status-failed,
.status-suspended {
  background: #fde7eb;
  color: #ad3249;
}
.status-cancelled,
.status-refunded,
.status-dismissed {
  background: #edf1f4;
  color: #5d6b78;
}
.row-actions,
.admin-row-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.row-actions a,
.admin-row-actions a,
.link-button {
  border: 0;
  background: none;
  padding: 0;
  color: #41647d;
  font-weight: 750;
  font-size: 0.8rem;
}
.row-actions .accent {
  color: #a57a00;
}
.link-button.success {
  color: var(--success);
}
.link-button.danger {
  color: var(--danger);
}
.form-card {
  padding: 35px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}
.purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 25px;
}
.purchase-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}
.purchase-main h2 {
  font-size: 1.3rem;
  margin: 5px 0 20px;
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 35px;
}
.package-card {
  margin: 0;
  cursor: pointer;
}
.package-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.package-card span {
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: 0.2s;
}
.package-card input:checked + span {
  border-color: var(--telegram);
  background: #eef8fd;
  box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.09);
}
.package-card small {
  color: var(--muted);
  font-weight: 500;
  margin: 8px 0 16px;
}
.package-card b {
  font-size: 1.35rem;
  margin-top: auto;
}
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 25px;
}
.payment-options label {
  margin: 0;
  cursor: pointer;
}
.payment-options input {
  position: absolute;
  opacity: 0;
}
.payment-options span {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 17px;
}
.payment-options input:checked + span {
  border-color: var(--telegram);
  background: #eef8fd;
}
.payment-options small {
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}
.billing-details {
  margin: 0 0 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.billing-details summary {
  font-weight: 800;
  cursor: pointer;
}
.billing-details .form-grid {
  margin-top: 20px;
}
.purchase-summary {
  background: var(--navy-3);
  color: #fff;
  border-radius: 18px;
  padding: 26px;
  height: max-content;
  position: sticky;
  top: 96px;
}
.purchase-summary > strong,
.purchase-summary > span {
  display: block;
}
.purchase-summary > strong {
  font-size: 1.2rem;
}
.purchase-summary > span {
  color: #aebfce;
  margin-top: 4px;
}
.purchase-summary ul {
  padding: 0;
  list-style: none;
  color: #d5e0e8;
  font-size: 0.86rem;
  margin: 25px 0;
}
.purchase-summary li {
  margin: 10px 0;
}
.success-card {
  text-align: center;
  padding: 50px;
}
.success-icon {
  font-size: 3.2rem;
  color: var(--telegram);
}
.success-card h1 {
  font-size: 2.5rem;
  margin: 10px;
}
.success-card > p {
  color: var(--muted);
}
.order-code {
  background: var(--surface);
  border: 1px dashed #b5c5d1;
  border-radius: 12px;
  padding: 16px;
  margin: 25px 0;
  display: flex;
  flex-direction: column;
}
.order-code span {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}
.order-code strong {
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}
.order-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 25px;
}
.success-card > .text-link {
  display: block;
  margin-top: 20px;
}
.error-section {
  padding: 110px 0;
  text-align: center;
  min-height: 60vh;
}
.error-code {
  font-size: 6rem;
  font-weight: 950;
  color: #dbe4ea;
}
.error-section h1 {
  font-size: 2.6rem;
}
.error-section p {
  color: var(--muted);
  margin-bottom: 28px;
}
.legal-date {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.site-footer {
  background: #091a29;
  color: #c5d2dc;
  padding: 60px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}
.brand-footer {
  color: #fff;
  margin-bottom: 15px;
}
.footer-grid p {
  color: #8fa4b5;
  max-width: 420px;
}
.footer-grid h3 {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: #718a9d;
}
.admin-body {
  background: var(--surface);
  min-height: 100vh;
  padding-left: 245px;
}
.admin-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 245px;
  background: var(--navy-3);
  color: #d4dfe7;
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.admin-sidebar .brand {
  color: #fff;
  margin: 0 8px 30px;
}
.admin-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: #6f879a;
  margin: 0 11px 8px;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar nav a {
  padding: 11px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 650;
}
.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.admin-sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-sidebar-bottom a,
.admin-sidebar-bottom button {
  border: 0;
  background: none;
  color: #9db0bf;
  font-size: 0.82rem;
  text-align: left;
  padding: 4px 10px;
}
.admin-main {
  padding: 0 30px 45px;
  max-width: 1600px;
  margin: 0 auto;
}
.admin-top {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.admin-top > div {
  text-align: right;
  font-size: 0.7rem;
  color: var(--muted);
}
.admin-top strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
}
.admin-menu-toggle {
  display: none;
}
.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 25px;
}
.admin-page-head h1 {
  font-size: 2.25rem;
  margin: 0;
}
.admin-metrics {
  grid-template-columns: repeat(5, 1fr);
}
.admin-filters {
  display: flex;
  gap: 5px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-filters a {
  padding: 8px 13px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 750;
}
.admin-filters a.active {
  background: var(--navy);
  color: #fff;
}
.inline-form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.inline-form select {
  padding: 7px;
  font-size: 0.78rem;
  min-width: 90px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-grid .panel-card {
  margin: 0;
}
.settings-grid .panel-card h2 {
  font-size: 1.35rem;
  margin-bottom: 25px;
}
.switch-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
}
.switch-row span {
  display: flex;
  flex-direction: column;
}
.switch-row small {
  color: var(--muted);
  font-weight: 500;
}
.switch-row input {
  width: 22px;
  height: 22px;
  margin: 0;
}
.settings-submit {
  grid-column: 1/-1;
  text-align: right;
}
@media (max-width: 1050px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .admin-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .purchase-layout {
    grid-template-columns: 1fr;
  }
  .purchase-summary {
    position: static;
  }
  .ad-price-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .container {
    width: min(100% - 28px, 1180px);
  }
  .site-header {
    height: 68px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-3);
    padding: 20px 25px;
    flex-direction: column;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav.open {
    display: flex;
  }
  .header-actions {
    display: none;
  }
  .hero {
    padding: 65px 0;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero-search {
    align-items: stretch;
  }
  .hero-search .button {
    padding: 12px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .listing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .directory-search {
    grid-template-columns: 1fr;
  }
  .directory-layout {
    grid-template-columns: 1fr;
  }
  .filter-card {
    position: static;
    max-height: 260px;
  }
  .detail-card {
    grid-template-columns: auto 1fr;
  }
  .detail-card > .button {
    grid-column: 1/-1;
  }
  .detail-avatar {
    width: 75px;
    height: 75px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-visual {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dashboard-hero .container {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-quick-actions {
    grid-template-columns: 1fr;
  }
  .ad-price-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .package-grid {
    grid-template-columns: 1fr;
  }
  .payment-options {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
  .admin-body {
    padding-left: 0;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: 0.2s;
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    padding: 0 15px 35px;
  }
  .admin-top {
    justify-content: space-between;
  }
  .admin-menu-toggle {
    display: block;
    border: 0;
    background: none;
    font-size: 1.3rem;
  }
  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 2.65rem;
  }
  .hero-search > span {
    display: none;
  }
  .hero-stats {
    gap: 14px;
  }
  .platform-card {
    min-height: 105px;
  }
  .section {
    padding: 58px 0;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }
  .category-card {
    padding: 16px 12px;
  }
  .listing-card {
    align-items: flex-start;
  }
  .listing-card > .button {
    position: absolute;
    right: 12px;
    bottom: 12px;
  }
  .listing-meta {
    padding-right: 70px;
    flex-direction: column;
    gap: 1px;
  }
  .detail-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .detail-avatar {
    margin: auto;
  }
  .listing-badges,
  .detail-stats {
    justify-content: center;
  }
  .auth-card {
    padding: 32px 24px;
  }
  .metrics-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard-actions {
    flex-wrap: wrap;
  }
  .cta-panel {
    padding: 32px 24px;
  }
  .settings-submit .button {
    width: 100%;
  }
}
