:root {
  --bg: #f4f7fb;
  --white: #ffffff;
  --ink: #1c2430;
  --muted: #6b7380;
  --line: #e7edf5;
  --purple: #5b4dff;
  --purple-dark: #4a3de6;
  --teal: #12b5a0;
  --teal-dark: #0e8f7e;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(28, 40, 70, .06);
  --max: 1240px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.nav { height: 68px; display: flex; align-items: center; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .04em; font-size: 18px; flex: 0 0 auto; z-index: 2; }
.brand .mark { width: 28px; height: 28px; border-radius: 7px; background: #111827; color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.nav-links { display: flex; gap: 8px 28px; font-size: 16px; font-weight: 700; color: #1c2430; justify-content: center; align-items: center; flex: 1 1 auto; text-align: center; }
.nav-links a { white-space: nowrap; padding: 6px 2px; }
.nav-links a:hover { color: var(--purple); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; z-index: 2; }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: #445; }
.btn-signup { background: var(--purple); color: #fff !important; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; }
.promo-wrap { background: linear-gradient(#fff, var(--bg)); padding: 10px 0 0; }
.promo { background: #fff8c9; border: 1px solid #f3e48a; color: #3b3208; border-radius: 999px; padding: 8px 12px 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; max-width: 720px; margin: 0 auto; }
.promo .try { background: #f5c400; color: #1a1400; border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.hero { text-align: center; padding: 28px 0 8px; }
.kicker { color: #8b93a0; font-size: 11px; letter-spacing: .14em; font-weight: 700; }
.hero-title { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 8px; }
.bot { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #7eeadf, #12b5a0); display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 16px rgba(18,181,160,.25); }
.hero h1 { font-size: 34px; color: var(--teal-dark); letter-spacing: -.03em; font-weight: 800; }
.sub { color: #5b6470; font-size: 15px; }
.search-card { margin: 22px auto 0; max-width: 920px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); padding: 6px; display: flex; align-items: center; gap: 6px; }
.search-card input[type=search] { flex: 1; border: 0; outline: none; padding: 10px 16px; background: transparent; min-width: 140px; }
.search-card select { border: 0; background: #f6f8fb; border-radius: 999px; padding: 8px 10px; color: #445; }
.filters { display: flex; gap: 6px; padding-right: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; color: #445; cursor: pointer; }
.chip.on { background: #eef2ff; border-color: #c9d2ff; color: var(--purple); }
.meta-row { display: flex; justify-content: center; gap: 18px; margin-top: 14px; color: #7a8290; font-size: 13px; }
.meta-row b { color: #2b3440; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-height: 210px; }
.fcard.compact { min-height: 92px; }
.ftop { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #8a91a0; }
.vote { display: flex; align-items: center; gap: 4px; font-weight: 700; }
.feat-tag { color: #c9a227; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.logo-row { display: flex; align-items: center; gap: 8px; margin: 10px 0 8px; }
.logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; }
.fcard h3 { font-size: 16px; }
.fcard p { color: #6b7380; font-size: 13px; line-height: 1.45; flex: 1; }
.visit { margin-top: 12px; align-self: center; background: var(--purple); color: #fff !important; border-radius: 999px; padding: 7px 18px; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; }
.cols-title { text-align: center; color: #9aa3b0; letter-spacing: .16em; font-size: 11px; font-weight: 800; margin: 36px 0 16px; }
.cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.col { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 14px 12px; box-shadow: var(--shadow); }
.col h2 { font-size: 15px; text-align: center; margin-bottom: 12px; font-weight: 800; }
.item { display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 13.5px; }
.item .n { width: 16px; color: #9aa3b0; font-size: 12px; }
.dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; color: #fff; font-weight: 800; }
.item .go { margin-left: auto; color: #c5cbd6; font-size: 12px; }
.more { display: block; text-align: center; color: #8b93a0; font-size: 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid #f0f3f8; }
.full-btn-wrap { text-align: center; margin: 28px 0 10px; }
.full-btn { display: inline-block; background: #fff; border: 1px solid #ece3ff; color: var(--purple); border-radius: 999px; padding: 12px 28px; font-weight: 800; box-shadow: var(--shadow); }
.platforms { text-align: center; padding: 28px 0 10px; color: #8b93a0; font-size: 11px; letter-spacing: .12em; font-weight: 800; }
.plats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; margin-top: 12px; color: #3c4450; font-weight: 800; font-size: 15px; }
.explore { text-align: center; color: #9aa3b0; letter-spacing: .14em; font-size: 11px; font-weight: 800; margin: 28px 0 14px; }
.hubs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 40px; }
.hub { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 16px; text-align: center; min-height: 160px; box-shadow: var(--shadow); }
.hub .ic { font-size: 26px; margin-bottom: 8px; }
.hub h3 { font-size: 15px; margin-bottom: 6px; }
.hub p { color: #7a8290; font-size: 13px; }
.page-hero { padding: 28px 0 8px; }
.page-hero h1 { font-size: 28px; }
.lead { color: var(--muted); margin-top: 6px; }
.tool-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.pills { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.pill { background: #eef2f8; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
form.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; max-width: 640px; }
label { display: block; font-size: 13px; font-weight: 700; margin: 12px 0 6px; }
input[type=text], input[type=email], input[type=url], input[type=password], input[type=search],
input:not([type]), textarea, select, select.full {
  width: 100%; display: block; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: #fff; color: var(--ink); outline: none; font: inherit;
}
.search-card input, .search-card select, .search-card input[type=search] {
  width: auto !important; display: inline-block; flex: 1;
}
.auth-box input, .auth-box textarea, .auth-box select,
form.card input, form.card textarea, form.card select {
  width: 100% !important; display: block !important; margin-bottom: 4px;
}
.auth-box .btn, form.card .btn { width: 100%; margin-top: 14px; padding: 12px 16px; font-size: 15px; }
textarea { min-height: 110px; }
.alert { background: #ecfdf3; color: #166534; padding: 10px 12px; border-radius: 10px; margin-bottom: 12px; }
.btn { background: var(--purple); color: #fff !important; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; cursor: pointer; }
.btn.ghost { background: #fff; color: #111 !important; border: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: #8b93a0; font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 1100px) {
  .feat-grid, .cols, .hubs { grid-template-columns: 1fr 1fr; }
  .nav-links { font-size: 15px; gap: 6px 18px; }
}
@media (max-width: 1020px) {
  .feat-grid, .cols, .hubs { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .search-card { flex-wrap: wrap; border-radius: 16px; }
}
@media (max-width: 640px) {
  .feat-grid, .cols, .hubs { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  img, video, iframe { max-width: 100%; height: auto; }
  .wrap { width: calc(100% - 20px); }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 16px); }
  .hero h1 { font-size: 22px; }
}
.section { padding: 24px 0; }
.featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.list { background:#fff; border:1px solid var(--line); border-radius:16px; padding:8px; }
.list a.row, .list .row { display:flex; gap:8px; padding:8px 12px; align-items:center; }
.cats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.cat { background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px; box-shadow:var(--shadow); }
@media(max-width:800px){ .featured-grid,.cats{grid-template-columns:1fr;} }

.platforms{text-align:center;padding:28px 0 10px;color:#64748b!important;font-size:13px!important;letter-spacing:.04em!important;font-weight:700!important;text-transform:none}
.plats{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.plats a{color:#0f172a!important;font-weight:600!important;font-size:15px!important;letter-spacing:0!important;font-family:inherit;background:#fff;border:1px solid #e7edf5;border-radius:999px;padding:8px 16px}
.plats a:hover{border-color:#6d5cff;color:#4c1d95!important}
html[data-theme="dark"] .plats a{background:#171e29;color:#e8eef6!important;border-color:#2a3340}
