:root {
  --bg: #090A0E;
  --surface: #11131A;
  --surface-hover: #171A24;
  --surface-sunken: #0C0D12;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(245, 196, 81, 0.28);
  --ink: #F5F6FA;
  --ink-secondary: #B4BAC7;
  --ink-muted: #7F879A;
  --crimson: #C81018;
  --crimson-bright: #E11D27;
  --crimson-soft: rgba(200, 16, 24, 0.15);
  --crimson-border: rgba(200, 16, 24, 0.45);
  --gold: #F5C451;
  --gold-deep: #D9A226;
  --gold-soft: rgba(245, 196, 81, 0.11);
  --gold-border: rgba(245, 196, 81, 0.30);
  --slate-soft: rgba(148, 163, 184, 0.12);
  --slate-border: rgba(148, 163, 184, 0.26);
  --slate-ink: #CBD5E1;
  --ice-soft: rgba(96, 165, 250, 0.11);
  --ice-border: rgba(96, 165, 250, 0.28);
  --ice-ink: #93C5FD;
  --emerald: #34D399;
  --emerald-soft: rgba(52, 211, 153, 0.12);
  --emerald-border: rgba(52, 211, 153, 0.28);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 420px at 50% -60px, rgba(200, 16, 24, 0.14), transparent 72%),
    radial-gradient(ellipse 60% 300px at 50% 40px, rgba(245, 196, 81, 0.05), transparent 70%);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Main Centered Vertical Documentary Column */
.page-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

@media (min-width: 640px) {
  .page-shell {
    padding: 40px 20px 72px;
  }
}

/* Hero Masthead */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.avatar-wrap {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(145deg, rgba(245, 196, 81, 0.65), rgba(200, 16, 24, 0.55) 58%, rgba(255, 255, 255, 0.12));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
  margin-bottom: 14px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 2px solid var(--bg);
  background: var(--surface);
}

.avatar-status {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--crimson-bright);
  border: 2.5px solid var(--bg);
  box-shadow: 0 0 0 2px rgba(200, 16, 24, 0.3);
}

.handle-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.handle-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--crimson);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(200, 16, 24, 0.35);
  margin-bottom: 16px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 6.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-title .gold-accent {
  color: var(--gold);
}

.hero-tagline {
  margin: 0;
  max-width: 470px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-secondary);
  text-wrap: balance;
}

/* Scoreboard Card */
.scoreboard {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 18px 18px;
  margin-bottom: 30px;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.scoreboard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--crimson) 0%, var(--gold) 52%, rgba(245, 196, 81, 0.15) 100%);
}

.scoreboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.percent-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

.revenue-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.revenue-amount {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.revenue-goal {
  font-size: 0.9375rem;
  color: var(--ink-secondary);
  font-weight: 500;
}

.revenue-goal strong {
  color: var(--gold);
  font-weight: 700;
}

/* Progress Track */
.progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  width: 5px;
  height: 100%;
  min-width: 5px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 12px rgba(245, 196, 81, 0.4);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* Scoreboard 3-stat Strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.stat-box {
  background: var(--surface-sunken);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 10px 10px 9px;
  text-align: left;
}

.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}

.stat-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.challenge-dates {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-align: center;
  margin-bottom: 14px;
}

/* Primary Pinned X CTA */
.pinned-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #F7CB5E 0%, #E7B336 100%);
  color: #090A0E;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 22px -10px rgba(245, 196, 81, 0.55);
  transition: transform 0.16s ease, filter 0.16s ease;
}

.pinned-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.pinned-cta:active {
  transform: translateY(0);
}

.pinned-cta-left {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.pinned-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pinned-cta-arrow {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.16s ease;
}

.pinned-cta:hover .pinned-cta-arrow {
  transform: translateX(3px);
}

/* Section Headers */
.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title {
  margin: 3px 0 0;
  font-size: 1.125rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.live-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-count-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* Category Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  appearance: none;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-pill:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.filter-pill.is-active {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold);
}

/* Product Cards Directory */
.products-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 16px 13px;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.product-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-gold);
  transform: translateY(-1px);
}

.product-card[hidden] {
  display: none;
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.product-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-b2b {
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  color: var(--gold);
}

.cat-holiday {
  background: var(--crimson-soft);
  border: 1px solid var(--crimson-border);
  color: #FCA5A5;
}

.cat-eu {
  background: var(--ice-soft);
  border: 1px solid var(--ice-border);
  color: var(--ice-ink);
}

.cat-consumer {
  background: var(--slate-soft);
  border: 1px solid var(--slate-border);
  color: var(--slate-ink);
}

.product-desc {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-secondary);
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.product-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visit-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.product-card:hover .visit-cta {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold);
}

/* Episodes Log */
.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.episode-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--crimson);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.episode-card:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
  border-left-color: var(--gold);
  transform: translateY(-1px);
}

.episode-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.episode-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.episode-rev {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.episode-title {
  margin: 0 0 8px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.episode-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.episode-card:hover .episode-link {
  color: var(--gold);
}

/* 4 Platforms Grid */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

a.social-card {
  border-color: var(--border-gold);
}

a.social-card:hover {
  background: var(--surface-hover);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.social-card--soon {
  opacity: 0.72;
  cursor: default;
}

.social-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

a.social-card .social-icon {
  color: var(--gold);
  border-color: var(--gold-border);
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-badge {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.social-badge--live {
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
}

.social-badge--soon {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--ink-muted);
}

.social-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.social-handle {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  margin-top: 2px;
}

/* Contact & Concierge Footer */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin-bottom: 24px;
}

.contact-title {
  margin: 4px 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-copy {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-email-btn {
  flex: 1 1 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.contact-email-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold);
}

.copy-email-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  border: 1px solid var(--border);
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.copy-email-btn:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.copy-email-btn.is-copied {
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.site-footer {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(127, 135, 154, 0.8);
}

@media (max-width: 380px) {
  .stats-grid {
    gap: 6px;
  }
  .stat-box {
    padding: 9px 7px;
  }
  .stat-value {
    font-size: 0.84rem;
  }
  .product-foot {
    flex-wrap: wrap;
  }
}
