/* Homepage v2 additions, preserving the live market table */
.bs-platform { padding:92px 0; border-top:1px solid rgba(124,166,193,.11); background:radial-gradient(circle at 75% 15%,rgba(53,229,154,.055),transparent 34%); }
.bs-platform-heading { max-width:760px; margin-bottom:28px; }
.bs-platform-heading h2 { margin:12px 0; font-size:clamp(34px,5vw,56px); line-height:1.04; letter-spacing:-.045em; }
.bs-platform-heading p { color:#8ea5bb; font-size:17px; line-height:1.7; }
.bs-platform-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.bs-platform-grid article { min-height:250px; padding:22px; display:flex; flex-direction:column; border:1px solid rgba(124,166,193,.17); border-radius:20px; background:linear-gradient(145deg,rgba(12,27,38,.9),rgba(7,16,24,.9)); }
.bs-platform-grid article > span { width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(53,229,154,.25); border-radius:10px; color:#35e59a; font-size:11px; font-weight:950; }
.bs-platform-grid h3 { margin:18px 0 10px; font-size:21px; }
.bs-platform-grid p { margin:0; color:#839ab0; line-height:1.65; }
.bs-platform-grid a { margin-top:auto; padding-top:18px; color:#6cc6fb; text-decoration:none; font-weight:850; }
.bs-platform-grid a:hover { color:#35e59a; }
@media(max-width:980px){.bs-platform-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.bs-platform{padding:62px 0}.bs-platform-grid{grid-template-columns:1fr}}


/* UI hotfix — homepage */
.bs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
}

.bs-hero-actions .bs-button {
    min-width: 228px;
    min-height: 56px;
    justify-content: center;
}

.bs-market-card {
    border: 1px solid rgba(124, 166, 193, 0.18);
    background: linear-gradient(145deg, rgba(12, 27, 38, 0.92), rgba(7, 16, 24, 0.96));
}

.bs-system-row,
.bs-bias-panel,
.bs-market-grid > div,
.bs-market-footer {
    border-radius: 18px;
}

.bs-market-grid > div {
    min-height: 118px;
}

.bs-market-card[data-home-state="online"] .bs-system-row {
    border-color: rgba(53, 229, 154, 0.22);
    background: rgba(53, 229, 154, 0.08);
}

.bs-market-card[data-home-state="offline"] .bs-system-row,
.bs-market-card[data-home-state="error"] .bs-system-row {
    border-color: rgba(255, 102, 119, 0.22);
    background: rgba(255, 102, 119, 0.08);
}

.bs-market-card[data-home-state="offline"] .bs-system-indicator,
.bs-market-card[data-home-state="error"] .bs-system-indicator {
    background: #ff6677;
    box-shadow: 0 0 0 8px rgba(255, 102, 119, 0.14);
}

.bs-market-card[data-home-bias="BULLISH"] .bs-bias-panel {
    border-color: rgba(53, 229, 154, 0.22);
    background: rgba(53, 229, 154, 0.06);
}

.bs-market-card[data-home-bias="BEARISH"] .bs-bias-panel {
    border-color: rgba(255, 102, 119, 0.22);
    background: rgba(255, 102, 119, 0.06);
}

.bs-market-card[data-home-bias="NEUTRAL"] .bs-bias-panel,
.bs-market-card[data-home-bias="UNKNOWN"] .bs-bias-panel {
    border-color: rgba(71, 184, 255, 0.18);
}

@media (max-width: 640px) {
    .bs-hero-actions .bs-button {
        width: 100%;
        min-width: 0;
    }
}


.bs-market-card[data-home-state="degraded"] .bs-system-row {
    border-color: rgba(245,196,81,.24);
    background: rgba(245,196,81,.075);
}
.bs-market-card[data-home-state="degraded"] .bs-system-indicator {
    background: #f5c451;
    box-shadow: 0 0 0 8px rgba(245,196,81,.13);
}
.bs-market-card[data-home-bias="NEUTRAL"] .bs-bias-panel,
.bs-market-card[data-home-bias="UNKNOWN"] .bs-bias-panel {
    border-color: rgba(71,184,255,.2);
    background: rgba(71,184,255,.055);
}
