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

body {
  background: #f0f0ed;
  font-family: 'Poppins', sans-serif;
  color: #111;
  min-height: 100vh;
}

/* ── Age Gate ── */
.age-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-card {
  background: #fff; border-radius: 20px;
  padding: 30px; max-width: 360px; width: 100%;
  text-align: center;
}
.age-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.age-card p  { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 24px; }
.btn-yes {
  display: block; width: 100%;
  background: #00a6ff; color: #fff;
  border: none; border-radius: 12px;
  padding: 18px 12px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-bottom: 10px;
  transition: background .15s;
}
.btn-yes:hover { background: #0090e0; }
.btn-no {
  display: block; width: 100%;
  background: #e6e6e6; color: #333;
  border: none; border-radius: 12px;
  padding: 18px 12px; font-size: 16px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.btn-no:hover { background: #d5d5d5; }

/* ── Top Banner ── */
.top-banner {
  width: 100%;
  background: linear-gradient(90deg, #c200bf, #f020f0, #c200bf);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.of-logo-spin {
  width: 32px;
  height: 22px;
  flex-shrink: 0;
  animation: spin 4s linear infinite;
  transform-origin: center;
}

@keyframes spin {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

.banner-text {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* ── Bookmark tip ── */
.bookmark-tip {
  position: fixed; top: 58px; right: 16px;
  background: #3a3a3a; color: #fff;
  border-radius: 999px; padding: 8px 16px;
  font-size: 12px; font-weight: 500;
  z-index: 101; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* ── Page wrapper ── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 16px 80px;
}

/* ── Tags row ── */
.tags-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.badge-popular {
  background: #c8ff00; color: #111;
  border-radius: 999px; padding: 4px 14px;
  font-size: 12.5px; font-weight: 700;
}
.badge-trusted {
  font-size: 13px; font-weight: 500; color: #444;
}

/* ── Section heading ── */
.section-heading {
  margin-bottom: 22px;
  line-height: 1.15;
}
.heading-black {
  font-size: 36px; font-weight: 800; color: #111;
  display: block;
}
.heading-pink {
  font-size: 36px; font-weight: 800; font-style: italic;
  color: #d400d4;
}
.heading-emojis { font-style: normal; font-size: 30px; }

/* ── Filter row ── */
.filter-row {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  width: fit-content;
}
.filter-pill-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  color: #111; padding: 0;
}
.filter-row-text {
  font-size: 14px; color: #555; font-weight: 400;
  padding-left: 12px;
  border-left: 1.5px solid #ddd;
}

/* ── Featured card ── */
.featured-card {
  background: linear-gradient(110deg, #c200bf 0%, #f020f0 55%, #e800e8 100%);
  border-radius: 20px;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 18px;
  min-height: 160px;
}

.featured-img-wrap {
  position: relative;
  width: 160px;
  flex-shrink: 0;
}
.featured-img-wrap img,
.placeholder-feat {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.placeholder-feat {
  display: flex; align-items: center; justify-content: center;
  font-size: 52px; font-weight: 700; color: #fff;
}

.badge-new {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: #c8ff00; color: #111;
  border-radius: 999px; padding: 3px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}

.featured-info {
  padding: 20px 20px 20px 18px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 8px;
  flex: 1;
}
.featured-name {
  font-size: 26px; font-weight: 800; color: #fff;
  line-height: 1.1;
}
.featured-bio {
  font-size: 13px; color: rgba(255,255,255,0.88); line-height: 1.4;
}
.view-profile-btn {
  display: inline-block;
  background: #fff; color: #d400d4;
  border-radius: 999px; padding: 8px 18px;
  font-size: 13px; font-weight: 700;
  text-decoration: none; width: fit-content;
  transition: opacity .15s;
}
.view-profile-btn:hover { opacity: .85; }

/* ── Creator Grid ── */
.creator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.creator-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  display: block;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  transition: transform .18s, box-shadow .18s;
}
.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.card-img-wrap {
  width: 100%; aspect-ratio: 4/5;
  position: relative; overflow: hidden;
}
.card-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.placeholder-card {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 700; color: #fff;
}
.card-name {
  padding: 9px 10px 11px;
  text-align: center;
  font-size: 14px; font-weight: 600; color: #111;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Empty state ── */
.empty-state {
  display: none; text-align: center;
  padding: 48px 20px; color: #888; font-size: 16px;
}

/* ── View All button ── */
.view-all-wrap {
  display: flex; justify-content: center;
  margin-top: 8px;
}
.view-all-btn {
  background: #3a3a3a; color: #fff;
  border: none; border-radius: 999px;
  padding: 12px 28px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.view-all-btn:hover { background: #222; }

/* ── Filter backdrop ── */
.filter-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.35); z-index: 199;
}
.filter-backdrop.open { display: block; }

/* ── Filter Panel ── */
.filter-panel {
  position: fixed; bottom: 0; left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 480px;
  background: #fff; border-radius: 24px 24px 0 0;
  padding: 24px 20px 36px; z-index: 200;
  box-shadow: 0 -6px 32px rgba(0,0,0,0.12);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.filter-panel.open { transform: translateX(-50%) translateY(0); }

.filter-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; font-size: 16px; font-weight: 700;
}
.filter-header-actions { display: flex; align-items: center; gap: 8px; }
.clear-all {
  background: none; border: none;
  font-size: 13px; color: #d400d4; cursor: pointer;
  font-family: inherit; font-weight: 500;
}
.close-filter {
  background: #f0f0f0; border: none;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.filter-section { margin-bottom: 20px; }
.filter-label {
  font-size: 11px; font-weight: 600; color: #888;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  background: #f2f2ef; border: none; border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: inherit; color: #111;
  transition: background .15s, color .15s;
}
.filter-pill:hover { background: #e5e5e2; }
.filter-pill.active { background: #d400d4; color: #fff; }
.show-creators-btn {
  width: 100%; background: #00a6ff; color: #fff;
  border: none; border-radius: 12px;
  padding: 16px; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; margin-top: 8px;
  transition: background .15s;
}
.show-creators-btn:hover { background: #0090e0; }

/* ── Footer ── */
footer {
  text-align: center; padding: 20px;
  font-size: 12px; color: #aaa;
  border-top: 1px solid #e0e0db;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  /* Hide bookmark tip — overlaps content on mobile */
  .bookmark-tip { display: none; }

  /* Tighter top */
  .page { padding-top: 14px; padding-left: 12px; padding-right: 12px; }

  /* Tags row */
  .tags-row { margin-bottom: 10px; gap: 7px; }
  .badge-popular { font-size: 11px; padding: 3px 11px; }
  .badge-trusted { font-size: 11px; }

  /* Heading */
  .heading-black { font-size: 26px; }
  .heading-pink  { font-size: 26px; }
  .heading-emojis { font-size: 22px; }
  .section-heading { margin-bottom: 14px; }

  /* Filter row */
  .filter-row { padding: 8px 14px; margin-bottom: 14px; }
  .filter-pill-btn { font-size: 12px; }
  .filter-row-text { font-size: 12px; }

  /* Featured card */
  .featured-card { min-height: 120px; }
  .featured-img-wrap { width: 120px; }
  .featured-name { font-size: 20px; }
  .featured-bio { font-size: 12px; }

  /* Grid */
  .creator-grid { gap: 10px; }
  .card-name { font-size: 13px; padding: 8px 8px 10px; }
}
