/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0f;
  --bg2:      #111118;
  --bg3:      #18181f;
  --border:   rgba(255,255,255,0.07);
  --accent:   #e8365d;
  --accent2:  #ff6b35;
  --gold:     #f5c842;
  --text:     #f0eef8;
  --muted:    #7a7890;
  --card-bg:  #14141c;
  --radius:   14px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,54,93,0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,54,93,0.5); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--outline { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 20px; font-size: 13px; }

/* ── Age Gate ────────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.age-gate__box {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 48px;
  max-width: 460px;
  width: 90%;
  text-align: center;
}
.age-gate__logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.age-gate__subtitle { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.age-gate__question { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 28px; }
.age-gate__buttons { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; }
.age-gate__legal { font-size: 12px; color: var(--muted); }
.age-gate__legal a { color: var(--accent); }

/* ── Header ──────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232,54,93,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 50%, rgba(255,107,53,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__badge {
  display: inline-block;
  background: rgba(232,54,93,0.12);
  border: 1px solid rgba(232,54,93,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero__title span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 36px; }

/* Search bar */
.search-bar {
  display: flex;
  max-width: 580px;
  margin: 0 auto 28px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--accent); }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 20px;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar .btn { border-radius: 50px; margin: 4px; }

/* Tabs */
.hero__tabs {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 48px; flex-wrap: wrap;
}
.tab {
  padding: 8px 22px;
  border-radius: 50px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover, .tab.active {
  background: rgba(232,54,93,0.12);
  border-color: rgba(232,54,93,0.4);
  color: var(--accent);
}

/* Stats */
.hero__stats {
  display: flex; gap: 48px; justify-content: center; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat__label { font-size: 13px; color: var(--muted); }

/* ── Sections ────────────────────────────────────────── */
.section { padding: 80px 0; }
.section--dark { background: var(--bg2); }

.section__header { text-align: center; margin-bottom: 48px; }
.section__header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section__header p { color: var(--muted); font-size: 16px; }

/* ── Category Pills ──────────────────────────────────── */
.category-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 32px;
}
.cat-tab {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--bg3);
  border-color: var(--accent);
  color: var(--text);
}
.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeIn 0.3s ease; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.pill:hover {
  border-color: var(--accent);
  background: rgba(232,54,93,0.08);
  color: var(--accent);
  transform: translateY(-2px);
}
.pill.hot { border-color: rgba(245,200,66,0.3); color: var(--gold); }
.pill.hot:hover { background: rgba(245,200,66,0.08); border-color: var(--gold); }
.pill em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 20px;
}

/* ── Creator Cards ───────────────────────────────────── */
.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(232,54,93,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(232,54,93,0.1);
}
.card__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg3);
}
.card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card__img-wrap img { transform: scale(1.05); }
.card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  color: var(--text);
}
.card__free {
  position: absolute; top: 12px; right: 12px;
  background: rgba(39,180,100,0.2);
  border: 1px solid rgba(39,180,100,0.4);
  color: #27b464;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.06em;
}
.card__body { padding: 16px; }
.card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.card__user { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.card__footer { display: flex; justify-content: space-between; align-items: center; }
.card__price { font-size: 13px; font-weight: 600; color: var(--text); }
.card__cta {
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  background: rgba(232,54,93,0.1);
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(232,54,93,0.2);
  transition: all 0.2s;
}
.card:hover .card__cta {
  background: var(--accent);
  color: #fff;
}

.load-more { text-align: center; margin-top: 40px; }

/* ── How It Works ────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.step {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color 0.2s;
}
.step:hover { border-color: rgba(232,54,93,0.3); }
.step__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── Footer ──────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 260px; }
.footer__cols { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.footer__col a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ── Animations ──────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { display: none; }
  .hero { padding: 60px 0 50px; }
  .hero__stats { gap: 28px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { flex-wrap: wrap; gap: 28px; }
  .age-gate__box { padding: 36px 24px; }
  .age-gate__buttons { flex-direction: column; }
}
