/* ============================================================
   Bitcoin On-Chain Oracle – Stylesheet
   Krypto Magazin Branding (Dark Theme)
   ============================================================ */

:root {
    --bg-primary: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #222240;
    --border: #2a2a4a;
    --text: #e0e0e0;
    --text-muted: #888;
    --accent: #0d6efd;
    --green: #198754;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ============================================================
   Header
   ============================================================ */

.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-icon {
    font-size: 28px;
    color: var(--orange);
    font-weight: 700;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

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

.header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.header-sep { color: var(--border); }

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============================================================
   Container
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ============================================================
   Score Section
   ============================================================ */

.score-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.score-card, .score-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.score-card {
    text-align: center;
}

.score-card h2 {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gauge-wrap {
    position: relative;
    display: inline-block;
}

.gauge-value {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: 800;
    color: #fff;
}

.gauge-label {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-range {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 12px;
}

.score-details h3 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.weight-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.weight-bar-name {
    width: 130px;
    font-size: 13px;
    text-align: right;
    color: var(--text-muted);
}

.weight-bar-track {
    flex: 1;
    height: 24px;
    background: #111128;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.weight-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    padding-left: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.weight-bar-score {
    width: 55px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   Guide / Auf einen Blick
   ============================================================ */

.guide-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.guide-verdict {
    padding: 28px 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.guide-verdict-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.guide-verdict-text {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.guide-verdict-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.guide-explain {
    padding: 24px 32px 28px;
}

.guide-explain h3 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.guide-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.guide-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #111128;
}

.guide-icon-gauge { color: var(--accent); }
.guide-icon-hash { color: var(--red); }
.guide-icon-whale { color: var(--orange); font-size: 20px; }
.guide-icon-mem { color: var(--yellow); }
.guide-icon-diff { color: var(--green); }
.guide-icon-fee { color: var(--text-muted); }

.guide-item strong {
    font-size: 13px;
    color: #fff;
    display: block;
    margin-bottom: 3px;
}

.guide-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 700px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-verdict { padding: 20px 16px; }
    .guide-explain { padding: 16px; }
}

/* ============================================================
   Signal Cards
   ============================================================ */

.signals-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.signal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.2s;
}

.signal-card:hover {
    border-color: var(--accent);
}

.signal-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.signal-card-name {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signal-card-weight {
    font-size: 11px;
    color: var(--text-muted);
    background: #111128;
    padding: 2px 8px;
    border-radius: 4px;
}

.signal-card-score {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums;
}

.signal-card-direction {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
}

.dir-bullish { background: rgba(25, 135, 84, 0.2); color: var(--green); }
.dir-bearish { background: rgba(220, 53, 69, 0.2); color: var(--red); }
.dir-neutral { background: rgba(136, 136, 136, 0.15); color: var(--text-muted); }
.dir-strong_bullish { background: rgba(25, 135, 84, 0.35); color: #2dce89; }
.dir-strong_bearish { background: rgba(220, 53, 69, 0.35); color: #ff6b7a; }

.signal-card-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-card-detail {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Card Header with Info Button */
.card-header-with-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-header-with-info h2,
.card-header-with-info h3 {
    margin-bottom: 0;
}

/* Info Button */
.info-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--text-muted);
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.info-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(253, 126, 20, 0.1);
}

/* Info Modal */
.info-modal-box {
    max-width: 520px;
    text-align: left;
    padding: 32px 28px 28px;
    position: relative;
    border-color: var(--border);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.info-modal-box h2 {
    color: var(--orange);
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.info-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s;
}

.info-modal-close:hover {
    color: #fff;
}

.info-section {
    margin-bottom: 14px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section strong {
    font-size: 11px;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.info-section p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   Charts
   ============================================================ */

.chart-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.chart-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.chart-wrap {
    position: relative;
    height: 250px;
}

.chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ============================================================
   Split Section (Network + Whales)
   ============================================================ */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.network-section, .whale-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.network-section h2, .whale-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-item {
    background: #111128;
    border-radius: 8px;
    padding: 14px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Whale Feed */

.whale-feed {
    max-height: 300px;
    overflow-y: auto;
}

.whale-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.whale-item:last-child { border-bottom: none; }

.whale-amount {
    font-weight: 700;
    color: #fff;
}

.whale-dir {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
}

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

/* ============================================================
   Success Score Section
   ============================================================ */

.success-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.success-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.success-score-card {
    text-align: center;
    padding: 20px;
    background: #111128;
    border-radius: 10px;
}

.success-score-card h2 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.success-big-number {
    font-size: 56px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 8px;
}

.success-detail {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.success-streak {
    font-size: 13px;
    margin-bottom: 8px;
}

.success-mode {
    font-size: 11px;
    color: var(--text-muted);
    padding: 3px 10px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.success-chart-card {
    display: flex;
    flex-direction: column;
}

.success-chart-card h3 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.success-predictions h3 {
    font-size: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.prediction-list {
    max-height: 320px;
    overflow-y: auto;
}

.prediction-item {
    display: grid;
    grid-template-columns: 28px 1fr 100px 90px 80px;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.prediction-item:last-child { border-bottom: none; }

.prediction-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.prediction-icon.correct {
    background: rgba(25, 135, 84, 0.2);
    color: var(--green);
}

.prediction-icon.wrong {
    background: rgba(220, 53, 69, 0.2);
    color: var(--red);
}

.prediction-type {
    color: var(--text);
    font-weight: 500;
}

.prediction-dir {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    text-align: center;
}

.prediction-return {
    text-align: right;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

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

@media (max-width: 900px) {
    .success-header { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .prediction-item { grid-template-columns: 28px 1fr 80px; }
    .prediction-return, .prediction-time { display: none; }
}

/* ============================================================
   Accuracy Section
   ============================================================ */

.accuracy-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.accuracy-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.accuracy-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.accuracy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.accuracy-card {
    background: #111128;
    border-radius: 8px;
    padding: 16px;
}

.accuracy-card-type {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.accuracy-card-pct {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}

.accuracy-card-detail {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.accuracy-card-bar {
    height: 4px;
    background: #1a1a2e;
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.accuracy-card-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.8s ease;
}

/* ============================================================
   Tab Navigation
   ============================================================ */

.tab-nav {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.tab-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 0;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: var(--font);
}

.tab-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: #fff;
    border-bottom-color: var(--orange);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: contents;
}

/* ============================================================
   Trading Demo
   ============================================================ */

.trading-hero {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.trading-balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.trading-balance-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.trading-balance-value {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    margin-bottom: 6px;
}

.trading-balance-return {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    margin-bottom: 10px;
}

.trading-balance-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.trading-position-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.trading-position-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.trading-position-none {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.trading-position-active {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trading-position-type {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trading-position-type.long { color: var(--green); }
.trading-position-type.short { color: var(--red); }

.trading-position-detail {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.trading-position-pnl {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.trading-stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.trading-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

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

.trading-stat-row span:first-child { color: var(--text-muted); }
.trading-stat-row span:last-child {
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* Trading Chart */
.trading-chart-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.trading-chart-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* Strategy */
.trading-strategy {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.trading-strategy h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.strategy-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: #111128;
    border-radius: 10px;
    border-left: 3px solid var(--border);
}

.strategy-long { border-left-color: var(--green); }
.strategy-short { border-left-color: var(--red); }
.strategy-close { border-left-color: var(--text-muted); }
.strategy-flip { border-left-color: var(--orange); }

.strategy-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.strategy-item strong {
    font-size: 14px;
    color: #fff;
    display: block;
    margin-bottom: 4px;
}

.strategy-item p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.strategy-note {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(253, 126, 20, 0.08);
    border: 1px solid rgba(253, 126, 20, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    line-height: 1.6;
}

/* Trade History */
.trading-history-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.trading-history-section h2 {
    font-size: 16px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.trade-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.trade-item {
    display: grid;
    grid-template-columns: 80px 1fr 100px 100px 120px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.trade-item:last-child { border-bottom: none; }

.trade-type-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    text-align: center;
}

.trade-type-badge.long {
    background: rgba(25, 135, 84, 0.2);
    color: var(--green);
}

.trade-type-badge.short {
    background: rgba(220, 53, 69, 0.2);
    color: var(--red);
}

.trade-prices {
    color: var(--text-muted);
}

.trade-pnl {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.trade-pnl-pct {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

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

@media (max-width: 900px) {
    .trading-hero { grid-template-columns: 1fr; }
    .strategy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .trade-item { grid-template-columns: 70px 1fr 80px; }
    .trade-pnl-pct, .trade-time { display: none; }
    .trading-balance-value { font-size: 32px; }
}

/* ============================================================
   Footer / Disclaimer
   ============================================================ */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.disclaimer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 20px;
}

.disclaimer h3 {
    font-size: 14px;
    color: var(--orange);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   Disclaimer Modal
   ============================================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--orange);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    padding: 40px 36px 32px;
    text-align: center;
    box-shadow: 0 0 60px rgba(253, 126, 20, 0.15);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1;
}

.modal-box h2 {
    font-size: 22px;
    color: var(--orange);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-text {
    text-align: left;
    margin-bottom: 28px;
}

.modal-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.7;
}

.modal-text p strong {
    color: var(--text);
}

.modal-accept-btn {
    display: inline-block;
    background: var(--orange);
    color: #000;
    border: none;
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-accept-btn:hover {
    background: #e06b0a;
    transform: scale(1.02);
}

.modal-accept-btn:active {
    transform: scale(0.98);
}

.modal-legal-link {
    margin-top: 16px;
    font-size: 12px;
}

.modal-legal-link a {
    color: var(--text-muted);
}

.modal-tracking-note {
    background: rgba(253, 126, 20, 0.08);
    border: 1px solid rgba(253, 126, 20, 0.2);
    border-radius: 6px;
    padding: 10px 12px !important;
    margin-top: 16px !important;
    font-size: 12px !important;
}

.modal-legal-link a:hover {
    color: var(--orange);
}

/* ============================================================
   Scrollbar
   ============================================================ */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
    .score-section { grid-template-columns: 1fr; }
    .signal-grid { grid-template-columns: repeat(2, 1fr); }
    .split-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-inner { flex-direction: column; gap: 8px; }
    .signal-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
