@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Base Colors */
    --bg-base: #09090b;
    --bg-elevated: #18181b;
    --bg-muted: #27272a;

    /* Borders */
    --border: #27272a;
    --border-hover: #3f3f46;

    /* Text */
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Accents - Relaxing Ocean Blue Theme */
    --accent: #0ea5e9;  /* Soft ocean blue */
    --accent-glow: rgba(14, 165, 233, 0.15);
    --accent-blue: #0ea5e9;  /* Ocean blue */
    --accent-sky: #38bdf8;   /* Light sky blue */
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-green-alt: #34d399;
    --accent-red: #ef4444;
    --accent-orange: #f97316;

    /* Blue Gradient (Ocean) */
    --blue-from: #0ea5e9;    /* Ocean blue */
    --blue-to: #38bdf8;      /* Sky blue */
    --blue-glow: rgba(14, 165, 233, 0.3);

    /* Green Gradient */
    --green-from: #10b981;
    --green-to: #34d399;
    --green-glow: rgba(16, 185, 129, 0.3);

    /* Radii */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;

    /* Fonts */
    --font-primary: 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1rem;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 32px;
    width: auto;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-glow);
}

.install-btn {
    background: linear-gradient(135deg, var(--blue-from) 0%, var(--blue-to) 100%);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.install-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5),
                0 0 60px rgba(14, 165, 233, 0.3);
}

.install-btn:active {
    transform: scale(0.98);
}

/* ============================================
   MOBILE MENU TOGGLE
   ============================================ */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 3rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
}

.footer-disclaimer {
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.disclaimer-title {
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.disclaimer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-separator {
    color: var(--text-muted);
}

.footer-copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Session Filter */
.session-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.session-btn {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.session-btn:hover {
    border-color: var(--border-hover);
    background: var(--bg-muted);
}

.session-btn.active {
    background: linear-gradient(135deg, var(--blue-from) 0%, var(--blue-to) 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.3);
}

.session-btn.active:hover {
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.5),
                0 0 60px rgba(14, 165, 233, 0.3);
}

/* Market Overview Summary */
.market-overview-summary {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.overview-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.overview-session {
    background: var(--accent-glow);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
}

.overview-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2),
                0 0 0 1px rgba(14, 165, 233, 0.1) inset;
}

.metric-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.metric-change {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.metric-change.positive {
    color: var(--accent-green);
}

.metric-change.negative {
    color: var(--accent-red);
}

.overview-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Pairs Grid */
.pairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pair-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.pair-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 165, 233, 0.5);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.3),
                0 0 0 1px rgba(14, 165, 233, 0.2) inset,
                0 0 40px rgba(14, 165, 233, 0.2);
}

.pair-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pair-info {
    flex: 1;
}

.pair-code {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
    margin: 0;
}

.pair-name {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.pair-category {
    background: var(--bg-muted);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.pair-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pair-session {
    font-weight: 600;
}

.pair-bias {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bias-indicator {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.bias-indicator.bias-long {
    background: linear-gradient(135deg, var(--green-from) 0%, var(--green-to) 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}


.bias-indicator.bias-short {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    color: #ffffff;
}

.bias-indicator.bias-neutral {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.confidence-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.confidence-badge.confidence-high {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.confidence-badge.confidence-medium {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.confidence-badge.confidence-low {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

.pair-card-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: auto;
}

/* Fear Meter Mini */
.fear-meter-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fear-scale-mini {
    display: flex;
    gap: 2px;
    height: 8px;
}

.fear-pip-mini {
    flex: 1;
    background: var(--bg-muted);
    border-radius: 2px;
    transition: background var(--transition-fast);
}

.fear-pip-mini.active.extreme-fear { background: #dc2626; }
.fear-pip-mini.active.fear { background: #f97316; }
.fear-pip-mini.active.neutral { background: #0ea5e9; }  /* Ocean blue */
.fear-pip-mini.active.greed { background: #84cc16; }
.fear-pip-mini.active.extreme-greed { background: #10b981; }

.fear-score-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.fear-number-mini {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
}

.fear-label-mini {
    color: var(--text-muted);
}

/* OHLC Mini */
.ohlc-mini {
    background: var(--bg-muted);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ohlc-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
}

.ohlc-label {
    color: var(--text-muted);
}

.ohlc-value {
    font-family: var(--font-mono);
    font-weight: 600;
}

.ohlc-value.positive {
    color: var(--accent-green);
}

.ohlc-value.negative {
    color: var(--accent-red);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
}

.empty-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.empty-hint {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   PAIR DETAIL PAGE
   ============================================ */
.pair-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.breadcrumb-link {
    color: var(--text-secondary);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
}

.report-header {
    margin-bottom: 2rem;
}

.report-title-section {
    margin-bottom: 1.5rem;
}

.pair-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.75rem;
    background: var(--bg-elevated);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.pair-code-large {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
}

.pair-name-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.report-title {
    font-size: 2rem;
    margin: 0;
}

.report-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-value {
    font-weight: 600;
}

.session-badge {
    background: var(--accent-glow);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.report-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .report-layout {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.report-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Fear Meter (Full) */
.fear-meter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fear-scale {
    display: flex;
    gap: 4px;
    height: 12px;
}

.fear-pip {
    flex: 1;
    background: var(--bg-muted);
    border-radius: 4px;
    transition: background var(--transition-fast);
}

.fear-pip.active.extreme-fear { background: #dc2626; }
.fear-pip.active.fear { background: #f97316; }
.fear-pip.active.neutral { background: #0ea5e9; }  /* Ocean blue */
.fear-pip.active.greed { background: #84cc16; }
.fear-pip.active.extreme-greed { background: #10b981; }

.fear-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fear-score-display {
    text-align: center;
}

.fear-score-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent);
}

.fear-score-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.fear-interpretation {
    font-size: 0.875rem;
    line-height: 1.6;
}

/* OHLC Grid */
.ohlc-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ohlc-row {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.ohlc-row:last-child {
    border-bottom: none;
}

.ohlc-row.ohlc-change {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    border-bottom: none;
}

.ohlc-value.high {
    color: var(--accent-green);
}

.ohlc-value.low {
    color: var(--accent-red);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quick-link {
    display: block;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.quick-link:hover {
    background: var(--bg-muted);
    color: var(--accent);
}

/* Report Content */
.report-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.report-body {
    margin-bottom: 2rem;
}

.report-body h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.report-body h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.report-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.report-body th {
    background: var(--bg-muted);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border);
}

.report-body td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.report-body pre,
.report-body code {
    background: var(--bg-muted);
    padding: 0.125rem 0.375rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

.report-body pre {
    padding: 1rem;
    overflow-x: auto;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

/* Table Wrapper for Horizontal Scroll */
.table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

/* Related Reports */
.related-reports {
    margin-top: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all var(--transition-base);
    display: block;
}

.related-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.related-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.related-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.related-bias {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bias-mini {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.confidence-mini {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   COMPONENTS
   ============================================ */

/* Action Zones Table */
.zones-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.zones-table {
    width: 100%;
    border-collapse: collapse;
}

.zones-table th {
    background: var(--bg-muted);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--border);
}

.zones-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.zone-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

.zone-badge.zone-buy {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.zone-badge.zone-sell {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

.zone-badge.zone-breakout {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

/* Liquidity Levels */
.liquidity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.liquidity-section {
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.liquidity-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.liquidity-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.liquidity-item {
    background: var(--bg-elevated);
    border-left: 3px solid;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
}

.liquidity-item.buy-liquidity {
    border-left-color: var(--accent-green);
}

.liquidity-item.sell-liquidity {
    border-left-color: var(--accent-red);
}

.liquidity-item.neutral-liquidity {
    border-left-color: var(--accent);
}

.liquidity-level-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.liquidity-type {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.liquidity-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Scorecard Table */
.scorecard-table-wrapper {
    overflow-x: auto;
    margin: 1rem 0;
}

.scorecard-table {
    width: 100%;
    border-collapse: collapse;
}

.scorecard-table th {
    background: var(--bg-muted);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 2px solid var(--border);
}

.scorecard-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.result-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

.result-badge.result-hit {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.result-badge.result-partial {
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent-orange);
}

.result-badge.result-missed {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

.result-badge.result-no-trade {
    background: var(--bg-muted);
    color: var(--text-secondary);
}

.scorecard-summary {
    background: var(--bg-muted);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.summary-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent);
}

.no-data-message {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE - MOBILE NAVIGATION
   ============================================ */
@media (max-width: 1024px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Desktop navigation becomes mobile overlay */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        padding: 5rem 2rem 2rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 1000;
    }

    /* Open state */
    .main-nav.mobile-nav-open {
        right: 0;
    }

    /* Nav links in mobile view */
    .main-nav .nav-link {
        width: 100%;
        padding: 1rem 1.25rem;
        font-size: 1.125rem;
        border-radius: var(--radius-md);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        background: var(--accent-glow);
        border-left-color: var(--accent);
        transform: translateX(4px);
    }

    /* Install button in mobile view */
    .main-nav .install-btn {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
    }

    /* Add overlay behind mobile menu */
    .main-nav.mobile-nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: -1;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

@media (max-width: 768px) {
    .header-container {
        gap: 1rem;
    }

    .pairs-grid {
        grid-template-columns: 1fr;
    }

    .overview-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile menu width */
    .main-nav {
        width: 85%;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }

    .overview-metrics {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .site-title {
        font-size: 1.125rem;
    }

    .logo-img {
        height: 28px;
    }

    /* Full width mobile menu */
    .main-nav {
        width: 90%;
        padding: 4rem 1.5rem 1.5rem 1.5rem;
    }

    .main-nav .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
}
