/* ===== OnlySearch-inspired clean UI ===== */

:root {
  --accent: #00bcd4;
  --accent-hover: #00a0b4;
  --accent-light: #e0f7fa;
  --app-bg: #ffffff;
  --app-text: #1a1a1a;
  --muted: #777;
  --border: #e8e8e8;
  --card-bg: #fff;
  --tag-bg: #00bcd4;
  --tag-text: #fff;
}

:root[data-bs-theme='dark'] {
  --app-bg: #0f172a;
  --app-text: #e2e8f0;
  --muted: #94a3b8;
  --border: #334155;
  --card-bg: #1e293b;
  --accent-light: #164e63;
}

html, body {
  background-color: var(--app-bg);
  color: var(--app-text);
}

/* ===== Navbar ===== */
.site-navbar {
  background: var(--app-bg);
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
}

.site-navbar .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.site-navbar .navbar-brand span {
  color: var(--accent);
}

.brand-fan {
  color: #333;
}

.dark-mode .brand-fan {
  color: #e2e8f0;
}

.site-navbar .nav-link {
  color: var(--app-text);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .75rem;
}

.site-navbar .nav-link:hover {
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s ease;
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ===== Hero / Landing ===== */
.hero-section {
  background: var(--app-bg);
  color: var(--app-text);
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  border-radius: 0;
  margin-bottom: 0;
}

.hero-section h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.3;
  color: #555;
}

.hero-section h1 strong {
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}

.hero-section .lead {
  font-size: 1rem;
  color: var(--muted);
  margin-top: .5rem;
  opacity: 1;
}

[data-bs-theme='dark'] .hero-section,
.dark-mode .hero-section {
  background: var(--app-bg);
  color: var(--app-text);
}

[data-bs-theme='dark'] .hero-section h1,
.dark-mode .hero-section h1 {
  color: #94a3b8;
}

[data-bs-theme='dark'] .hero-section h1 strong,
.dark-mode .hero-section h1 strong {
  color: var(--accent);
}

/* ===== Search bar ===== */
.search-bar-wrapper {
  max-width: 680px;
  margin: 1.5rem auto 0;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .35rem .35rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,188,212,.15);
}

.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 1rem;
  color: var(--app-text);
  padding: .5rem 0;
}

.search-bar input::placeholder {
  color: #bbb;
}

.search-bar .search-icon {
  color: #bbb;
  margin-right: .5rem;
  font-size: 1.1rem;
}

.search-bar .btn-search {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .55rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .15s ease;
}

.search-bar .btn-search:hover {
  background: var(--accent-hover);
}

/* ===== Quick search pills ===== */
.quick-search {
  max-width: 700px;
  margin: 1.5rem auto 0;
  text-align: center;
  min-height: 70px;
}

.quick-search-label {
  font-size: .85rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: .25rem;
  margin-bottom: .75rem;
  display: inline-block;
}

.quick-pill {
  display: inline-block;
  padding: .35rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--app-text);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  margin: .2rem;
  transition: all .15s ease;
  background: var(--card-bg);
}

.quick-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.quick-pill-link {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: .25rem;
}

.quick-pill-link:hover {
  text-decoration: underline;
}

/* ===== Top filter bar (results page) ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .75rem 0;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card-bg);
  color: var(--app-text);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent-light);
}

.filter-btn .arrow {
  font-size: .65rem;
  margin-left: .15rem;
}

/* ===== Results header ===== */
.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 0;
  margin-bottom: .5rem;
}

.results-count {
  font-size: .9rem;
  color: var(--muted);
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  border: 1px solid var(--border);
  border-radius: .5rem;
  overflow: hidden;
}

.view-toggle-btn {
  padding: .4rem .75rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.view-toggle-btn.active {
  background: var(--app-bg);
  color: var(--app-text);
  font-weight: 600;
}

/* ===== Creator cards ===== */
.creator-card {
  border: none;
  border-radius: .75rem;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  background: var(--card-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  contain: layout style paint;
}

.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.card-img-top {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.img-spacer {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

/* Tag overlays on card image */
.card-tags {
  position: absolute;
  top: .5rem;
  left: .5rem;
  right: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  z-index: 2;
}

.card-tag {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: var(--tag-bg);
  color: var(--tag-text);
  font-size: .7rem;
  font-weight: 600;
  text-transform: capitalize;
  backdrop-filter: blur(4px);
}

.card-tag-more {
  background: rgba(0,0,0,.5);
}

/* Card body */
.creator-card .card-body {
  padding: .75rem .85rem .5rem;
}

.creator-card .card-footer {
  padding: .25rem .85rem .75rem;
  background: transparent;
  border: none;
}

.creator-name {
  font-size: .95rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.creator-name .price {
  font-weight: 700;
  color: var(--app-text);
  font-size: .9rem;
  white-space: nowrap;
}

.creator-name .price.free {
  color: #16a34a;
}

.creator-username {
  font-size: .8rem;
  color: var(--muted);
  margin: .1rem 0 0;
}

/* ===== Badge price (legacy compat) ===== */
.badge-price {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 3;
  font-size: .75rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-weight: 700;
}

.badge-free {
  background-color: #16a34a;
  color: #fff;
}

.badge-paid {
  background-color: var(--accent);
  color: #fff;
}

/* ===== Chips ===== */
.chip {
  display: inline-block;
  padding: .15rem .55rem;
  background: #f1f3f5;
  color: #555;
  border-radius: 999px;
  margin: 0 .25rem .25rem 0;
  font-size: .75rem;
}

/* ===== Filter pills (active filters) ===== */
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  text-decoration: none;
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: .85rem;
  transition: all .15s ease;
}

.filter-pill:hover,
.filter-pill:focus {
  text-decoration: none;
  background: var(--accent);
  color: #fff;
}

.filter-reset {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: .85rem;
}

.filter-reset:hover,
.filter-reset:focus {
  text-decoration: underline;
}

/* ===== Promo / ad cards ===== */
.promo-card {
  /* Match creator-card height: 3/4 image + ~70px card-body ≈ aspect-ratio 3/5 */
  aspect-ratio: 3 / 5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  background: var(--card-bg);
  border-radius: .75rem;
}

.promo-card .card-body {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-card ins {
  margin: 0 auto;
  display: block;
  min-height: 250px;
  width: 100%;
}

.featured-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding: 1.25rem;
  text-align: center;
  overflow: hidden;
  min-height: 120px;
  contain: layout style;
}

.featured-widget ins {
  display: block;
  width: 100%;
  min-height: 90px;
}

.featured-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .5rem;
}

/* ===== Ad blocker notice ===== */
.ab-notice {
  display: none;
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  border-bottom: 1px solid #f59e0b;
  padding: .75rem 1rem;
  text-align: center;
  font-size: .875rem;
  color: #92400e;
  /* Use fixed positioning so showing the notice doesn't shift page content */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

.ab-notice.visible { display: block; }

.ab-notice-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #92400e;
  cursor: pointer;
  line-height: 1;
}

/* ===== Focus visible ===== */
.btn:focus-visible,
.nav-link:focus-visible,
.page-link:focus-visible,
.dropdown-item:focus-visible,
.filter-pill:focus-visible,
.filter-reset:focus-visible,
.external-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Profile page ===== */
.profile-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .75rem;
  overflow: hidden;
}

.profile-card-img {
  overflow: hidden;
}

.profile-card-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.profile-card-body {
  padding: 1.5rem;
}

.profile-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--app-text);
}

.profile-card-subtitle {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.profile-meta-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.profile-meta-link:hover {
  text-decoration: underline;
}

.profile-meta-sep {
  margin: 0 .25rem;
  color: var(--muted);
}

.profile-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.profile-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--app-text);
}

/* ===== Profile page stats ===== */
.profile-stats {
  --profile-stat-bg: #f8f9fa;
}

[data-bs-theme='dark'] .profile-stats,
.dark-mode .profile-stats {
  --profile-stat-bg: #1e293b;
}

.profile-stat-card {
  background: var(--profile-stat-bg);
  border-radius: .75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .35rem;
  text-align: left;
}

.profile-stat-card .profile-stat-value {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--app-text);
}

.profile-stat-card .profile-stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

@media (max-width: 575.98px) {
  .profile-stat-card {
    align-items: center;
    text-align: center;
  }
}

/* ===== Account stats ===== */
.account-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  padding-left: 0;
}

.account-stats .list-inline-item {
  background: #f1f3f5;
  border-radius: 999px;
  padding: .2rem .6rem;
  margin: 0;
  color: #495057;
}

.account-stats .list-inline-item strong {
  margin-left: .25rem;
  color: var(--app-text);
}

/* ===== External links ===== */
.profile-links .external-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  background: var(--card-bg);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: var(--app-text);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color .2s ease, background-color .2s ease;
}

.profile-links .external-link:hover,
.profile-links .external-link:focus {
  text-decoration: none;
  border-color: var(--accent);
}

.profile-links .external-link span {
  font-weight: 600;
}

.profile-links .external-link small {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 45%;
}

@media (max-width: 575.98px) {
  .profile-links .external-link {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-links .external-link small {
    max-width: 100%;
  }
}

/* ===== Empty state ===== */
.empty-state {
  background: var(--card-bg);
  border-radius: 1rem;
  border: 1px dashed var(--border);
}

.empty-state-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

/* ===== City link pills ===== */
.city-link-pill {
  background-color: #f0f0f0;
  color: var(--app-text);
  border: 1px solid var(--border);
  font-weight: 500;
  line-height: 1.2;
  transition: all .15s ease;
}

.city-link-pill:hover,
.city-link-pill:focus-visible {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

.city-link-pill-active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.city-link-pill-active:hover,
.city-link-pill-active:focus-visible {
  background-color: var(--accent-hover);
  color: #fff;
}

/* ===== Results meta ===== */
.results-meta .stat-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: .75rem;
  background: var(--card-bg);
  color: var(--app-text);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: .9rem;
}

/* ===== Skeleton loaders ===== */
.skeleton-card {
  min-height: 320px;
  border-radius: .75rem;
  background: linear-gradient(90deg, #f1f3f5 25%, #e9ecef 37%, #f1f3f5 63%);
  background-size: 400% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ===== Hover lift (shared) ===== */
.hover-lift {
  transition: transform .2s ease, box-shadow .2s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* ===== Pagination ===== */
.pagination .page-link {
  color: var(--app-text);
  border-color: var(--border);
}

.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .page-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===== Quick info on hover ===== */
.creator-card .quick-info {
  opacity: 0;
  transition: opacity .2s ease;
}

.creator-card:hover .quick-info {
  opacity: 1;
}

/* ===== Section headings ===== */
.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ===== Footer ===== */
footer {
  background: var(--app-bg);
  border-top: 1px solid var(--border);
}

/* ===== Offcanvas filter tweaks ===== */
.offcanvas .form-select,
.offcanvas .form-control {
  border-radius: .5rem;
}

/* ===== Dark mode overrides ===== */
[data-bs-theme='dark'] .chip,
.dark-mode .chip {
  background: #334155;
  color: #f8fafc;
}

[data-bs-theme='dark'] .account-stats .list-inline-item,
.dark-mode .account-stats .list-inline-item {
  background: #334155;
  color: #e2e8f0;
}

[data-bs-theme='dark'] .account-stats .list-inline-item strong,
.dark-mode .account-stats .list-inline-item strong {
  color: #f8fafc;
}

.dark-mode .card,
.dark-mode .navbar,
.dark-mode .list-group-item,
.dark-mode .dropdown-menu {
  background: #1e293b !important;
  color: #e2e8f0;
  border-color: #334155 !important;
}

.dark-mode .navbar .nav-link,
.dark-mode .navbar-brand,
.dark-mode .navbar-text {
  color: #e2e8f0 !important;
}

.dark-mode .navbar .nav-link:hover,
.dark-mode .navbar .nav-link:focus {
  color: var(--accent) !important;
}

.dark-mode .navbar .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.dark-mode .text-muted { color: #cbd5e1 !important; }

.dark-mode .bg-light { background: var(--app-bg) !important; }

.dark-mode .search-bar {
  background: #1e293b;
  border-color: #334155;
}

.dark-mode .search-bar input {
  color: #e2e8f0;
}

.dark-mode .quick-pill {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}

.dark-mode .creator-card {
  background: #1e293b;
}

[data-bs-theme='dark'] .profile-links .external-link,
.dark-mode .profile-links .external-link {
  background: #1f2937;
  border-color: #334155;
  color: #e2e8f0;
}

[data-bs-theme='dark'] .profile-links .external-link:hover,
.dark-mode .profile-links .external-link:hover {
  border-color: var(--accent);
}

[data-bs-theme='dark'] .profile-links .external-link span,
.dark-mode .profile-links .external-link span {
  color: #f8fafc;
}

[data-bs-theme='dark'] .profile-links .external-link small,
.dark-mode .profile-links .external-link small {
  color: #cbd5e1;
}

[data-bs-theme='dark'] footer,
.dark-mode footer {
  background: #1e293b !important;
  border-color: #334155 !important;
}

[data-bs-theme='dark'] footer .text-muted,
.dark-mode footer .text-muted {
  color: #94a3b8 !important;
}

[data-bs-theme='dark'] footer a,
.dark-mode footer a {
  color: #94a3b8;
}

[data-bs-theme='dark'] footer a:hover,
.dark-mode footer a:hover {
  color: #cbd5e1;
}

[data-bs-theme='dark'] .city-link-pill,
.dark-mode .city-link-pill {
  background-color: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}

[data-bs-theme='dark'] .city-link-pill:hover,
.dark-mode .city-link-pill:hover {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

[data-bs-theme='dark'] .city-link-pill-active,
.dark-mode .city-link-pill-active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

[data-bs-theme='dark'] .skeleton-card,
.dark-mode .skeleton-card {
  background: linear-gradient(90deg, #1e293b 25%, #273449 37%, #1e293b 63%);
  background-size: 400% 100%;
}

[data-bs-theme='dark'] .results-meta .stat-chip,
.dark-mode .results-meta .stat-chip {
  background: #1e293b;
  color: #e2e8f0;
  border-color: #334155;
}

/* Theme toggle */
#darkToggle .theme-icon {
  font-size: .9rem;
}

[data-bs-theme='dark'] #darkToggle .theme-icon,
.dark-mode #darkToggle .theme-icon {
  content: "moon";
}

/* ===== Responsive ===== */
@media (max-width: 767.98px) {
  .hero-section {
    padding: 2.5rem 1rem 1.5rem;
  }
  .hero-section h1 {
    font-size: 1.6rem;
  }
  .filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .5rem;
  }
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ===== Creator Landing Pages ===== */
.creator-hero {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--app-bg) 60%);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

.creator-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--app-text);
  margin-bottom: .75rem;
}

.creator-hero h1 strong {
  font-weight: 700;
  color: var(--accent);
}

.creator-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.creator-hero-cta .btn {
  padding: .7rem 2rem;
  font-size: 1.05rem;
}

.creator-stats-bar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.creator-stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.creator-stat-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: .15rem;
}

.creator-benefits {
  background: var(--app-bg);
  padding: 3rem 0;
}

.creator-benefit-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: 1.25rem;
  height: 100%;
  transition: border-color .2s ease;
}

.creator-benefit-card:hover {
  border-color: var(--accent);
}

.creator-benefit-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.creator-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.creator-faq {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.creator-faq .accordion-item {
  border-color: var(--border);
  background: var(--app-bg);
}

.creator-faq .accordion-button {
  background: var(--app-bg);
  color: var(--app-text);
  font-weight: 600;
}

.creator-faq .accordion-button:not(.collapsed) {
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: none;
}

.creator-faq .accordion-body {
  color: var(--muted);
}

.creator-final-cta {
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, var(--app-bg) 40%, var(--accent-light) 100%);
}

[data-bs-theme='dark'] .creator-hero {
  background: linear-gradient(135deg, #164e63 0%, var(--app-bg) 60%);
}

[data-bs-theme='dark'] .creator-final-cta {
  background: linear-gradient(135deg, var(--app-bg) 40%, #164e63 100%);
}

[data-bs-theme='dark'] .creator-faq .accordion-button::after {
  filter: invert(1);
}

@media (max-width: 767.98px) {
  .creator-hero {
    padding: 2.5rem 1rem 2rem;
  }
  .creator-hero h1 {
    font-size: 1.5rem;
  }
  .creator-stat-number {
    font-size: 1.3rem;
  }
}

/* ===== INP / rendering performance ===== */
/* Promote the search bar to its own layer so focus/input repaints
   don't trigger layout recalculation on the rest of the page. */
.search-bar:focus-within {
  will-change: transform;
}
