/*
Theme Name: PornChatGPT
Theme URI: https://pornchatgpt.example.com
Author: PornChatGPT Team
Author URI: https://pornchatgpt.example.com
Description: ChatGPT-inspired light theme for an adult AI content platform. White canvas, light gray sidebar, near-black typography and purple call-to-action accents. Translation-ready (Loco Translate compatible) and fully responsive.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pornchatgpt
Tags: light, grid, ai, gallery, images, custom-menu, custom-logo, featured-images, post-thumbnails, translation-ready
*/

:root {
  /* ── ChatGPT light-mode surfaces ── */
  --bg-base: #ffffff;          /* main canvas - pure white */
  --bg-sidebar: #f9f9f9;       /* sidebar / nav rail */
  --bg-card: #ffffff;          /* card / panel - same as base */
  --bg-elevated: #f4f4f4;      /* input / hover surface */
  --bg-hover: #ececec;         /* stronger hover */
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* ── Purple accent (CTAs ONLY) ── */
  --accent-primary: #a855f7;       /* purple-500 */
  --accent-secondary: #7c3aed;     /* violet-600 */
  --accent-deep: #6d28d9;          /* violet-700 */
  --accent-glow: #9333ea;          /* purple-600 - darker for light bg readability */
  --accent-soft: rgba(168, 85, 247, 0.10);
  --accent-soft-strong: rgba(168, 85, 247, 0.16);

  /* ── ChatGPT text grays ── */
  --text-primary: #0d0d0d;
  --text-muted: #5d5d5d;
  --text-dim: #8e8e8e;

  /* Borders */
  --border: rgba(0, 0, 0, 0.10);
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-accent: rgba(168, 85, 247, 0.35);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Typography - clean sans-serif */
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Effects */
  --shadow-glow: 0 4px 24px rgba(168, 85, 247, 0.28);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 14px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cdcdcd; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b0b0b0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; color: var(--text-primary); letter-spacing: -0.01em; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* ─────────────────────────────────────────────
   PURPLE CTA BUTTONS — the only purple in the UI
   ───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  color: #ffffff;
  border: none; border-radius: 10px;
  padding: 11px 22px;
  font-size: 14px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: transform .15s, box-shadow .25s, filter .2s;
  white-space: nowrap; text-decoration: none;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.30);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(168, 85, 247, 0.40);
  filter: brightness(1.05);
}
.btn-primary:active { transform: translateY(0); }

/* Outline / secondary - neutral, ChatGPT-style */
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 11px 18px; font-size: 14px; font-family: var(--font-body);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-outline:hover {
  border-color: rgba(0, 0, 0, 0.18);
  background: var(--bg-elevated);
}

/* Layout */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.page-wrapper { display: flex; flex: 1; }
main.site-main { flex: 1; padding: 2rem; min-width: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem; min-height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-logo {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap; text-decoration: none;
  display: flex; align-items: center; flex-shrink: 0;
  letter-spacing: -0.02em;
}
.site-logo .logo-accent {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-logo img, .custom-logo-link img, .custom-logo { display: block; width: auto; max-width: 320px; height: auto; object-fit: contain; }
.custom-logo-link { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }

.header-cta { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.main-navigation a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: all .2s;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
  color: var(--text-primary);
  background: var(--bg-elevated);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 42px; height: 42px;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); cursor: pointer; flex-shrink: 0;
  transition: border-color .2s, background .2s; padding: 0;
}
.hamburger:hover { background: var(--bg-hover); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all .25s ease; transform-origin: center; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-primary); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-primary); }

/* ── MOBILE OVERLAY ── */
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,0.30); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.mobile-overlay.visible { display: block; opacity: 1; }

/* ── MOBILE DRAWER ── */
.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: min(340px, 88vw); height: 100vh; z-index: 99;
  background: var(--bg-base);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 0; padding: 80px 0 2rem; min-height: 100%; }
.mobile-search { padding: 0 1.2rem 1.2rem; }
.mobile-search form.header-search { max-width: 100%; }
.mobile-nav { border-top: 1px solid var(--border-subtle); padding: .6rem 0; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list li a {
  display: block; padding: 14px 1.4rem;
  color: var(--text-muted); font-size: 15px; font-weight: 500; text-decoration: none;
  border-left: 3px solid transparent; transition: all .15s;
}
.mobile-nav-list li a:hover, .mobile-nav-list li.current-menu-item > a {
  color: var(--text-primary);
  background: var(--bg-elevated);
}
.mobile-nav-list .sub-menu { list-style: none; padding: 0; background: var(--bg-sidebar); }
.mobile-nav-list .sub-menu li a { padding-left: 2.4rem; font-size: 14px; }
.mobile-quick { border-top: 1px solid var(--border-subtle); padding: .8rem 1.2rem; display: flex; flex-direction: column; gap: 4px; }
.mobile-quick-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
  padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; transition: all .15s;
}
.mobile-quick-link:hover { background: var(--bg-elevated); color: var(--text-primary); }
.mobile-cta { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--border-subtle); margin-top: auto; }

/* Search */
form.header-search {
  flex: 1; max-width: 480px;
  display: flex; align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 4px 4px 4px 42px;
  position: relative;
  transition: border-color .25s, box-shadow .25s, background .2s;
  margin: 0;
}
form.header-search:focus-within {
  border-color: rgba(0, 0, 0, 0.20);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.04);
}
form.header-search input[type="search"], form.header-search input[type="text"] {
  flex: 1; background: transparent; border: none;
  color: var(--text-primary); font-family: var(--font-body);
  font-size: 14px; outline: none; min-width: 0;
  padding: 7px 8px 7px 0;
  -webkit-appearance: none; appearance: none;
}
form.header-search input[type="search"]::-webkit-search-decoration,
form.header-search input[type="search"]::-webkit-search-cancel-button { display: none; }
form.header-search input::placeholder { color: var(--text-dim); }
form.header-search .search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; transition: color .2s;
}
form.header-search:focus-within .search-icon { color: var(--text-primary); }
/* Search submit button — subtle, ChatGPT-style */
form.header-search .search-btn,
form.header-search button[type="submit"],
form.header-search input[type="submit"] {
  background: var(--text-primary);
  color: #ffffff; border: none; border-radius: 8px;
  padding: 8px 18px; font-size: 13px; font-weight: 600;
  font-family: var(--font-body); cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: filter .2s, transform .15s;
}
form.header-search .search-btn:hover,
form.header-search button[type="submit"]:hover { filter: brightness(1.15); }

/* Sidebar */
.sidebar {
  width: 232px; flex-shrink: 0;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  position: sticky; top: 64px;
  height: calc(100vh - 64px); overflow-y: auto;
}
.sidebar-label, .sidebar .widget-title {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
  padding: 0 1.2rem; margin-bottom: .5rem; display: block;
}
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar .widget ul { list-style: none; }
.sidebar-link, .sidebar .widget ul li a {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-size: 14px;
  padding: 9px 1.2rem;
  border-left: 2px solid transparent;
  transition: all .15s; text-decoration: none;
}
.sidebar-link:hover, .sidebar .widget ul li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.sidebar-link.active, .sidebar .widget ul li.current-cat > a {
  color: var(--text-primary);
  background: var(--bg-hover);
  font-weight: 600;
}
.sidebar-link .icon { width: 16px; text-align: center; font-size: 15px; }
.tag-cloud { padding: 0 1.2rem; display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  background: #ffffff; color: var(--text-muted);
  border: 1px solid var(--border-subtle); border-radius: 50px;
  padding: 4px 11px; font-size: 12px; cursor: pointer; transition: all .2s; text-decoration: none;
}
.tag-pill:hover { background: var(--bg-elevated); color: var(--text-primary); }

/* Hero */
.hero-banner {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem; margin-bottom: 2.5rem;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.hero-title { font-family: var(--font-display); font-size: 32px; font-weight: 700; line-height: 1.15; margin-bottom: .8rem; letter-spacing: -0.02em; position: relative; color: var(--text-primary); }
.hero-title span {
  color: var(--text-primary);
}
.hero-subtitle { color: var(--text-muted); font-size: 15px; max-width: 380px; margin-bottom: 1.4rem; position: relative; }
.hero-stats { display: flex; gap: 2.2rem; position: relative; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-primary); }
.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

/* Filter bar */
.filter-bar {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 2rem;
  background: var(--bg-sidebar); border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 8px 10px;
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-divider { width: 1px; height: 22px; background: var(--border-subtle); flex-shrink: 0; margin: 0 4px; }
.filter-chip {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: none; color: var(--text-muted);
  border-radius: 8px; padding: 8px 14px;
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all .18s; font-family: var(--font-body); flex-shrink: 0;
}
.filter-chip .chip-icon { font-size: 14px; line-height: 1; }
.filter-chip .chip-count {
  background: rgba(0,0,0,0.06); color: var(--text-dim);
  border-radius: 50px; padding: 1px 8px; font-size: 11px;
}
.filter-chip:hover { background: var(--bg-hover); color: var(--text-primary); }
.filter-chip.active { background: #ffffff; color: var(--text-primary); border: 1px solid var(--border-subtle); }
.filter-chip.active .chip-count { background: var(--bg-elevated); color: var(--text-muted); }
.filter-end { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sort-wrapper { position: relative; display: flex; align-items: center; }
.sort-wrapper svg { position: absolute; left: 10px; pointer-events: none; color: var(--text-dim); }
.sort-select {
  appearance: none; -webkit-appearance: none;
  background: #ffffff; border: 1px solid var(--border-subtle);
  color: var(--text-muted); border-radius: 8px;
  padding: 8px 32px 8px 30px; font-size: 13px; font-family: var(--font-body);
  outline: none; cursor: pointer; transition: border-color .2s, color .2s;
}
.sort-select:hover { border-color: rgba(0, 0, 0, 0.20); color: var(--text-primary); }
.sort-chevron { position: absolute; right: 10px; pointer-events: none; color: var(--text-dim); }
.view-toggle { display: flex; gap: 2px; background: #ffffff; border: 1px solid var(--border-subtle); border-radius: 8px; padding: 3px; }
.view-btn { width: 30px; height: 30px; border: none; border-radius: 6px; background: transparent; cursor: pointer; color: var(--text-dim); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.view-btn.active { background: var(--bg-elevated); color: var(--text-primary); }
.view-btn:hover:not(.active) { background: var(--bg-elevated); color: var(--text-muted); }

/* Section heading */
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.section-title { font-family: var(--font-display); font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; color: var(--text-primary); }
.section-badge {
  background: var(--bg-elevated); color: var(--text-muted);
  border-radius: 50px; padding: 3px 11px; font-size: 12px;
  font-family: var(--font-body); font-weight: 500;
}
.see-all { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.see-all:hover { color: var(--text-primary); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; margin-bottom: 2.5rem; }
.card-grid.featured { grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); }
.image-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, border-color .25s, box-shadow .25s;
  position: relative;
  box-shadow: var(--shadow-card);
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.image-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-card-hover);
}

/* Stretched link */
.card-stretched-link {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1;
  display: block;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.card-overlay { position: relative; z-index: 2; }
.play-hint    { z-index: 2; }
.badge-new, .badge-premium, .badge-video { z-index: 2; position: relative; }

/* Thumbnail */
.image-card .thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 133%;
  overflow: hidden;
  background: var(--bg-elevated);
}
.image-card .thumbnail > img,
.image-card .thumbnail > video,
.image-card .thumbnail > .thumbnail-placeholder,
.image-card .thumbnail > .card-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-card .thumbnail > img { transition: transform .35s ease; }
.image-card:hover .thumbnail > img { transform: scale(1.05); }
.thumbnail-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-sidebar));
}

/* Video card */
.image-card.has-video .thumbnail { background: #f4f4f4; }
.card-video { transition: none; }
.image-card.has-video:not(.playing) .thumbnail::after { display: none; }
.image-card.has-video.playing .thumbnail::after { display: none; }

/* Subtle play button */
.play-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.play-hint svg {
  width: 16px; height: 16px;
  fill: var(--text-primary);
  margin-left: 3px;
}
.image-card.playing .play-hint {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

/* Video badge */
.badge-video {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  font-size: 10px; font-weight: 700; letter-spacing: .09em;
  padding: 3px 9px; border-radius: 50px;
  display: flex; align-items: center; gap: 4px;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  transition: opacity .2s;
}
.image-card.playing .badge-video { opacity: 0; }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
  opacity: 0; transition: opacity .2s;
  display: flex; align-items: flex-end; padding: 1rem; gap: 8px;
}
.image-card:hover .card-overlay { opacity: 1; }
/* Like / save action buttons on hover overlay — neutral, ChatGPT-style */
.card-action {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-primary); font-size: 14px;
  transition: transform .15s, background .2s; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.card-action:hover { transform: scale(1.12); background: #ffffff; }
.card-action.secondary { background: rgba(255,255,255,0.92); color: var(--text-primary); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.card-body { padding: 11px 14px 14px; }
.card-title {
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 5px;
}
.card-title a { color: inherit; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.card-author { color: var(--text-dim); }
.card-likes { color: var(--text-muted); }
.badge-new {
  position: absolute; top: 10px; left: 10px;
  background: var(--text-primary); color: #ffffff;
  font-size: 10px; font-weight: 700; letter-spacing: .07em;
  padding: 3px 9px; border-radius: 50px; text-transform: uppercase;
}
.badge-premium {
  position: absolute; top: 10px; right: 10px;
  background: var(--text-primary);
  color: #ffffff; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 50px; text-transform: uppercase;
  letter-spacing: .05em;
}

/* Creators */
.creators-row { display: flex; gap: 12px; overflow-x: auto; margin-bottom: 2.5rem; padding-bottom: 4px; scrollbar-width: none; }
.creators-row::-webkit-scrollbar { display: none; }
.creator-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 16px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 130px; cursor: pointer; transition: all .2s; text-decoration: none;
  box-shadow: var(--shadow-card);
}
.creator-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.creator-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.creator-avatar::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--bg-card);
}
.creator-name { font-size: 12px; font-weight: 600; color: var(--text-primary); text-align: center; }
.creator-count { font-size: 11px; color: var(--text-dim); }

/* Promo / upgrade banner — purple (CTA zone) */
.promo-banner {
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.10) 0%, rgba(124, 58, 237, 0.06) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem; margin-bottom: 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.promo-banner::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.promo-text h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.01em; color: var(--text-primary); }
.promo-text p { color: var(--text-muted); font-size: 14px; margin: 0; }
/* .promo-banner .btn-primary inherits the standard purple */

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 1rem; }
.page-numbers {
  min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--radius-sm);
  background: #ffffff; border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: all .2s; text-decoration: none;
}
.page-numbers:hover { background: var(--bg-elevated); color: var(--text-primary); }
.page-numbers.current { background: var(--text-primary); color: #ffffff; border-color: var(--text-primary); font-weight: 600; }

/* Footer */
.site-footer { background: var(--bg-sidebar); border-top: 1px solid var(--border-subtle); padding: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; max-width: 260px; margin: .6rem 0 0; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-dim); margin-bottom: .9rem;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 7px; transition: color .2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.3rem;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--text-dim); font-size: 12px;
}

@media (max-width: 1024px) { .sidebar { display: none; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }
  form.header-search { display: none; }
}
@media (max-width: 680px) {
  .site-header { padding: 0 1rem; }
  main.site-main { padding: 1.2rem; }
  .hero-banner { padding: 1.5rem; flex-direction: column; }
  .hero-title { font-size: 24px; }
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .promo-banner { flex-direction: column; text-align: center; }
}

/* Single page CTA button — the biggest purple statement */
.single-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent-secondary) 50%, var(--accent-primary) 100%);
  color: #ffffff !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .15s, box-shadow .25s, filter .2s;
  box-shadow: 0 4px 20px rgba(168, 85, 247, .35);
}
.single-cta-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}
.single-cta-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(168, 85, 247, .50);
}
.single-cta-btn:active { transform: translateY(0); }
.single-cta-btn svg { flex-shrink: 0; }
