/* ==========================================================================
   ⚡ SL CREATORS (slcreators.com) — DIRECTION 1: ARTSTATION / GUMROAD MARKET
   Aesthetic: Matte Dark Slate / Graphite, Warm Coral Accent, Gallery-Forward
   No neon cyan/purple glow, no AI-template blobs. Authentic creative marketplace.
   ========================================================================== */

:root {
  /* Canvas & Surfaces */
  --bg-base: #0d0f14;
  --bg-surface: #141721;
  --bg-surface-hover: #1a1e2b;
  --bg-elevated: #202535;
  --bg-inset: #090a0e;
  
  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.13);
  --border-strong: rgba(255, 255, 255, 0.22);
  --border-focus: #ff5a1f;

  /* Human Brand Accents */
  --accent-brand: #ff5a1f;        /* Energetic terracotta / coral orange */
  --accent-brand-hover: #e04b15;
  --accent-brand-subtle: rgba(255, 90, 31, 0.12);
  --accent-amber: #f59e0b;        /* Warm gold */
  --accent-green: #10b981;        /* Commission status: Open */
  --accent-slate: #64748b;        /* Muted tags */
  --accent-blue: #38bdf8;         /* Technical info / LSL */

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;

  /* Text Colors */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #0d0f14;

  /* Shadows (Natural, crisp drop shadows — ZERO neon glow) */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);

  /* Geometry (Crisp, modern, human — NOT pill balloons everywhere) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-base);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Subtle architectural grid pattern in background */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 520px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.font-mono {
  font-family: var(--font-mono);
}

.text-brand {
  color: var(--accent-brand);
}

/* ==========================================================================
   NAVIGATION BAR (Matte Graphite, Sharp & Clean)
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13, 15, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--accent-brand);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
  border-bottom-color: var(--accent-brand);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nav Log In Button (Sleek Ghost Button) */
.nav-login-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.nav-login-btn:hover {
  color: #fff;
  background: var(--bg-surface);
  border-color: var(--border-medium);
}

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.mobile-toggle:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Drawer Backdrop */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Slide-Out Drawer (ArtStation Slate Style) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: 320px;
  max-width: 86vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-medium);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
  overflow: hidden; /* Fix: prevents scrollbar appearing over header/close button */
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-inset);
  flex-shrink: 0;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.drawer-close:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: var(--bg-surface-hover);
}

.drawer-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.drawer-body::-webkit-scrollbar {
  display: none;
}

.drawer-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.drawer-item:hover, .drawer-item.active {
  background: var(--bg-elevated);
  border-color: var(--border-medium);
  color: #fff;
  transform: translateX(3px);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-footer-note {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   MODAL DIALOGS (Creator Sign In)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  animation: modalFadeIn 0.18s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 32px);
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  z-index: 1001;
  overflow: hidden;
  animation: modalPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border-subtle);
}

.modal-body {
  padding: 22px;
}

.login-card-option {
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.15s ease;
}

.login-card-option:hover {
  border-color: var(--border-medium);
}

/* Modal Tab Navigation (In-world OTP vs Use UUID) */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-medium);
  margin-bottom: 20px;
  gap: 20px;
}

.modal-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 6px 2px 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  bottom: -1px;
}

.modal-tab-btn:hover {
  color: #fff;
}

.modal-tab-btn.active {
  color: #fff;
  border-bottom-color: var(--accent-brand);
}

/* 6-Digit In-World OTP Code Input */
.otp-input {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 800;
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-inset);
  border: 1px solid var(--border-strong);
  color: #fff;
  width: 100%;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}

.otp-input:focus {
  border-color: var(--accent-brand);
  box-shadow: 0 0 0 2px var(--accent-brand-subtle);
}

/* ==========================================================================
   BUTTONS & BADGES (Tactile, Crisp, High-Contrast)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-brand);
  color: #fff;
  border-color: var(--accent-brand);
}

.btn-primary:hover {
  background: var(--accent-brand-hover);
  border-color: var(--accent-brand-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
}

.btn-outline:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-pro {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-verified {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Commission Status Indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.open {
  background: var(--accent-green);
}

.status-dot.waitlist {
  background: var(--accent-amber);
}

.status-dot.closed {
  background: var(--text-subtle);
}

/* ==========================================================================
   HERO SECTION (Direct, Authoritative, Creator-Centric)
   ========================================================================== */
.hero-section {
  padding: 64px 0 36px;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Search Bar (Clean, Solid, No Neon Box Shadow) */
.search-wrapper {
  max-width: 620px;
  margin: 0 auto 24px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 18px;
  transition: border-color 0.15s ease;
}

.search-box:focus-within {
  border-color: var(--border-focus);
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-input::placeholder {
  color: var(--text-subtle);
}

/* Filter Chips (ArtStation category tabs) */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 840px;
  margin: 0 auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  background: var(--bg-surface-hover);
  color: #fff;
  border-color: var(--border-medium);
}

.chip.active {
  background: #fff;
  color: var(--text-inverse);
  font-weight: 700;
  border-color: #fff;
}

/* ==========================================================================
   METRICS BAR (Clean slate stats counter)
   ========================================================================== */
.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin: 36px auto 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

/* ==========================================================================
   GALLERY-FORWARD CREATOR CARDS (The Heart of Direction 1)
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.creators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
}

.creator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

.creator-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

/* Hero Portfolio Artwork Preview (Full aspect ratio artwork showcase) */
.card-artwork-showcase {
  height: 200px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg-inset);
}

.card-artwork-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.creator-card:hover .card-artwork-showcase img {
  transform: scale(1.02);
}

/* 3-thumbnail gallery strip underneath the main artwork */
.card-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border-subtle);
}

.gallery-strip-thumb {
  height: 54px;
  overflow: hidden;
  position: relative;
  background: var(--bg-inset);
}

.gallery-strip-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.gallery-strip-thumb:hover img {
  opacity: 1;
}

/* Card Body */
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-creator-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.card-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-creator-meta {
  flex: 1;
  min-width: 0;
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-specialty {
  font-size: 0.78rem;
  color: var(--accent-brand);
  font-weight: 600;
}

.card-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.tag {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-rate-box {
  display: flex;
  flex-direction: column;
}

.card-rate-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 600;
}

.card-rate-val {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

/* ==========================================================================
   SPONSOR / MARKETPLACE BRAND BANNER
   ========================================================================== */
.banner-ad-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 32px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.banner-sponsor-tag {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-brand);
  margin-bottom: 4px;
  display: inline-block;
}

.banner-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.banner-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TERMINAL CALLOUT (Clean Onboarding Panel)
   ========================================================================== */
.terminal-callout {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin: 48px auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}

.terminal-info h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.terminal-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.step-text strong {
  color: #fff;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.step-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER (Clean, Grounded)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: var(--accent-brand);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
.directory-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 140px;
  gap: 14px;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .terminal-callout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .directory-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-login-btn {
    display: none;
  }
  .stats-banner {
    grid-template-columns: 1fr;
  }
  .creators-grid {
    grid-template-columns: 1fr;
  }
  .banner-ad-box {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .directory-filter-grid {
    grid-template-columns: 1fr;
  }
  .category-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-chips::-webkit-scrollbar {
    display: none;
  }
  .chip {
    flex-shrink: 0;
  }
}

