/* ============================================================
   Billionial Market — Public Website Theme
   Design system copied from billionmarkets.com
   ============================================================ */
:root {
    --color-white: #fff;
    --color-black: #111;
    --color-primary: #4a081a;          /* body / buttons        */
    --color-primary-active: #390513;   /* header / cards / footer */
    --color-secondary: #5e2333;
    --color-pink-700: #a4076e;         /* card accent borders   */
    --color-pink-500: #f012be;
    --color-gray-100: #f3f3f7;
    --color-gray-300: #d0d0dd;         /* body text             */
    --color-gray-400: #989ab3;         /* muted text            */
    --color-gray-500: #666885;
    --color-green-500: #29FA81;        /* hero accent           */
    --color-gold: #D4AF37;             /* aurum accent          */
    --color-red: #FF0044;              /* logo / glow accent    */
    --color-trustpilot: #00B67A;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
    color: var(--color-gray-300);
    background: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-white);
    font-weight: 700;
}

a { text-decoration: none; transition: color .2s, background .2s; }

/* ============================================================
   Section glows (like billionmarkets .section-glow-pink-tl)
   ============================================================ */
.section-glow-pink-tl,
.section-glow-pink-bl,
.section-glow-green-tr {
    pointer-events: none;
    position: absolute;
    width: 20rem;
    height: 24rem;
    filter: blur(64px);
    opacity: .45;
    z-index: 0;
}
.section-glow-pink-tl { top: 2.5rem; left: -6rem; background: var(--color-red); }
.section-glow-pink-bl { bottom: 2.5rem; left: -6rem; background: var(--color-red); }
.section-glow-green-tr { top: 2.5rem; right: -6rem; background: var(--color-green-500); opacity: .3; }
.card-glow-pink {
    pointer-events: none;
    position: absolute;
    top: 0; left: 0;
    width: 24rem; height: 5rem;
    background: var(--color-red);
    filter: blur(40px);
    opacity: .4;
    z-index: 0;
}

/* ============================================================
   Buttons (like ant-btn on billionmarkets)
   ============================================================ */
.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.6rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: all .2s ease;
    line-height: 1.5;
    text-align: center;
    border: 1px dashed hsla(0,0%,100%,.28);
    color: var(--color-white);
    background: var(--color-primary-active);
}
.bm-btn:hover {
    color: var(--color-white);
    background: var(--color-primary);
    border-color: hsla(0,0%,100%,.5);
}
.bm-btn-red { background: var(--color-primary); border: 1px dashed hsla(0,0%,100%,.28); }
.bm-btn-red:hover { background: var(--color-primary-active); border-color: hsla(0,0%,100%,.5); }
.bm-btn-outline {
    background: transparent;
    border: 1px dashed hsla(0,0%,100%,.65);
}
.bm-btn-outline:hover { background: hsla(0,0%,100%,.08); border-color: var(--color-white); }
.bm-btn-block { width: 100%; color: var(--color-white); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* Ant-style round buttons (reference) */
.ant-btn-round { border-radius: 9999px; }
.ant-btn-lg { height: 44px; padding: 0 1.75rem; font-size: 1rem; }
.ant-btn-icon-end .ant-btn-icon { display: inline-flex; margin-left: .35rem; }

/* ============================================================
   Cryptocurrency prices table
   ============================================================ */
.bm-crypto-table-wrap {
    background: var(--color-primary-active);
    border: 1px solid hsla(0,0%,100%,.08);
    border-top: 2px solid var(--color-pink-700);
    border-bottom: 2px solid var(--color-pink-700);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0,0,0,.3);
}
/* Bootstrap is loaded AFTER this file, so use higher specificity
   to beat .table / .table > :not(caption) > * > * rules */
.table.bm-crypto-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--color-white);
    --bs-table-color-state: var(--color-white);
    background-color: transparent;
    color: var(--color-white);
}
.table.bm-crypto-table > :not(caption) > * > * {
    --bs-table-bg: transparent;
    --bs-table-color: var(--color-white);
    background-color: transparent;
    box-shadow: none;
    color: var(--color-white);
}
.table.bm-crypto-table td,
.table.bm-crypto-table td .text-gray-300 {
    color: var(--color-white) !important;
}
.bm-crypto-table thead th {
    background: rgba(255,255,255,.04);
    color: var(--color-gray-400);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-bottom: 1px solid hsla(0,0%,100%,.08);
    padding: 1rem 1.25rem;
    white-space: nowrap;
}
.bm-crypto-table tbody tr {
    border-bottom: 1px solid hsla(0,0%,100%,.06);
    transition: background .2s ease;
}
.bm-crypto-table tbody tr:last-child { border-bottom: none; }
.bm-crypto-table tbody tr:hover { background: rgba(255,255,255,.03); }
.bm-crypto-table td {
    padding: 1rem 1.25rem;
    border: none;
    white-space: nowrap;
    vertical-align: middle;
}
.bm-coin-ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}
.bm-coin-ticker { font-weight: 700; color: var(--color-white); line-height: 1.2; }
.bm-coin-name { font-size: .85rem; line-height: 1.2; }
.bm-coin-price { font-weight: 700; color: var(--color-white); }
.bm-coin-change { font-weight: 600; color: var(--color-green-500); }

/* ============================================================
   Navbar (like .header on billionmarkets)
   ============================================================ */
.bm-nav {
    background: var(--color-primary-active);
    box-shadow: 0 2px 14px rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: .75rem 0;
    backdrop-filter: blur(24px);
}
.bm-nav .navbar-brand {
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .3px;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.bm-nav .navbar-brand i { color: var(--color-red); }
.bm-nav-logo { height: 44px; width: auto; display: block; }
.bm-nav .nav-link {
    color: var(--color-white);
    font-weight: 500;
    padding: .5rem 1rem;
    border-radius: 8px;
}
.bm-nav .nav-link:hover, .bm-nav .nav-link.active { color: var(--color-white); }
.bm-nav-toggler { border-color: hsla(0,0%,100%,.28); color: var(--color-white); }
.bm-nav-toggler:focus { box-shadow: none; }

/* Main menu links: red border container on desktop */
.bm-nav-menu {
    border: 1px solid var(--color-red);
    border-radius: 15px;
    padding: .35rem .5rem;
    background: rgba(255,255,255,.03);
}

/* Navbar auth actions (always visible on mobile, outside the collapse) */
.bm-nav-actions { margin-left: auto; }
.bm-nav-actions .ant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    padding: 0 .9rem;
}
.bm-nav-actions .ant-btn i { font-size: .95rem; }
/* On mobile keep the text labels but make the buttons compact so they fit */
@media (max-width: 991.98px) {
    .bm-nav-actions .ant-btn { height: 38px; padding: 0 .75rem; font-size: .85rem; }
    .bm-nav-actions .ant-btn i { font-size: .9rem; }
    .bm-nav-actions .ant-btn .bm-nav-action-text { margin-left: .35rem; }
}
@media (max-width: 380px) {
    .bm-nav-actions .ant-btn { padding: 0 .55rem; font-size: .8rem; }
}

/* ============================================================
   Hero
   ============================================================ */
.bm-hero {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0;
    background-image: url('/images/hero_banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.bm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(74,8,26,.92) 0%, rgba(74,8,26,.72) 50%, rgba(74,8,26,.55) 100%);
    z-index: 0;
}
.bm-hero .container { position: relative; z-index: 1; }
.bm-hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.bm-hero h1 .grad { color: var(--color-green-500); }
.bm-hero p.lead { font-size: 1.125rem; color: var(--color-gray-300); }
.bm-hero-img { max-width: 100%; height: auto; }
.bm-hero .bm-stat { text-align: center; }
.bm-stat {
    background: var(--color-primary-active);
    border-radius: 1rem;
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}
.bm-stat .num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
}
.bm-stat .label { color: var(--color-gray-300); font-size: .9rem; }

/* ============================================================
   Reference-specific helpers (from billionmarkets.com)
   ============================================================ */
.fun_fact { background: var(--color-primary-active); }
.fun_fact .background { border-radius: inherit; }
.designed_scrollbar::-webkit-scrollbar { width: .25rem; }
.designed_scrollbar::-webkit-scrollbar-track { background-color: var(--color-primary); }
.designed_scrollbar::-webkit-scrollbar-thumb { background-color: var(--color-primary-active); border-radius: 1rem; }
.trustpilot_mini_widget { text-decoration: none; }

/* ============================================================
   Sections
   ============================================================ */
.bm-section { padding: 4.5rem 0; position: relative; }
.bm-soft { background: var(--color-primary); }
.bm-section-title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    text-align: center;
    margin-bottom: .5rem;
    color: var(--color-white);
}
.bm-section-sub {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    color: var(--color-gray-400);
}

/* ============================================================
   Cards (like .how_works_card / .why_trust_card on billionmarkets)
   ============================================================ */
.bm-card {
    background: var(--color-primary-active);
    border-top: 2px solid var(--color-pink-700);
    border-bottom: 2px solid var(--color-pink-700);
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    transition: transform .25s, box-shadow .25s;
}
.bm-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.bm-card .ic {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1rem;
}
.bm-card h4, .bm-card h5 { color: var(--color-white); margin-bottom: .5rem; }
.bm-card p { color: var(--color-gray-300); }

/* ============================================================
   Plans / Projects
   ============================================================ */
.bm-plan { text-align: center; }
.bm-plan .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    display: block;
    margin: .5rem 0 1rem;
}
.bm-plan ul { list-style: none; padding: 0; text-align: left; margin: 1rem 0 1.5rem; }
.bm-plan ul li { padding: .4rem 0; color: var(--color-gray-300); }
.bm-plan ul li i { color: var(--color-red); margin-right: .5rem; }
.bm-plan-desc {
    color: var(--color-gray-300);
    font-size: .85rem;
    line-height: 1.5;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bm-featured {
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 30px rgba(212,175,55,.25);
}

/* ============================================================
   Steps (How It Works)
   ============================================================ */
.bm-step {
    text-align: center;
    background: var(--color-primary-active);
    border-top: 2px solid var(--color-pink-700);
    border-bottom: 2px solid var(--color-pink-700);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.bm-step .no {
    width: 56px; height: 56px; line-height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0 auto 1rem;
}
.bm-step-no {
    display: inline-block;
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-gray-300);
}
.bm-step h4 { color: var(--color-white); }
.bm-step p { color: var(--color-gray-300); }

/* ============================================================
   Feature (Why Trust)
   ============================================================ */
.bm-feature { display: flex; gap: 1rem; padding: 1.5rem; }
.bm-feature .ic {
    flex: 0 0 48px; height: 48px; width: 48px;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    margin: 0;
}
.bm-feature h5 { color: var(--color-white); margin-bottom: .35rem; }
.bm-feature p { color: var(--color-gray-300); }

/* ============================================================
   CTA
   ============================================================ */
.bm-cta {
    background: var(--color-primary-active);
    border: 2px solid var(--color-pink-700);
    color: var(--color-white);
    text-align: center;
    border-radius: 1rem;
    padding: 3.5rem 2rem;
    position: relative;
    overflow: hidden;
}
.bm-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -6rem;
    width: 20rem; height: 20rem;
    background: var(--color-red);
    filter: blur(64px);
    opacity: .35;
    pointer-events: none;
}
.bm-cta h2 { color: var(--color-white); }
.bm-cta p { color: var(--color-gray-300); }

/* ============================================================
   FAQ
   ============================================================ */
.faqs_section .accordion-item {
    background: var(--color-primary-active) !important;
    border: none;
    border-radius: 1rem !important;
    overflow: hidden;
    margin-bottom: 1rem;
}
.faqs_section .accordion-button {
    background: var(--color-primary-active) !important;
    color: var(--color-white) !important;
    font-weight: 600;
    padding: 1rem 1.25rem;
    box-shadow: none;
}
.faqs_section .accordion-button:not(.collapsed) {
    background: var(--color-primary-active) !important;
    color: var(--color-white) !important;
}
.faqs_section .accordion-button::after {
    filter: invert(1);
}
.faqs_section .accordion-button:focus { box-shadow: none; }
.faqs_section .accordion-body {
    background: var(--color-primary-active) !important;
    color: var(--color-white) !important;
    padding-left: 2rem;
}

/* ============================================================
   Footer (reference .footer styles)
   ============================================================ */
footer { margin-top: auto; background-color: var(--color-primary-active); position: relative; overflow: hidden; }
footer .top {
    background-color: var(--color-primary);
    padding: 24px;
    border-radius: 32px;
    border: 2px solid var(--color-pink-700);
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: center;
    position: relative;
    z-index: 1;
}
@media only screen and (min-width: 768px) {
    footer .top { padding: 24px 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
footer .top .image_wrapper img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; object-position: center; }
footer .middle {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    border-bottom: .01rem solid var(--color-primary);
    margin-top: 4rem;
    padding-bottom: 170px;
    position: relative;
    z-index: 1;
}
@media only screen and (min-width: 768px) {
    footer .middle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
}
@media only screen and (min-width: 1024px) {
    footer .middle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media only screen and (min-width: 1280px) {
    footer .middle { gap: 5rem; }
}
footer .middle .logo_container { max-width: 120px; }
footer .middle .logo_container img { width: 100%; height: auto; max-width: 100%; object-fit: contain; }
footer .middle .social_links_wrapper { display: flex; gap: .5rem; margin-top: 16px; padding: 0; list-style: none; }
footer .middle .social_links_wrapper .social_link a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    font-size: 1.1rem;
    color: var(--color-gray-300);
    transition: color .5s;
}
footer .middle .social_links_wrapper .social_link a:hover { color: var(--color-red); }
footer .middle .item { color: var(--color-gray-400); }
footer .middle .item .title { color: var(--color-white); margin-bottom: 1rem; }
footer .middle .item .description { text-align: justify; }
footer .middle .item .links_wrapper { display: flex; flex-direction: column; gap: .3rem; padding: 0; list-style: none; }
footer .middle .item .links_wrapper .link { display: inline-flex; align-items: center; gap: .5rem; }
footer .middle .item .links_wrapper .link .icon_container {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.5rem; height: 1.5rem;
    border-radius: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
}
footer .middle .item .links_wrapper .link a { transition: color .5s; color: var(--color-gray-400); }
footer .middle .item .links_wrapper .link a:hover { color: var(--color-red); }
footer .bottom { padding-top: 1.5rem; color: var(--color-gray-400); gap: 4px; text-align: center; position: relative; z-index: 1; }
footer .bottom a { transition: color .5s; }
footer .bottom a:hover { color: var(--color-red); }

/* ============================================================
   Auth pages
   ============================================================ */
.bm-auth-wrap {
    min-height: 100vh;
    background: var(--color-primary);
    display: flex; align-items: center; justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}
.bm-auth-wrap::before,
.bm-auth-wrap::after {
    content: '';
    position: absolute;
    width: 24rem; height: 24rem;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}
.bm-auth-wrap::before { top: -6rem; left: -6rem; background: var(--color-red); }
.bm-auth-wrap::after { bottom: -6rem; right: -6rem; background: var(--color-green-500); }
.bm-auth-card {
    background: var(--color-primary-active);
    border: 2px solid var(--color-pink-700);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.4);
    width: 100%;
    max-width: 460px;
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}
.bm-auth-card .logo { color: var(--color-white); font-weight: 700; font-size: 1.4rem; }
.bm-auth-card .logo i { color: var(--color-red); }
.bm-auth-card h2 { margin: 1rem 0 .5rem; color: var(--color-white); }
.bm-auth-card p.text-muted { color: var(--color-gray-400) !important; }
.form-control, .form-select {
    border-radius: 10px;
    padding: .7rem .9rem;
    border: 1px dashed hsla(0,0%,100%,.28);
    background: var(--color-primary);
    color: var(--color-white);
}
.form-control:focus, .form-select:focus {
    border-color: var(--color-pink-700);
    box-shadow: 0 0 0 .2rem rgba(164,7,110,.2);
    background: var(--color-primary);
    color: var(--color-white);
}
.form-control::placeholder { color: var(--color-gray-500); }
.form-label { font-weight: 600; color: var(--color-white); }
.bm-auth-card .alert { background: var(--color-primary); color: var(--color-white); border: 1px solid hsla(0,0%,100%,.2); }

/* ============================================================
   Logo Preloader (path-drawing 'B' + green dot, then site opens)
   Shows only on first visit per browser session (see preloader.js)
   ============================================================ */
.bm-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #4a081a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
.bm-preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.bm-preloader .bm-logo {
    width: 100%;
    max-width: 8rem;
}
.bm-preloader .bm-logo svg {
    display: block;
    width: 100%;
    height: auto;
}
.bm-path {
    fill: none;
    stroke: #FF0044;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: bm-draw 3.2s ease-in-out infinite;
}
.bm-dot {
    fill: #29F782;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0);
    animation: bm-pop 3.2s ease-out infinite;
}
@keyframes bm-draw {
    0%   { stroke-dashoffset: 1; }
    62.5%{ stroke-dashoffset: 0; }
    86%  { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 1; }
}
@keyframes bm-pop {
    0%, 35% { transform: scale(0); }
    50%     { transform: scale(1); }
    85%     { transform: scale(1); }
    100%    { transform: scale(0); }
}

/* scrollbar like the reference */
::-webkit-scrollbar { width: .25rem; height: .25rem; }
::-webkit-scrollbar-track { background: var(--color-primary); }
::-webkit-scrollbar-thumb { background: var(--color-primary-active); border-radius: 1rem; }

@media (max-width: 768px) {
    .bm-section { padding: 3rem 0; }
    .bm-hero { padding: 3rem 0; text-align: center; }
    .bm-hero .bm-btn { margin-bottom: .5rem; }
}
