/* BullStrategy — shared styles
   Extracted from the design-tool export (JPEG Bull.dc.html, Landing A + Dash A). */

:root {
  --gold: #F2A900;
  --gold-hover: #FFB81C;
  --black: #000000;
  --grey-1c: #1C1C1E;
  --grey-2c: #2C2C2E;
  --grey-3a: #3A3A3C;
  --muted: #8E8E93;
  --white: #FFFFFF;
  --red: #FF453A;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--black);
}

body {
  font-family: 'Inter', -apple-system, 'SF Pro Text', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--white);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
::selection { background: var(--gold); color: var(--black); }

button { touch-action: manipulation; }

.mono { font-family: 'JetBrains Mono', monospace; }

/* ---------- keyframes (from the export, used by the "How it Works" icons) ---------- */
@keyframes jbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes jbCoin { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { transform: translateY(26px); opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
@keyframes jbSweep { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(104px); } }
@keyframes jbClaim { 0%, 15% { background: var(--grey-2c); } 30%, 70% { background: var(--gold); } 85%, 100% { background: var(--grey-2c); } }
@keyframes jbFlip { 0%, 35% { transform: rotateY(0deg); } 55%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@keyframes jbFlick { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.14, 0.9); } }
@keyframes jbBurnTok { 0% { transform: translateY(0) scale(1); opacity: 1; } 60% { transform: translateY(22px) scale(1); opacity: 0.9; } 100% { transform: translateY(30px) scale(0.4); opacity: 0; } }

/* =========================================================
   LANDING (Landing A)
   ========================================================= */

.lp-root { position: relative; isolation: isolate; }

.lp-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.lp-bg > div { position: absolute; will-change: transform; }
.lp-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }

.lp-content { position: relative; z-index: 1; }

.lp-nav {
  max-width: 1080px; margin: 0 auto; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { color: var(--gold); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; }
.lp-nav-links { display: flex; align-items: center; gap: 28px; }

.btn-ghost-text {
  background: none; border: none; color: var(--muted); font-size: 13px;
  font-family: inherit; cursor: pointer; letter-spacing: 0.02em; padding: 0;
}
.btn-ghost-text:hover { color: var(--white); }

.btn-solid {
  background: var(--gold); color: var(--black); border: none; border-radius: 999px;
  padding: 9px 22px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; letter-spacing: 0.02em;
}
.btn-solid:hover { background: var(--gold-hover); }

.btn-solid-lg {
  background: var(--gold); color: var(--black); border: none; border-radius: 999px;
  padding: 17px 44px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-solid-lg:hover { background: var(--gold-hover); }

.btn-outline-lg {
  background: transparent; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: 17px 44px; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-outline-lg:hover { color: var(--gold-hover); border-color: var(--gold-hover); }

.hero {
  text-align: center; padding: 110px 32px 90px;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.hero-eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 0.28em; margin-bottom: 28px; }
.hero h1 {
  margin: 0; font-size: 92px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--white); max-width: 900px; line-height: 1.08; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 14px; margin-top: 56px; }

.thesis { max-width: 1080px; margin: 0 auto; padding: 80px 32px 40px; }
.thesis-eyebrow { color: var(--muted); font-size: 12px; letter-spacing: 0.28em; text-align: center; margin-bottom: 32px; }

.serp { position: relative; width: 100%; aspect-ratio: 1000 / 1780; }
.serp svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.step {
  position: absolute; z-index: 3; width: 320px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.step.revealed { opacity: 1; transform: translateY(0); }
.step-num { color: var(--gold); font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.1em; }
.step-title { color: var(--white); font-size: 23px; font-weight: 600; }
.step-body { color: var(--muted); font-size: 16px; line-height: 1.6; text-wrap: pretty; }

.step-1 { top: 4%; left: 2%; }
.step-2 { top: 22%; right: 0; width: 320px; }
.step-3 { top: 48%; left: 2%; width: 300px; }
.step-4 { top: 72%; right: 0; }

.icon-accrue { position: relative; width: 110px; height: 56px; margin-top: 6px; }
.icon-accrue .coin { position: absolute; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); opacity: 0; animation: jbCoin 2.1s ease-in infinite; }
.icon-accrue .coin:nth-child(1) { left: 16px; }
.icon-accrue .coin:nth-child(2) { left: 42px; animation-delay: 0.7s; }
.icon-accrue .coin:nth-child(3) { left: 68px; animation-delay: 1.4s; }
.icon-accrue .tray { position: absolute; bottom: 0; left: 0; width: 94px; height: 16px; background: var(--grey-1c); border-radius: 5px; }
.icon-accrue .line { position: absolute; bottom: 13px; left: 8px; width: 78px; height: 2px; background: var(--gold); opacity: 0.6; }

.icon-acquire { position: relative; width: 130px; height: 56px; margin-top: 6px; }
.icon-acquire .dot { position: absolute; bottom: 0; width: 12px; height: 12px; border-radius: 3px; background: var(--grey-2c); animation: jbClaim 2.8s infinite; }
.icon-acquire .dot:nth-child(1) { left: 8px; animation-delay: 0.3s; }
.icon-acquire .dot:nth-child(2) { left: 36px; animation-delay: 0.65s; }
.icon-acquire .dot:nth-child(3) { left: 64px; animation-delay: 1s; }
.icon-acquire .dot:nth-child(4) { left: 92px; animation-delay: 1.35s; }
.icon-acquire .claw { position: absolute; bottom: 0; left: 0; width: 20px; height: 28px; border: 1.5px solid var(--gold); border-bottom: none; border-radius: 8px 8px 0 0; animation: jbSweep 2.8s ease-in-out infinite; }

.icon-relist { width: 130px; height: 56px; margin-top: 6px; perspective: 300px; display: flex; align-items: center; }
.icon-relist .flipper { position: relative; width: 88px; height: 34px; transform-style: preserve-3d; animation: jbFlip 3.4s ease-in-out infinite; }
.icon-relist .face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.icon-relist .face.front { border: 1px solid var(--muted); color: var(--muted); }
.icon-relist .face.back { transform: rotateY(180deg); border: 1px solid var(--gold); color: var(--gold); }

.icon-burn { position: relative; width: 150px; height: 56px; margin-top: 6px; }
.icon-burn .tok { position: absolute; left: 24px; top: 2px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--gold); animation: jbBurnTok 2.6s ease-in infinite; }
.icon-burn .flame { position: absolute; left: 17px; bottom: 0; width: 26px; height: 30px; background: var(--gold); border-radius: 50% 50% 44% 44% / 72% 72% 28% 28%; transform-origin: 50% 100%; animation: jbFlick 1.1s ease-in-out infinite; }
.icon-burn .flame-core { position: absolute; left: 25px; bottom: 0; width: 10px; height: 13px; background: var(--black); border-radius: 50% 50% 44% 44% / 70% 70% 30% 30%; }

.par { position: absolute; z-index: 1; }
.par-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block; cursor: pointer; transition: box-shadow 0.3s ease, transform 0.3s ease; }
.par-inner img:hover { box-shadow: 0 0 28px rgba(242, 169, 0, 0.4); transform: scale(1.05); }
.par-1 { top: 1%; left: 66%; width: 152px; height: 152px; }
.par-2 { top: 15%; left: 40%; width: 108px; height: 108px; }
.par-3 { top: 25%; left: 8%; width: 168px; height: 168px; }
.par-4 { top: 38%; left: 44%; width: 138px; height: 138px; }
.par-5 { top: 50%; left: 70%; width: 122px; height: 122px; }
.par-6 { top: 62%; left: 40%; width: 178px; height: 178px; }
.par-7 { top: 84%; left: 30%; width: 140px; height: 140px; }

/* mobile serpentine variant */
.serp-m { position: relative; padding: 8px 0 8px 64px; display: none; }
.serp-m svg { position: absolute; left: 14px; top: 0; height: 100%; width: 36px; overflow: visible; }
.serp-m .steps-col { display: flex; flex-direction: column; gap: 56px; }
.serp-m .step { position: static; width: auto; }
.serp-m .mobile-thumbs { display: flex; gap: 10px; }
.serp-m .mobile-thumbs > div { width: 104px; height: 104px; }
.serp-m .mobile-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; }

.lp-footer {
  border-top: 1px solid var(--grey-1c); padding: 56px 32px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.footer-brand { color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; }
.social-row { display: flex; gap: 12px; }
.social-badge {
  width: 30px; height: 30px; border: 1px solid var(--muted); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  font-size: 11px; cursor: pointer; text-decoration: none;
}
.social-badge:hover { border-color: var(--gold); color: var(--gold); }
.ca-btn {
  background: none; border: none; cursor: pointer; color: var(--gold);
  font-family: 'JetBrains Mono', monospace; font-size: 13px; letter-spacing: 0.04em; padding: 0;
}
.ca-btn:hover { color: var(--gold-hover); }
.ca-btn:disabled { color: var(--muted); cursor: default; }
.disclaimer { color: var(--muted); font-size: 12px; max-width: 480px; text-align: center; line-height: 1.6; }

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 400;
  background: var(--grey-1c); color: var(--gold); font-size: 13px; letter-spacing: 0.02em;
  padding: 12px 22px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.toast.show { opacity: 1; }

@media (max-width: 720px) {
  .hero { padding: 90px 24px 70px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn-solid-lg, .btn-outline-lg { padding: 15px 0; width: 100%; text-align: center; }
  .serp { display: none; }
  .serp-m { display: block; }
  .lp-nav-links { gap: 16px; }
}

/* =========================================================
   DASHBOARD (Dash A) — /vault
   ========================================================= */

.dash-mobile { display: flex; justify-content: center; }
.dash-mobile-inner {
  width: 100%; max-width: 430px; min-height: 100vh; display: flex; flex-direction: column;
  padding: 0 20px; position: relative; box-sizing: border-box;
}
.dash-mobile-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 4px 0; }
.menu-btn { background: none; border: none; cursor: pointer; padding: 8px 4px; display: flex; flex-direction: column; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--white); }

.menu-pop {
  position: absolute; top: 62px; right: 20px; z-index: 250; background: var(--grey-1c);
  border-radius: 16px; padding: 8px; display: none; flex-direction: column; min-width: 170px;
}
.menu-pop.open { display: flex; }
.menu-pop button {
  background: none; border: none; text-align: left; color: var(--muted); font-size: 14px;
  font-family: inherit; cursor: pointer; padding: 11px 16px; border-radius: 10px;
}
.menu-pop button:hover { color: var(--white); background: var(--grey-2c); }

.treasury-block { text-align: center; margin-top: 54px; }
.treasury-label { color: var(--muted); font-size: 12px; letter-spacing: 0.26em; margin-bottom: 18px; }
.treasury-value {
  color: var(--gold); font-size: 62px; font-weight: 500; letter-spacing: 0.05em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.treasury-value .glyph { font-size: 44px; vertical-align: 8px; margin-right: 6px; }
.treasury-usd { color: var(--muted); font-size: 15px; margin-top: 14px; }

.stat-row { display: flex; justify-content: center; margin-top: 30px; }
.stat-row-inner { display: flex; text-align: center; }
.stat { padding: 0 22px; display: flex; flex-direction: column; gap: 6px; }
.stat-val { color: var(--white); font-size: 15px; font-weight: 600; white-space: nowrap; }
.stat-lbl { color: var(--muted); font-size: 10px; letter-spacing: 0.16em; }
.stat-div { width: 1px; background: var(--grey-1c); }

.mini-stats { margin-top: 28px; background: var(--grey-1c); border-radius: 16px; padding: 4px 16px; }
.mini-stat-row {
  display: flex; align-items: center; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--grey-2c);
}
.mini-stat-row:last-child { border-bottom: none; }
.mini-stat-lbl { color: var(--muted); font-size: 12px; }
.mini-stat-val { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.mini-stat-val .neg { color: var(--red); }
.mini-stat-val .pos { color: var(--gold); }

.history-block { margin-top: 36px; }
.history-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.history-title { color: var(--muted); font-size: 12px; letter-spacing: 0.26em; }
.streaming { display: flex; align-items: center; gap: 6px; }
.streaming-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.streaming span { color: var(--muted); font-size: 11px; }
.history-list { display: flex; flex-direction: column; gap: 10px; }
.history-row {
  background: var(--grey-1c); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: inherit;
}
.history-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.history-thumb {
  width: 40px; height: 40px; border-radius: 50%; background: var(--grey-2c); color: var(--gold);
  font-size: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.history-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.history-tag-row { display: flex; align-items: center; gap: 8px; }
.history-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.08em; color: var(--gold);
  border: 1px solid var(--grey-3a); border-radius: 5px; padding: 2px 6px; flex-shrink: 0;
}
.history-title2 { color: var(--white); font-size: 14px; font-weight: 500; }
.history-meta { color: var(--muted); font-size: 12px; }
.history-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.history-amt { font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--gold); }
.history-link { color: var(--muted); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.history-empty { color: var(--muted); font-size: 13px; padding: 28px 0; text-align: center; }

.vault-block { margin-top: 38px; }
.vault-label { color: var(--muted); font-size: 12px; letter-spacing: 0.26em; margin-bottom: 14px; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vault-tile { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--grey-1c); display: flex; align-items: center; justify-content: center; }
.vault-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vault-more { color: var(--muted); font-size: 13px; font-weight: 500; }
.vault-empty { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding: 24px 0; text-align: center; }

.dash-mobile-actions {
  position: sticky; bottom: 0; background: var(--black); padding: 14px 0 24px;
  display: flex; flex-direction: column; gap: 10px; margin-top: auto;
}
.btn-outline-full {
  width: 100%; background: transparent; color: var(--gold); border: 1px solid var(--gold);
  border-radius: 999px; padding: 17px 0; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-outline-full:hover { color: var(--gold-hover); border-color: var(--gold-hover); }
.btn-solid-full {
  width: 100%; background: var(--gold); color: var(--black); border: none;
  border-radius: 999px; padding: 17px 0; font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
}
.btn-solid-full:hover { background: var(--gold-hover); }

/* --- desktop dashboard --- */
.dash-desk { max-width: 1160px; margin: 0 auto; padding: 0 40px; box-sizing: border-box; min-height: 100vh; }
.dash-desk-nav { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; }
.dash-desk-nav-right { display: flex; align-items: center; gap: 26px; }
.btn-row { display: flex; gap: 10px; }
.btn-outline-sm {
  background: transparent; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn-outline-sm:hover { color: var(--gold-hover); border-color: var(--gold-hover); }
.btn-solid-sm {
  background: var(--gold); color: var(--black); border: none; border-radius: 999px;
  padding: 10px 24px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  white-space: nowrap; flex-shrink: 0;
}
.btn-solid-sm:hover { background: var(--gold-hover); }

.dash-desk-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
  gap: 48px; align-items: start; padding: 36px 0 80px;
}
.dash-desk .treasury-block { margin-top: 24px; }
.dash-desk .treasury-value { font-size: clamp(56px, 8.5vw, 96px); }
.dash-desk .treasury-value .glyph { font-size: 0.7em; vertical-align: 0.14em; margin-right: 8px; }
.dash-desk .treasury-usd { font-size: 16px; margin-top: 16px; }
.dash-desk .stat-row { margin-top: 38px; }
.dash-desk .stat { padding: 0 28px; }
.dash-desk .stat-val { font-size: 17px; }
.dash-desk .mini-stats { margin-top: 38px; padding: 4px 20px; }
.dash-desk .mini-stat-row { padding: 13px 0; }
.dash-desk .mini-stat-lbl { font-size: 13px; }
.dash-desk .mini-stat-val { font-size: 14px; }
.dash-desk .vault-block { margin-top: 44px; }
.dash-desk .vault-grid { gap: 12px; }
.dash-desk .vault-tile { border-radius: 12px; }

@media (max-width: 799px) {
  .dash-desk { display: none; }
}
@media (min-width: 800px) {
  .dash-mobile { display: none; }
}
