/* ── Footer ── */
.footer {
    background: var(--color-home-footer-bg) !important;
}
.footer__address,
.footer__address a,
.footer__address-line,
.mobmenu__section-caption,
.footer .footer__menu-mainmenu ul {
    color: var(--color-home-footer-text) !important;
}
.footer__copyright,
.footer__copyright p,
.footer__risk p,
.footer__bottom p {
    color: var(--color-home-footer-copyright) !important;
}
.footer__menu-mainmenu li a,
.footer .mobmenu__section-item a {
    color: var(--color-home-footer-link) !important;
}
.footer__menu-mainmenu li a:hover,
.footer .mobmenu__section-item a:hover {
    color: var(--color-home-footer-link-hover) !important;
}
.footer__logo-container {
    border-bottom-color: var(--color-home-footer-border) !important;
}
.footer__info {
    border-bottom-color: var(--color-home-footer-border) !important;
}


/* ── Footer Mobile Icon & Borders ── */
.footer .mobmenu__section-caption {
    display: flex;
    align-items: center;
    border-bottom-color: var(--color-home-footer-border) !important;
}
.footer .mobmenu__section-caption svg {
    color: var(--color-home-footer-text) !important;
    flex-shrink: 0;
}
.footer .mobmenu__item {
    border-bottom-color: var(--color-home-footer-border) !important;
}
.footer .mobmenu__section > :not(:last-child) {
    border-bottom-color: var(--color-home-footer-border) !important;
}

.footer__menu-mainmenu li a:hover,
.footer__menu-mainmenu li a:focus,
.footer .mobmenu__section-item a:hover {
    color: var(--color-home-footer-link-hover) !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

/* ── Header ── */


/* ── Buttons ── */
.btn--filled {
    background: var(--color-home-btn-primary-bg) !important;
    border-color: var(--color-home-btn-primary-bg) !important;
    color: var(--color-home-btn-primary-text) !important;
}
.btn--filled:hover {
    background: var(--color-home-btn-primary-hover) !important;
    border-color: var(--color-home-btn-primary-hover) !important;
}



/* ── Outline Button ── */
.btn--outlined,
.leverage__figure-open,
.leverage__open-open {
    background: transparent !important;
    border-color: var(--color-home-btn-outline-border) !important;
    color: var(--color-home-btn-outline-text) !important;
}
.btn--outlined:hover,
.leverage__figure-open:hover,
.leverage__open-open:hover {
    background: var(--color-home-btn-outline-hover-bg) !important;
}




/* ── Page Background ── */
body {
    background: var(--color-home-page-bg) !important;
}

/* ── Section Background ── */
section {
    background: var(--color-home-section-bg) !important;
}


.advantages,
.trade,
.mobiles {
    background: var(--color-home-section-bg) !important;
}



.start-trading-container {
    background: var(--color-home-section-alt-bg) !important;
}

.prs-container--dark-bg,
section.prs-container--dark-bg {
    background: var(--color-home-section-dark-bg) !important;
    background-color: var(--color-home-section-dark-bg) !important;
}

.leverage__open {
    background: var(--color-home-section-bg) !important;
    background-color: var(--color-home-section-bg) !important;
}



/* ── Wrapper Block ── */
.wrapper-block-content {
    background: var(--color-home-section-bg) !important;
}


/* ── Cards ── */
.card-box,
.instrument-card,
.about-box,
.strategy,
.competitions-wrapper .competition-block,
.plan_item.plan_item,
.glide-card,
.media-section__message,
.asset-slector-wrapper,
.howto__item,
.advanced-features-list-item {
    background-color: var(--color-home-card-bg) !important;
}

.card-box,
.instrument-card,
.about-box {
    border-color: var(--color-home-card-border) !important;
}



/* ── Hero Text (on images) ── */
.main__title,
.main-prosp__million,
.main-prosp__title {
    color: var(--color-home-text-on-image) !important;
}

.main__title-3,
.main__sign-up,
.main-prosp__sign-up,
.main-prosp__list-item {
    color: var(--color-home-text-on-image-muted) !important;
}
.main-prosp__list-item::before {
    color: var(--color-home-text-on-image-muted) !important;
    background-color: var(--color-home-text-on-image-muted) !important;
}

/* ── Text Colors ── */
h1, h2, h3, h4, h5, h6,
.prs-title,
.advantages__header,
.advantages__item-header,
.card-box__title,
.instrument-title h3,
.leverage__header,
.leverage__header-2,
.leverage__benefits-header,
.leverage__open-header,
.leverage__panel-header-left,
.gray-blue__panel-header-left,
.profit__header,
.trade__header,
.trade__percent,
.platform-description-value,
.coin-title,
.coin-info-title-name,
.main__x100,
.dropdown-item__title,
.prs-list__title,
.prm-list__title,
.about-box__title,
.why__title,
.why__item-title,
.odds__title,
.odds__item-title,
.security-title,
.security-subtitle,
.advantages-title,
.advantages-title-section__title,
.platform-description-section__title,
.leverage-market__title,
.coin-margin-requirements__title,
.coin-trading-conditions__title,
.coin-margin-requirements__subtitle,
.coin-trading-conditions__subtitle,
.asset-selector-title,
.chart-container-coin-name,
.profit__chart-header,
.registration__header-item {
    color: var(--color-home-text-primary) !important;
}

.prs-text,
.prs-text > p,
.advantages__item-text,
.advantages__description,
.trade__description,
.card-box__desc,
.leverage__text,
.leverage__open-text,
.leverage__panel-text--left,
.leverage__benefits-item,
.leverage__calculator-text,
.gray-blue__panel-text--left,
.profit__description,
.coin-p,
.prs-list > li,
.prm-list > li,
.main__description,
.trade__percent-description,
.platform-description-message,
.platform-description-message,
.platform-description-section__description,
.about-box__desc,
.why__desc,
.why__item-desc,
.odds__desc,
.odds__item-desc,
.security-description,
.security-text,
.advantages-title-section__subtitle,
.advanced-features-description,
.advanced-features-list-item__desc,
.dropdown-item__description p,
.coin-margin-requirements__note,
.coin-trading-conditions__note,
.coin-margin-requirements__description,
.coin-trading-conditions__description,
.leverage-market__description,
.asset-selector-list-item-name,
.chart-container-coin-description,
.technology__item-text,
.start-trading-steps__description,
.start-trading-steps__title,
.popup-content,
.popup-header,
p {
    color: var(--color-home-text-secondary) !important;
}

.prs-text-comment,
.prs-text-bullet,
.last-update,
.start-trading-steps__comment,
.leverage__figure-view,
.platform-description-message small,
.asset-selector-list-item-name small,
.coin-info-title-description,
.chart-container-coin-description,
.rp-premium-note,
.rp-device-text,
.instrument-title small {
    color: var(--color-home-text-muted) !important;
}




/* ── Link Colors ── */
a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):not(.asset-selector-category a),
a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):not(.asset-selector-category a) svg,
a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):not(.asset-selector-category a) i {
    color: var(--color-home-link-text) !important;
    text-decoration: none !important;
}

a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):hover,
a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):hover svg,
a:not(.btn):not(.footer__menu-mainmenu a):not(.footer .mobmenu__section-item a):not(.footer__address a):not(.nav-link):not(.header a):hover i {
    color: var(--color-home-link-hover) !important;
    text-decoration: none !important;
}


/* ── PRS Link Arrow ── */
.prs-link:after {
    content: "" !important;
    display: inline-block !important;
    margin-left: .313rem !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid currentColor !important;
    border-top: 2px solid currentColor !important;
    transform: rotate(45deg) !important;
    vertical-align: middle !important;
    background: none !important;
}



/* ── Market Table / including cfd── */
.prs-table-container,
.market-table,
.market-table table,
.market-table table td.buttons {
    background-color: var(--color-home-section-bg) !important;
    background: var(--color-home-section-bg) !important;
}

.prs-table-container > table {
    color: var(--color-home-text-secondary) !important;
}
.prs-table-container > table th {
    color: var(--color-home-text-primary) !important;
}
.prs-table-container > table td {
    color: var(--color-home-text-secondary) !important;
}
.prs-table-container > table > tbody tr:nth-child(2n) {
    background: var(--color-home-section-dark-bg) !important;
}
.prs-table-container > table > tbody tr:nth-child(odd) {
    background: var(--color-home-card-bg) !important;
}
.prs-table-container > table > tbody th {
    color: var(--color-home-link-text) !important;
}



/* ── Info Blocks ── */
.coin-leverage-instruction-info-block_gray {
    background-color: var(--color-home-section-dark-bg) !important;
}
.coin-leverage-instruction-info-block_blue {
    background-color: var(--color-home-info-block-alt-bg) !important;
}
.coin-leverage-instruction-info-block_blue p,
.coin-leverage-instruction-info-block_blue h3 {
    color: var(--color-home-info-block-alt-text) !important;
}

.reason-subsection,
.reason-subsection--dark,
.reason-section .reason-subsection--dark {
    background-color: var(--color-home-section-dark-bg) !important;
    background: var(--color-home-section-dark-bg) !important;
}



/* ── Asset Selector Category Tabs ── */
.asset-selector-category p,
.asset-selector-category a {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 4px;
    border: 1px solid var(--color-home-btn-outline-border) !important;
    background: transparent !important;
    color: var(--color-home-btn-outline-text) !important;
    text-decoration: none !important;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5rem;
}

.asset-selector-category p.active {
    background: var(--color-home-btn-primary-bg) !important;
    border-color: var(--color-home-btn-primary-bg) !important;
    color: var(--color-home-btn-primary-text) !important;
}

.asset-selector-category a,
.asset-selector-category a:visited {
    color: var(--color-home-btn-outline-text) !important;
}

.asset-selector-category a:hover {
    background: var(--color-home-btn-outline-hover-bg) !important;
    color: var(--color-home-btn-outline-text) !important;
}






/* ── CFD Pages ── */
/* ── Float Section — All CFD Pages ── */
.rp-float-section {
    text-align: center;
    padding: 60px 0 40px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: var(--color-home-section-bg) !important;
}
.rp-float-heading {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    padding: 0 20px;
    color: var(--color-home-text-primary) !important;
}
@media (min-width: 1024px) { .rp-float-heading { font-size: 2.3rem; } }
@media (max-width: 1023px) { .rp-float-heading { font-size: 1.6rem; } }
.rp-float-subtext {
    max-width: 900px;
    margin: 0 auto 45px;
    line-height: 1.65;
    font-size: 1.02rem;
    padding: 0 24px;
    color: var(--color-home-text-muted) !important;
}
.rp-floating-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.rp-floating-item {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: rp-float 6s ease-in-out infinite;
    background: var(--color-home-card-bg) !important;
}
.rp-floating-item:hover { transform: translateY(-6px); box-shadow: 0 12px 26px rgba(0,0,0,0.12); }
.rp-floating-item:nth-child(3n) { animation-duration: 7s; }
.rp-floating-item:nth-child(4n) { animation-duration: 8s; animation-delay: .3s; }
.rp-floating-item:nth-child(5n) { animation-delay: .5s; }
@keyframes rp-float { 0%{transform:translateY(0)} 50%{transform:translateY(-10px)} 100%{transform:translateY(0)} }
.item-symbol {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-home-text-primary) !important;
}
.item-change {
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 6px;
}
.up .item-change {
    color: var(--color-home-indicator-positive) !important;
}
.down .item-change {
    color: var(--color-home-indicator-negative) !important;
}
.rp-float-note {
    font-size: 0.92rem;
    margin-top: 28px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    padding: 0 18px;
    color: var(--color-home-text-muted) !important;
}
@media (max-width: 768px) {
    .rp-float-section { padding: 40px 0 30px; }
    .rp-floating-item { width: 80px; height: 80px; }
    .item-symbol { font-size: 1rem; }
    .item-change { font-size: 0.82rem; }
    .rp-floating-container { gap: 16px; max-width: 95%; }
    .rp-float-subtext, .rp-float-note { padding: 0 18px; }
}

/* ── CFD Benefit Cards — All CFD Pages ── */
.rp-cfd-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin: 10px 0 22px 0;
}
.rp-cfd-card {
    border-radius: 14px;
    padding: 18px 16px;
    text-align: left;
    box-shadow: 0 8px 18px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
    background: var(--color-home-section-bg) !important;
    border: none !important;
}
.rp-cfd-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.1); }
.rp-cfd-icon {
    margin-bottom: 10px;
    line-height: 0;
    color: var(--color-home-icon-accent) !important;
}
.rp-cfd-title {
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-home-text-primary) !important;
}
.rp-cfd-text {
    font-size: .95rem;
    line-height: 1.55;
    color: var(--color-home-text-secondary) !important;
}