*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#080808;--surface:#0f0f0f;--surface2:#161616;
  --gold:#c9a84c;--gold-dim:rgba(201,168,76,0.08);--gold-border:rgba(201,168,76,0.2);
  --text:#f0ece4;--text-muted:#6b6560;--text-dim:#3a3530;
  --red:#e05555;--green:#4caf7d;
}
@font-face{font-display:swap}
html{scroll-behavior:smooth}
body{min-height:100vh;background:var(--bg);font-family:'DM Mono',monospace;color:var(--text);line-height:1.6}
body::before{
  content:'';position:fixed;inset:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events:none;z-index:0;opacity:0.5;
}
body::after{
  content:'';position:fixed;inset:0;
  background-image:radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size:28px 28px;
  pointer-events:none;z-index:0;opacity:1;
}
.page{position:relative;z-index:1;max-width:1800px;width:95%;margin:0 auto;padding:40px 32px 80px}

/* HEADER */
header{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 0;
  animation:fadeUp 0.6s ease both;
}
.brand{display:flex;align-items:center;gap:14px;cursor:pointer}
/* STICKY NAV */
.sticky-nav{
  position:sticky;
  top:0;
  z-index:500;
  background:rgba(8,8,8,0.95);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--text-dim);
}
.sticky-nav header{
  border-bottom:none;
  margin-bottom:0;
  padding:16px 24px;
  max-width:1800px;
  margin:0 auto;
}
.sticky-nav .nav-tabs{
  border-bottom:none;
  margin-bottom:0;
  margin-top:0;
  padding:0 24px;
  max-width:1800px;
  margin:0 auto;
  border-top:1px solid rgba(58,53,48,0.5);
}

.brand-mark{
  width:48px;height:48px;border-radius:50%;
  border:1.5px solid var(--gold);
  box-shadow:0 0 12px rgba(201,168,76,0.4),0 0 28px rgba(201,168,76,0.15),inset 0 0 12px rgba(201,168,76,0.05);
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 40% 40%,#1a1400,#080808);flex-shrink:0;
}
.brand-name{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--text);letter-spacing:2px}
.brand-tag{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;margin-top:2px}
.nav-date{font-size:10px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}

/* NAV TABS */
.nav-tabs{
  display:flex;gap:0;
  border-bottom:1px solid var(--text-dim);
  margin-bottom:64px;
  margin-top:24px;
}
.nav-tab{
  padding:12px 28px;
  font-size:10px;letter-spacing:3px;text-transform:uppercase;
  color:var(--text-muted);cursor:pointer;
  border-bottom:2px solid transparent;
  transition:color 0.2s,border-color 0.2s;
  margin-bottom:-1px;
  background:transparent;border-top:none;border-left:none;border-right:none;
  font-family:'DM Mono',monospace;
}
.nav-tab:hover{color:var(--text)}
.nav-tab.active{color:var(--gold);border-bottom-color:var(--gold)}

/* VIEWS */
.view{display:none}
.view.active{display:block}

/* TICKER */
.ticker-wrap{
  overflow:hidden;border-top:1px solid var(--text-dim);border-bottom:1px solid var(--text-dim);
  padding:10px 0;margin-bottom:64px;
}
.ticker-track{display:flex;gap:32px;white-space:nowrap;animation:ticker 40s linear infinite;will-change:transform}
.ticker-item{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:1px;flex-shrink:0;padding:0 8px}
.ticker-name{color:var(--text-muted)}
.ticker-price{color:var(--text);font-weight:500}
.ticker-change{font-size:10px}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* SECTION */
.section{margin-bottom:72px}
.section-header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:28px;padding-bottom:16px;border-bottom:1px solid var(--text-dim)}
.section-label{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--text);letter-spacing:0.5px}
.section-meta{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}

/* CHART TABS */
.chart-tabs{display:flex;gap:0;margin-bottom:24px;border:1px solid var(--text-dim)}
.chart-tab{
  padding:8px 24px;font-family:'DM Mono',monospace;font-size:11px;letter-spacing:2px;
  text-transform:uppercase;cursor:pointer;color:var(--text-muted);
  transition:all 0.2s;border:none;background:transparent;flex:1;text-align:center;
}
.chart-tab.active{background:var(--gold-dim);color:var(--gold);border-bottom:2px solid var(--gold)}
.chart-tab:hover:not(.active){color:var(--text);background:var(--surface)}

/* SCREENSHOTS */
.screenshots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(440px,1fr));gap:2px}
.screenshot-card{background:var(--surface);position:relative;overflow:hidden;cursor:zoom-in;transition:opacity 0.2s}
.screenshot-card:hover{opacity:0.92}
.screenshot-img-wrap{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden}
.screenshot-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.6s ease}
.screenshot-card:hover img{transform:scale(1.03)}
.screenshot-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,8,8,0.9) 0%,transparent 40%);display:flex;align-items:flex-end;padding:20px}
.screenshot-info-inner{display:flex;justify-content:space-between;align-items:flex-end;width:100%}
.screenshot-coin{font-family:'Playfair Display',serif;font-size:18px;font-weight:700;color:var(--gold);letter-spacing:1px}
.screenshot-coin-sub{font-size:9px;color:var(--text-muted);letter-spacing:2px;margin-top:2px}
.screenshot-date{font-size:10px;color:var(--text-muted);letter-spacing:1px}
.screenshot-zoom{position:absolute;top:16px;right:16px;width:28px;height:28px;background:rgba(201,168,76,0.1);border:1px solid var(--gold-border);display:flex;align-items:center;justify-content:center;font-size:12px;opacity:0;transition:opacity 0.2s}
.screenshot-card:hover .screenshot-zoom{opacity:1}
.empty-state{padding:60px 40px;text-align:center;border:1px solid var(--text-dim);color:var(--text-muted);font-size:12px;letter-spacing:2px}

/* LIGHTBOX */
.lightbox{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.96);z-index:1000;align-items:center;justify-content:center;cursor:zoom-out}
.lightbox.open{display:flex}
.lightbox img{max-width:94vw;max-height:90vh;border:1px solid var(--gold-border);border-radius:2px}
.lightbox-close{position:fixed;top:24px;right:32px;font-size:20px;color:var(--gold);cursor:pointer;background:none;border:none;font-family:'DM Mono',monospace;letter-spacing:2px;opacity:0.7}
.lightbox-close:hover{opacity:1}

/* MARKET */
.market-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}
@media(max-width:700px){.market-grid{grid-template-columns:repeat(2,1fr)}}
.coin-card{background:var(--surface);padding:20px 18px;transition:background 0.2s;border-left:2px solid transparent}
.coin-card:hover{background:var(--surface2);border-left-color:var(--gold)}
.coin-rank{font-size:9px;color:var(--text-dim);letter-spacing:2px;margin-bottom:8px}
.coin-name{font-size:13px;color:var(--text);margin-bottom:2px;letter-spacing:0.3px}
.coin-symbol{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.coin-price{font-family:'Playfair Display',serif;font-size:18px;font-weight:700;color:var(--gold);margin:12px 0 6px;letter-spacing:-0.5px}
.coin-change{font-size:10px;letter-spacing:1px;margin-bottom:4px}
.coin-cap{font-size:9px;color:var(--text-muted);letter-spacing:1px}
.up{color:var(--green)}.down{color:var(--red)}

/* NEWS */
.news-list{display:flex;flex-direction:column;gap:2px}
.news-item{background:var(--surface);padding:28px 32px;border-left:2px solid transparent;transition:border-color 0.2s,background 0.2s;position:relative}
.news-item:hover{border-left-color:var(--gold);background:var(--surface2)}
.news-meta-row{display:flex;align-items:center;gap:16px;margin-bottom:10px}
.news-date{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}
.news-title{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--text);line-height:1.3;margin-bottom:14px;letter-spacing:0.2px;max-width:760px}
.news-body{font-size:12px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px;max-width:760px}
.news-body p{margin-bottom:10px}
.news-body p:last-child{margin-bottom:0}
.news-body .news-list-item{
  padding-left:16px;
  border-left:2px solid var(--gold);
  margin-bottom:14px;
  margin-top:14px;
  color:var(--text);
  font-size:12px;
  letter-spacing:0.5px;
}
.news-body .news-section-title{
  color:var(--text);
  font-size:12px;
  font-weight:500;
  letter-spacing:1px;
  margin-top:16px;
  margin-bottom:8px;
  text-transform:uppercase;
  font-size:10px;
  color:var(--gold);
}
.news-footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px;flex-wrap:wrap;gap:12px}
.news-share{
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 14px;
  border:1px solid var(--text-dim);
  color:var(--text-muted);
  font-size:9px;letter-spacing:2px;text-transform:uppercase;
  text-decoration:none;cursor:pointer;background:transparent;
  font-family:'DM Mono',monospace;
  transition:border-color 0.2s,color 0.2s,background 0.2s;
}
.news-share:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-dim)}
.news-share svg{width:12px;height:12px;fill:currentColor;flex-shrink:0}
.empty-news{padding:60px 40px;text-align:center;border:1px solid var(--text-dim);color:var(--text-muted);font-size:12px;letter-spacing:2px}

/* ── INSIGHTS STYLES ── */
.sentiment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2px}
.sentiment-card{background:var(--surface);padding:28px;border-left:2px solid transparent;transition:border-color 0.2s}
.sentiment-card:hover{border-left-color:var(--gold)}
.sc-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;margin-bottom:12px}
.sc-value{font-family:'Playfair Display',serif;font-size:clamp(24px,4.5vw,36px);font-weight:700;color:var(--gold);line-height:1;margin-bottom:6px}
.sc-sub{font-size:11px;color:var(--text-muted);letter-spacing:1px}
.sc-bar{height:3px;background:var(--surface2);margin-top:16px;overflow:hidden}
.sc-bar-fill{height:100%;transition:width 1s ease}

.fg-large{
  background:var(--surface);
  padding:32px;
  display:flex;gap:40px;align-items:center;flex-wrap:wrap;
  border:1px solid rgba(255,255,255,0.04);
  box-shadow:inset 0 0 40px rgba(0,0,0,0.3);
}
.fg-gauge-large{position:relative;width:200px;height:200px;flex-shrink:0}
.fg-gauge-large svg{display:block}
.fg-track{fill:none;stroke:var(--surface2);stroke-width:14}
.fg-fill{fill:none;stroke-width:14;stroke-linecap:round;transition:stroke-dashoffset 1.4s cubic-bezier(0.34,1.56,0.64,1);filter:url(#fgGlow)}
.fg-center-large{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  pointer-events:none;
}
.fg-bg-score{
  position:absolute;
  font-family:'Playfair Display',serif;
  font-size:100px;font-weight:700;
  color:var(--text);
  opacity:0.04;
  line-height:1;
  user-select:none;
  top:50%;left:50%;
  transform:translate(-50%,-46%);
}
.fg-big-val{
  font-family:'Playfair Display',serif;
  font-size:clamp(30px,5.5vw,44px);font-weight:700;line-height:1;
  animation:scorebreath 3s ease-in-out infinite;
  position:relative;z-index:1;
}
@keyframes scorebreath{
  0%,100%{opacity:1}
  50%{opacity:0.75}
}
.fg-big-lbl{font-size:9px;color:var(--text-muted);letter-spacing:2px;margin-top:4px;position:relative;z-index:1}
.fg-detail{flex:1;min-width:0}
.fg-classification{
  font-family:'Playfair Display',serif;
  font-size:28px;font-weight:700;margin-bottom:4px;
}
.fg-updated{
  font-size:9px;color:#555;
  letter-spacing:2px;margin-bottom:20px;
}
.fg-history{display:flex;gap:8px;align-items:flex-end;height:48px}
.fg-bar-item{flex:1;border-radius:1px;min-height:4px;position:relative;cursor:default}
.fg-bar-item:hover::after{
  content:attr(data-tip);position:absolute;
  bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);
  background:var(--surface2);color:var(--text);
  font-size:9px;padding:3px 6px;white-space:nowrap;
  letter-spacing:1px;pointer-events:none;z-index:10;
}
.fg-scale-row{display:flex;justify-content:space-between;margin-top:6px;font-size:8px;color:var(--text-dim);letter-spacing:1px}
.fg-scale-wrap{margin-top:10px}
.fg-scale-track{
  display:flex;gap:2px;height:10px;border-radius:2px;overflow:hidden;
  margin-bottom:4px;
}
.fg-scale-seg{
  flex:1;border-radius:1px;
  transition:opacity 0.3s,transform 0.3s;
  opacity:0.35;
}
.fg-scale-seg.active{
  opacity:1;
  transform:scaleY(1.4);
  transform-origin:center;
  border-radius:2px;
  box-shadow:0 0 8px currentColor;
  position:relative;
}
.fg-scale-labels{
  display:flex;justify-content:space-between;
  font-size:8px;color:var(--text-dim);letter-spacing:1px;
  margin-top:3px;
}

.dominance-wrap{background:var(--surface);padding:32px;display:flex;gap:40px;align-items:center;flex-wrap:wrap}
.dom-donut{position:relative;width:160px;height:160px;flex-shrink:0}
.dom-donut svg{transform:rotate(-90deg)}
.dom-track{fill:none;stroke:var(--surface2);stroke-width:18}
.dom-btc{fill:none;stroke:#f7931a;stroke-width:18;stroke-linecap:butt;transition:stroke-dashoffset 1.2s ease}
.dom-eth{fill:none;stroke:#627eea;stroke-width:18;stroke-linecap:butt;transition:stroke-dashoffset 1.2s ease 0.1s}
.dom-other{fill:none;stroke:#2a2a2a;stroke-width:18;stroke-linecap:butt}
.dom-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.dom-btc-val{font-family:'Playfair Display',serif;font-size:28px;font-weight:700;color:#f7931a;line-height:1}
.dom-btc-lbl{font-size:9px;color:var(--text-muted);letter-spacing:2px;margin-top:4px}
.dom-detail{flex:1}
.dom-title{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--text);margin-bottom:20px}
.dom-legend{display:flex;flex-direction:column;gap:12px}
.dom-item{display:flex;align-items:center;gap:12px}
.dom-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.dom-item-name{font-size:11px;color:var(--text-muted);letter-spacing:1px;flex:1}
.dom-item-val{font-size:14px;font-weight:500;letter-spacing:1px}
.dom-item-bar{height:2px;background:var(--surface2);margin-top:4px;overflow:hidden;width:100%}
.dom-item-bar-fill{height:100%;transition:width 1.2s ease}

.week-list{display:flex;flex-direction:column;gap:2px}
.week-item{background:var(--surface);border-left:2px solid transparent;transition:border-color 0.2s}
.week-item.expanded{border-left-color:var(--gold)}
.week-header{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:16px;transition:background 0.2s}
.week-header:hover{background:var(--surface2)}
.week-header-left{display:flex;align-items:center;gap:16px}
.week-label{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:var(--text)}
.week-count{font-size:9px;color:var(--text-muted);letter-spacing:2px;background:var(--surface2);padding:3px 8px}
.week-toggle{font-size:10px;color:var(--gold);transition:transform 0.25s;flex-shrink:0;letter-spacing:1px}
.week-toggle.open{transform:rotate(180deg)}
.week-body{display:none;border-top:1px solid var(--text-dim)}
.week-body.open{display:block}
.week-post{
  display:flex;align-items:center;gap:16px;
  padding:14px 24px;
  border-bottom:1px solid var(--text-dim);
  cursor:pointer;
  transition:background 0.15s;
}
.week-post:last-child{border-bottom:none}
.week-post:hover{background:var(--surface2)}
.week-post-date{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;flex-shrink:0;width:90px}
.week-post-title{font-size:13px;color:var(--text);letter-spacing:0.3px;flex:1;line-height:1.4;text-decoration:none;transition:color 0.2s}
.week-post-title:hover{color:var(--gold)}
.week-post-arrow{font-size:12px;color:var(--gold);opacity:0.4;flex-shrink:0;transition:opacity 0.15s,transform 0.15s}
.week-post:hover .week-post-arrow{opacity:1;transform:translateX(3px)}
.week-post-expand{display:none;padding:0 24px 16px 130px}
.week-post-expand.open{display:block}
.week-post-excerpt{font-size:11px;color:var(--text-muted);line-height:1.8;max-width:680px}
.week-post-excerpt p{margin-bottom:8px}
.week-post-excerpt p:last-child{margin-bottom:0}
.empty-week{padding:60px 40px;text-align:center;border:1px solid var(--text-dim);color:var(--text-muted);font-size:12px;letter-spacing:2px}

/* MARKET STATUS */
.market-status-row{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.market-status-badge{
  display:none;align-items:center;gap:10px;
  padding:10px 18px;border:1px solid;
  transition:all 0.3s;
}
.ms-icon{font-size:18px;font-weight:700;line-height:1}
.ms-body{display:flex;flex-direction:column;gap:2px}
.ms-label{font-family:'Playfair Display',serif;font-size:16px;font-weight:700;letter-spacing:2px;line-height:1}
.ms-coin{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-top:2px}
.ms-pulse{width:6px;height:6px;border-radius:50%;animation:mspulse 2s ease infinite;flex-shrink:0}
@keyframes mspulse{0%,100%{opacity:1}50%{opacity:0.3}}

/* TREND WIDGET */
.trend-widget{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px}
@media(max-width:800px){.trend-widget{grid-template-columns:1fr}}
/* GOLD/BTC RATIO */
/* ETH/BTC RATIO WIDGET */
.ethbtc-wrap{background:var(--surface)}
.ethbtc-main{display:grid;grid-template-columns:1fr 1fr 1fr;gap:2px;margin-bottom:0}
@media(max-width:600px){.ethbtc-main{grid-template-columns:1fr}}
.ethbtc-card{background:var(--surface2);padding:24px 28px}
.ethbtc-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;margin-bottom:12px}
.ethbtc-value{font-family:'Playfair Display',serif;font-size:36px;font-weight:700;color:var(--text);line-height:1;margin-bottom:6px;letter-spacing:-1px}
.ethbtc-sub{font-size:10px;color:var(--text-muted);letter-spacing:1px}
.ethbtc-change{font-size:13px;font-weight:600;letter-spacing:1px;margin-top:8px}
.ethbtc-regime{display:flex;align-items:center;justify-content:space-between;padding:20px 28px;background:var(--surface)}
.ethbtc-regime-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}
.ethbtc-regime-val{font-family:'Playfair Display',serif;font-size:17px;font-weight:700;letter-spacing:1px}
.ethbtc-insight{padding:16px 28px;font-size:11px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px;border-top:1px solid var(--text-dim);border-left:3px solid var(--gold);background:var(--surface2)}
.ethbtc-sparkline{display:flex;align-items:flex-end;gap:3px;height:36px;margin-top:14px}
.ethbtc-spark-bar{flex:1;border-radius:1px;min-height:3px;opacity:0.7}

/* GOLD/BTC RATIO */
.ratio-wrap{background:var(--surface);padding:28px 32px}
.ratio-header{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-bottom:24px}
@media(max-width:600px){.ratio-header{grid-template-columns:1fr}}
.ratio-left,.ratio-right{background:var(--surface2);padding:20px}
.ratio-label{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-bottom:10px}
.ratio-value{font-family:'Playfair Display',serif;font-size:clamp(24px,4.5vw,36px);font-weight:700;color:var(--gold);line-height:1;margin-bottom:4px}
.ratio-mult{font-family:'Playfair Display',serif;font-size:36px;font-weight:700;color:#c9a84c;line-height:1;margin-bottom:4px}
.ratio-sub{font-size:11px;color:var(--text-muted);letter-spacing:1px}
.ratio-bar-wrap{margin-bottom:20px}
.ratio-bar-label{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-bottom:10px}
.ratio-track{display:flex;height:8px;border-radius:2px;overflow:hidden;gap:1px}
.ratio-seg{transition:width 1.2s ease;display:flex;align-items:center;justify-content:center;position:relative;min-width:30px}
.ratio-seg-label{font-size:8px;color:rgba(0,0,0,0.7);font-weight:700;letter-spacing:1px}
.ratio-track-labels{display:flex;justify-content:space-between;font-size:10px;color:var(--text-muted);margin-top:6px;letter-spacing:1px}
.ratio-insight{font-size:12px;color:var(--text-muted);line-height:1.8;padding:14px 18px;background:var(--surface2);border-left:2px solid var(--gold)}


/* 7-DAY SPARKLINE */
.sparkline-wrap{
  display:flex;align-items:center;gap:4px;
  margin:10px 0 6px;
}
.sparkline-label{
  font-size:8px;color:var(--text-dim);
  letter-spacing:2px;text-transform:uppercase;
  margin-right:4px;flex-shrink:0;
}
.spark-dot{
  width:22px;height:22px;
  border-radius:2px;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:700;
  flex-shrink:0;
  transition:transform 0.2s;
  cursor:default;
}
.spark-dot:hover{transform:scale(1.2)}
.spark-dot.positive{background:rgba(76,175,125,0.15);color:#4caf7d;border:1px solid rgba(76,175,125,0.3)}
.spark-dot.negative{background:rgba(224,85,85,0.15);color:#e05555;border:1px solid rgba(224,85,85,0.3)}
.spark-dot.neutral{background:rgba(201,168,76,0.1);color:#c9a84c;border:1px solid rgba(201,168,76,0.2)}
.spark-dot.today{outline:2px solid var(--gold);outline-offset:1px}

/* HALVING PROGRESS */
.halving-progress-wrap{
  background:var(--surface2);
  padding:16px 28px;
  border-top:1px solid var(--text-dim);
  margin-top:0;
}
.halving-progress-header{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:10px;
}
.halving-progress-title{
  font-size:9px;color:var(--text-muted);
  letter-spacing:3px;text-transform:uppercase;
}
.halving-progress-pct{
  font-family:'Playfair Display',serif;
  font-size:16px;font-weight:700;color:var(--gold);
}
.halving-track{
  width:100%;height:6px;
  background:var(--surface);
  border-radius:3px;overflow:visible;
  position:relative;margin-bottom:8px;
}
.halving-fill{
  height:100%;border-radius:3px;
  background:linear-gradient(90deg,#f7931a,#c9a84c);
  transition:width 1s ease;
  position:relative;
}
.halving-fill::after{
  content:'';
  position:absolute;right:-4px;top:50%;
  transform:translateY(-50%);
  width:12px;height:12px;border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 8px rgba(201,168,76,0.6);
}
.halving-cycle-labels{
  display:flex;justify-content:space-between;
  font-size:8px;color:var(--text-dim);letter-spacing:1px;
  margin-top:4px;
}
.halving-epoch{
  display:flex;gap:16px;margin-top:12px;flex-wrap:wrap;
}
.halving-epoch-item{
  font-size:9px;color:var(--text-muted);letter-spacing:1px;
}
.halving-epoch-val{color:var(--text);font-size:10px;display:block;margin-top:1px}

/* TREND RIBBON */
.trend-ribbon{
  height:4px;
  width:100%;
  margin:10px 0;
  border-radius:2px;
  overflow:hidden;
  background:var(--surface2);
  position:relative;
}
.trend-ribbon-fill{
  height:100%;
  border-radius:2px;
  transition:width 1.2s ease;
  position:relative;
}
.trend-ribbon-fill::after{
  content:'';
  position:absolute;
  right:0;top:50%;transform:translateY(-50%);
  width:8px;height:8px;
  border-radius:50%;
  background:inherit;
  box-shadow:0 0 6px currentColor;
}
.trend-ribbon-labels{
  display:flex;justify-content:space-between;
  font-size:8px;color:var(--text-dim);
  letter-spacing:1px;text-transform:uppercase;
  margin-top:3px;
}

.trend-card{
  background:var(--surface);
  padding:32px 28px;
  border-left:3px solid transparent;
  transition:border-color 0.3s,background 0.3s;
  position:relative;overflow:hidden;
}
.trend-card::before{
  content:'';position:absolute;inset:0;
  opacity:0.03;pointer-events:none;
  transition:opacity 0.3s;
}
.trend-card:hover::before{opacity:0.06}
.trend-card.positive{border-left-color:#4caf7d}
.trend-card.positive::before{background:#4caf7d}
.trend-card.negative{border-left-color:#e05555}
.trend-card.negative::before{background:#e05555}
.trend-card.neutral{border-left-color:#c9a84c}
.trend-card.neutral::before{background:#c9a84c}
.trend-coin-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between}
.trend-live{font-size:9px;letter-spacing:2px;display:flex;align-items:center;gap:5px}
.trend-live-dot{width:6px;height:6px;border-radius:50%;animation:livepulse 1.4s ease-in-out infinite;background:#e05555 !important;box-shadow:0 0 0 0 rgba(224,85,85,0.6)}
.trend-price-loading{opacity:0.3;letter-spacing:4px}
.trend-price{transition:opacity 0.4s}font-size:28px;font-weight:700;color:var(--text);margin-bottom:4px;letter-spacing:-0.5px}
.trend-change{font-size:11px;letter-spacing:1px;margin-bottom:20px}
.trend-change.up{color:#4caf7d}
.trend-change.down{color:#e05555}
.trend-change.neutral{color:var(--text-muted)}
.trend-status-wrap{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.trend-status-icon{font-size:32px;line-height:1;font-weight:700}
.trend-status-text{font-family:'Playfair Display',serif;font-size:26px;font-weight:700;letter-spacing:2px}
.trend-note{font-size:11px;color:var(--text-muted);letter-spacing:0.5px;line-height:1.6;padding-top:12px;border-top:1px solid var(--text-dim)}
.trend-updated{font-size:9px;color:var(--text-muted);letter-spacing:2px;margin-top:12px;text-transform:uppercase}

.fg-comment-wrap{
  background:var(--surface2);
  border-left:2px solid var(--gold);
  padding:20px 24px;
  margin-top:2px;
}
.fg-comment-header{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:12px;
}
.fg-comment-label{
  font-size:9px;color:#e07755;letter-spacing:3px;text-transform:uppercase;
}
.fg-comment-date{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.fg-comment-text{
  font-size:13px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px;
  font-family:'DM Mono',monospace;
}

/* TRADINGVIEW CHARTS */
.charts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;margin-bottom:2px}
@media(max-width:700px){.charts-grid{grid-template-columns:1fr}}
.chart-card{background:var(--surface);overflow:hidden}
.chart-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;padding:10px 14px 4px;display:block}
.chart-inner{min-height:160px;background:#0f0f0f}

/* HALVING COUNTDOWN */
.halving-wrap{background:var(--surface);padding:20px 28px;border-left:2px solid var(--gold);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:2px}
.halving-left{display:flex;flex-direction:column;gap:4px}
.halving-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}
.halving-title{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:var(--text)}
.halving-sub{font-size:9px;color:var(--text-dim);letter-spacing:1px;margin-top:2px}
.halving-right{display:flex;gap:2px}
.halving-unit{background:var(--surface2);padding:10px 14px;text-align:center;min-width:56px}
.halving-num{font-family:'Playfair Display',serif;font-size:24px;font-weight:700;color:var(--gold);line-height:1;display:block}
.halving-ulab{font-size:8px;color:var(--text-dim);letter-spacing:2px;text-transform:uppercase;display:block;margin-top:4px}
@media(max-width:500px){.halving-unit{min-width:44px;padding:8px 10px}.halving-num{font-size:20px}}

/* NEWS & CALENDAR EXPAND/COLLAPSE */
.section-toggle-header{
  display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;padding-bottom:16px;
  border-bottom:1px solid var(--text-dim);
  margin-bottom:0;user-select:none;
}
.section-toggle-header:hover .stoggle-btn{border-color:var(--gold);color:var(--gold)}
.stoggle-btn{
  display:inline-flex;align-items:center;gap:6px;
  font-size:9px;letter-spacing:2px;text-transform:uppercase;
  color:var(--text-dim);border:1px solid var(--text-dim);
  padding:4px 10px;transition:all 0.2s;flex-shrink:0;
}
.stoggle-arrow{transition:transform 0.3s;display:inline-block}
.stoggle-header-left{display:flex;flex-direction:column;gap:3px}
.stoggle-label{font-family:'Playfair Display',serif;font-size:18px;font-weight:700;color:var(--text)}
.stoggle-meta{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}
.news-preview{display:block}
.news-full{overflow:hidden;transition:max-height 0.4s ease,opacity 0.3s;max-height:0;opacity:0}
.news-full.open{max-height:2000px;opacity:1}
.news-preview-title{
  font-family:'Playfair Display',serif;font-size:16px;font-weight:700;
  color:var(--text);line-height:1.4;padding:16px 0 8px;
}
.news-title-link{
  display:block;
  text-decoration:none;
  transition:color 0.2s;
}
.news-title-link:hover{color:var(--gold)}
.news-preview-snippet{
  font-size:11px;color:var(--text-muted);line-height:1.7;
  letter-spacing:0.3px;padding-bottom:12px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.cal-preview{display:block;border-bottom:1px solid var(--text-dim)}
.cal-full{overflow:hidden;transition:max-height 0.4s ease,opacity 0.3s;max-height:0;opacity:0}
.cal-full.open{max-height:2000px;opacity:1}

/* MARKET CALENDAR */
.cal-wrap{background:var(--surface);padding:0}
.cal-event{display:flex;align-items:flex-start;gap:16px;padding:16px 24px;border-bottom:1px solid var(--text-dim)}
.cal-event:last-child{border-bottom:none}
.cal-date{flex-shrink:0;width:48px;text-align:center;background:var(--surface2);padding:8px 4px}
.cal-day{font-family:'Playfair Display',serif;font-size:20px;font-weight:700;color:var(--gold);line-height:1;display:block}
.cal-month{font-size:8px;color:var(--text-dim);letter-spacing:2px;text-transform:uppercase;display:block;margin-top:3px}
.cal-info{flex:1}
.cal-event-title{font-size:12px;font-weight:500;color:var(--text);margin-bottom:4px;letter-spacing:0.3px}
.cal-event-desc{font-size:10px;color:var(--text-muted);line-height:1.6;letter-spacing:0.3px}
.cal-tag{display:inline-block;font-size:8px;letter-spacing:2px;text-transform:uppercase;padding:2px 7px;border:1px solid;margin-bottom:6px}
.cal-tag-macro{color:#4caf7d;border-color:rgba(76,175,61,0.3)}
.cal-tag-crypto{color:#c9a84c;border-color:rgba(201,168,76,0.3)}
.cal-tag-earnings{color:#627eea;border-color:rgba(98,126,234,0.3)}
.cal-empty{padding:32px;text-align:center;font-size:10px;color:var(--text-dim);letter-spacing:3px;text-transform:uppercase}

/* GLOSSARY */
.glossary-wrap{padding:0}
.glossary-item{border-bottom:1px solid var(--text-dim)}
.glossary-item:last-child{border-bottom:none}
.glossary-header{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;cursor:pointer;transition:background 0.2s}
.glossary-header:hover{background:var(--surface2)}
.glossary-term{font-size:12px;font-weight:500;color:var(--text);letter-spacing:0.5px}
.glossary-arrow{font-size:10px;color:var(--text-dim);transition:transform 0.2s;flex-shrink:0}
.glossary-item.open .glossary-arrow{transform:rotate(180deg);color:var(--gold)}
.glossary-body{max-height:0;overflow:hidden;transition:max-height 0.3s ease,opacity 0.2s;opacity:0}
.glossary-item.open .glossary-body{max-height:300px;opacity:1}
.glossary-def{font-size:11px;color:var(--text-muted);line-height:1.8;padding:0 20px 16px;letter-spacing:0.3px}
.glossary-def strong{color:var(--gold);font-weight:500}

/* COLLAPSIBLE RESOURCE SECTIONS */
.res-section-header{
  display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;padding:20px 0;
  border-bottom:1px solid var(--text-dim);
  user-select:none;
}
.res-section-header:hover .res-toggle{color:var(--gold)}
.res-section-left{display:flex;flex-direction:column;gap:4px}
.res-section-title{font-family:'Playfair Display',serif;font-size:18px;font-weight:700;color:var(--text)}
.res-section-subtitle{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}
.res-toggle{
  font-size:9px;color:var(--text-dim);letter-spacing:2px;
  text-transform:uppercase;display:flex;align-items:center;gap:8px;
  transition:color 0.2s;flex-shrink:0;
}
.res-toggle-arrow{
  width:20px;height:20px;border:1px solid var(--text-dim);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;transition:transform 0.3s,border-color 0.2s;
}
.res-section-header.open .res-toggle-arrow{transform:rotate(180deg);border-color:var(--gold);color:var(--gold)}
.res-section-body{overflow:hidden;transition:max-height 0.4s ease,opacity 0.3s ease;max-height:0;opacity:0}
.res-section-body.open{max-height:5000px;opacity:1}

/* START HERE */
.learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
@media(max-width:800px){.learn-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.learn-grid{grid-template-columns:1fr}}
.learn-card{background:var(--surface);padding:24px 22px;transition:background 0.2s}
.learn-card:hover{background:var(--surface2)}
.learn-card-label{font-size:9px;color:var(--gold);letter-spacing:3px;text-transform:uppercase;margin-bottom:10px;display:block;opacity:0.8}
.learn-card-q{font-family:'Playfair Display',serif;font-size:17px;font-weight:700;color:var(--text);margin-bottom:12px;line-height:1.3}
.learn-card-body{font-size:11px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px}
.learn-card-body strong{color:var(--text);font-weight:500}

/* RESOURCES */
.res-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
@media(max-width:800px){.res-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.res-grid{grid-template-columns:1fr}}
.res-card{
  background:var(--surface);padding:22px 20px;
  border-left:2px solid transparent;
  transition:border-color 0.2s,background 0.2s;
}
.res-card:hover{border-left-color:var(--gold);background:var(--surface2)}
.res-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.res-card-left{display:flex;align-items:center;gap:10px}
.res-logo{width:28px;height:28px;border-radius:50%;object-fit:contain;background:#161616;flex-shrink:0;border:1px solid var(--text-dim)}
.res-logo-placeholder{width:28px;height:28px;border-radius:50%;background:var(--surface2);border:1px solid var(--text-dim);display:flex;align-items:center;justify-content:center;font-size:10px;color:var(--text-muted);flex-shrink:0}
.res-card-name{font-family:'Playfair Display',serif;font-size:15px;font-weight:700;color:var(--text)}
.res-badge{
  font-size:8px;letter-spacing:2px;text-transform:uppercase;
  padding:3px 8px;border:1px solid;
}
.badge-cex{color:#4caf7d;border-color:rgba(76,175,61,0.3);background:rgba(76,175,61,0.06)}
.badge-dex{color:#627eea;border-color:rgba(98,126,234,0.3);background:rgba(98,126,234,0.06)}
.badge-defi{color:#c9a84c;border-color:rgba(201,168,76,0.3);background:rgba(201,168,76,0.06)}
.badge-l1{color:#f7931a;border-color:rgba(247,147,26,0.3);background:rgba(247,147,26,0.06)}
.badge-l2{color:#9b59b6;border-color:rgba(155,89,182,0.3);background:rgba(155,89,182,0.06)}
.res-desc{font-size:11px;color:var(--text-muted);line-height:1.7;letter-spacing:0.3px;margin-bottom:12px}
.res-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.res-tag{font-size:9px;color:var(--text-dim);letter-spacing:1px;text-transform:uppercase;padding:2px 6px;border:1px solid var(--text-dim)}
.res-link{
  display:inline-flex;align-items:center;gap:5px;
  font-size:9px;color:var(--gold);letter-spacing:2px;
  text-transform:uppercase;text-decoration:none;opacity:0.6;
  transition:opacity 0.2s;
}
.res-link:hover{opacity:1}
.res-intro{
  background:var(--surface);padding:24px 28px;
  margin-bottom:2px;border-left:2px solid var(--gold);
  font-size:12px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px;
}

/* TIMELINE */
.timeline{position:relative;padding-left:0}
.tl-item{display:grid;grid-template-columns:52px 1fr;gap:0;margin-bottom:0;position:relative}
.tl-item::before{content:'';position:absolute;left:24px;top:32px;bottom:-1px;width:1px;background:var(--border)}
.tl-item:last-child::before{display:none}
.tl-year{font-family:'DM Mono',monospace;font-size:11px;font-weight:500;color:var(--gold);padding:20px 0 0 0;letter-spacing:1px;line-height:1}
.tl-content{padding:16px 0 24px 20px;border-left:2px solid var(--border)}
.tl-item:first-child .tl-content{border-left-color:var(--gold)}
.tl-present .tl-content{border-left-color:var(--gold)}
.tl-present .tl-year{color:#4caf7d}
.tl-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:6px;line-height:1.4}
.tl-coin{display:inline-block;font-size:8px;letter-spacing:2px;text-transform:uppercase;padding:2px 7px;margin-bottom:8px;font-family:'DM Mono',monospace}
.tl-btc{background:rgba(247,147,26,0.12);color:#f7931a;border:1px solid rgba(247,147,26,0.3)}
.tl-eth{background:rgba(98,104,143,0.15);color:#a0a8d0;border:1px solid rgba(98,104,143,0.3)}
.tl-crypto{background:rgba(201,168,76,0.1);color:var(--gold);border:1px solid rgba(201,168,76,0.3)}
.tl-desc{font-size:12px;color:var(--text-muted);line-height:1.8}
.tl-desc em{color:var(--text-secondary);font-style:normal;font-weight:500}

/* ALTS TAB */
.alts-explainer{background:var(--surface);padding:20px 24px;border-left:2px solid var(--gold)}
.alts-explainer-text{font-size:13px;color:var(--text-secondary);line-height:1.8;margin-bottom:14px}
.alts-explainer-text strong{color:var(--gold);font-weight:600}
.alts-explainer-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.alts-tag{font-size:9px;letter-spacing:2px;text-transform:uppercase;padding:4px 10px;border:1px solid rgba(201,168,76,0.3);color:var(--gold)}
.alt-season-wrap{background:var(--surface);padding:24px}
.alt-season-bar-wrap{background:rgba(255,255,255,0.05);height:8px;border-radius:4px;margin:16px 0 8px;overflow:hidden}
.alt-season-bar-fill{height:100%;border-radius:4px;transition:width 1s ease;background:linear-gradient(90deg,#4caf7d,#c9a84c)}
.alt-season-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.alt-season-score{font-family:'Playfair Display',serif;font-size:clamp(24px,4.5vw,36px);font-weight:700;color:var(--gold);margin-bottom:4px}
.alt-season-status{font-size:11px;letter-spacing:3px;text-transform:uppercase;margin-bottom:4px}
.alt-season-desc{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:12px}
.alt-season-meta{display:flex;gap:24px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border)}
.alt-season-meta-item{display:flex;flex-direction:column;gap:2px}
.alt-season-meta-label{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.alt-season-meta-value{font-size:14px;font-weight:600;color:var(--text)}
.performers-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px}
@media(max-width:600px){.performers-grid{grid-template-columns:1fr}}
.performers-col{background:var(--surface);padding:16px}
.performers-col-title{font-size:9px;letter-spacing:3px;text-transform:uppercase;margin-bottom:12px;font-weight:600}
.gainers-title{color:#4caf7d}
.losers-title{color:#e05555}
.performer-row{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border)}
.performer-row:last-child{border-bottom:none}
.performer-left{display:flex;align-items:center;gap:10px}
.performer-rank{font-size:10px;color:var(--text-dim);width:18px}
.performer-name{font-size:13px;font-weight:600;color:var(--text)}
.performer-symbol{font-size:10px;color:var(--text-muted);letter-spacing:1px}
.performer-right{text-align:right}
.performer-price{font-size:12px;color:var(--text-secondary)}
.performer-change{font-size:13px;font-weight:700}
.performer-change.up{color:#4caf7d}
.performer-change.down{color:#e05555}
.alts-table{width:100%;border-collapse:collapse}
.alts-table th{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--text-muted);padding:10px 12px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}
.alts-table th:first-child,.alts-table th:nth-child(2){text-align:left}
.alts-table td{padding:10px 12px;font-size:12px;color:var(--text-secondary);border-bottom:1px solid rgba(255,255,255,0.04);text-align:right;white-space:nowrap}
.alts-table td:first-child{color:var(--text-dim);font-size:11px;text-align:left}
.alts-table td:nth-child(2){color:var(--text);font-weight:600;text-align:left}
.alts-table tr:hover td{background:rgba(255,255,255,0.02)}
.alts-table .up{color:#4caf7d;font-weight:600}
.alts-table .down{color:#e05555;font-weight:600}
@media(max-width:600px){.alts-table th:nth-child(5),.alts-table td:nth-child(5),.alts-table th:nth-child(6),.alts-table td:nth-child(6){display:none}}

.about-hero{
  display:flex;align-items:center;gap:32px;
  background:var(--surface);padding:40px 36px;
  border-left:2px solid var(--gold);
  flex-wrap:wrap;
}
.about-logo{
  width:80px;height:80px;border-radius:50%;
  border:1.5px solid var(--gold);
  box-shadow:0 0 20px rgba(201,168,76,0.4),0 0 40px rgba(201,168,76,0.15);
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 40% 40%,#1a1400,#080808);
  flex-shrink:0;
}
.about-title{
  font-family:'Playfair Display',serif;
  font-size:26px;font-weight:700;
  color:var(--gold);margin-bottom:12px;letter-spacing:0.5px;
}
.about-subtitle{
  font-size:13px;color:var(--text-muted);line-height:1.8;
  max-width:680px;letter-spacing:0.3px;
}
.about-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
@media(max-width:700px){.about-grid{grid-template-columns:1fr}}
.about-card{
  background:var(--surface);padding:28px 24px;
  border-top:2px solid var(--text-dim);
  transition:border-color 0.2s,background 0.2s;
}
.about-card:hover{border-top-color:var(--gold);background:var(--surface2)}
.about-card-icon{font-size:24px;margin-bottom:16px}
.about-card-title{
  font-family:'Playfair Display',serif;
  font-size:16px;font-weight:700;
  color:var(--text);margin-bottom:12px;letter-spacing:0.3px;
}
.about-card-text{font-size:12px;color:var(--text-muted);line-height:1.8;letter-spacing:0.3px}
.about-methodology{
  background:var(--surface);padding:36px;
  display:flex;flex-direction:column;gap:20px;
}
.about-method-text{
  font-size:13px;color:var(--text-muted);line-height:1.9;
  letter-spacing:0.3px;max-width:800px;
}
.about-positive{color:#4caf7d;font-weight:500}
.about-neutral{color:#c9a84c;font-weight:500}
.about-negative{color:#e05555;font-weight:500}
.about-why-gold{
  border-top:1px solid var(--text-dim);
  padding-top:20px;margin-top:4px;
}
.about-why-title{
  font-family:'Playfair Display',serif;
  font-size:16px;font-weight:700;
  color:var(--text);margin-bottom:12px;
}
.about-audience{
  background:var(--surface);padding:36px;
  border-left:2px solid var(--text-dim);
  transition:border-color 0.2s;
}
.about-audience:hover{border-left-color:var(--gold)}
.about-audience-text{
  font-size:13px;color:var(--text-muted);line-height:1.9;
  letter-spacing:0.3px;max-width:800px;margin-bottom:28px;
}
.about-x-cta{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 24px;
  border:1px solid var(--gold-border);
  color:var(--gold);font-size:11px;letter-spacing:2px;
  text-transform:uppercase;text-decoration:none;
  transition:background 0.2s,border-color 0.2s;
}
.about-x-cta:hover{background:var(--gold-dim);border-color:var(--gold)}
.about-x-cta svg{width:14px;height:14px;fill:currentColor;flex-shrink:0}

/* GOLD COMPARISON */
.gold-comparison{
  background:var(--surface2);
  padding:28px 32px;
  margin-top:2px;
  border-left:2px solid #c9a84c;
}
.gold-comp-header{margin-bottom:24px}
.gold-comp-title{
  font-family:'Playfair Display',serif;
  font-size:16px;font-weight:700;
  color:var(--text);display:block;margin-bottom:6px;
}
.gold-comp-sub{font-size:10px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.gold-comp-bars{display:flex;flex-direction:column;gap:14px;margin-bottom:20px}
.gold-comp-row{display:flex;align-items:center;gap:16px}
.gold-comp-label{
  display:flex;align-items:center;gap:8px;
  font-size:11px;color:var(--text-muted);letter-spacing:1px;
  width:60px;flex-shrink:0;
}
.gold-comp-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.gold-comp-bar-wrap{
  flex:1;height:8px;background:var(--surface);
  overflow:hidden;
}
.gold-comp-bar-fill{height:100%;transition:width 1.2s ease;border-radius:1px}
.gold-comp-val{
  font-family:'Playfair Display',serif;
  font-size:15px;font-weight:700;
  color:var(--text);width:60px;text-align:right;flex-shrink:0;
}
.gold-comp-note{
  font-size:11px;color:var(--text-muted);
  letter-spacing:0.5px;line-height:1.7;
  padding-top:16px;border-top:1px solid var(--text-dim);
}
.gold-comp-note strong{color:var(--gold)}

.dom-tooltip-wrap{position:relative;display:inline-flex;align-items:center;gap:6px}
.dom-tooltip-icon{
  width:14px;height:14px;border-radius:50%;
  border:1px solid var(--text-dim);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:8px;color:var(--text-dim);cursor:help;
  flex-shrink:0;transition:border-color 0.2s,color 0.2s;
}
.dom-tooltip-icon:hover{border-color:var(--gold);color:var(--gold)}
.dom-tooltip{
  display:none;
  position:absolute;
  bottom:calc(100% + 8px);
  left:50%;transform:translateX(-50%);
  background:var(--surface2);
  border:1px solid var(--gold-border);
  padding:10px 14px;
  font-size:10px;color:var(--text-muted);
  letter-spacing:0.5px;line-height:1.6;
  white-space:nowrap;z-index:100;
  pointer-events:none;
}
.dom-tooltip-icon:hover + .dom-tooltip,
.dom-tooltip-wrap:hover .dom-tooltip{display:block}

/* ATH BANNER */
.ath-banner{
  display:flex;align-items:center;justify-content:space-between;
  background:var(--surface);padding:16px 24px;
  margin-bottom:2px;gap:24px;flex-wrap:wrap;
  border-left:2px solid var(--gold);
}
.ath-left{flex:1;min-width:200px}
.ath-label{font-size:9px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase;display:block;margin-bottom:10px}
.ath-bar-wrap{height:4px;background:var(--surface2);overflow:hidden}
.ath-bar-fill{height:100%;background:var(--gold);transition:width 1s ease;border-radius:1px}
.ath-right{text-align:right;flex-shrink:0}
.ath-pct{font-family:'Playfair Display',serif;font-size:32px;font-weight:700;color:var(--red);display:block;line-height:1}
.ath-sub{font-size:9px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-top:4px;display:block}

/* BTC VS GOLD PERFORMANCE */
.perf-wrap{background:var(--surface);padding:28px 32px}
.perf-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-bottom:20px}
@media(max-width:600px){.perf-grid{grid-template-columns:1fr}}
.perf-card{background:var(--surface2);padding:20px 24px}
.perf-card-header{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.perf-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.perf-name{font-size:11px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase}
.perf-price{font-family:'Playfair Display',serif;font-size:22px;font-weight:700;color:var(--text);margin-bottom:16px}
.perf-rows{display:flex;flex-direction:column;gap:10px}
.perf-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.perf-period{font-size:9px;color:var(--text-dim);letter-spacing:2px;text-transform:uppercase;width:50px;flex-shrink:0}
.perf-bar-wrap{flex:1;height:4px;background:var(--surface);overflow:hidden}
.perf-bar-inner{height:100%;transition:width 1s ease;border-radius:1px}
.perf-val{font-size:11px;font-weight:500;letter-spacing:1px;width:60px;text-align:right;flex-shrink:0}
.perf-winner{
  background:var(--surface2);padding:14px 20px;
  border-top:1px solid var(--text-dim);
  font-size:11px;color:var(--text-muted);letter-spacing:0.5px;
  text-align:center;
}
.perf-winner strong{color:var(--gold)}

/* BITCOIN TAB */
.btc-hero{
  display:flex;align-items:center;gap:28px;
  background:var(--surface);
  padding:40px 40px;
  border-left:3px solid var(--gold);
  margin-bottom:2px;
  position:relative;
  overflow:hidden;
}
.btc-hero::before{
  content:'₿';
  position:absolute;
  right:-20px;top:50%;transform:translateY(-50%);
  font-size:200px;
  font-family:'Playfair Display',serif;
  color:var(--gold);
  opacity:0.04;
  line-height:1;
  pointer-events:none;
  font-weight:900;
}
.btc-hero-symbol{
  width:64px;height:64px;
  border-radius:50%;
  border:2px solid var(--gold);
  box-shadow:0 0 20px rgba(201,168,76,0.3),0 0 40px rgba(201,168,76,0.1);
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 40% 40%,#1a1400,#080808);
  font-size:28px;color:var(--gold);
  font-family:'Playfair Display',serif;
  line-height:1;flex-shrink:0;
  font-weight:900;
}
.btc-hero-text{display:flex;flex-direction:column;gap:6px}
.btc-hero-eyebrow{
  font-size:9px;color:var(--gold);
  letter-spacing:4px;text-transform:uppercase;
  opacity:0.7;
}
.btc-hero-title{
  font-family:'Playfair Display',serif;
  font-size:36px;font-weight:900;
  color:var(--text);letter-spacing:1px;
  line-height:1;
}
.btc-hero-sub{
  font-size:11px;color:var(--text-muted);
  letter-spacing:2px;margin-top:2px;
}
.btc-hero-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.btc-hero-tag{
  font-size:9px;letter-spacing:2px;text-transform:uppercase;
  padding:4px 10px;
  border:1px solid var(--gold-border);
  color:var(--text-muted);
}
.btc-sections{display:flex;flex-direction:column;gap:2px;margin-top:2px}
.btc-section{background:var(--surface)}
.btc-section-header{
  padding:20px 24px;
  display:flex;align-items:center;justify-content:space-between;
  cursor:pointer;transition:background 0.2s;gap:16px;
}
.btc-section-header:hover{background:var(--surface2)}
.btc-section-left{display:flex;align-items:center;gap:14px}
.btc-section-icon{font-size:22px;flex-shrink:0}
.btc-section-title{
  font-family:'Playfair Display',serif;
  font-size:17px;font-weight:700;
  color:var(--text);margin-bottom:3px;
}
.btc-section-sub{font-size:10px;color:var(--text-muted);letter-spacing:1px}
.btc-toggle{font-size:11px;color:var(--gold);transition:transform 0.25s;flex-shrink:0}
.btc-toggle.open{transform:rotate(180deg)}
.btc-section-body{
  display:none;
  border-top:1px solid var(--text-dim);
  padding:20px;
}
.btc-section-body.open{display:block}
.btc-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:2px;
}
.btc-card{
  background:var(--surface2);
  padding:20px;
  border-left:2px solid transparent;
  transition:border-color 0.2s;
}
.btc-card:hover{border-left-color:var(--gold)}
.btc-card-title{
  font-family:'Playfair Display',serif;
  font-size:14px;font-weight:700;
  color:var(--gold);
  margin-bottom:10px;
  letter-spacing:0.3px;
}
.btc-card-body{
  font-size:12px;color:var(--text-muted);
  line-height:1.8;letter-spacing:0.3px;
}

/* TABLE OF CONTENTS */
.toc-nav{
  background:var(--surface);
  border:1px solid var(--text-dim);
  border-left:3px solid var(--gold);
  padding:20px 24px;
  margin-bottom:40px;
}
.toc-label{
  font-size:9px;color:var(--gold);
  letter-spacing:4px;text-transform:uppercase;
  margin-bottom:16px;
}
.toc-scroll-wrap{
  position:relative;
}
.toc-arrow{
  position:absolute;top:0;bottom:0;
  width:32px;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  font-size:14px;color:var(--text-muted);
  transition:color 0.2s,opacity 0.2s;
  z-index:2;
  user-select:none;
}
.toc-arrow:hover{color:var(--gold)}
.toc-arrow.left{left:0;background:linear-gradient(90deg,var(--surface) 60%,transparent)}
.toc-arrow.right{right:0;background:linear-gradient(270deg,var(--surface) 60%,transparent)}
.toc-arrow.hidden{opacity:0;pointer-events:none}
.toc-links{
  display:flex;
  gap:2px;
  flex-wrap:nowrap;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  padding-bottom:2px;
  scroll-behavior:smooth;
}
.toc-links::-webkit-scrollbar{display:none}
.toc-link{
  display:flex;align-items:center;gap:10px;
  padding:12px 16px;
  background:var(--surface2);
  border:1px solid var(--text-dim);
  text-decoration:none;
  cursor:pointer;
  transition:border-color 0.2s,background 0.2s;
  flex-shrink:0;
  min-width:150px;
}
.toc-link:hover{border-color:var(--gold);background:var(--gold-dim)}
.toc-icon{font-size:18px;flex-shrink:0;line-height:1}
.toc-text{display:flex;flex-direction:column;gap:2px}
.toc-title{
  font-family:'Playfair Display',serif;
  font-size:13px;font-weight:700;
  color:var(--text);letter-spacing:0.3px;
}
.toc-sub{font-size:9px;color:var(--text-muted);letter-spacing:1px}
.toc-ext{font-size:12px;color:var(--gold);margin-left:auto;opacity:0.6;flex-shrink:0}
.toc-link-learn{border-color:var(--gold-border)}

/* Mobile — keep horizontal scroll, smaller cards */
@media(max-width:600px){
  .toc-link{min-width:130px;padding:10px 12px}
  .toc-title{font-size:12px}
  .toc-icon{font-size:15px}
}

/* JUMP BAR — kept for other tabs */
.jump-bar{
  display:flex;gap:0;flex-wrap:wrap;
  margin-bottom:32px;
  border:1px solid var(--text-dim);
  background:var(--surface);
}
.jump-link{
  font-size:9px;letter-spacing:2px;text-transform:uppercase;
  padding:10px 16px;
  color:var(--text-muted);
  cursor:pointer;
  border-right:1px solid var(--text-dim);
  transition:color 0.2s,background 0.2s;
  white-space:nowrap;
  text-decoration:none;
}
.jump-link:last-child{border-right:none}
.jump-link:hover{color:var(--gold);background:var(--gold-dim)}

/* SKELETON LOADERS */
@keyframes shimmer{
  0%{background-position:-600px 0}
  100%{background-position:600px 0}
}
.skeleton{
  background:linear-gradient(90deg,var(--surface) 25%,var(--surface2) 50%,var(--surface) 75%);
  background-size:600px 100%;
  animation:shimmer 1.6s infinite linear;
  border-radius:2px;
}
.skel-block{height:16px;margin-bottom:10px;}
.skel-block.tall{height:48px;}
.skel-block.short{height:10px;width:60%;}
.skel-card{background:var(--surface);padding:20px;display:flex;flex-direction:column;gap:10px;}
.skel-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px;}
.skel-price{height:32px;width:120px;}
.skel-label{height:10px;width:80px;}

/* LAST UPDATED BADGE */
.last-updated{
  font-size:9px;color:var(--text-dim);
  letter-spacing:2px;text-transform:uppercase;
  margin-top:8px;display:inline-flex;align-items:center;gap:5px;
}
.last-updated.stale{color:var(--red);opacity:0.7;}
.last-updated-dot{
  width:5px;height:5px;border-radius:50%;
  background:#4caf7d;
  animation:livepulse 1.4s ease-in-out infinite;
  flex-shrink:0;
}
.last-updated.stale .last-updated-dot{background:var(--red)}

.loading{padding:48px;text-align:center;font-size:10px;color:var(--text-muted);letter-spacing:3px;text-transform:uppercase}

footer{border-top:1px solid var(--text-dim);padding-top:32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:40px}
.footer-brand{font-family:'Playfair Display',serif;font-size:14px;color:var(--text-muted);letter-spacing:1px}
.footer-right{font-size:9px;color:var(--text-dim);letter-spacing:2px;text-transform:uppercase}
.footer-x{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 16px;
  border:1px solid var(--text-dim);
  color:var(--text-muted);
  font-size:10px;letter-spacing:2px;text-transform:uppercase;
  text-decoration:none;
  transition:border-color 0.2s,color 0.2s,background 0.2s;
}
.footer-x:hover{border-color:var(--gold);color:var(--gold);background:var(--gold-dim)}
.footer-x svg{width:14px;height:14px;fill:currentColor;flex-shrink:0}
.footer-email{
  font-size:9px;color:var(--text-dim);letter-spacing:2px;
  text-decoration:none;text-transform:lowercase;
  transition:color 0.2s;
}
.footer-email:hover{color:var(--gold)}

@keyframes fadeUp{from{opacity:0}to{opacity:1}}
@keyframes livepulse{
  0%{box-shadow:0 0 0 0 rgba(224,85,85,0.7)}
  50%{box-shadow:0 0 0 5px rgba(224,85,85,0)}
  100%{box-shadow:0 0 0 0 rgba(224,85,85,0)}
}
@keyframes metapulse{
  0%,100%{opacity:1}
  50%{opacity:0.3}
}
.section-meta-live{
  display:inline-flex;align-items:center;gap:5px;
}
.section-meta-live-dot{
  width:5px;height:5px;border-radius:50%;
  background:#e05555;
  animation:livepulse 1.4s ease-in-out infinite;
  box-shadow:0 0 0 0 rgba(224,85,85,0.6);
  flex-shrink:0;
}

/* ========================================
   MOBILE — single clean pass (max-width:600px)
   ======================================== */
@media(max-width:600px){
  .page{padding:10px 0 60px !important;width:100% !important;max-width:100% !important}
  .section{padding:0 8px}
  .news-item{padding:16px 10px}
  .trend-card{padding:16px 10px}
  .section-header{padding:0 8px 16px}
  .sticky-nav header{padding:10px 12px}
  .brand{gap:10px}
  .brand-mark{width:36px !important;height:36px !important}
  .brand-name{font-size:15px;letter-spacing:1px}
  .brand-tag{display:none}
  .nav-date{display:none}
  .nav-tabs{display:flex;overflow-x:auto;overflow-y:visible;white-space:nowrap;flex-wrap:nowrap;padding:0;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .nav-tabs::-webkit-scrollbar{display:none}
  .nav-tab{flex-shrink:0;padding:10px 16px;font-size:9px;letter-spacing:1px}
  .jump-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .jump-bar::-webkit-scrollbar{display:none}
  .jump-link{flex-shrink:0}
  .trend-widget{grid-template-columns:1fr !important}
  .market-grid{grid-template-columns:1fr 1fr !important}
  .fg-large{flex-direction:column;padding:20px 16px;gap:20px}
  .fg-gauge-large{align-self:center}
  .fg-detail{width:100%}
  .dominance-wrap{flex-direction:column;padding:20px 16px}
  .halving-right{display:grid !important;grid-template-columns:1fr 1fr !important;gap:2px}
  .halving-sep{display:none !important}
  #ethBtcWidget > div:first-child{grid-template-columns:1fr !important}
  .perf-grid{grid-template-columns:1fr !important}
  .btc-hero{padding:20px 16px;gap:12px}
  .btc-hero-title{font-size:22px}
  .btc-card-grid{grid-template-columns:1fr !important}
  .news-title{font-size:16px}
  .news-body{font-size:13px !important;line-height:1.85 !important}
  .section-label{font-size:16px}
  .alpha-modal-inner{padding:16px}
  .alpha-modal-actions{flex-direction:column}
  .about-grid{grid-template-columns:1fr !important}
  .learn-grid{grid-template-columns:1fr !important}
  .res-grid{grid-template-columns:1fr !important}
  #simOutputGrid{grid-template-columns:1fr !important}
  #fedLiqGrid{grid-template-columns:1fr !important}
  #divGrid{grid-template-columns:1fr !important}
  #heatmapScoreGrid{grid-template-columns:1fr !important}
  #whaleSummary{grid-template-columns:1fr !important}
  #divGrid{grid-template-columns:1fr !important}
}

/* Jump bar fade cue */
.jump-bar{position:relative}
.jump-bar-fade{
  position:sticky;right:0;top:0;bottom:0;
  width:32px;flex-shrink:0;
  background:linear-gradient(to right,transparent,var(--bg));
  pointer-events:none;
}

/* Back to top */
.macro-range-btn{
  background:none;
  border:1px solid var(--text-dim);
  color:var(--text-muted);
  font-family:'DM Mono',monospace;
  font-size:8px;letter-spacing:1px;
  padding:4px 8px;cursor:pointer;
  transition:border-color 0.2s,color 0.2s;
}
.macro-range-btn:hover,.macro-range-btn.active{
  border-color:var(--gold);
  color:var(--gold);
}
  position:fixed;bottom:28px;right:20px;
  width:40px;height:40px;
  background:var(--surface2);
  border:1px solid var(--text-dim);
  color:var(--text-muted);
  font-size:16px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  opacity:0;transform:translateY(10px);
  transition:opacity 0.3s,transform 0.3s,border-color 0.2s,color 0.2s;
  z-index:400;border-radius:2px;pointer-events:none;
}
@keyframes cardglow{
  0%,100%{opacity:0.8}
  50%{opacity:1;box-shadow:inset 0 0 30px rgba(76,175,125,0.15)}
}
@keyframes cardglowred{
  0%,100%{opacity:0.8}
  50%{opacity:1;box-shadow:inset 0 0 30px rgba(224,85,85,0.12)}
}
@keyframes diamondpulse{
  0%,100%{filter:drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px #fff);transform:translate(-50%,-50%) scale(1)}
  50%{filter:drop-shadow(0 0 10px #fff) drop-shadow(0 0 20px rgba(255,255,255,0.6));transform:translate(-50%,-50%) scale(1.25)}
}
.back-to-top.visible{opacity:1;transform:translateY(0);pointer-events:auto}
.back-to-top:hover{border-color:var(--gold);color:var(--gold)}

.sig-tooltip-wrap{position:relative;display:inline-block;margin-left:5px;vertical-align:middle}
.sig-tooltip-btn{background:none;border:1px solid var(--text-dim);color:var(--text-dim);border-radius:50%;width:13px;height:13px;font-size:7px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1;font-family:'DM Mono',monospace;transition:all 0.2s}
.sig-tooltip-btn:hover{border-color:var(--gold);color:var(--gold)}
.sig-tooltip-box{display:none;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);width:220px;background:#1a1a1a;border:1px solid var(--gold);padding:10px 12px;font-size:9px;color:var(--text-muted);line-height:1.6;letter-spacing:0.3px;z-index:100;pointer-events:none}
.sig-tooltip-box::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#1a1a1a}
.sig-tooltip-wrap:hover .sig-tooltip-box{display:block}

/* Additional mobile performance fixes */
@media(max-width:600px){
  .trend-card{padding:20px 16px}
  .news-item{padding:20px 16px}
  .section{margin-bottom:48px}
  .section-header{margin-bottom:18px}
  .market-grid{grid-template-columns:1fr 1fr !important}
  .sentiment-grid{grid-template-columns:1fr !important}
  .performers-grid{grid-template-columns:1fr !important}
  .charts-grid{grid-template-columns:1fr !important}
  #whaleSummary{grid-template-columns:1fr !important}
  .ticker-item{font-size:10px;padding:0 4px;gap:5px}
  .ticker-track{gap:16px}
  .ticker-wrap{margin-bottom:32px}
  svg{max-width:100%}
}
/* Prevent horizontal overflow globally */
html,body{overflow-x:hidden}
*{min-width:0}
img{max-width:100%;height:auto}
