/* ============================================================
   SMMPANEL.LOL — Design System (light theme)
   ============================================================ */
:root {
  --primary: #4F46E5;
  --primary-600: #4338CA;
  --primary-50: #EEF2FF;
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --text: #0F172A;
  --text-2: #334155;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-2: #CBD5E1;
  --success: #16A34A;
  --success-bg: #F0FDF4;
  --warning: #D97706;
  --warning-bg: #FFFBEB;
  --danger: #DC2626;
  --danger-bg: #FEF2F2;
  --info-bg: #EFF6FF;
  --gold: #B45309;
  --gold-bg: #FEF3C7;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px rgba(15, 23, 42, .07), 0 4px 14px rgba(15, 23, 42, .05);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, .12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px; --sp-5: 40px; --sp-6: 48px; --sp-8: 64px;
  --t-fast: 180ms cubic-bezier(.4, 0, .2, 1);
  --t-med: 320ms cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
button { font-family: inherit; cursor: pointer; }
code { background: var(--primary-50); padding: 1px 6px; border-radius: 4px; font-size: .85em; }
.icon { vertical-align: -3px; flex-shrink: 0; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 8px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-2); }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--sp-2); }
.container-mid { max-width: 920px; margin: 0 auto; padding: 0 var(--sp-2); }

/* ------------------------------------------------ utilities */
.text-muted { color: var(--muted); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 13.5px; }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.mt-8 { margin-top: var(--sp-1); } .mt-16 { margin-top: var(--sp-2); } .mt-24 { margin-top: var(--sp-3); }
.mt-32 { margin-top: var(--sp-4); } .mt-48 { margin-top: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-1); } .mb-16 { margin-bottom: var(--sp-2); } .mb-32 { margin-bottom: var(--sp-4); }
.prewrap { white-space: pre-wrap; }
.inline-form { display: inline-flex; align-items: center; gap: 8px; }
.link-strong { font-weight: 600; color: var(--text); }
.link-strong:hover { color: var(--primary); }
.link-plain { color: var(--text-2); }
.divider { border: 0; border-top: 1px solid var(--border); margin: var(--sp-3) 0; }
.text-gradient { background: linear-gradient(100deg, var(--primary), #9333EA); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: 11px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-600); color: #fff; box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary-50); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--border); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); color: var(--primary-600); }
.btn-sm { padding: 8px 13px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.icon-btn { background: none; border: 0; padding: 8px; border-radius: var(--radius-sm); color: var(--text-2); display: inline-flex; transition: background var(--t-fast); }
.icon-btn:hover { background: var(--border); }

/* ------------------------------------------------ navbar */
.navbar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner { display: flex; align-items: center; gap: var(--sp-3); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), #9333EA); color: #fff;
}
.nav-links { display: flex; gap: 4px; margin-left: var(--sp-1); }
.nav-link { padding: 8px 13px; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 500; font-size: 14px; transition: background var(--t-fast), color var(--t-fast); }
.nav-link:hover { background: var(--border); color: var(--text); }
.nav-link.active { color: var(--primary); background: var(--primary-50); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mobile-menu-btn { display: none; background: none; border: 0; padding: 8px; color: var(--text); }

/* mobile drawer */
.mobile-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.mobile-drawer-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); opacity: 0; transition: opacity var(--t-med); }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform var(--t-med);
  display: flex; flex-direction: column; padding: var(--sp-2); gap: 4px; overflow-y: auto;
}
.mobile-drawer.open { pointer-events: auto; }
.mobile-drawer.open .mobile-drawer-backdrop { opacity: 1; }
.mobile-drawer.open .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 16px; font-weight: 800; }
.mobile-drawer-link { padding: 13px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--text); font-size: 15px; }
.mobile-drawer-link:hover { background: var(--bg); }
.mobile-drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding-top: var(--sp-3); }

/* ------------------------------------------------ hero */
.hero { padding: var(--sp-8) 0 var(--sp-6); background:
  radial-gradient(1200px 500px at 50% -20%, var(--primary-50), transparent),
  var(--bg); }
.hero-inner { text-align: center; }
.hero-title { font-size: clamp(36px, 6.5vw, 72px); font-weight: 900; letter-spacing: -.035em; line-height: 1.06; }
.hero-sub { font-size: clamp(15px, 2.2vw, 19px); color: var(--muted); max-width: 620px; margin: var(--sp-2) auto 0; }
.hero-search { max-width: 640px; margin: var(--sp-4) auto 0; }
.search-box {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: 14px;
  padding: 8px 8px 8px 18px; box-shadow: var(--shadow);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50), var(--shadow); }
.search-icon { color: var(--muted); }
.search-input { flex: 1; border: 0; outline: 0; font-family: inherit; font-size: 15.5px; background: transparent; min-width: 0; }
.search-btn { border-radius: 10px; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: left; overflow: hidden; max-height: 380px; overflow-y: auto;
  animation: popIn .18s ease;
}
.suggest-group-title { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 14px 4px; font-weight: 700; }
.suggest-item { display: flex; align-items: center; gap: 8px; padding: 9px 14px; color: var(--text); font-size: 14px; }
.suggest-item:hover { background: var(--primary-50); color: var(--primary); }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--sp-3); align-items: center; }
.pills-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.pill:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: var(--sp-4); flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(20px, 5vw, 56px); justify-content: center; margin-top: var(--sp-6); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.stat-label { font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------ sections */
.section { padding: var(--sp-8) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-list { padding: var(--sp-5) 0 var(--sp-8); }
.section-head { text-align: center; margin-bottom: var(--sp-5); }
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.section-title-sm { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--sp-2); }
.section-sub { color: var(--muted); margin-top: 8px; font-size: 15px; }
.section-cta { text-align: center; margin-top: var(--sp-4); }
.section-number-one { padding-top: var(--sp-5); }

.page-head { padding: var(--sp-5) 0 var(--sp-3); background: var(--surface); border-bottom: 1px solid var(--border); }
.page-title { font-size: clamp(26px, 4.5vw, 40px); font-weight: 800; letter-spacing: -.03em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.page-sub { color: var(--muted); margin-top: 8px; max-width: 760px; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: var(--sp-2); flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }

/* ------------------------------------------------ cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-3); box-shadow: var(--shadow-sm); }
.card-title { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: 8px; }
.card-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--sp-2); flex-wrap: wrap; }
.card-title-row .card-title { margin-bottom: 0; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--sp-3); }
.cards-grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.cards-grid-preview { grid-template-columns: minmax(300px, 420px); }

/* ------------------------------------------------ badges & chips */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; line-height: 1.3; white-space: nowrap;
}
.badge-promoted { background: var(--gold-bg); color: var(--gold); border: 1px solid #FDE68A; }
.badge-verified { background: var(--success-bg); color: var(--success); border: 1px solid #BBF7D0; }
.badge-featured { background: var(--primary-50); color: var(--primary); border: 1px solid #C7D2FE; }
.badge-demo { background: var(--border); color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; padding: 4px 11px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.chip-lg { padding: 7px 14px; font-size: 13px; }
button.chip:hover { border-color: var(--primary); color: var(--primary); }
.info-tip { cursor: help; color: var(--muted); font-size: 11px; }

.status { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 100px; text-transform: capitalize; }
.status-approved, .status-active, .status-completed, .status-confirmed, .status-resolved { background: var(--success-bg); color: var(--success); }
.status-pending, .status-paused, .status-reviewing { background: var(--warning-bg); color: var(--warning); }
.status-rejected, .status-suspended, .status-failed, .status-banned { background: var(--danger-bg); color: var(--danger); }
.status-draft, .status-expired, .status-dismissed, .status-refunded { background: var(--border); color: var(--muted); }

/* ------------------------------------------------ panel card */
.panel-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-3); display: flex; flex-direction: column; gap: var(--sp-2);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.panel-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.panel-card.is-promoted { border-color: #FDE68A; background: linear-gradient(180deg, #FFFDF5, var(--surface) 90px); }
.panel-card-badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.panel-card-identity { display: flex; gap: 13px; align-items: center; }
.panel-logo { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--primary-50); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.panel-logo img { width: 100%; height: 100%; object-fit: cover; }
.panel-logo-lg { width: 76px; height: 76px; border-radius: 16px; }
.panel-logo-fallback { font-weight: 800; color: var(--primary); font-size: 17px; }
.panel-card-name { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.panel-card-name a { color: var(--text); }
.panel-card-name a:hover { color: var(--primary); }
.panel-card-domain { font-size: 12.5px; color: var(--muted); }
.panel-card-desc { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.panel-card-services { list-style: none; display: flex; flex-direction: column; gap: 7px; border-top: 1px dashed var(--border); padding-top: var(--sp-2); }
.panel-card-services li { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.svc-name { color: var(--text-2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.svc-price { color: var(--text); font-weight: 700; white-space: nowrap; }
.panel-card-meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; border-top: 1px dashed var(--border); padding-top: var(--sp-2); }
.meta-item { display: flex; flex-direction: column; gap: 2px; min-width: 90px; }
.meta-label { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.meta-value { font-size: 14px; font-weight: 700; }
.price-highlight { color: var(--success); }
.bid-value { color: var(--gold); }
.platform-icons { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); }
.more-count { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.panel-card-features { display: flex; gap: 6px; flex-wrap: wrap; }
.panel-card-actions { display: flex; gap: 9px; margin-top: auto; }
.panel-card-actions .btn { flex: 1; }

/* ------------------------------------------------ featured (#1) card */
.featured-card {
  position: relative; background: var(--surface);
  border: 2px solid #FCD34D; border-radius: 20px; padding: var(--sp-4);
  box-shadow: 0 12px 40px rgba(180, 83, 9, .10);
  background: linear-gradient(180deg, #FFFBEB, var(--surface) 140px);
}
.featured-crown {
  position: absolute; top: -16px; left: var(--sp-4);
  background: linear-gradient(100deg, #F59E0B, #D97706); color: #fff;
  font-weight: 800; font-size: 12.5px; letter-spacing: .06em;
  padding: 7px 16px; border-radius: 100px; box-shadow: var(--shadow);
}
.featured-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-1); }
.featured-identity { display: flex; gap: var(--sp-2); align-items: flex-start; }
.featured-name { font-size: 24px; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.featured-name a { color: var(--text); }
.featured-desc { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.featured-block-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; margin-bottom: 8px; }
.featured-from { margin-top: var(--sp-2); font-size: 14px; color: var(--text-2); }
.featured-side { display: flex; flex-direction: column; gap: var(--sp-2); }
.featured-bid-amount { font-size: 30px; font-weight: 800; color: var(--gold); letter-spacing: -.02em; }
.featured-actions { display: flex; flex-direction: column; gap: 9px; }

/* ------------------------------------------------ platform / service tiles */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--sp-2); }
.platform-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-2); display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text); text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); color: var(--text); }
.platform-card-icon { color: var(--primary); }
.platform-card-name { font-weight: 700; font-size: 14.5px; }
.platform-card-count { font-size: 12px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-2); }
.service-tile {
  display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; color: var(--text);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.service-tile:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: var(--shadow); color: var(--text); }
.service-tile-icon { color: var(--primary); display: flex; }
.service-tile-name { font-weight: 700; font-size: 14px; display: block; }
.service-tile-meta { font-size: 12px; color: var(--muted); display: block; }
.platform-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ------------------------------------------------ steps & why */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-3); }
.step-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-3); color: var(--primary); }
.step-card h3 { color: var(--text); font-size: 17px; margin: 10px 0 6px; }
.step-card p { color: var(--muted); font-size: 13.5px; }
.step-num { position: absolute; top: var(--sp-2); right: var(--sp-2); font-size: 42px; font-weight: 900; color: var(--border); line-height: 1; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-3); }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-3); color: var(--primary); transition: transform var(--t-med), box-shadow var(--t-med); }
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-card h3 { color: var(--text); font-size: 16px; margin: 10px 0 5px; }
.why-card p { color: var(--muted); font-size: 13.5px; }
.cta-banner {
  margin-top: var(--sp-5); border-radius: 20px; padding: clamp(28px, 5vw, 48px);
  background: linear-gradient(120deg, var(--primary), #7C3AED); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(22px, 3.5vw, 30px); letter-spacing: -.02em; }
.cta-banner p { opacity: .85; margin-top: 6px; max-width: 480px; }

/* ------------------------------------------------ activity feed */
.activity-feed { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.activity-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 6px; font-size: 13.5px; animation: slideIn .35s ease; }
.activity-feed.compact .activity-item { border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 10px 2px; margin: 0; background: transparent; }
.activity-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }
.activity-reached_top { background: #F59E0B; }
.activity-bid_placed { background: var(--success); }
.activity-panel_listed, .activity-entered_leaderboard { background: var(--primary); }
.activity-panel_verified { background: var(--success); }
.activity-msg { flex: 1; min-width: 0; }
.activity-time { color: var(--muted); font-size: 12px; white-space: nowrap; }

/* ------------------------------------------------ FAQ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 var(--sp-2); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; padding: 15px 2px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform var(--t-med); color: var(--muted); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-item p { padding: 0 2px 15px; color: var(--text-2); font-size: 14px; }

/* ------------------------------------------------ promo strips & disclaimers */
.promoted-strip { margin-bottom: var(--sp-2); }
.promoted-strip-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--gold); background: var(--gold-bg); border: 1px solid #FDE68A; padding: 7px 13px; border-radius: 100px; }
.promo-disclaimer { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--muted); background: var(--bg); border: 1px dashed var(--border-2); border-radius: var(--radius-sm); padding: 11px 14px; max-width: 780px; margin-left: auto; margin-right: auto; }
.section-alt .promo-disclaimer { background: var(--surface); }

/* ------------------------------------------------ marketplace layout & filters */
.marketplace-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-4); align-items: start; }
.filters-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-3); position: sticky; top: 80px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-2); }
.filters-head h2 { font-size: 16px; }
.filters-close { display: none; }
.filter-group { margin-bottom: var(--sp-2); }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-2); }
.results-count { font-weight: 700; font-size: 14px; color: var(--text-2); }
.filters-open { display: none; }
.checkbox-label { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; cursor: pointer; }
.checkbox-label input { width: 16px; height: 16px; accent-color: var(--primary); }

/* ------------------------------------------------ leaderboard */
.leaderboard-layout { display: grid; grid-template-columns: 1fr 320px; gap: var(--sp-4); align-items: start; }
.lb-row {
  display: flex; align-items: center; gap: var(--sp-2);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--sp-2) var(--sp-3); margin-bottom: 12px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.lb-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.lb-first { border-color: #FCD34D; background: linear-gradient(90deg, #FFFBEB, var(--surface) 55%); }
.lb-rank { font-size: 22px; font-weight: 900; width: 48px; text-align: center; color: var(--text-2); flex-shrink: 0; }
.lb-info { flex: 1; min-width: 0; }
.lb-name-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lb-name { font-weight: 700; font-size: 16px; color: var(--text); }
.lb-name:hover { color: var(--primary); }
.lb-bid { display: flex; flex-direction: column; align-items: flex-end; }
.lb-bid-amount { font-size: 19px; font-weight: 800; color: var(--gold); transition: transform var(--t-fast); }
.lb-bid-amount.bump { animation: bump .5s ease; }
.lb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cta-card { text-align: left; }

/* ------------------------------------------------ profile page */
.profile-header { display: flex; gap: var(--sp-3); align-items: flex-start; flex-wrap: wrap; }
.profile-header-main { flex: 1; min-width: 240px; }
.profile-name { font-size: clamp(24px, 4vw, 34px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.profile-desc { color: var(--text-2); margin-top: 8px; max-width: 640px; }
.profile-header-actions { display: flex; flex-direction: column; gap: 9px; min-width: 180px; }
.profile-stats { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-3); }
.pstat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 18px; display: flex; flex-direction: column; }
.pstat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pstat-value { font-size: 17px; font-weight: 800; }
.pstat-bid .pstat-value { color: var(--gold); }
.profile-layout { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-4); align-items: start; }
.profile-main { display: flex; flex-direction: column; gap: var(--sp-3); }
.profile-side { display: flex; flex-direction: column; gap: var(--sp-3); position: sticky; top: 80px; }
.side-bid { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.side-bid-label { font-size: 12px; color: var(--muted); }
.side-bid-amount { font-size: 28px; font-weight: 800; color: var(--gold); }
.side-subtitle { font-size: 13px; font-weight: 700; margin: var(--sp-2) 0 8px; }
.bid-history { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.bid-history li { display: flex; justify-content: space-between; font-size: 13px; }
.link-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.link-list a:hover { color: var(--primary); }
.verify-note { background: var(--bg); }

/* ------------------------------------------------ tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.service-table, .data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.service-table th, .data-table th {
  text-align: left; padding: 10px 12px; color: var(--muted);
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.service-table td, .data-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.service-table tbody tr, .data-table tbody tr { transition: background var(--t-fast); }
.service-table tbody tr:hover, .data-table tbody tr:hover { background: var(--bg); }

/* ------------------------------------------------ forms */
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: var(--sp-2) 0 6px; }
.input {
  width: 100%; padding: 11px 13px; font-family: inherit; font-size: 14.5px;
  border: 1px solid var(--border-2); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }
.input[disabled] { background: var(--bg); color: var(--muted); }
textarea.input { resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.input-inline { width: auto; padding: 8px 11px; font-size: 13.5px; }
.input-color { height: 42px; padding: 4px; width: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-3); }
.form-grid-full { grid-column: 1 / -1; }
.auth-page { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; padding: var(--sp-5) var(--sp-2); }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: clamp(24px, 5vw, 44px); width: 100%; max-width: 440px; box-shadow: var(--shadow); }
.auth-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.auth-sub { color: var(--muted); margin-top: 6px; font-size: 14px; }
.auth-form { margin-top: var(--sp-2); }
.auth-form .btn { margin-top: var(--sp-3); }
.auth-links { margin-top: var(--sp-3); display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------ wizard */
.wizard-steps { list-style: none; display: flex; gap: 4px; margin-bottom: var(--sp-3); overflow-x: auto; padding-bottom: 4px; }
.wizard-step { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.wizard-step a { display: flex; align-items: center; gap: 8px; color: inherit; }
.wizard-step.current { background: var(--primary-50); color: var(--primary); }
.wizard-step.done { color: var(--success); }
.wizard-num { width: 22px; height: 22px; border-radius: 50%; background: var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; flex-shrink: 0; }
.wizard-step.current .wizard-num { background: var(--primary); color: #fff; }
.wizard-step.done .wizard-num { background: var(--success-bg); color: var(--success); }
.wizard-card { padding: clamp(20px, 4vw, 36px); }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: var(--sp-4); flex-wrap: wrap; }
.platform-select-grid, .feature-select-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.platform-select input { position: absolute; opacity: 0; }
.platform-select-body {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: var(--sp-2);
  font-weight: 600; font-size: 13.5px; color: var(--text-2); cursor: pointer; text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.platform-select input:checked + .platform-select-body { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.platform-select input:focus-visible + .platform-select-body { outline: 2px solid var(--primary); outline-offset: 2px; }
.promo-preview { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.promo-preview-row { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.promo-preview-row:last-child { border-bottom: 0; }

/* service rows (dynamic form) */
.service-rows { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.service-row { border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-2); background: var(--bg); animation: popIn .25s ease; }
.service-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.service-row-title { font-weight: 700; font-size: 13px; color: var(--muted); }
.service-row-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 var(--sp-2); }
.service-row-grid .field-label { margin-top: 8px; }
.sr-span2 { grid-column: span 2; }
.sr-span4 { grid-column: 1 / -1; }

/* ------------------------------------------------ dashboard */
.dash { padding: var(--sp-4) 0 var(--sp-8); }
.dash-layout { display: grid; grid-template-columns: 230px 1fr; gap: var(--sp-4); align-items: start; }
.dash-nav { position: sticky; top: 80px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-2); display: flex; flex-direction: column; gap: var(--sp-2); }
.dash-nav nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-2); font-weight: 600; font-size: 13.5px; transition: background var(--t-fast), color var(--t-fast); }
.dash-nav-link:hover { background: var(--bg); color: var(--text); }
.dash-nav-link.active { background: var(--primary-50); color: var(--primary); }
.nav-badge { margin-left: auto; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 100px; padding: 2px 7px; }
.dash-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: var(--sp-3); }
.dash-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--sp-3); flex-wrap: wrap; }
.dash-title-row .dash-title { margin-bottom: 0; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--sp-2); }
.stat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: var(--sp-2); display: flex; flex-direction: column; gap: 3px; }
.stat-tile-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.stat-tile-value { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.stat-tile-link { font-size: 12px; font-weight: 600; }
.dash-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.dash-panel-row { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); margin-bottom: 12px; flex-wrap: wrap; }
.dash-panel-info { display: flex; gap: 13px; align-items: center; }
.dash-panel-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.notif-list { list-style: none; display: flex; flex-direction: column; }
.notif-item { display: flex; justify-content: space-between; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: 0; }
.notif-item.unread { background: var(--primary-50); border-radius: var(--radius-sm); padding: 13px 12px; margin-bottom: 4px; border-bottom: 0; }
.rank-list { list-style: none; display: flex; flex-direction: column; }
.rank-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--border); font-size: 14px; }
.rank-list li:last-child { border-bottom: 0; }
.scroll-list { max-height: 320px; overflow-y: auto; }
.detail-list { list-style: none; }
.detail-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.detail-list li span:first-child { color: var(--muted); flex-shrink: 0; }
.detail-list li:last-child { border-bottom: 0; }
.wallet-balance { font-size: 34px; font-weight: 900; letter-spacing: -.02em; color: var(--success); }
.deposit-row { display: flex; gap: 10px; }
.deposit-presets { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.promote-picker { display: flex; gap: 9px; flex-wrap: wrap; }

/* bar chart */
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 160px; padding-top: var(--sp-2); }
.bar-group { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; position: relative; min-width: 0; }
.bar { width: 45%; max-width: 18px; border-radius: 4px 4px 0 0; min-height: 2px; transition: height .6s cubic-bezier(.4, 0, .2, 1); }
.bar-views { background: var(--primary); }
.bar-clicks { background: var(--success); }
.bar-label { position: absolute; bottom: -20px; font-size: 10px; color: var(--muted); }
.chart-legend { display: flex; gap: var(--sp-2); margin-top: var(--sp-4); font-size: 12.5px; color: var(--muted); }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* admin */
.admin-filter-bar { display: flex; gap: 10px; margin-bottom: var(--sp-2); flex-wrap: wrap; }
.admin-filter-bar .input { max-width: 300px; }
.admin-actions-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-inline-add { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-inline-add .input { flex: 1; min-width: 130px; }
.report-row { display: flex; justify-content: space-between; gap: var(--sp-2); flex-wrap: wrap; }
.report-actions { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
.reject-form { flex-wrap: wrap; }
.tab-row { display: flex; gap: 4px; flex-wrap: wrap; }
.tab { padding: 7px 13px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tab:hover { background: var(--border); color: var(--text); }
.tab.active { background: var(--primary); color: #fff; }
.settings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 var(--sp-3); }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; inset: 0; background: var(--border-2); border-radius: 100px; transition: background var(--t-fast); cursor: pointer; }
.switch-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform var(--t-fast); box-shadow: var(--shadow-sm); }
.switch input:checked + .switch-slider { background: var(--primary); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

/* ------------------------------------------------ modal */
.modal { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; padding: var(--sp-2); }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); animation: fadeIn .25s ease; }
.modal-panel {
  position: relative; background: var(--surface); border-radius: 18px; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: modalIn .3s cubic-bezier(.34, 1.3, .64, 1);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) var(--sp-3) 0; }
.modal-head h2 { font-size: 19px; font-weight: 800; }
.modal-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.bid-summary { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: var(--sp-2) 0; }
.bid-summary-row { display: flex; justify-content: space-between; padding: 11px 14px; font-size: 14px; border-bottom: 1px solid var(--border); }
.bid-summary-row:last-child { border-bottom: 0; }
.bid-summary-row strong { font-weight: 800; }
.bid-position { color: var(--gold); font-weight: 800; }
.bid-error { color: var(--danger); font-size: 13px; margin-top: 8px; min-height: 18px; }

/* ------------------------------------------------ toasts */
.toast-stack { position: fixed; bottom: var(--sp-2); right: var(--sp-2); z-index: 150; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--text); color: #fff; padding: 13px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500;
  animation: toastIn .35s cubic-bezier(.34, 1.3, .64, 1);
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--primary); }
.toast-warning { background: var(--warning); }
.toast-close { background: none; border: 0; color: inherit; font-size: 18px; line-height: 1; opacity: .8; }
.toast.hide { animation: toastOut .3s ease forwards; }

/* ------------------------------------------------ empty / error states */
.empty-state { text-align: center; padding: var(--sp-6) var(--sp-3); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.empty-state.small { padding: var(--sp-4) var(--sp-2); }
.empty-state h3 { color: var(--text); font-size: 18px; }
.error-page { text-align: center; padding: var(--sp-8) var(--sp-2); min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.error-code { font-size: clamp(64px, 14vw, 120px); font-weight: 900; color: var(--border-2); line-height: 1; }
.error-actions { display: flex; gap: 12px; margin-top: var(--sp-3); flex-wrap: wrap; justify-content: center; }
.alert { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: var(--sp-2); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border: 1px solid #FDE68A; }
.alert-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #FECACA; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #BBF7D0; }
.alert-info { background: var(--info-bg); color: #1D4ED8; border: 1px solid #BFDBFE; }

/* ------------------------------------------------ skeletons */
.skeleton-block { background: linear-gradient(90deg, var(--border) 25%, #EDF2F7 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); }

/* ------------------------------------------------ pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: var(--sp-4); align-items: center; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--text-2); transition: border-color var(--t-fast), color var(--t-fast); }
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-ellipsis { color: var(--muted); }

/* ------------------------------------------------ guides / prose */
.guide-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--sp-3); color: var(--primary); display: flex; flex-direction: column; gap: 8px; transition: transform var(--t-med), box-shadow var(--t-med); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card h2 { color: var(--text); font-size: 18px; letter-spacing: -.01em; }
.guide-card p { color: var(--muted); font-size: 13.5px; }
.guide-card-more { font-size: 13px; font-weight: 700; margin-top: auto; }
.prose { font-size: 15.5px; color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 24px; letter-spacing: -.02em; margin: var(--sp-4) 0 var(--sp-2); }
.prose h3 { color: var(--text); font-size: 18px; margin: var(--sp-3) 0 var(--sp-1); }
.prose p { margin-bottom: var(--sp-2); }
.prose ul { margin: 0 0 var(--sp-2) var(--sp-3); }
.prose li { margin-bottom: 6px; }
.content-list { margin-left: var(--sp-3); color: var(--text-2); display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }

/* ------------------------------------------------ footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--sp-6) 0 var(--sp-3); margin-top: var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-4); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.footer-col a { color: var(--text-2); font-size: 14px; }
.footer-col a:hover { color: var(--primary); }
.footer-tagline { color: var(--muted); font-size: 13.5px; max-width: 300px; margin-top: 10px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a { color: var(--muted); padding: 7px; border: 1px solid var(--border); border-radius: var(--radius-sm); display: inline-flex; transition: color var(--t-fast), border-color var(--t-fast); }
.footer-social a:hover { color: var(--primary); border-color: var(--primary); }
.footer-disclaimer { margin-top: var(--sp-4); padding: var(--sp-2); background: var(--bg); border-radius: var(--radius); font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }

/* ------------------------------------------------ sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 10px var(--sp-2); display: none; align-items: center; justify-content: space-between; gap: var(--sp-2);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, .08);
}
.sticky-cta-info { display: flex; flex-direction: column; line-height: 1.3; }

/* ------------------------------------------------ animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: var(--success); } 100% { transform: scale(1); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.anim-hero { animation: heroUp .65s cubic-bezier(.22, .8, .36, 1) both; animation-delay: var(--d, 0s); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.22, .8, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-identity { grid-column: 1 / -1; }
  .marketplace-layout, .leaderboard-layout, .profile-layout, .dash-layout { grid-template-columns: 1fr; }
  .profile-side, .dash-nav, .filters-panel { position: static; }
  .dash-nav nav { flex-direction: row; flex-wrap: wrap; }
  .dash-nav .btn { display: none; }
  .leaderboard-side { order: 2; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions .btn-ghost, .nav-actions .inline-form { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-two-col { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .service-row-grid { grid-template-columns: 1fr 1fr; }
  .sr-span2 { grid-column: span 2; }
}

@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .section { padding: var(--sp-6) 0; }
  .hero { padding: var(--sp-6) 0 var(--sp-5); }
  .hero-title { font-size: clamp(34px, 9.5vw, 42px); }
  .search-btn { padding: 10px 14px; }
  .featured-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .featured-card { padding: var(--sp-3); }

  /* filters become bottom sheet */
  .filters-open { display: inline-flex; }
  .filters-panel {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 110;
    border-radius: 20px 20px 0 0; max-height: 82vh; overflow-y: auto;
    transform: translateY(105%); transition: transform var(--t-med);
    box-shadow: var(--shadow-lg);
  }
  .filters-panel.open { transform: translateY(0); }
  .filters-close { display: inline-flex; }

  .lb-row { flex-wrap: wrap; }
  .lb-bid { align-items: flex-start; }
  .lb-actions { width: 100%; }
  .lb-actions .btn { flex: 1; }

  /* responsive tables -> cards */
  .service-table thead, .data-table thead { display: none; }
  .service-table tr, .data-table tr { display: block; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; padding: 6px 0; background: var(--surface); }
  .service-table td, .data-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 7px 14px; font-size: 13.5px; }
  .service-table td::before, .data-table td::before { content: attr(data-th); font-weight: 700; color: var(--muted); font-size: 12px; }

  .sticky-cta { display: flex; }
  .footer { padding-bottom: 88px; }
  .profile-header-actions { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .profile-header-actions .btn { flex: 1; }
  .toast-stack { left: var(--sp-2); right: var(--sp-2); bottom: 84px; max-width: none; }
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .wizard-nav { flex-direction: column-reverse; align-items: stretch; }
  .wizard-nav .btn { width: 100%; justify-content: center; }
  .service-row-grid { grid-template-columns: 1fr; }
  .sr-span2 { grid-column: auto; }
  .deposit-row { flex-direction: column; }
}

@media (max-width: 400px) {
  .hero-stats { gap: var(--sp-2); }
  .stat-num { font-size: 22px; }
  .brand-text { font-size: 15px; }
  .panel-card { padding: var(--sp-2); }
}
