/* ═══════════════════════════════════════════════════════════
   DEEP BLUE ALPHA — Ethereum Whale Intelligence
   Color Palette: Deep navy, neon cyan, electric purple, dark teal
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    /* Core palette */
    --bg-darkest: #020817;
    --bg-dark: #0a192f;
    --bg-card: #0d1f3c;
    --bg-card-hover: #112240;
    --bg-elevated: #1d3461;

    /* Borders */
    --border: #1d3461;
    --border-subtle: #112240;
    --border-glow: #00e5ff33;

    /* Text */
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --text-muted: #495670;
    --text-bright: #e6f1ff;

    /* Accent — Neon Cyan */
    --cyan: #00e5ff;
    --cyan-dim: #00b8d4;
    --cyan-glow: #00e5ff40;
    --cyan-bg: #00e5ff10;

    /* Purple accent */
    --purple: #e040fb;
    --purple-dim: #ab47bc;
    --purple-glow: #e040fb30;

    /* Semantic */
    --green: #00e676;
    --green-bg: #00e67615;
    --red: #ff5252;
    --red-bg: #ff525215;
    --amber: #ffab40;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
    --font-display: 'Orbitron', 'Inter', sans-serif;

    /* Sizing */
    --nav-height: 64px;
    --section-gap: 24px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

a:hover {
    color: var(--text-bright);
}

/* ── Navigation ────────────────────────────────────────────── */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-img {
    border-radius: 8px;
    filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.nav-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 2px;
}

.text-accent {
    color: var(--cyan);
    text-shadow: 0 0 20px var(--cyan-glow);
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-bright);
    background: var(--cyan-bg);
}

.nav-link.active {
    color: var(--cyan);
    background: var(--cyan-bg);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
    border-radius: 2px 2px 0 0;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--green); }
    50% { opacity: 0.4; box-shadow: none; }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 0.3s;
}

.status-dot.connected {
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.status-dot.connecting {
    background: var(--amber);
    animation: pulse-dot 1s ease-in-out infinite;
}

.status-dot.error {
    background: var(--red);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 8px 24px 16px;
    gap: 4px;
    border-top: 1px solid var(--border);
}

.nav-mobile.open {
    display: flex;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .nav-inner { padding: 0 16px; }
}

/* ── Main Content ──────────────────────────────────────────── */
.main-content {
    min-height: calc(100vh - var(--nav-height) - 60px);
}

.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: var(--section-gap);
}

@media (max-width: 768px) {
    .section { padding: 0 16px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--section-gap);
}

.hero-banner {
    position: relative;
    width: 100%;
    max-height: 340px;
    overflow: hidden;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 340px;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(2, 8, 23, 0.3) 40%,
        rgba(2, 8, 23, 0.85) 75%,
        var(--bg-darkest) 100%
    );
}

.hero-banner.no-banner {
    display: none;
}

.hero-banner.no-banner + .hero-banner-overlay {
    display: none;
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    margin-top: -120px;
    z-index: 2;
}

.hero-banner.no-banner ~ .hero-content {
    margin-top: 48px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #00e5ff, #00b8d4, #e040fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.3));
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.sentiment-bull { color: var(--green) !important; }
.sentiment-bear { color: var(--red) !important; }

@media (max-width: 768px) {
    .hero-title { font-size: 28px; letter-spacing: 2px; }
    .hero-stats { gap: 24px; }
    .hero-stat-value { font-size: 22px; }
    .hero-content { padding: 0 16px; margin-top: -80px; }
}

/* ── Stats Grid ────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stats-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--border-glow);
    transform: translateY(-2px);
}

.stat-card.compact {
    padding: 16px;
}

.stat-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-icon.buy {
    background: var(--green-bg);
    color: var(--green);
}

.stat-card-icon.sell {
    background: var(--red-bg);
    color: var(--red);
}

.stat-card-icon.neutral {
    background: var(--cyan-bg);
    color: var(--cyan);
}

.stat-card-icon.whale {
    background: var(--purple-glow);
    color: var(--purple);
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-bright);
}

.stat-card-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

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

/* ── Panels ────────────────────────────────────────────────── */
.panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.panel-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-action {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 500;
}

.panel-action:hover {
    color: var(--text-bright);
}

.panel-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--cyan);
    background: var(--cyan-bg);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid var(--cyan-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.panel-body {
    padding: 12px 20px 20px;
}

/* ── Live Indicator ────────────────────────────────────────── */
.live-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--cyan-glow);
}

.live-indicator.large {
    width: 12px;
    height: 12px;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan-glow); }
    50% { opacity: 0.5; box-shadow: 0 0 16px var(--cyan); }
}

/* ── Dashboard Grid ────────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1024px) {
    .dashboard-grid { grid-template-columns: 1fr; }
}

/* ── Feed Rows ─────────────────────────────────────────────── */
.feed-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.2s;
}

.feed-row:hover {
    background: var(--bg-card-hover);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.feed-row:last-child {
    border-bottom: none;
}

.feed-row.new-row {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.feed-direction {
    flex-shrink: 0;
    width: 56px;
}

.direction-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.direction-badge.buy {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.25);
}

.direction-badge.sell {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid rgba(255, 82, 82, 0.25);
}

.feed-token {
    flex-shrink: 0;
    width: 70px;
}

.token-symbol {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-bright);
}

.token-symbol-badge {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--cyan);
    background: var(--cyan-bg);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
}

.feed-amount {
    flex: 1;
    min-width: 0;
}

.amount-usd {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-bright);
}

.amount-usd-lg {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 15px;
    color: var(--text-bright);
}

.amount-token {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.feed-wallet {
    flex-shrink: 0;
}

.wallet-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan-dim);
}

.wallet-link:hover {
    color: var(--cyan);
    text-decoration: underline;
}

.feed-time {
    flex-shrink: 0;
    width: 70px;
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

.feed-tx {
    flex-shrink: 0;
    width: 24px;
}

/* ── Token Rows (sidebar) ─────────────────────────────────── */
.token-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.token-row:last-child { border-bottom: none; }

.token-rank {
    width: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
}

.token-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.token-sym {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-bright);
}

.token-txns {
    font-size: 11px;
    color: var(--text-muted);
}

.token-volume {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--cyan);
}

/* ── Feed Table ────────────────────────────────────────────── */
.feed-table-wrapper {
    overflow-x: auto;
}

.feed-table {
    width: 100%;
    border-collapse: collapse;
}

.feed-table thead th {
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.feed-table tbody tr {
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s;
    cursor: default;
}

.feed-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.feed-table td {
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
}

.amount-cell { font-family: var(--font-mono); }
.time-cell { color: var(--text-muted); font-size: 12px; }
.mono { font-family: var(--font-mono); font-size: 13px; }

.tx-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.tx-link:hover {
    color: var(--cyan);
}

.tx-link-small {
    color: var(--text-muted);
}

.tx-link-small:hover {
    color: var(--cyan);
}

/* ── Wallets Table ─────────────────────────────────────────── */
.wallets-table tbody tr {
    cursor: pointer;
}

.wallet-row:hover {
    background: var(--bg-card-hover);
}

.rank-cell {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-muted);
    width: 40px;
}

.wallet-address-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan-dim);
}

.wallet-address-link:hover {
    color: var(--cyan);
}

.wallet-address-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan-dim);
    cursor: pointer;
}

.wallet-label {
    font-size: 13px;
    color: var(--purple);
    font-weight: 500;
}

/* ── Page Header ───────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 0 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.page-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.page-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Filters ───────────────────────────────────────────────── */
.filter-group {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.filter-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-body);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    color: var(--text-bright);
}

.filter-btn.active {
    background: var(--cyan-bg);
    color: var(--cyan);
    border: 1px solid var(--cyan-glow);
}

.filter-select {
    padding: 6px 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    outline: none;
}

.filter-select:focus {
    border-color: var(--cyan);
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.btn-icon.active {
    background: var(--red-bg);
    color: var(--red);
    border-color: rgba(255, 82, 82, 0.3);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-darkest);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--cyan-dim);
    box-shadow: 0 0 20px var(--cyan-glow);
    color: var(--bg-darkest);
}

.btn-secondary {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ── Trends ────────────────────────────────────────────────── */
.trends-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .trends-grid { grid-template-columns: 1fr; }
}

.trend-token-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.trend-token-row:last-child { border-bottom: none; }

.trend-rank {
    width: 28px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
}

.trend-info {
    width: 80px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trend-symbol {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-bright);
}

.trend-trades {
    font-size: 11px;
    color: var(--text-muted);
}

.trend-bar-container {
    flex: 1;
    min-width: 0;
}

.trend-bar {
    height: 6px;
    background: var(--bg-dark);
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.trend-bar-buy {
    background: var(--cyan);
    border-radius: 3px 0 0 3px;
    min-width: 0;
}

.trend-bar-sell {
    background: var(--purple);
    border-radius: 0 3px 3px 0;
    min-width: 0;
}

.trend-buysell-pct {
    width: 80px;
    text-align: center;
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.trend-pct-buy { font-weight: 700; }
.trend-pct-sell { font-weight: 700; }
.trend-pct-divider { color: var(--text-muted); margin: 0 1px; }

.trend-volume {
    width: 80px;
    text-align: right;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--cyan);
    flex-shrink: 0;
}

/* ── WETH Hero Section ────────────────────────────────────── */
.weth-hero {
    background: linear-gradient(135deg, rgba(224, 64, 251, 0.08), rgba(0, 229, 255, 0.06));
    border: 1px solid rgba(224, 64, 251, 0.2);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 16px;
}

.weth-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.weth-hero-label {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.weth-hero-volume {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--purple);
}

.weth-hero-bar {
    height: 10px;
    background: var(--bg-dark);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    margin-bottom: 10px;
}

.weth-hero-bar-buy {
    background: linear-gradient(90deg, var(--cyan), var(--cyan-dim));
    border-radius: 5px 0 0 5px;
}

.weth-hero-bar-sell {
    background: linear-gradient(90deg, var(--purple-dim), var(--purple));
    border-radius: 0 5px 5px 0;
}

.weth-hero-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.weth-hero-trades {
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.weth-hero-pct {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 12px;
}

.weth-hero-pct .text-muted {
    margin: 0 4px;
}

.trend-section-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding-bottom: 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border-subtle);
}

/* ── DEX Trending ──────────────────────────────────────────── */
.dex-token-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.dex-token-row:last-child { border-bottom: none; }

.dex-rank {
    width: 28px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
}

.dex-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dex-symbol {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-bright);
}

.dex-name {
    font-size: 11px;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dex-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    width: 90px;
    text-align: right;
}

.dex-change {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    width: 65px;
    text-align: right;
}

.dex-change.positive { color: var(--green); }
.dex-change.negative { color: var(--red); }

.dex-volume {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    width: 70px;
    text-align: right;
}

.dex-link {
    width: 24px;
    flex-shrink: 0;
}

.external-link {
    color: var(--text-muted);
    transition: color 0.2s;
}

.external-link:hover {
    color: var(--cyan);
}

/* ── Heatmap ───────────────────────────────────────────────── */
.heatmap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 120px;
}

.heatmap-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid;
    min-width: 80px;
    gap: 4px;
    transition: transform 0.2s;
}

.heatmap-cell:hover {
    transform: scale(1.05);
}

.heatmap-symbol {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-bright);
}

.heatmap-volume {
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--cyan);
}

.heatmap-pct {
    font-size: 9px;
    font-family: var(--font-mono);
    font-weight: 600;
    opacity: 0.85;
}

/* ── Charts ────────────────────────────────────────────────── */
.chart-container {
    padding: 10px 16px 12px;
}

.chart-container-compact {
    flex: 1;
    display: flex;
    align-items: center;
}

.chart-container-compact canvas {
    max-height: none;
    width: 100%;
    flex: 1;
}

.chart-wrapper {
    position: relative;
    height: 300px;
}

.chart-wrapper canvas {
    max-height: 300px;
}

.chart-wrapper-lg {
    height: 420px;
}

.chart-wrapper-lg canvas {
    max-height: 420px;
}

/* ── Daily Briefing ────────────────────────────────────────── */
.briefing-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Hero / Top Story */
.briefing-hero {
    background: linear-gradient(135deg, rgba(255, 171, 64, 0.08), rgba(0, 229, 255, 0.05));
    border: 1px solid rgba(255, 171, 64, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
    position: relative;
    overflow: hidden;
}

.briefing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ffab40, #00e5ff);
    border-radius: 4px 0 0 4px;
}

.briefing-hero-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffab40;
    margin-bottom: 10px;
}

.briefing-hero-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.4;
    margin-bottom: 8px;
}

.briefing-hero-title a {
    color: var(--text-bright);
    transition: color 0.2s;
}

.briefing-hero-title a:hover {
    color: var(--cyan);
}

.briefing-hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.briefing-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}

.briefing-hero-source {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--cyan);
}

.briefing-hero-time {
    color: var(--text-muted);
}

/* Stats Bar */
.briefing-stats-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-wrap: wrap;
}

.briefing-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.briefing-stat-val {
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-bright);
}

.briefing-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.briefing-source-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.briefing-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-elevated);
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.briefing-pill-count {
    background: rgba(0, 229, 255, 0.15);
    color: var(--cyan);
    padding: 1px 5px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
}

/* Category Grid — always 4 columns */
.briefing-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.briefing-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.briefing-category:hover {
    border-color: var(--border-glow);
}

.briefing-cat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(0,0,0,0), rgba(var(--cat-color-rgb, 0,229,255), 0.04));
}

.briefing-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    flex-shrink: 0;
}

.briefing-cat-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--text-bright);
    text-transform: uppercase;
}

.briefing-cat-count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 10px;
}

.briefing-cat-stories {
    padding: 8px 0;
}

.briefing-story {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    transition: background 0.15s;
}

.briefing-story:hover {
    background: rgba(255, 255, 255, 0.02);
}

.briefing-story-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.briefing-story-content {
    flex: 1;
    min-width: 0;
}

.briefing-story-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: block;
    transition: color 0.15s;
}

.briefing-story-title:hover {
    color: var(--cyan);
}

.briefing-story-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 11px;
}

.briefing-story-source {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-weight: 500;
}

.briefing-story-time {
    color: var(--text-muted);
    opacity: 0.7;
}

.briefing-empty {
    padding: 32px;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-divider-text {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .briefing-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .briefing-categories {
        grid-template-columns: 1fr;
    }
    .briefing-stats-bar {
        gap: 12px;
    }
    .briefing-source-pills {
        margin-left: 0;
        width: 100%;
    }
}

/* ── News ──────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: var(--cyan);
    box-shadow: 0 4px 20px var(--border-glow);
    transform: translateY(-2px);
}

.news-card.new-row {
    animation: slideIn 0.4s ease-out;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-source {
    font-size: 11px;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-time {
    font-size: 11px;
    color: var(--text-muted);
}

.news-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-bright);
}

.news-title a {
    color: var(--text-bright);
}

.news-title a:hover {
    color: var(--cyan);
}

.news-preview-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s, max-height 0.3s;
}

.news-card:hover .news-preview-text {
    opacity: 1;
    max-height: 80px;
}

.news-domain {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: var(--bg-dark);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-subtle);
}

.news-card-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--cyan);
}

.news-read-more:hover {
    color: var(--text-bright);
}

/* ── Wallet Detail ─────────────────────────────────────────── */
.wallet-hero {
    padding: 32px 0 24px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.wallet-hero-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wallet-avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: var(--cyan-bg);
    border: 1px solid var(--cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-hero-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.wallet-hero-addr {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.wallet-hero-addr .mono {
    font-size: 13px;
    color: var(--text-secondary);
    word-break: break-all;
}

.wallet-detail-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .wallet-detail-grid { grid-template-columns: 1fr; }
}

.token-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.token-breakdown-bar-container {
    flex: 1;
    height: 6px;
    background: var(--bg-dark);
    border-radius: 3px;
    overflow: hidden;
}

.token-breakdown-bar {
    height: 100%;
    background: var(--purple);
    border-radius: 3px;
    position: relative;
}

.token-breakdown-buy {
    height: 100%;
    background: var(--cyan);
    border-radius: 3px 0 0 3px;
}

.token-breakdown-vol {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    width: 70px;
    text-align: right;
    flex-shrink: 0;
}

/* ── CTA Section ───────────────────────────────────────────── */
.cta-section {
    padding-bottom: 48px;
}

.cta-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0d1f3c 50%, #1a0a2e 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--cyan));
}

.cta-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ── Feed Counter ──────────────────────────────────────────── */
.feed-counter {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: var(--cyan);
    color: var(--bg-darkest);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 20px var(--cyan-glow);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 50;
    cursor: pointer;
}

.feed-counter.visible {
    transform: translateY(0);
    opacity: 1;
}

/* ── Empty State ───────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    gap: 12px;
    color: var(--text-muted);
}

.empty-state.small {
    padding: 24px;
}

.empty-state.full-width {
    grid-column: 1 / -1;
}

.empty-state p {
    font-size: 14px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
    margin-top: 48px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    border-radius: 4px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 1.5px;
}

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

.footer-sep {
    color: var(--text-muted);
}

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

.footer-x-link {
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.footer-x-link:hover {
    color: var(--cyan);
}

/* ── Utility ───────────────────────────────────────────────── */
.text-green { color: var(--green) !important; }
.text-red { color: var(--red) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-purple { color: var(--purple) !important; }

.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bg-elevated);
}

/* ── Selection ─────────────────────────────────────────────── */
::selection {
    background: var(--cyan);
    color: var(--bg-darkest);
}

/* ── Glow effects for key elements ─────────────────────────── */
.stat-card-icon.buy svg,
.direction-badge.buy {
    filter: drop-shadow(0 0 4px rgba(0, 230, 118, 0.3));
}

.stat-card-icon.sell svg,
.direction-badge.sell {
    filter: drop-shadow(0 0 4px rgba(255, 82, 82, 0.3));
}

.nav-logo-img {
    transition: filter 0.3s;
}

.nav-brand:hover .nav-logo-img {
    filter: drop-shadow(0 0 12px var(--cyan-glow)) brightness(1.1);
}

/* ── Feed Type Tabs (Full page — /feed) ───────────────────── */
.feed-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.feed-tab {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feed-tab:hover {
    border-color: var(--text-muted);
    background: var(--bg-elevated);
}

.feed-tab.active {
    border-color: var(--cyan);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(0, 229, 255, 0.02));
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.feed-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
}

.feed-tab-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feed-tab-icon.whale-icon {
    background: rgba(0, 229, 255, 0.12);
    color: var(--cyan);
}

.feed-tab-icon.all-icon {
    background: rgba(224, 64, 251, 0.12);
    color: var(--purple);
}

.feed-tab.active .feed-tab-icon.whale-icon {
    background: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

.feed-tab.active .feed-tab-icon.all-icon {
    background: rgba(224, 64, 251, 0.2);
    box-shadow: 0 0 12px rgba(224, 64, 251, 0.15);
}

.feed-tab-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-bright);
    display: block;
}

.feed-tab-desc {
    font-size: 12px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.feed-tab.active .feed-tab-label {
    color: var(--cyan);
}

.feed-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .feed-tabs { flex-direction: column; gap: 8px; }
    .feed-tab { padding: 12px 16px; }
}

/* ── Dual Feed Grid (side by side on dashboard) ───────────── */
.dual-feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .dual-feed-grid { grid-template-columns: 1fr; }
}

.dual-feed-body {
    max-height: 500px;
    overflow-y: auto;
}

.panel-subtitle {
    padding: 0 20px 8px;
    font-size: 12px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

/* ── Analytics Grid (3-column for tokens + charts) ────────── */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .analytics-grid { grid-template-columns: 1fr; }
}

/* ── Analytics Grid 2-column (tokens + stacked panels) ───── */
.analytics-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .analytics-grid-2col { grid-template-columns: 1fr; }
}

.analytics-stacked {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.analytics-stacked > .panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.analytics-stacked > .panel > .panel-body,
.analytics-stacked > .panel > .sentiment-panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ── Roadmap CTA Link ─────────────────────────────────────── */
.roadmap-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-darkest);
    background: linear-gradient(135deg, var(--cyan), #06b6d4);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.roadmap-cta-link:hover {
    box-shadow: 0 4px 20px var(--cyan-glow);
    transform: translateY(-1px);
}

/* ── Sentiment Panel ──────────────────────────────────────── */
.sentiment-panel-body {
    padding: 20px 28px;
    flex: 1;
    display: flex;
    align-items: center;
}

.sentiment-row {
    display: flex;
    align-items: center;
    gap: 36px;
    width: 100%;
    justify-content: center;
}

.sentiment-ring-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.sentiment-metrics-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 600px) {
    .sentiment-row {
        flex-direction: column;
        align-items: center;
    }
}

.sentiment-ring-wrap canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.sentiment-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sentiment-center-score {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.sentiment-center-word {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.sentiment-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.sentiment-metric {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sentiment-metrics-side .sentiment-metric {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.sentiment-metrics-side .sentiment-metric-label {
    width: 58px;
    text-align: right;
}

.sentiment-metrics .sentiment-metric {
    align-items: center;
    text-align: center;
}

.sentiment-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sentiment-metric-val {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-bright);
}

.sentiment-metric-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Dual Panel Grid (Ratio + Picks side by side) ────────── */
.dual-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .dual-panel-grid { grid-template-columns: 1fr; }
}

/* ── Whale Picks Scorecard ───────────────────────────────── */
.picks-summary {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-subtle);
}

.picks-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.picks-stat-value {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.picks-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.picks-list {
    padding: 4px 0;
}

.picks-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.15s;
}

.picks-row:last-child { border-bottom: none; }

.picks-row:hover {
    background: var(--bg-card-hover);
}

.picks-rank {
    width: 24px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    font-family: var(--font-mono);
    flex-shrink: 0;
}

.picks-token {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.picks-symbol {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-bright);
}

.picks-whales {
    font-size: 11px;
    color: var(--text-muted);
}

.picks-net {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    width: 90px;
    text-align: right;
    flex-shrink: 0;
}

.picks-change {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    width: 60px;
    text-align: right;
    flex-shrink: 0;
}

.picks-verdict {
    width: 85px;
    text-align: right;
    flex-shrink: 0;
}

.verdict-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.verdict-win {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.verdict-small-win {
    background: rgba(0, 229, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.verdict-flat {
    background: rgba(255, 171, 64, 0.12);
    color: var(--amber);
    border: 1px solid rgba(255, 171, 64, 0.25);
}

.verdict-loss {
    background: rgba(255, 82, 82, 0.12);
    color: var(--red);
    border: 1px solid rgba(255, 82, 82, 0.25);
}

@media (max-width: 768px) {
    .picks-summary { gap: 20px; }
    .picks-row { gap: 8px; padding: 8px 12px; }
    .picks-net { width: 70px; }
    .picks-change { width: 50px; }
    .picks-verdict { width: 70px; }
}

/* ── Roadmap Page ─────────────────────────────────────────── */
.roadmap-hero {
    padding-top: 16px;
}

.roadmap-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-phase {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.roadmap-phase:last-child {
    margin-bottom: 0;
}

.phase-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.phase-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--bg-dark);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.phase-dot.active {
    border-color: var(--green);
    background: var(--green);
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.4);
}

.phase-dot.upcoming {
    border-color: var(--cyan);
    background: var(--bg-dark);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.phase-dot.future {
    border-color: var(--text-muted);
    background: var(--bg-dark);
}

.phase-line {
    width: 2px;
    flex: 1;
    min-height: 40px;
    background: linear-gradient(180deg, var(--border) 0%, transparent 100%);
    margin-top: 8px;
}

.phase-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    transition: all 0.3s;
}

.roadmap-phase.active .phase-content {
    border-color: rgba(0, 230, 118, 0.3);
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.04), var(--bg-card));
}

.roadmap-phase.upcoming .phase-content {
    border-color: rgba(0, 229, 255, 0.3);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.04), var(--bg-card));
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.phase-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.phase-badge.live {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.phase-badge.upcoming {
    background: rgba(0, 229, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.phase-badge.future {
    background: rgba(136, 146, 176, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.phase-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-bright);
    letter-spacing: 1px;
}

.phase-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.phase-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.phase-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s;
}

.phase-item:hover {
    border-color: var(--border);
    background: var(--bg-elevated);
}

.phase-item.done {
    border-color: rgba(0, 230, 118, 0.15);
    background: rgba(0, 230, 118, 0.03);
}

.phase-item.highlight {
    border-color: rgba(0, 229, 255, 0.25);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
}

.phase-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.phase-item-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 4px;
}

.phase-item-desc {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .roadmap-phase { gap: 16px; }
    .phase-content { padding: 16px 20px; }
    .phase-title { font-size: 17px; }
}
