:root {
  --bg: #0c0c12;
  --bg2: #11111a;
  --card: #15151f;
  --line: #262633;
  --text: #f2f2f6;
  --muted: #9a9aab;
  --accent: #ff2e88;
  --tg: #29a9e9;
  --tg-d: #1b8fd3;
  --wa: #25d366;
  --wa-d: #17ad52;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 50% -120px, #1b1b2b 0%, transparent 60%);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */
.site-head { border-bottom: 1px solid var(--line); background: rgba(17,17,26,.85); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; min-height: 58px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; font-size: .95rem; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent), #8a2be2);
  box-shadow: 0 4px 18px rgba(255,46,136,.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 1rem; }
.brand-text small { font-weight: 400; font-size: .66rem; color: var(--muted); letter-spacing: .02em; }
.badge {
  font-size: .7rem; color: #7ef7ae; border: 1px solid rgba(37,211,102,.4);
  background: rgba(37,211,102,.1); padding: .3rem .6rem; border-radius: 999px; white-space: nowrap;
}

/* ---------- main: mobile-first single-column feed ---------- */
main.wrap { flex: 1; padding: 1.2rem 0 2.4rem; }

.feed { max-width: 500px; margin-inline: auto; }

h1 {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.2; font-weight: 800;
  background: linear-gradient(90deg, #fff, #ffb3d4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: .35rem;
}
.sub { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.intro { color: var(--muted); max-width: 60ch; margin-bottom: 1.2rem; font-size: .88rem; }
.tags { color: var(--muted); font-size: .78rem; margin-bottom: .9rem; line-height: 1.8; }

/* ---------- info pages (about / privacy) ---------- */
.info-page { padding-bottom: 1rem; }
.belt {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.4rem; font-size: .92rem; color: #d9d9e3;
}
.belt h1 { font-size: 1.4rem; margin-bottom: .6rem; }
.belt h2 { font-size: 1.05rem; color: #fff; margin: 1.1rem 0 .4rem; }
.belt p { margin-bottom: .7rem; }
.belt strong { color: #fff; }

/* feed: one profile below another (a banner ad can go between any two cards) */
.grid { display: flex; flex-direction: column; gap: 1.4rem; }

/* ---------- ad slots ---------- */
.ad-slot { display: flex; justify-content: center; align-items: center; padding: .55rem 0; overflow: hidden; }
.ad-slot iframe, .ad-slot > div, .ad-slot img { max-width: 100%; }
.ad-native { margin-top: .1rem; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
/* .ad-slot — drop-in slot for Adsterra banners between profiles later */
.thumb { display: block; aspect-ratio: 4 / 5; background: var(--bg2); overflow: hidden; width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info { padding: .8rem .9rem 1rem; display: flex; flex-direction: column; gap: .55rem; }
.handle { font-size: 1.02rem; font-weight: 700; word-break: break-word; color: #fff; }
.city { color: var(--muted); font-size: .8rem; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .55rem .5rem; border-radius: 11px; font-weight: 700; font-size: .86rem;
  text-align: center; border: 1px solid transparent;
  transition: filter .15s ease, transform .1s ease;
}
.btn:active { transform: scale(.98); }
.btn.tg { background: linear-gradient(135deg, var(--tg), var(--tg-d)); color: #fff; }
.btn.tg:hover { filter: brightness(1.12); }
.btn.wa { background: linear-gradient(135deg, var(--wa), var(--wa-d)); color: #0b2c14; }
.btn.wa:hover { filter: brightness(1.08); }

/* ---------- pagination: just Prev / Next, no page counter ---------- */
.pagination { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; margin-top: 1.8rem; }
.page-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 52px; padding: .75rem 1.2rem; border-radius: 12px; font-weight: 800; font-size: 1rem;
  background: var(--bg2); border: 1px solid var(--line); color: var(--text);
  transition: background .15s ease, transform .1s ease;
}
.page-btn:hover { background: #22222e; }
.page-btn.primary {
  background: linear-gradient(135deg, var(--accent), #a21d6b); color: #fff; border-color: transparent;
  font-size: 1.05rem;
}
.page-btn.primary:hover { filter: brightness(1.1); }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 1.5rem 0 1.3rem; margin-top: 1rem; }
.site-foot p { color: var(--muted); font-size: .84rem; max-width: 70ch; }
.site-foot .foot-links { margin: .7rem 0; font-size: .85rem; }
.copyright { font-size: .76rem !important; color: #6a6a7a !important; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .actions .btn { font-size: .92rem; }
}
@media (max-width: 480px) {
  .badge { display: none; }
  .grid { gap: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }