:root {
  --bg-dark: #08090d;
  --bg-card: #10131b;
  --bg-card-hover: #151924;
  --bg-card-accent: #141724;
  --bg-input: #0b0d13;
  --border-subtle: #1c212e;
  --border-active: #2b3348;
  --text-main: #f5f6fa;
  --text-muted: #8e95a5;
  --text-dim: #5c6375;
  --fomo-green: #00f58c;
  --fomo-green-glow: rgba(0, 245, 140, 0.16);
  --fomo-green-soft: rgba(0, 245, 140, 0.08);
  --gold-accent: #ffb82e;
  --gold-soft: rgba(255, 184, 46, 0.1);
  --blue-accent: #00d2ff;
  --blue-soft: rgba(0, 210, 255, 0.1);
  --danger: #ff4d6d;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "PingFang SC", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Ambient Subtle Radial Atmosphere */
body::before {
  content: "";
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(0, 245, 140, 0.12) 0%, rgba(0, 210, 255, 0.04) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  animation: ambient-pulse 8s ease-in-out infinite alternate;
}

@keyframes ambient-pulse {
  0% { transform: translateX(-50%) scale(0.96); opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.06); opacity: 1; }
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
header.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 42px;
  height: 42px;
  display: block;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  background: linear-gradient(to right, #ffffff, #c2ffe6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.15s;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--fomo-green);
}

.btn-external {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all 0.15s;
}

.btn-external:hover {
  color: #fff;
  border-color: var(--fomo-green);
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.badge.pulse-green {
  color: var(--fomo-green);
  border-color: rgba(0, 245, 140, 0.3);
  background: var(--fomo-green-soft);
}

.badge-cashflow {
  color: var(--gold-accent);
  border-color: rgba(255, 184, 46, 0.3);
  background: var(--gold-soft);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fomo-green);
  box-shadow: 0 0 8px var(--fomo-green);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

/* Connect Wallet Button */
.btn-wallet {
  background: linear-gradient(135deg, var(--fomo-green), #00c970);
  color: #08090d;
  font-weight: 700;
  font-size: 13px;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 16px var(--fomo-green-glow);
}

.btn-wallet:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-wallet.connected {
  background: rgba(0, 245, 140, 0.12);
  border: 1px solid rgba(0, 245, 140, 0.45);
  color: var(--fomo-green);
  font-family: var(--font-mono);
  box-shadow: none;
}

.btn-wallet.connected:hover {
  background: rgba(0, 245, 140, 0.22);
}

/* Hero Section */
.intro-hero {
  background: linear-gradient(165deg, #121622 0%, #0d0f16 100%);
  border: 1px solid rgba(0, 245, 140, 0.25);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  margin-bottom: 26px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.intro-hero::after {
  content: "FOMO SOCIAL VAULT";
  position: absolute;
  right: -10px;
  bottom: -20px;
  font-size: 64px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  letter-spacing: 2px;
  pointer-events: none;
}

.intro-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 245, 140, 0.1);
  border: 1px solid rgba(0, 245, 140, 0.3);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--fomo-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.intro-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: 14px;
}

.intro-title span.highlight {
  background: linear-gradient(135deg, var(--fomo-green) 0%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 26px;
}

.intro-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Connected Wallet Banner */
.wallet-banner {
  background: linear-gradient(135deg, rgba(0, 245, 140, 0.08) 0%, rgba(16, 19, 27, 0.95) 100%);
  border: 1px solid rgba(0, 245, 140, 0.32);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.wallet-details {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.wallet-addr {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

/* 4-Column Mechanism Architecture */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 140, 0.3);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pillar-card:nth-child(1) .pillar-icon { background: rgba(0, 245, 140, 0.12); color: var(--fomo-green); }
.pillar-card:nth-child(2) .pillar-icon { background: rgba(0, 210, 255, 0.12); color: var(--blue-accent); }
.pillar-card:nth-child(3) .pillar-icon { background: rgba(255, 184, 46, 0.12); color: var(--gold-accent); }
.pillar-card:nth-child(4) .pillar-icon { background: rgba(142, 149, 165, 0.15); color: #fff; }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
}

.pillar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Protocol Analytics Hub */
.prize-hub {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  margin-bottom: 26px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.hub-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.hub-val-main {
  font-size: 42px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  color: #fff;
}

.hub-val-main span.unit {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-accent);
  margin-left: 8px;
}

.countdown-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 184, 46, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-align: right;
  min-width: 170px;
}

.countdown-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.countdown-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-accent);
}

/* Metrics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

@media (min-width: 680px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.stat-val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #fff;
}

/* Fund Flow Pipeline Diagram */
.fund-flow-box {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flow-step small {
  color: var(--text-dim);
}

/* Cards & Sections */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-wrap: wrap;
  gap: 10px;
}

/* Curated FOMO Social Stream */
.fomo-stream-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .thesis-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.thesis-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thesis-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.thesis-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-accent);
  color: #08090d;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thesis-handle {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.thesis-body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.thesis-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.fomo-cta-bar {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(0, 245, 140, 0.05);
  border: 1px solid rgba(0, 245, 140, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* 4-Step Rules Infographic */
.rules-infographic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 640px) {
  .rules-infographic {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  color: var(--fomo-green);
  margin-bottom: 6px;
}

.step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Search Form */
.lookup-form {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.input-group {
  flex: 1;
  min-width: 260px;
  position: relative;
  display: flex;
  align-items: center;
}

.input-group svg {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
  pointer-events: none;
}

.text-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 42px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.text-input:focus {
  border-color: var(--fomo-green);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

table.data-table th {
  padding: 12px 14px;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-subtle);
}

table.data-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

table.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

th.num, td.num {
  text-align: right;
}

.table-link {
  color: var(--fomo-green);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
}

.table-link:hover {
  text-decoration: underline;
}

/* Claim Panel */
.claim-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.claim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.claim-amount {
  font-size: 34px;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--gold-accent);
}

.claim-routes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

@media (min-width: 680px) {
  .claim-routes {
    grid-template-columns: 1fr 1fr;
  }
}

.route-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.route-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--fomo-green);
  margin-bottom: 6px;
  display: inline-block;
}

.route-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.copy-snippet {
  background: var(--bg-input);
  border: 1px dashed var(--border-active);
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: border-color 0.2s;
}

.copy-snippet:hover {
  border-color: var(--fomo-green);
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.faq-q {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--fomo-green), #00c970);
  color: #08090d;
  font-weight: 700;
  font-size: 14px;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-compact {
  font-size: 13px;
  padding: 8px 16px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-accent), #f39c12);
  color: #08090d;
}

.btn-gold:hover {
  filter: brightness(1.1);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 24px;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.canvas-preview {
  width: 100%;
  border-radius: 12px;
  margin: 16px 0;
  border: 1px solid var(--border-subtle);
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(0, 245, 140, 0.2);
  border-top-color: var(--fomo-green);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer */
footer.page-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-sub {
  font-size: 12px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
}

.footer-link:hover {
  color: var(--fomo-green);
}

.sep {
  color: var(--border-subtle);
}

/* Utilities (Strict CSP - zero inline styles needed) */
.muted { color: var(--text-muted); }
.text-green { color: var(--fomo-green); }
.text-gold { color: var(--gold-accent); }
.mono { font-family: var(--font-mono); }
.mt8 { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mb16 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 4px; }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.ml-auto { margin-left: auto; }
.w-full { width: 100%; }
.lh-1-7 { line-height: 1.7; }
.text-uppercase { text-transform: uppercase; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-15 { font-size: 15px; }
.fs-16 { font-size: 16px; }
.avatar-gold { background: var(--gold-accent); }
.avatar-green { background: var(--fomo-green); }
.manifest-box { margin-top: 16px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--border-subtle); border-radius: 8px; padding: 12px; }
.flex-center-gap { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.hash { word-break: break-all; font-family: var(--font-mono); font-size: 12px; }

/* Protocol Ticker Ribbon */
.ticker-ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  margin-bottom: 22px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 12px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.ticker-item strong {
  color: #fff;
  font-family: var(--font-mono);
}

.ticker-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-dim);
}

/* Hero Bento Grid */
.hero-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 26px;
}

@media (min-width: 900px) {
  .hero-bento-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-main-card {
  background: linear-gradient(165deg, #121622 0%, #0d0f16 100%);
  border: 1px solid rgba(0, 245, 140, 0.25);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
}

.hero-visual-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.04);
}

.hero-visual-status {
  padding: 16px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-pill {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 12px;
}

/* Vault Cockpit Grid */
.cockpit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 26px;
}

@media (min-width: 860px) {
  .cockpit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vault-reactor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.reactor-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.reactor-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid rgba(0, 245, 140, 0.3);
  box-shadow: 0 0 16px var(--fomo-green-glow);
  flex-shrink: 0;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  margin: 14px 0 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fomo-green), var(--blue-accent));
  border-radius: 4px;
  transition: width 0.3s;
}

/* Interactive Calculator */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.calc-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.calc-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s;
}

.calc-chip:hover {
  border-color: var(--fomo-green);
  color: #fff;
}

.calc-chip.active {
  background: rgba(0, 245, 140, 0.15);
  border-color: var(--fomo-green);
  color: var(--fomo-green);
}

.calc-result-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
  margin-top: 12px;
}

.calc-res-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-res-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
}

.calc-res-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

/* Fund Split Meter */
.split-meter {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 16px;
}

.split-seg-30 { width: 30%; background: var(--gold-accent); }
.split-seg-10 { width: 10%; background: var(--blue-accent); }
.split-seg-60 { width: 60%; background: var(--fomo-green); }

.split-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
}

.split-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-gold { background: var(--gold-accent); }
.dot-blue { background: var(--blue-accent); }
.dot-green { background: var(--fomo-green); }

/* Flow Stepper 5-Stage */
.stepper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .stepper-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stepper-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stepper-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--fomo-green);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stepper-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.stepper-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Security Matrix Grid */
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

@media (min-width: 680px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.security-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.security-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 245, 140, 0.1);
  border: 1px solid rgba(0, 245, 140, 0.25);
  color: var(--fomo-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Tabs */
.tab-row {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.tab-btn.active {
  color: var(--fomo-green);
  background: rgba(0, 245, 140, 0.1);
}

/* Official X / Twitter Badges & Links */
.btn-x {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: all 0.2s ease;
}

.btn-x:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.x-icon {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex-shrink: 0;
}

.x-icon-sm {
  width: 12px;
  height: 12px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

.footer-x {
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.footer-x:hover {
  color: var(--fomo-green);
}

/* Institutional Tax Breakdown Panel */
.tax-breakdown-box {
  background: linear-gradient(145deg, rgba(16, 19, 27, 0.9) 0%, rgba(10, 12, 17, 0.95) 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-top: 18px;
}

.tax-equation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .tax-equation-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tax-eq-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tax-eq-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
}

.tax-eq-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.tax-eq-sub {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FOMO Community Perspectives Marquee (Infinite Running Track)
   ========================================================================== */
.fomo-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 18px 0 14px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  padding: 6px 0;
}

.fomo-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-scroll 45s linear infinite;
  will-change: transform;
}

.fomo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-card {
  width: 330px;
  flex-shrink: 0;
  background: rgba(16, 19, 27, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  cursor: default;
}

.marquee-card:hover {
  border-color: rgba(0, 245, 140, 0.55);
  transform: translateY(-4px);
  background: rgba(20, 25, 36, 0.98);
  box-shadow: 0 10px 28px rgba(0, 245, 140, 0.14);
}

.marquee-card .thesis-body {
  font-size: 13px;
  color: #c5cbd8;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ==========================================================================
   Page-Wide High-End Animations & Micro-Interactions
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-main-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.vault-reactor-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.calc-card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.pillars-grid {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.card {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.26s both;
  transition: all 0.25s ease;
}

.card:hover {
  border-color: var(--border-active);
}

/* Pulsing radar dot */
.pulse-dot {
  animation: pulse-dot 1.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 245, 140, 0.6); }
  70% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 0 6px rgba(0, 245, 140, 0); }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 0 0 rgba(0, 245, 140, 0); }
}

/* Shimmer on active progress bar */
.progress-fill {
  background: linear-gradient(90deg, var(--fomo-green) 0%, var(--blue-accent) 45%, #ffffff 60%, var(--fomo-green) 100%);
  background-size: 200% 100%;
  animation: bar-shimmer 2.8s linear infinite;
}

@keyframes bar-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Interactive Card & Button Hover Micro-Interactions */
.pillar-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 245, 140, 0.45);
  box-shadow: 0 10px 26px rgba(0, 245, 140, 0.12);
}

.stepper-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.stepper-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.1);
}

.security-card {
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.security-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 140, 0.45);
  box-shadow: 0 8px 24px rgba(0, 245, 140, 0.1);
}

.calc-chip {
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-chip:active {
  transform: scale(0.95);
}

.btn-primary {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 140, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-wallet {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wallet:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 140, 0.35);
}
