/* ══════════════════════════════════════════════════════════════════════════
   TOPBOARD — WALL OF FAME
   Exact Match to User Reference Mockup (Modern Light SaaS Orange Theme)
   ══════════════════════════════════════════════════════════════════════════ */

:root {
  --wof-bg: #fffdfb;
  --wof-text: #0f172a;
  --wof-muted: #64748b;
  --wof-subtle: #94a3b8;
  --wof-border: #e2e8f0;
  --wof-border-peach: #fed7aa;
  --wof-peach-bg: #fff7ed;
  --wof-peach-pill: #ffedd5;
  --wof-orange: #ea580c;
  --wof-orange-hover: #c2410c;
  --wof-orange-glow: rgba(234, 88, 12, 0.25);
  --wof-gold: #b45309;
}

body:has(.wof-page-wrapper) {
  background-color: var(--wof-bg) !important;
  color: var(--wof-text) !important;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.wof-page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--wof-bg);
  background-image: 
    radial-gradient(ellipse 65% 45% at 50% 12%, rgba(254, 215, 170, 0.35) 0%, rgba(255, 237, 213, 0.15) 50%, transparent 75%);
  background-repeat: no-repeat;
  color: var(--wof-text);
  overflow-x: hidden;
}

.wof-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 36px 32px 80px;
  box-sizing: border-box;
}

/* ─── Hero Header & Monument Arena ──────────────────────────────── */
.wof-hero-section {
  text-align: center;
  position: relative;
  margin-bottom: 56px;
  padding-top: 10px;
}

.wof-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffedd5;
  color: #ea580c;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}

.wof-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin: 0 0 14px 0;
}

.wof-title-highlight {
  color: #ea580c;
}

.wof-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* ─── Monument Grand Stage Visual ───────────────────────────────── */
.wof-monument-stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: 290px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.wof-monument-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Elevated Champion Card */
.wof-champ-card-anchor {
  position: relative;
  z-index: 5;
  margin-bottom: 42px;
}

.wof-champ-crown-top {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  filter: drop-shadow(0 4px 8px rgba(245, 158, 11, 0.35));
}

.wof-champ-card {
  width: 210px;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 18px;
  padding: 22px 18px 16px;
  box-shadow: 
    0 20px 40px -10px rgba(234, 88, 12, 0.16),
    0 10px 20px -6px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wof-champ-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 26px 50px -10px rgba(234, 88, 12, 0.22),
    0 14px 26px -6px rgba(15, 23, 42, 0.12);
}

.wof-champ-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #2563eb;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.wof-champ-name {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}

.wof-champ-domain {
  font-size: 12.5px;
  color: #64748b;
  margin: 2px 0 12px;
}

.wof-champ-meta {
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wof-champ-meta-lbl {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.wof-champ-meta-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
}

/* Confetti / Radiance Spark dashes */
.wof-spark {
  position: absolute;
  pointer-events: none;
  background: #ea580c;
  border-radius: 4px;
  opacity: 0.85;
}

.wof-spark.s1 { width: 14px; height: 3px; transform: rotate(-30deg); top: 35px; left: 16%; }
.wof-spark.s2 { width: 10px; height: 3px; transform: rotate(40deg); top: 80px; left: 22%; }
.wof-spark.s3 { width: 12px; height: 3px; transform: rotate(15deg); top: 120px; left: 34%; }
.wof-spark.s4 { width: 14px; height: 3px; transform: rotate(35deg); top: 35px; right: 16%; }
.wof-spark.s5 { width: 10px; height: 3px; transform: rotate(-40deg); top: 80px; right: 22%; }
.wof-spark.s6 { width: 12px; height: 3px; transform: rotate(-20deg); top: 130px; right: 35%; }

/* ─── History of #1 Section ─────────────────────────────────────── */
.wof-history-section {
  margin-top: 20px;
  margin-bottom: 60px;
}

.wof-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.wof-history-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wof-history-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.wof-history-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.wof-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.wof-filter-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

/* ─── Champions Table ───────────────────────────────────────────── */
.wof-table-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.wof-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.wof-table th {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.wof-table td {
  padding: 15px 20px;
  font-size: 14px;
  color: #0f172a;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.wof-table tr:last-child td {
  border-bottom: none;
}

.wof-table tbody tr {
  transition: background-color 0.15s ease;
}

.wof-table tbody tr:hover {
  background-color: #fffbf8;
}

/* Row 1 Highlight (Current Champion) */
.wof-table tbody tr.row-champ-1 {
  background-color: #fff9f5;
  border-bottom: 1px solid #fed7aa;
}

.wof-table tbody tr.row-champ-1:hover {
  background-color: #fff5ee;
}

/* Rank column */
.wof-rank-col {
  width: 50px;
}

.wof-rank-pill {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 13.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wof-rank-pill.rank-1 {
  background: #ffedd5;
  color: #ea580c;
}

/* Company cell */
.wof-company-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wof-table-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.wof-company-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

/* Website link */
.wof-website-link {
  color: #64748b;
  font-size: 13.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.wof-website-link:hover {
  color: #ea580c;
  text-decoration: underline;
}

/* Date cell */
.wof-date-cell {
  font-size: 13.5px;
  color: #64748b;
  white-space: nowrap;
}

/* Contribution amount */
.wof-amount-cell {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

/* ─── Bottom CTA Card ("Be the Next #1") ────────────────────────── */
.wof-bottom-cta {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 30px 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 8px 30px -4px rgba(234, 88, 12, 0.08);
}

.wof-cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wof-cta-crown-box {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wof-cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wof-cta-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0;
}

.wof-cta-sub {
  font-size: 14.5px;
  color: #64748b;
  margin: 0;
}

.wof-cta-btn {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.32);
  transition: all 0.18s ease;
  white-space: nowrap;
}

.wof-cta-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.42);
}

/* ─── Responsive Styles ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .wof-title {
    font-size: 34px;
  }
  .wof-monument-stage {
    height: 250px;
  }
  .wof-champ-card {
    width: 190px;
    padding: 16px 14px 14px;
  }
  .wof-bottom-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .wof-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .wof-container {
    padding: 24px 16px 60px;
  }
  .wof-title {
    font-size: 28px;
  }
  .wof-monument-stage {
    height: 220px;
  }
  .wof-champ-card {
    width: 175px;
    padding: 14px 12px 12px;
  }
  .wof-champ-avatar {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .wof-champ-name {
    font-size: 16px;
  }
  .wof-table {
    min-width: 520px;
  }
}
