@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --gold: #c9a84c;
  --gold-light: #e8c96e;
  --gold-dim: rgba(201,168,76,0.15);
  --dark: #0a0a0f;
  --dark2: #11111a;
  --dark3: #1a1a28;
  --dark4: #22223a;
  --text: #e8e6e0;
  --text-dim: #9a9890;
  --green: #3ddc84;
  --red: #ff5252;
  --blue: #4fc3f7;
  --border: rgba(201,168,76,0.2);
  --accent: #5b6ef5;
  --accent2: #00d4aa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   TICKER BAR
══════════════════════════════════════ */
.ticker-bar {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  font-size: 0.75rem;
  color: #555;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 0;
  height: 34px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-inner::-webkit-scrollbar { display: none; }
.ticker-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  border-right: 1px solid #e8eaed;
  flex-shrink: 0;
  height: 100%;
}
.ticker-item:first-child { padding-left: 0; }
.ticker-label { color: #888; }
.ticker-value { font-weight: 600; color: #1a1a2e; }
.ticker-up    { color: #16a34a; font-weight: 600; }
.ticker-down  { color: #dc2626; font-weight: 600; }
.ticker-nav-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  font-size: 0.9rem;
  padding: 0 6px;
  flex-shrink: 0;
  line-height: 1;
}
.ticker-skeleton {
  display: inline-block;
  width: 48px; height: 11px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 4px;
  vertical-align: middle;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (max-width: 768px) {
  .ticker-inner { padding: 0 8px 0 4px; }
  .ticker-nav-btn { display: flex; align-items: center; }
  #tickerPrev { display: none; }
}

/* ══════════════════════════════════════
   MAIN NAV
══════════════════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1a2e;
  letter-spacing: -0.2px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  text-decoration: none;
  color: #444;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.main-nav a:hover  { background: #f5f5f5; color: #1a1a2e; }
.main-nav a.active { background: #fff4ed; color: #f97316; font-weight: 600; }

/* ══════════════════════════════════════
   HAMBURGER + DRAWER
══════════════════════════════════════ */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: #1a1a2e;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: #ccc;
  border-radius: 2px;
}
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.5);
}
.drawer-overlay.open { display: block; }
.drawer-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 72vw;
  max-width: 280px;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.24s ease, visibility 0s linear 0.24s;
  overflow-y: auto;
}
.drawer-panel.open {
  visibility: visible;
  transform: translateX(0);
  transition: transform 0.24s ease, visibility 0s linear 0s;
}
.drawer-close {
  align-self: flex-start;
  margin: 4px 0 12px 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.drawer-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
}
.drawer-panel a:last-child { border-bottom: none; }
.drawer-panel a.active {
  color: #f97316;
  font-weight: 600;
  background: #fff8f4;
}
@media (max-width: 680px) {
  .main-nav      { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 681px) {
  .drawer-overlay,
  .drawer-panel { display: none !important; }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: #f8f9fc;
  border-bottom: 1px solid #e8eaed;
  padding: 52px 20px 44px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #f97316;
  background: #fff4ed;
  border: 1px solid #fed7aa;
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 2.9rem);
  line-height: 1.25;
  color: #0f172a;
  max-width: 760px;
  margin: 0 auto 16px;
}
.hero h1 em {
  font-style: normal;
  color: #f97316;
}
.hero h1 .h1-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.78em;
  color: #334155;
  margin-top: 8px;
  letter-spacing: -0.01em;
}
.hero-desc {
  font-size: 1rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.65;
}
.hero-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-meta span { display: flex; align-items: center; gap: 5px; }

/* ── Hero cover image ── */
.hero-cover {
  max-width: 860px;
  margin: 0 auto 36px;
  padding: 0 20px;
}
.hero-cover-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
@media (max-width: 640px) {
  .hero-cover-img { border-radius: 10px; }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hstat {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #e2e8f0;
}
.hstat:last-child { border-right: none; }
.hstat-value {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 6px;
}
.hstat-value.orange { color: #f97316; }
.hstat-value.green  { color: #16a34a; }
.hstat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ══════════════════════════════════════
   LAYOUT & CONTENT
══════════════════════════════════════ */
.content-wrap { background: var(--dark); padding: 60px 0 80px; }
.container { max-width: 820px; margin: 0 auto; padding: 0 24px; }

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.55rem;
  color: #fff;
  margin: 56px 0 20px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.4;
}
h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--gold-light);
  margin: 32px 0 12px;
}
p { margin-bottom: 16px; color: var(--text); }

/* ── TABLE ── */
.inst-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 40px;
  font-size: 0.9rem;
}
.inst-table thead th {
  background: var(--dark4);
  color: var(--gold);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.inst-table tbody tr {
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: background 0.2s;
}
.inst-table tbody tr:hover { background: var(--dark3); }
.inst-table tbody td { padding: 13px 16px; }
.inst-table td:nth-child(2) { font-weight: 600; }

@media (max-width: 640px) {
  .inst-table thead { display: none; }
  .inst-table, .inst-table tbody,
  .inst-table tr, .inst-table td { display: block; width: 100%; }
  .inst-table tbody tr {
    background: var(--dark3);
    border: 1px solid rgba(201,168,76,0.12);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
  }
  .inst-table tbody tr:hover { background: var(--dark4); }
  .inst-table td {
    padding: 4px 0;
    border: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .inst-table td:nth-child(1)::before { content: '🏦 '; }
  .inst-table td:nth-child(2) {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
    padding: 6px 0 4px;
  }
  .inst-table td:nth-child(2)::before { content: ''; }
  .inst-table td:nth-child(3) { padding: 2px 0; }
  .inst-table td:nth-child(4) {
    color: var(--text-dim);
    font-size: 0.82rem;
    padding-top: 6px;
    border-top: 1px solid rgba(201,168,76,0.08);
    margin-top: 4px;
    display: block;
    line-height: 1.5;
  }
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-bull    { background: rgba(61,220,132,0.15); color: var(--green); }
.badge-bear    { background: rgba(255,82,82,0.12);  color: var(--red);   }
.badge-neutral { background: rgba(79,195,247,0.12); color: var(--blue);  }

/* ── CALLOUT ── */
.callout {
  background: var(--dark3);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.95rem;
}
.callout-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

/* ── SCENARIOS ── */
.scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
@media (max-width: 580px) { .scenarios { grid-template-columns: 1fr; } }
.scenario-card {
  background: var(--dark3);
  border: 1px solid;
  border-radius: 14px;
  padding: 24px;
}
.scenario-card.bull { border-color: rgba(61,220,132,0.3); }
.scenario-card.bear { border-color: rgba(255,82,82,0.3);  }
.sc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.sc-title.bull { color: var(--green); }
.sc-title.bear { color: var(--red);   }
.sc-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
}
.sc-price.bull { color: var(--green); }
.sc-price.bear { color: var(--red);   }
.sc-list { list-style: none; }
.sc-list li { font-size: 0.88rem; color: var(--text-dim); padding: 4px 0; }
.sc-list li::before { content: '→ '; color: var(--gold); }

/* ── FACTOR LIST ── */
.factor-list { list-style: none; counter-reset: factor; margin: 24px 0; }
.factor-list li {
  counter-increment: factor;
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.factor-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
}
.factor-content h4 { font-weight: 600; color: #fff; margin-bottom: 6px; }
.factor-content p  { margin: 0; font-size: 0.92rem; color: var(--text-dim); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-q { font-weight: 600; color: #fff; margin-bottom: 10px; font-size: 1rem; }
.faq-q::before { content: 'Q  '; color: var(--gold); }
.faq-a { color: var(--text-dim); font-size: 0.92rem; }

/* ── TOC ── */
.toc {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 40px 0;
}
.toc-title {
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}
.toc ol { padding-left: 18px; }
.toc li { margin-bottom: 8px; }
.toc a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.toc a:hover { color: var(--gold-light); }

/* ── DISCLAIMER ── */
.disclaimer {
  background: rgba(255,82,82,0.06);
  border: 1px solid rgba(255,82,82,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 48px 0 0;
}
.disclaimer strong { color: #ff8a80; }

/* ── SCROLL TO TOP ── */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f97316;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(249,115,22,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s;
  z-index: 500;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: #ea6c08;
  box-shadow: 0 6px 20px rgba(249,115,22,0.5);
  transform: translateY(-3px);
}
.scroll-top-btn:active { transform: translateY(0); }
.scroll-top-btn svg {
  width: 20px; height: 20px;
  stroke: #fff; fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 680px) {
  .scroll-top-btn { right: 16px; bottom: 24px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 680px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    padding: 36px 20px 28px;
    gap: 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: 'DM Sans', sans-serif;
}
.footer-logo-crypto { color: var(--text); }
.footer-logo-rank   { color: #3b82f6; }
.footer-brand-desc {
  font-size: 0.82rem;
  color: rgba(154,152,144,0.7);
  line-height: 1.75;
  margin: 0;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-col a {
  color: rgba(154,152,144,0.75);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 5px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-copy {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-disclaimer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-disclaimer-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.footer-disclaimer p {
  font-size: 0.76rem;
  color: rgba(154,152,144,0.55);
  line-height: 1.75;
  margin: 0;
}
footer a { color: var(--gold); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.7s ease 0.10s both; }
.hero h1      { animation: fadeUp 0.7s ease 0.22s both; }
.hero-meta    { animation: fadeUp 0.7s ease 0.38s both; }