@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    --bg: #05080d;
    --card: rgba(13, 21, 33, 0.88);
    --border: rgba(145, 165, 193, 0.16);
    --text: #f4f8ff;
    --muted: #8f9db1;
    --green: #35e59a;
    --cyan: #47b8ff;
    --red: #ff6677;
    --purple: #ae7cff;
}

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.bs-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.bs-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(5, 8, 13, 0.84);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.admin-bar .bs-header {
    top: 32px;
}

.bs-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bs-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.bs-logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: #03110b;
    font-size: 20px;
    font-weight: 900;
    box-shadow: 0 12px 32px rgba(53, 229, 154, 0.22);
}

.bs-logo-text {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.bs-logo-text span {
    color: var(--green);
}

.bs-nav {
    display: flex;
    gap: 34px;
}

.bs-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.bs-nav a:hover {
    color: var(--text);
}

.bs-header-button {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(53, 229, 154, 0.28);
    border-radius: 11px;
    background: rgba(53, 229, 154, 0.1);
    color: var(--green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.bs-header-button:hover {
    background: var(--green);
    color: #03110b;
}

.bs-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 160px 0 100px;
    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(71, 184, 255, 0.13),
            transparent 29%
        ),
        radial-gradient(
            circle at 86% 22%,
            rgba(53, 229, 154, 0.1),
            transparent 27%
        ),
        var(--bg);
}

.bs-grid-background {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.bs-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(95px);
}

.bs-glow-left {
    width: 360px;
    height: 360px;
    top: 12%;
    left: -180px;
    background: rgba(71, 184, 255, 0.16);
}

.bs-glow-right {
    width: 340px;
    height: 340px;
    right: -150px;
    bottom: 6%;
    background: rgba(53, 229, 154, 0.14);
}

.bs-hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
    align-items: center;
    gap: 72px;
}

.bs-badge {
    width: fit-content;
    padding: 10px 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(53, 229, 154, 0.23);
    border-radius: 999px;
    background: rgba(53, 229, 154, 0.11);
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.bs-badge > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.45;
        transform: scale(0.8);
    }
}

.bs-hero h1 {
    max-width: 760px;
    margin: 28px 0 24px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.bs-hero h1 strong {
    display: block;
    margin-top: 10px;
    background: linear-gradient(90deg, var(--green), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bs-description {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.bs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.bs-button {
    min-height: 56px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 13px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: 0.22s ease;
}

.bs-button-primary {
    background: linear-gradient(135deg, var(--green), #20c987);
    color: #03110b;
    box-shadow: 0 14px 40px rgba(53, 229, 154, 0.18);
}

.bs-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 52px rgba(53, 229, 154, 0.28);
}

.bs-button-secondary {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.035);
    color: var(--text);
}

.bs-button-secondary:hover {
    transform: translateY(-3px);
    border-color: rgba(71, 184, 255, 0.48);
    background: rgba(71, 184, 255, 0.08);
}

.bs-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    color: #748298;
    font-size: 13px;
}

.bs-market-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background:
        linear-gradient(
            155deg,
            rgba(18, 28, 44, 0.96),
            rgba(7, 12, 20, 0.9)
        );
    box-shadow: 0 42px 95px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.bs-market-header,
.bs-market-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bs-market-header {
    color: #718198;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.bs-window-dots {
    display: flex;
    gap: 6px;
}

.bs-window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    transition: 0.25s;
}

.bs-window-dots span:nth-child(1) {
    background: #ff5f57;
    box-shadow: 0 0 12px rgba(255,95,87,.35);
}

.bs-window-dots span:nth-child(2) {
    background: #febc2e;
    box-shadow: 0 0 12px rgba(254,188,46,.35);
}

.bs-window-dots span:nth-child(3) {
    background: #28c840;
    box-shadow: 0 0 12px rgba(40,200,64,.35);
}

.bs-market-card:hover .bs-window-dots span {
    transform: scale(1.08);
}
.bs-online {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--green);
}

.bs-online span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.bs-bias-card {
    margin: 34px 0 24px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.026);
}

.bs-bias-card > span {
    display: block;
    color: #708096;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.bs-bias-card strong {
    display: block;
    margin-top: 10px;
    font-size: 32px;
}

.bs-bias-card small {
    display: block;
    margin-top: 8px;
    color: #7f8ea3;
}

.bs-market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bs-stat {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.022);
    transition: 0.22s ease;
}

.bs-stat span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.bs-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 30px;
}

.bs-stat-long {
    color: var(--green);
    box-shadow: inset 0 0 30px rgba(53, 229, 154, 0.035);
}

.bs-stat-long:hover {
    border-color: rgba(53, 229, 154, 0.55);
    box-shadow: 0 0 32px rgba(53, 229, 154, 0.14);
}

.bs-stat-short {
    color: var(--red);
    box-shadow: inset 0 0 30px rgba(255, 102, 119, 0.035);
}

.bs-stat-short:hover {
    border-color: rgba(255, 102, 119, 0.55);
    box-shadow: 0 0 32px rgba(255, 102, 119, 0.14);
}

.bs-stat-wait {
    color: var(--cyan);
}

.bs-stat-wait:hover {
    border-color: rgba(71, 184, 255, 0.55);
    box-shadow: 0 0 32px rgba(71, 184, 255, 0.14);
}

.bs-stat-pump {
    color: var(--purple);
}

.bs-stat-pump:hover {
    border-color: rgba(174, 124, 255, 0.55);
    box-shadow: 0 0 32px rgba(174, 124, 255, 0.14);
}

.bs-market-footer {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid var(--border);
    color: #718198;
    font-size: 11px;
}

.bs-market-footer strong {
    color: #aab7c8;
    text-align: right;
}

@media (max-width: 960px) {
    .bs-container {
        padding: 0 24px;
    }

    .bs-hero-layout {
        grid-template-columns: 1fr;
    }

    .bs-market-card {
        max-width: 680px;
        transform: none;
    }
}

@media (max-width: 760px) {
    .bs-nav {
        display: none;
    }

    .admin-bar .bs-header {
        top: 46px;
    }
}

@media (max-width: 620px) {
    .bs-container {
        padding: 0 16px;
    }

    .bs-hero {
        min-height: auto;
        padding: 120px 0 74px;
    }

    .bs-hero h1 {
        font-size: 46px;
    }

    .bs-actions,
    .bs-button {
        width: 100%;
    }

    .bs-trust {
        display: grid;
        gap: 10px;
    }

    .bs-market-card {
        padding: 18px;
    }
}
/* =========================================================
   BullSignal Glass UI upgrade
   ========================================================= */

body {
    font-family:
        "Manrope",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* Более воздушный главный заголовок */

.bs-hero h1 {
    max-width: 760px;
    margin: 30px 0 28px;
    font-size: clamp(52px, 5.6vw, 78px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.bs-hero h1 strong {
    margin-top: 14px;
    line-height: 1.14;
}

/* Описание */

.bs-description {
    max-width: 650px;
    font-size: 17px;
    line-height: 1.85;
    font-weight: 500;
}

/* Glass-кнопки */

.bs-actions {
    gap: 16px;
    margin-top: 38px;
}

.bs-button {
    min-height: 58px;
    padding: 0 28px;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 700;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.bs-button-primary {
    border: 1px solid rgba(96, 255, 189, 0.5);
    background:
        linear-gradient(
            135deg,
            rgba(69, 239, 169, 0.96),
            rgba(31, 198, 153, 0.88)
        );
    box-shadow:
        0 18px 45px rgba(53, 229, 154, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bs-button-primary:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow:
        0 24px 60px rgba(53, 229, 154, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.bs-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.025)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 14px 35px rgba(0, 0, 0, 0.18);
}

.bs-button-secondary:hover {
    border-color: rgba(71, 184, 255, 0.48);
    background:
        linear-gradient(
            145deg,
            rgba(71, 184, 255, 0.16),
            rgba(255, 255, 255, 0.04)
        );
}

/* Стеклянная шапка */

.bs-header {
    background: rgba(5, 8, 13, 0.66);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
}

.bs-header-button {
    padding: 0 20px;
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(53, 229, 154, 0.16),
            rgba(53, 229, 154, 0.06)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 10px 28px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Главная стеклянная карточка */

.bs-market-card {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(22, 33, 50, 0.72),
            rgba(8, 14, 24, 0.54)
        );
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
}

/* Glass Market Bias */

.bs-bias-card {
    margin: 32px 0 22px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 45px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* Карточки LONG / SHORT / WAIT / PUMP */

.bs-stat {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.07),
            rgba(255, 255, 255, 0.015)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 16px 38px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bs-stat::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -20%;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.22;
    pointer-events: none;
}

.bs-stat-long::before {
    background: var(--green);
}

.bs-stat-short::before {
    background: var(--red);
}

.bs-stat-wait::before {
    background: var(--cyan);
}

.bs-stat-pump::before {
    background: var(--purple);
}

.bs-stat-long {
    border-color: rgba(53, 229, 154, 0.2);
}

.bs-stat-short {
    border-color: rgba(255, 102, 119, 0.2);
}

.bs-stat-wait {
    border-color: rgba(71, 184, 255, 0.2);
}

.bs-stat-pump {
    border-color: rgba(174, 124, 255, 0.2);
}

/* Текст под кнопками */

.bs-trust {
    gap: 20px;
    margin-top: 26px;
    color: #8997aa;
    font-size: 13px;
    line-height: 1.7;
}

/* Чуть увеличиваем расстояние между колонками */

.bs-hero-layout {
    gap: 90px;
}

/* Мобильная версия */

@media (max-width: 960px) {
    .bs-hero-layout {
        gap: 58px;
    }
}

@media (max-width: 620px) {
    .bs-hero h1 {
        font-size: 44px;
        line-height: 1.1;
    }

    .bs-hero h1 strong {
        line-height: 1.16;
    }

    .bs-market-card {
        padding: 20px;
        border-radius: 22px;
    }
}
/* ===== Финальная правка шапки и стекла ===== */

.bs-nav,
.bs-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.bs-nav a,
.bs-navigation a,
.bs-nav a:visited,
.bs-navigation a:visited,
.bs-nav a:hover,
.bs-navigation a:hover,
.bs-nav a:focus,
.bs-navigation a:focus,
.bs-nav a:active,
.bs-navigation a:active {
    color: #9aa8bb !important;
    text-decoration: none !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.bs-nav a:hover,
.bs-navigation a:hover {
    color: #f4f8ff !important;
}

/* Точно включаем Manrope */
body,
button,
input,
textarea,
select,
a {
    font-family:
        "Manrope",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

/* Больше воздуха между строками заголовка */
.bs-hero h1 {
    line-height: 1.12 !important;
}

.bs-hero h1 strong {
    margin-top: 20px !important;
    line-height: 1.2 !important;
}

/* Glass-карточка заметнее */
.bs-market-card {
    background:
        linear-gradient(
            145deg,
            rgba(31, 44, 64, 0.72),
            rgba(8, 14, 24, 0.5)
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.16) !important;

    box-shadow:
        0 45px 110px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04) !important;

    backdrop-filter: blur(32px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(32px) saturate(170%) !important;
}

/* Glass у внутренних карточек */
.bs-bias-card,
.bs-stat {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.025)
        ) !important;

    border: 1px solid rgba(255, 255, 255, 0.12) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 18px 40px rgba(0, 0, 0, 0.18) !important;

    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

/* Плавность */
.bs-nav a,
.bs-navigation a,
.bs-header-button,
.bs-button,
.bs-stat {
    transition: all 0.22s ease !important;
}
/* ===== Исправление внутренних карточек рынка ===== */

.bs-stat-long,
.bs-stat-short,
.bs-stat-wait,
.bs-stat-pump {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.095),
            rgba(255, 255, 255, 0.022)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 38px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bs-stat-long::before,
.bs-stat-short::before,
.bs-stat-wait::before,
.bs-stat-pump::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -65px;
    left: -45px;
    border-radius: 50%;
    filter: blur(34px);
    opacity: 0.3;
    pointer-events: none;
}

.bs-stat-long::before {
    background: var(--green);
}

.bs-stat-short::before {
    background: var(--red);
}

.bs-stat-wait::before {
    background: var(--cyan);
}

.bs-stat-pump::before {
    background: var(--purple);
}

.bs-stat-long {
    color: var(--green);
    border-color: rgba(53, 229, 154, 0.24);
}

.bs-stat-short {
    color: var(--red);
    border-color: rgba(255, 102, 119, 0.24);
}

.bs-stat-wait {
    color: var(--cyan);
    border-color: rgba(71, 184, 255, 0.24);
}

.bs-stat-pump {
    color: var(--purple);
    border-color: rgba(174, 124, 255, 0.24);
}

.bs-stat-long:hover,
.bs-stat-short:hover,
.bs-stat-wait:hover,
.bs-stat-pump:hover {
    transform: translateY(-4px);
}

.bs-stat-long:hover {
    border-color: rgba(53, 229, 154, 0.6);
    box-shadow: 0 0 34px rgba(53, 229, 154, 0.18);
}

.bs-stat-short:hover {
    border-color: rgba(255, 102, 119, 0.6);
    box-shadow: 0 0 34px rgba(255, 102, 119, 0.18);
}

.bs-stat-wait:hover {
    border-color: rgba(71, 184, 255, 0.6);
    box-shadow: 0 0 34px rgba(71, 184, 255, 0.18);
}

.bs-stat-pump:hover {
    border-color: rgba(174, 124, 255, 0.6);
    box-shadow: 0 0 34px rgba(174, 124, 255, 0.18);
}

.bs-stat-long span,
.bs-stat-short span,
.bs-stat-wait span,
.bs-stat-pump span {
    position: relative;
    z-index: 2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.bs-stat-long strong,
.bs-stat-short strong,
.bs-stat-wait strong,
.bs-stat-pump strong {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 10px;
    font-size: 34px;
}

/* Больше воздуха в заголовке */

.bs-hero h1 {
    line-height: 1.16 !important;
}

.bs-hero h1 strong {
    margin-top: 24px !important;
    line-height: 1.22 !important;
}

/* Чуть мягче шрифт */

.bs-hero h1,
.bs-logo-text,
.bs-button,
.bs-header-button {
    font-weight: 700 !important;
}
/* Поддержка обоих вариантов названия сетки */

.bs-market-grid,
.bs-market-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

@media (max-width: 520px) {
    .bs-market-grid,
    .bs-market-stats {
        grid-template-columns: 1fr !important;
    }
}
/* =========================================================
   BullSignal Terminal Header
   ========================================================= */

.bs-market-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bs-window-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bs-window-dots span {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 50%;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.bs-window-dots span:nth-child(1) {
    background: #ff5f57;
    box-shadow: 0 0 12px rgba(255, 95, 87, 0.38);
}

.bs-window-dots span:nth-child(2) {
    background: #febc2e;
    box-shadow: 0 0 12px rgba(254, 188, 46, 0.38);
}

.bs-window-dots span:nth-child(3) {
    background: #28c840;
    box-shadow: 0 0 12px rgba(40, 200, 64, 0.38);
}

.bs-market-card:hover .bs-window-dots span {
    transform: scale(1.12);
}

.bs-terminal-info {
    min-width: 0;
}

.bs-terminal-info strong {
    display: block;
    color: #f4f8ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.bs-terminal-info span {
    display: block;
    margin-top: 3px;
    color: #718198;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bs-terminal-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 11px;
    border: 1px solid rgba(53, 229, 154, 0.18);
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            rgba(53, 229, 154, 0.12),
            rgba(53, 229, 154, 0.035)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 25px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.bs-terminal-status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
    animation: terminalPulse 1.7s infinite;
}

.bs-terminal-status strong {
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.bs-terminal-status small {
    display: block;
    margin-top: 2px;
    color: #8391a5;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

@keyframes terminalPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.78);
    }
}

@media (max-width: 520px) {
    .bs-market-header {
        grid-template-columns: auto 1fr;
    }

    .bs-terminal-status {
        grid-column: 1 / -1;
        justify-self: stretch;
    }
}
/* ===== Hero как в старом дизайне ===== */

.bs-hero-layout {
    gap: 58px !important;
}

.bs-hero h1 {
    max-width: 620px !important;
    margin: 24px 0 26px !important;
    font-family:
        "Manrope",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
    font-size: clamp(52px, 5.2vw, 76px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.055em !important;
    font-weight: 800 !important;
}

/* Верхние строки — тёмные */
.bs-hero h1 {
    color: #182235 !important;
}

/* Нижняя градиентная часть */
.bs-hero h1 strong {
    display: block !important;
    margin-top: 22px !important;
    line-height: 1.02 !important;
    background: linear-gradient(
        90deg,
        #35e59a 0%,
        #39dcb7 45%,
        #47b8ff 100%
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Описание — более холодное и мягкое */
.bs-description,
.bs-hero-description {
    max-width: 620px !important;
    margin-top: 0 !important;
    color: #78a4cf !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
}

/* Кнопки ближе к тексту */
.bs-actions,
.bs-hero-actions {
    margin-top: 28px !important;
    gap: 16px !important;
}

/* Нижние подписи — как в старой версии */
.bs-trust,
.bs-trust-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px 22px !important;
    margin-top: 24px !important;
    max-width: 620px !important;
    color: #6790b7 !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
}

/* Чуть меньше вертикальный отступ Hero */
.bs-hero {
    min-height: auto !important;
    padding-top: 135px !important;
    padding-bottom: 80px !important;
}

/* Карточка справа чуть ближе */
.bs-market-card {
    margin-top: 12px !important;
}

/* Мобильная версия */
@media (max-width: 960px) {
    .bs-hero-layout {
        gap: 42px !important;
    }

    .bs-hero {
        padding-top: 120px !important;
        padding-bottom: 70px !important;
    }
}

@media (max-width: 620px) {
    .bs-hero h1 {
        font-size: 46px !important;
        line-height: 0.98 !important;
    }

    .bs-hero h1 strong {
        margin-top: 18px !important;
        line-height: 1.04 !important;
    }

    .bs-description,
    .bs-hero-description {
        font-size: 15px !important;
    }

    .bs-trust,
    .bs-trust-list {
        display: grid !important;
        gap: 10px !important;
    }
}
/* =========================================================
   Аккуратная структура Market Card
   ========================================================= */

.bs-market-card {
    padding: 26px 26px 30px !important;
    font-family:
        "Manrope",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif !important;
}

.bs-market-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bs-window-dots {
    margin-bottom: 3px;
}

.bs-market-title {
    color: #eef4ff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.bs-market-online {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.bs-market-online > span {
    width: 8px;
    height: 8px;
    display: block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px rgba(53, 229, 154, 0.72);
    animation: pulse 1.8s infinite;
}

/* Отдельная строка состояния системы */

.bs-system-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(53, 229, 154, 0.15);
    border-radius: 15px;
    background:
        linear-gradient(
            145deg,
            rgba(53, 229, 154, 0.09),
            rgba(255, 255, 255, 0.02)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.16);
}

.bs-system-indicator {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px rgba(53, 229, 154, 0.72);
}

.bs-system-row small {
    display: block;
    color: #708096;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.13em;
}

.bs-system-row strong {
    display: block;
    margin-top: 4px;
    color: #dce7f5;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

/* Market Bias как отдельное окно */

.bs-bias-panel {
    margin: 14px 0;
    padding: 18px 19px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 16px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.085),
            rgba(255, 255, 255, 0.018)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 15px 36px rgba(0, 0, 0, 0.17);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.bs-bias-panel > span {
    display: block;
    color: #718198;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.13em;
}

.bs-bias-panel > strong {
    display: block;
    margin-top: 8px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* Чуть спокойнее типографика внутренних карточек */

.bs-stat-long span,
.bs-stat-short span,
.bs-stat-wait span,
.bs-stat-pump span {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

.bs-stat-long strong,
.bs-stat-short strong,
.bs-stat-wait strong,
.bs-stat-pump strong {
    margin-top: 12px !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

/* Нижний блок с датой */

.bs-market-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-top: 18px;
    padding: 17px 2px 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bs-market-footer > span {
    color: #718198;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.bs-market-footer > strong {
    color: #b4c0d0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

/* Мобильная версия */

@media (max-width: 620px) {
    .bs-market-card {
        padding: 21px 18px 25px !important;
    }

    .bs-system-row {
        padding: 13px 14px;
    }

    .bs-bias-panel {
        padding: 16px;
    }
}