*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0c12;
  --bg2: #0f1218;
  --bg3: #141720;
  --border: #1e2330;
  --amber: #00ff00;
  --amber-dim: #005500;
  --text: #e2e8f0;
  --muted: #64748b;
  --green: #22d3ee;
  --red: #f87171;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; }

/* ── TICKER ── */
.ticker-bar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  height: 36px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  gap: 40px;
  padding: 0 20px;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 8px; }
.ticker-sym { color: var(--amber); font-weight: 600; }
.ticker-price { color: var(--text); }
.ticker-up { color: #4ade80; }
.ticker-down { color: var(--red); }
.ticker-loading { color: var(--muted); padding: 0 20px; }

/* ── MARKET STATUS BAR ── */
.market-status-bar {
  position: sticky;
  top: 36px;
  z-index: 99;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.ms-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}
.ms-time { opacity: 0.6; }
.market-status-bar.open { color: var(--text); }
.market-status-bar.open .ms-dot { background: var(--amber); animation: blink-dot 2s ease-in-out infinite; }
.market-status-bar.open .ms-label { color: var(--amber); font-weight: 600; }
.market-status-bar.premarket .ms-dot,
.market-status-bar.afterhours .ms-dot { background: #666; }
.market-status-bar.closed .ms-dot { background: var(--red); opacity: 0.5; }
.market-status-bar.closed { opacity: 0.7; }
@keyframes blink-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 64px;
  z-index: 98;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo-img { height: 60px; width: auto; display: block; }
.nav-tagline {
  flex: 0 1 auto;
  font-family: var(--font-sans);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 700;
  color: var(--amber);
  white-space: nowrap;
  padding: 0 20px;
  letter-spacing: 0.01em;
}
.footer-logo-img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--amber) !important;
  color: #000 !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.nav-cta:hover { background: #33ff33 !important; }

/* ── LIVE BANNER ── */
.live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #1a0000, #2a0505, #1a0000);
  border-bottom: 1px solid #ff000040;
  padding: 8px 20px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: background 0.2s;
}
.live-banner:hover { background: linear-gradient(90deg, #2a0505, #3a0808, #2a0505); }
.live-dot {
  width: 10px;
  height: 10px;
  background: #ff0000;
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #ff0000; }
  50% { opacity: 0.4; box-shadow: 0 0 12px #ff0000; }
}
.live-label {
  color: #ff0000;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.live-title {
  color: var(--text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}
.live-cta {
  color: var(--amber);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

/* ── HERO ── */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,230,118,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 24px; letter-spacing: -0.02em; }
.hero-accent { color: var(--amber); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--font-mono); font-size: 28px; font-weight: 700; color: var(--amber); }
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary { background: var(--amber); color: #000; font-weight: 700; }
.btn-primary:hover { background: #33ff33; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber); }
.btn-large { padding: 18px 40px; font-size: 17px; }

/* ── SECTIONS ── */
.section { padding: 100px 24px; }
.section-alt { background: var(--bg2); }
.section-discord {
  background: linear-gradient(135deg, var(--bg3) 0%, #0d1020 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em; }
.section-sub { font-size: 17px; color: var(--muted); max-width: 560px; margin-bottom: 48px; line-height: 1.7; }
.section-discord .section-sub { margin: 0 auto 40px; }
.discord-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 48px;
  margin-bottom: 0;
  min-width: 340px;
}
.discord-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5865F2;
}
.discord-card-name {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.discord-card-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}
.discord-card-stat { text-align: center; }
.discord-card-value {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.discord-online { color: var(--amber); }
.discord-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}
.discord-card-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}
.discord-card-btn { margin-top: 0; }
.section-cta { margin-top: 40px; }

/* ── FEATURES GRID ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--amber); }
.feature-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── DASHBOARD EMBED ── */
.dashboard-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.dashboard-toolbar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.toolbar-dot { width: 12px; height: 12px; border-radius: 50%; }
.toolbar-dot.red { background: #ff5f57; }
.toolbar-dot.yellow { background: #febc2e; }
.toolbar-dot.green { background: #28c840; }
.toolbar-url { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-left: 12px; flex: 1; }
.toolbar-open { font-family: var(--font-mono); font-size: 11px; color: var(--amber); text-decoration: none; }
.toolbar-open:hover { color: #fbbf24; }
.dashboard-iframe { width: 100%; height: 700px; border: none; display: block; background: #0a0c12; }
.dashboard-offline {
  display: none;
  padding: 80px 24px;
  text-align: center;
  background: var(--bg3);
}
.offline-icon { font-size: 48px; margin-bottom: 16px; }
.offline-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.offline-sub { color: var(--muted); font-size: 15px; }
.offline-sub a { color: var(--amber); }

/* ── VIDEO GRID ── */
.video-grid, .podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 16px;
}
.video-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.video-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.video-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg2); display: block; }
.video-info { padding: 16px; }
.video-title { font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.video-skeleton {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 220px;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── PODCAST PLATFORMS ── */
.podcast-platforms { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.platform-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.platform-badge:hover { border-color: var(--amber); background: rgba(0,255,0,0.05); }
.platform-badge svg { flex-shrink: 0; }

/* ── DISCORD NOTE ── */
.discord-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--amber); }
.footer-logo span { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { display: flex; align-items: center; gap: 5px; text-decoration: none; color: var(--muted); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }

/* ── NAV SOCIAL ICON ── */
.nav-social-icon { display: flex !important; align-items: center; color: var(--amber) !important; }
.footer-copy { color: var(--muted); font-size: 13px; }
.btn-contact {
  display: inline-block;
  text-decoration: none;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  transition: all 0.2s;
}
.btn-contact:hover { border-color: var(--amber); background: rgba(0,255,0,0.05); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE NAV DROPDOWN ── */
.nav-mobile {
  display: none;
  position: sticky;
  top: 124px;
  z-index: 98;
  flex-direction: column;
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--amber); }
.nav-cta-mobile {
  background: var(--amber);
  color: #000 !important;
  font-weight: 700 !important;
  padding: 14px 20px !important;
  border-radius: 6px;
  text-align: center;
  border-bottom: none !important;
  margin-top: 12px;
}
.nav-cta-mobile:hover { background: #33ff33 !important; }

/* ── SHORTS ROW ── */
.shorts-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.shorts-row::-webkit-scrollbar { height: 4px; }
.shorts-row::-webkit-scrollbar-track { background: transparent; }
.shorts-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.short-card {
  flex-shrink: 0;
  width: 175px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
}
.short-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.short-thumb { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: var(--bg2); display: block; }
.short-info { padding: 10px 12px 12px; }
.short-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.short-skeleton {
  flex-shrink: 0;
  width: 175px;
  aspect-ratio: 9/16;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ── TWITTER EMBED ── */
/* ── X / TWITTER CTA ── */
.x-cta-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.x-cta-icon { color: var(--text); opacity: 0.7; }
.x-cta-handle { font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; font-weight: 700; color: var(--amber); letter-spacing: -0.01em; }
.x-cta-tagline { font-size: 15px; color: var(--muted); line-height: 1.6; max-width: 340px; }
.x-cta-btn { margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .dashboard-iframe { height: 500px; }
}

/* ── QUOTE BANNER ── */
.quote-banner {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.quote-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.quote-mark {
  font-family: var(--font-mono);
  font-size: 52px;
  line-height: 1;
  color: var(--amber);
  opacity: 0.35;
  user-select: none;
}
.quote-text {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  letter-spacing: -0.01em;
  transition: opacity 0.4s ease;
  min-height: 2.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-text.fading { opacity: 0; }
.quote-dots { display: flex; gap: 7px; }
.quote-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s;
  cursor: pointer;
}
.quote-dot.active { background: var(--amber); }
.quote-dot:hover { background: var(--amber-dim); }

/* ── SCROLL FADE ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MARKET MOOD ── */
.mood-widget {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.mood-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}
.mood-vix { font-weight: 600; color: var(--text); }
.mood-track-wrap {
  position: relative;
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;
}
.mood-track {
  width: 100%;
  height: 4px;
  border-radius: 100px;
  background: linear-gradient(to right, #00ff00, #fbbf24 50%, #f87171);
}
.mood-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mood-color, var(--muted));
  border: 2px solid var(--bg);
  box-shadow: 0 0 10px var(--mood-color, transparent);
  transition: left 1.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.5s, box-shadow 0.5s;
}
.mood-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--mood-color, var(--muted));
  transition: color 0.5s;
}

/* ── WATCHLIST ── */
.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.watch-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s;
}
.watch-card:hover { border-color: var(--amber-dim); }
.watch-sym { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--amber); letter-spacing: 0.15em; margin-bottom: 8px; }
.watch-price { font-family: var(--font-mono); font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.watch-chg { font-family: var(--font-mono); font-size: 12px; }
.watch-up { color: #4ade80; }
.watch-down { color: var(--red); }
.watch-name { font-size: 11px; color: var(--muted); margin-top: 6px; }
.watch-skeleton {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 108px;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ── FLOW RADAR ── */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.flow-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s;
}
.flow-card:hover { border-color: var(--amber-dim); }
.flow-card-header { display: flex; align-items: center; gap: 14px; }
.flow-icon {
  width: 44px;
  height: 44px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.flow-card-name { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--amber); }
.flow-card-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.flow-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.flow-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  text-decoration: none;
  border: 1px solid var(--amber-dim);
  padding: 8px 16px;
  border-radius: 6px;
  align-self: flex-start;
  transition: all 0.2s;
}
.flow-card-link:hover { background: rgba(0,255,0,0.06); border-color: var(--amber); }

/* ── ECONOMIC CALENDAR ── */
.calendar-frame-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.calendar-iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
  background: var(--bg);
}

/* ── SEARCH ── */
.search-toggle {
  display: flex;
  align-items: center;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  transition: color 0.2s;
  flex-shrink: 0;
}
.search-toggle:hover { color: var(--amber); }
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.search-overlay.open { display: block; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
}
.search-box {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 48px));
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-input-row svg { color: var(--amber); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text);
}
.search-input::placeholder { color: var(--muted); }
.search-kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.search-results { max-height: 400px; overflow-y: auto; }
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: var(--bg3); }
.search-result-thumb {
  width: 88px;
  height: 50px;
  background: var(--bg3);
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.search-result-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.search-result-title { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result-meta { font-size: 11px; color: var(--muted); font-family: var(--font-mono); }
.search-empty { padding: 32px 20px; text-align: center; font-size: 13px; color: var(--muted); font-family: var(--font-mono); }

/* ── NEWSLETTER ── */
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.newsletter-content { flex: 1; }
.newsletter-form { flex: 0 0 420px; }
.newsletter-input-wrap {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.newsletter-input-wrap:focus-within { border-color: var(--amber); }
.newsletter-input {
  flex: 1;
  background: var(--bg3);
  border: none;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  outline: none;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-btn {
  background: var(--amber);
  color: #000;
  border: none;
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-btn:hover { background: #33ff33; }
.newsletter-note {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-top: 8px;
}

/* ── NEWSLETTER POPUP ── */
.nl-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.nl-popup {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  position: relative;
}
.nl-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s;
}
.nl-popup-close:hover { color: var(--text); }
.nl-popup-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0 6px;
}
.nl-popup-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.nl-popup .newsletter-form { flex: unset; }

@media (max-width: 768px) {
  .newsletter-inner { flex-direction: column; gap: 24px; text-align: center; }
  .newsletter-form { flex: unset; width: 100%; }
}
