/*
Theme Name: GeneratedP
Theme URI: https://generatedp.example.com
Author: GeneratedP Team
Author URI: https://generatedp.example.com
Description: A modern, glass-styled AI content platform theme. Cyan/amber palette on a deep slate base, with a refined content grid, sidebar, filter bar, creators section and upgrade banner. 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: generatedp
Tags: dark, grid, ai, gallery, images, custom-menu, custom-logo, featured-images, post-thumbnails, translation-ready
*/

:root {
  /* Base surfaces - cooler, slatier than the original */
  --bg-base: #0b1018;
  --bg-card: #131a26;
  --bg-elevated: #1c2536;
  --bg-glass: rgba(28, 37, 54, 0.55);

  /* New accent palette: cyan/teal primary, amber secondary, electric blue glow */
  --accent-primary: #22d3ee;       /* cyan-400 */
  --accent-secondary: #0891b2;     /* cyan-600 */
  --accent-tertiary: #f59e0b;      /* amber-500 */
  --accent-glow: #38bdf8;          /* sky-400 */
  --accent-warm: #fb923c;          /* orange-400 */

  /* Text */
  --text-primary: #e6edf7;
  --text-muted: #94a3b8;
  --text-dim: #475569;

  /* Borders */
  --border: rgba(34, 211, 238, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-amber: rgba(245, 158, 11, 0.25);

  /* Radii - slightly larger, more modern */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  /* Typography - swapped for a more "tech" feel */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Effects */
  --shadow-glow: 0 0 32px rgba(34, 211, 238, 0.18);
  --shadow-amber: 0 0 28px rgba(245, 158, 11, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  background-image:
    radial-gradient(at 18% 12%, rgba(34, 211, 238, 0.08) 0px, transparent 50%),
    radial-gradient(at 82% 88%, rgba(245, 158, 11, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--accent-secondary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text-primary); letter-spacing: -0.01em; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* Buttons - new flat-with-glow style instead of pure gradient */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
  color: #06222a;
  border: none; border-radius: 12px;
  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 4px 14px rgba(34, 211, 238, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(34, 211, 238, 0.4); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-subtle); border-radius: 12px;
  padding: 11px 18px; font-size: 14px; font-family: var(--font-body);
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(34, 211, 238, 0.06); }

/* 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 - new glassmorphism */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 16, 24, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 2rem; min-height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-logo {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-glow) 50%, var(--accent-tertiary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap; text-decoration: none;
  display: flex; align-items: center; flex-shrink: 0;
  letter-spacing: -0.02em;
}
.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: 10px; transition: all .2s;
}
.main-navigation a:hover, .main-navigation .current-menu-item > a {
  color: var(--accent-primary); background: rgba(34, 211, 238, 0.08);
}

/* ── 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 { border-color: var(--accent-primary); background: rgba(34, 211, 238, 0.06); }
.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(--accent-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(--accent-primary); }

/* ── MOBILE OVERLAY ── */
.mobile-overlay { display: none; position: fixed; inset: 0; z-index: 98; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); 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-card); border-left: 1px solid var(--border-subtle);
  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(--accent-primary); background: rgba(34, 211, 238, 0.07); border-left-color: var(--accent-primary);
}
.mobile-nav-list .sub-menu { list-style: none; padding: 0; background: rgba(0,0,0,.25); }
.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: rgba(34, 211, 238, 0.08); 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: rgba(28, 37, 54, 0.85);
  border: 1px solid rgba(34, 211, 238, 0.18);
  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(34, 211, 238, 0.55);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.08);
  background: rgba(28, 37, 54, 0.95);
}
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(--accent-primary); }
form.header-search .search-btn,
form.header-search button[type="submit"],
form.header-search input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: #06222a; border: none; border-radius: 10px;
  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.08); transform: scale(0.97); }

/* Sidebar */
.sidebar {
  width: 232px; flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  position: sticky; top: 68px;
  height: calc(100vh - 68px); overflow-y: auto;
}
.sidebar-label, .sidebar .widget-title {
  font-size: 10px; font-weight: 700; 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, .sidebar-link.active, .sidebar .widget ul li.current-cat > a {
  color: var(--accent-primary);
  background: rgba(34, 211, 238, 0.08);
  border-left-color: var(--accent-primary);
}
.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: var(--bg-elevated); 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 { border-color: var(--accent-primary); color: var(--accent-primary); background: rgba(34, 211, 238, 0.05); }

/* Hero - new dual-gradient backdrop */
.hero-banner {
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.08) 0%, rgba(245, 158, 11, 0.04) 100%),
    var(--bg-elevated);
  border: 1px solid var(--border);
  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-banner::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-banner::after {
  content: ''; position: absolute; bottom: -100px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1.15; margin-bottom: .8rem; letter-spacing: -0.02em; position: relative; }
.hero-title span {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-glow) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.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-card); border: 1px solid var(--border-subtle);
  border-radius: 14px; 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: 10px; 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(255,255,255,0.07); color: var(--text-dim);
  border-radius: 50px; padding: 1px 8px; font-size: 11px;
}
.filter-chip:hover { background: rgba(34, 211, 238, 0.08); color: var(--text-primary); }
.filter-chip.active { background: rgba(34, 211, 238, 0.15); color: var(--accent-primary); }
.filter-chip.active .chip-count { background: rgba(34, 211, 238, 0.22); color: var(--accent-primary); }
.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: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted); border-radius: 10px;
  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(34, 211, 238, 0.35); color: var(--text-primary); }
.sort-chevron { position: absolute; right: 10px; pointer-events: none; color: var(--text-dim); }
.view-toggle { display: flex; gap: 2px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 3px; }
.view-btn { width: 30px; height: 30px; border: none; border-radius: 7px; background: transparent; cursor: pointer; color: var(--text-dim); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.view-btn.active { background: rgba(34, 211, 238, 0.22); color: var(--accent-primary); }
.view-btn:hover:not(.active) { background: rgba(255,255,255,0.06); 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; }
.section-badge {
  background: rgba(34, 211, 238, 0.15); color: var(--accent-primary);
  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(--accent-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;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.image-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(34, 211, 238, 0.15);
}

/* 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-card));
}

/* Video card */
.image-card.has-video .thumbnail { background: #0a0d14; }
.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(11, 16, 24, 0.6);
  border: 1.5px solid rgba(34, 211, 238, 0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 2;
}
.play-hint svg {
  width: 16px; height: 16px;
  fill: var(--accent-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(11, 16, 24, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.45);
  color: var(--accent-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(11, 16, 24, 0.92) 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; }
.card-action {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-primary); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #06222a; font-size: 14px;
  transition: transform .15s; flex-shrink: 0;
}
.card-action:hover { transform: scale(1.12); }
.card-action.secondary { background: rgba(255,255,255,0.15); color: var(--text-primary); }
.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(--accent-tertiary); color: #1a1100;
  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: linear-gradient(135deg, var(--accent-tertiary), var(--accent-warm));
  color: #1a1100; 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;
}
.creator-card:hover { border-color: var(--border); transform: translateY(-2px); }
.creator-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
  color: #06222a;
  border: 2px 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 - new amber/cyan dual tone */
.promo-banner {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(34, 211, 238, 0.10) 100%);
  border: 1px solid var(--border-amber);
  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(245, 158, 11, 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; }
.promo-text p { color: var(--text-muted); font-size: 14px; margin: 0; }
.promo-banner .btn-primary {
  background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-warm));
  color: #1a1100;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}
.promo-banner .btn-primary:hover { box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45); }

/* 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: var(--bg-elevated); 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, .page-numbers.current { border-color: var(--accent-primary); color: var(--accent-primary); }
.page-numbers.current { background: rgba(34, 211, 238, 0.12); font-weight: 600; }

/* Footer */
.site-footer { background: var(--bg-card); 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(--accent-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 */
.single-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 50%, var(--accent-glow) 100%);
  color: #06222a !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 24px rgba(34, 211, 238, .3);
}
.single-cta-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2) 0%, transparent 60%);
  pointer-events: none;
}
.single-cta-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 211, 238, .5);
}
.single-cta-btn:active { transform: translateY(0); }
.single-cta-btn svg { flex-shrink: 0; }
