/*
Theme Name: OnlyGirlsHub
Theme URI: https://onlygirlshub.com/
Author: OnlyGirlsHub
Description: Lightweight presentation theme for the OnlyGirlsHub creator directory.
Version: 0.2.2
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: onlygirlshub
*/

:root {
  --ogh-bg: #f6f7fc;
  --ogh-surface: #ffffff;
  --ogh-text: #181821;
  --ogh-muted: #6f7280;
  --ogh-primary: #6c63ff;
  --ogh-primary-dark: #554cf0;
  --ogh-pink: #ff5c93;
  --ogh-pink-soft: #fff0f6;
  --ogh-violet-soft: #f0eeff;
  --ogh-border: #e7e8f1;
  --ogh-free: #168f5b;
  --ogh-featured: #f59e0b;
  --ogh-sponsored: #e8790c;
  --ogh-shadow: 0 18px 50px rgba(45, 38, 96, .08);
  --ogh-radius: 22px;
  --ogh-container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ogh-text);
  background: var(--ogh-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.ogh-container { width: min(calc(100% - 32px), var(--ogh-container)); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(231, 232, 241, .9);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 850; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px;
  color: white; background: linear-gradient(135deg, var(--ogh-pink), var(--ogh-primary));
  box-shadow: 0 8px 24px rgba(108, 99, 255, .28);
}
.brand-accent { color: var(--ogh-pink); }
.desktop-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-weight: 700; }
.desktop-nav .menu-item { list-style: none; }
.desktop-nav a:hover { color: var(--ogh-primary); }
.header-action {
  padding: 11px 17px; color: white; border-radius: 12px;
  background: var(--ogh-primary);
}
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--ogh-border);
  border-radius: 13px; background: white; cursor: pointer;
}

.hero {
  position: relative; overflow: hidden; padding: 92px 0 72px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 92, 147, .12), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(108, 99, 255, .16), transparent 32%),
    linear-gradient(180deg, #fbfaff 0%, #f3f5ff 100%);
}
.hero-copy { max-width: 850px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  color: var(--ogh-primary-dark); background: var(--ogh-violet-soft); border-radius: 999px;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.hero h1 { margin: 20px auto 16px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: var(--ogh-pink); }
.hero-subtitle { max-width: 650px; margin: 0 auto; color: var(--ogh-muted); font-size: clamp(17px, 2vw, 21px); }

.search-panel {
  max-width: 1020px; margin: 38px auto 0; padding: 16px;
  border: 1px solid rgba(255, 255, 255, .8); border-radius: 24px;
  background: rgba(255, 255, 255, .94); box-shadow: var(--ogh-shadow);
}
.search-row { display: flex; gap: 10px; }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap svg { position: absolute; left: 17px; top: 50%; width: 21px; transform: translateY(-50%); color: var(--ogh-muted); }
.search-field {
  width: 100%; height: 56px; padding: 0 18px 0 50px;
  border: 1px solid var(--ogh-border); border-radius: 15px; color: var(--ogh-text); background: #fff;
  outline: none;
}
.search-field:focus { border-color: var(--ogh-primary); box-shadow: 0 0 0 4px rgba(108, 99, 255, .1); }
.primary-button {
  min-width: 130px; border: 0; border-radius: 15px; color: white;
  background: var(--ogh-primary); font-weight: 800; cursor: pointer;
}
.primary-button:hover { background: var(--ogh-primary-dark); }
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 11px; }
.filter-chip {
  min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--ogh-border); border-radius: 12px; background: white; font-weight: 700;
}
.filter-chip.is-free { color: var(--ogh-pink); background: var(--ogh-pink-soft); }
.quick-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quick-links a {
  padding: 9px 14px; border: 1px solid var(--ogh-border); border-radius: 999px;
  background: rgba(255, 255, 255, .72); font-weight: 750;
}

.section { padding: 70px 0; }
.section.alt { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; }
.section-heading p { max-width: 650px; margin: 6px 0 0; color: var(--ogh-muted); }
.text-link { color: var(--ogh-primary); font-weight: 800; white-space: nowrap; }

.creator-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.creator-card {
  position: relative; overflow: hidden; border: 1px solid var(--ogh-border);
  border-radius: 20px; background: white; box-shadow: 0 10px 32px rgba(41, 37, 75, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.creator-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(41, 37, 75, .12); }
.creator-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ogh-violet-soft); }
.creator-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.creator-card:hover .creator-media img { transform: scale(1.025); }
.creator-slides{position:absolute;inset:0}.creator-slide{position:absolute;inset:0;opacity:0;transition:opacity .22s ease;pointer-events:none}.creator-slide.is-active{opacity:1}.creator-slide img{width:100%;height:100%;object-fit:cover}.creator-slider-button{position:absolute;z-index:4;top:50%;width:34px;height:34px;display:grid;place-items:center;transform:translateY(-50%);border:0;border-radius:50%;color:#181821;background:rgba(255,255,255,.9);font-size:22px;line-height:1;cursor:pointer;opacity:0;transition:opacity .2s ease}.creator-card:hover .creator-slider-button,.creator-slider-button:focus{opacity:1}.creator-slider-prev{left:9px}.creator-slider-next{right:9px}.creator-slider-count{position:absolute;z-index:4;left:50%;bottom:12px;transform:translateX(-50%);padding:4px 8px;border-radius:999px;color:white;background:rgba(17,17,26,.62);font-size:10px;font-weight:800}
.badge-row { position: absolute; inset: 12px 12px auto; display: flex; justify-content: space-between; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; padding: 5px 9px; color: white;
  border-radius: 999px; font-size: 11px; font-weight: 850; letter-spacing: .02em;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}
.badge.featured { background: var(--ogh-featured); }
.badge.sponsored { background: var(--ogh-sponsored); }
.badge.free { margin-left: auto; background: var(--ogh-free); }
.favorite {
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.94);
  color: var(--ogh-pink); cursor: pointer;
}
.creator-body { padding: 17px; }
.creator-name { margin: 0; font-size: 19px; line-height: 1.2; }
.creator-handle { margin: 3px 0 10px; color: var(--ogh-muted); font-size: 14px; }
.creator-meta { display: flex; justify-content: space-between; gap: 8px; color: var(--ogh-muted); font-size: 13px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-list a { padding: 5px 8px; border-radius: 999px; background: var(--ogh-bg); font-size: 11px; font-weight: 750; }
.card-button {
  width: 100%; min-height: 42px; margin-top: 15px; display: grid; place-items: center;
  border-radius: 12px; color: white; background: var(--ogh-primary); font-weight: 800;
}

.taxonomy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.taxonomy-card {
  min-height: 160px; padding: 20px; display: flex; flex-direction: column; justify-content: end;
  border: 1px solid var(--ogh-border); border-radius: 20px;
  background: linear-gradient(145deg, white, var(--ogh-violet-soft));
}
.taxonomy-card:nth-child(2n) { background: linear-gradient(145deg, white, var(--ogh-pink-soft)); }
.taxonomy-card strong { font-size: 19px; }
.taxonomy-card span { color: var(--ogh-muted); }
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 24px; border-radius: var(--ogh-radius); background: white; box-shadow: var(--ogh-shadow); }
.pill-cloud a { padding: 9px 13px; border: 1px solid var(--ogh-border); border-radius: 999px; background: #fafaff; }
.pill-cloud small { margin-left: 5px; color: var(--ogh-muted); }

.seo-panel {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; padding: 36px;
  border: 1px solid var(--ogh-border); border-radius: var(--ogh-radius); background: white;
}
.seo-panel h2 { margin-top: 0; font-size: 32px; }
.faq-list details { border-top: 1px solid var(--ogh-border); }
.faq-list summary { padding: 16px 0; font-weight: 800; cursor: pointer; }
.faq-list p { margin: 0 0 16px; color: var(--ogh-muted); }

.site-footer { padding: 60px 0 95px; border-top: 1px solid var(--ogh-border); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 38px; }
.footer-brand p { max-width: 390px; color: var(--ogh-muted); }
.footer-column h3 { margin-top: 0; font-size: 15px; }
.footer-column a { display: block; margin: 10px 0; color: var(--ogh-muted); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ogh-border); color: var(--ogh-muted); font-size: 13px; }

.mobile-nav {
  display: none; position: fixed; z-index: 60; inset: auto 0 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ogh-border); background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
}
.mobile-nav a { flex: 1; display: grid; place-items: center; gap: 2px; color: var(--ogh-muted); font-size: 11px; font-weight: 750; }
.mobile-nav span { font-size: 19px; }

.site-main-basic { min-height: 60vh; padding: 60px 0; }
.content-card { padding: 34px; border: 1px solid var(--ogh-border); border-radius: var(--ogh-radius); background: white; }

@media (max-width: 1024px) {
  .creator-grid, .taxonomy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-panel { grid-template-columns: 1fr; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .desktop-nav.is-open {
    position: absolute; display: grid; inset: 74px 16px auto; padding: 20px;
    border: 1px solid var(--ogh-border); border-radius: 18px; background: white; box-shadow: var(--ogh-shadow);
  }
}
@media (max-width: 680px) {
  .hero { padding: 60px 0 52px; }
  .hero h1 { font-size: 43px; }
  .search-row { display: grid; }
  .primary-button { min-height: 52px; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-chip { flex: 0 0 auto; }
  .section { padding: 50px 0; }
  .section-heading { align-items: start; }
  .creator-grid { gap: 12px; }
  .creator-body { padding: 13px; }
  .creator-name { font-size: 16px; }
  .creator-meta, .creator-handle { font-size: 12px; }
  .tag-list a:nth-child(n+4) { display: none; }
  .creator-slider-button{opacity:.88}
  .taxonomy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .taxonomy-card { min-height: 130px; padding: 15px; }
  .seo-panel { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mobile-nav { display: flex; }
}
