

.crypto-hero,
.crypto-hero * {
    box-sizing: border-box;
}

.crypto-hero {
    --crypto-hero-accent: #ffb900;
    --crypto-hero-accent-dark: #ffb900;
    --crypto-hero-navy: #ffffff;
    --crypto-hero-muted: #807f80;
    --crypto-hero-line: #2a2a2a;
    --crypto-hero-glow: rgba(255, 185, 0, 0.95);
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 92px 20px 28px;
    color: var(--crypto-hero-navy);
    background:
        radial-gradient(circle at 89% 54%, rgba(214, 251, 244, 0.86) 0, rgba(214, 251, 244, 0.58) 24%, rgba(255, 255, 255, 0) 46%),
        radial-gradient(circle at 0% 100%, rgba(198, 248, 242, 0.82) 0, rgba(198, 248, 242, 0.42) 26%, rgba(255, 255, 255, 0) 47%),
        linear-gradient(180deg, #ffffff 0%, #ffffff 55%, #f4fffd 100%);
}

.crypto-hero__shape {
    position: absolute;
    pointer-events: none;
    border-radius: 999px;
    opacity: 0.78;
}

.crypto-hero__shape--left {
    width: 620px;
    height: 620px;
    left: -330px;
    bottom: -390px;
    border: 1px solid rgba(255, 185, 0, 0.12);
    background: radial-gradient(circle, var(--crypto-hero-glow) 0, rgba(17, 17, 17, 0) 68%);
}

.crypto-hero__shape--right {
    width: 760px;
    height: 420px;
    right: -210px;
    top: 190px;
    transform: rotate(-9deg);
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.9), rgba(17, 17, 17, 0));
}

.crypto-hero__container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.crypto-hero__main {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    align-items: center;
    gap: 42px;
}

.crypto-hero__content {
    max-width: 590px;
}

.crypto-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 185, 0, 0.18);
    border-radius: 999px;
    background: rgba(255, 185, 0, 0.82);
    color: var(--crypto-hero-accent-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.crypto-hero__badge-icon,
.crypto-hero__badge-icon svg,
.crypto-hero__badge-icon i {
    width: 18px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__title {
    margin: 0;
    color: var(--crypto-hero-navy);
    font-size: clamp(42px, 4.75vw, 66px);
    font-weight: 900;
    line-height: 1.13;
    letter-spacing: -0.045em;
}

.crypto-hero__title span {
    display: block;
}

.crypto-hero__title-highlight {
    color: var(--crypto-hero-accent-dark);
}

.crypto-hero__description {
    max-width: 575px;
    margin: 24px 0 0;
    color: var(--crypto-hero-muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}

.crypto-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.crypto-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 17px 24px;
    border: 1.5px solid transparent;
    border-radius: 9px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.crypto-hero__button:hover {
    transform: translateY(-2px);
}

.crypto-hero__button--primary {
    color: #ffffff;
    background: var(--crypto-hero-accent);
    border-color: var(--crypto-hero-accent);
    box-shadow: 0 16px 30px rgba(255, 185, 0, 0.22);
}

.crypto-hero__button--primary:hover {
    color: #ffffff;
    background: var(--crypto-hero-accent-dark);
    border-color: var(--crypto-hero-accent-dark);
}

.crypto-hero__button--secondary {
    color: var(--crypto-hero-accent-dark);
    background: rgba(17, 17, 17, 0.76);
    border-color: var(--crypto-hero-accent);
}

.crypto-hero__button--secondary:hover {
    color: var(--crypto-hero-accent-dark);
    background: #111111;
}

.crypto-hero__button-icon,
.crypto-hero__button-icon svg,
.crypto-hero__button-icon i {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__visual {
    position: relative;
    min-height: 500px;
}

.crypto-hero__custom-image {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    margin-left: auto;
    filter: drop-shadow(0 30px 55px rgba(7, 26, 58, 0.16));
}

.crypto-hero__visual-wrap {
    position: relative;
    width: min(100%, 730px);
    min-height: 500px;
    margin-left: auto;
}

.crypto-hero__dots {
    position: absolute;
    left: -80px;
    top: 42px;
    width: 240px;
    height: 120px;
    opacity: 0.24;
    background-image: radial-gradient(circle, #151515 1.7px, transparent 1.7px);
    background-size: 18px 18px;
}

.crypto-hero__tablet {
    position: absolute;
    left: 20px;
    top: 44px;
    width: 588px;
    min-height: 370px;
    padding: 24px;
    transform: rotate(2.3deg);
    border: 8px solid rgba(206, 221, 231, 0.85);
    border-radius: 30px;
    background: rgba(17, 17, 17, 0.92);
    box-shadow: 0 28px 50px rgba(7, 26, 58, 0.12), inset 0 0 0 1px rgba(121, 189, 210, 0.24);
}

.crypto-hero__tablet::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 22px;
    border: 1px solid rgba(42, 42, 42, 0.88);
    pointer-events: none;
}

.crypto-hero__tablet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.crypto-hero__visual-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--crypto-hero-navy);
    font-size: 16px;
    font-weight: 900;
}

.crypto-hero__brand-star {
    color: var(--crypto-hero-accent);
    font-size: 30px;
    line-height: 1;
}

.crypto-hero__round-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #111111;
    color: #807f80;
    font-size: 22px;
}

.crypto-hero__dashboard-grid {
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 22px;
}

.crypto-hero__sidebar {
    padding-top: 6px;
    border-right: 1px solid #2a2a2a;
}

.crypto-hero__sidebar span {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 118px;
    margin-bottom: 13px;
    padding: 11px 12px;
    border-radius: 9px;
    color: #807f80;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.crypto-hero__sidebar span.is-active {
    color: var(--crypto-hero-accent-dark);
    background: #171717;
}

.crypto-hero__dashboard-main {
    min-width: 0;
}

.crypto-hero__chart-card,
.crypto-hero__network-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    background: #111111;
    box-shadow: 0 10px 24px rgba(11, 48, 76, 0.04);
}

.crypto-hero__chart-card {
    min-height: 138px;
    padding: 18px 18px 16px;
}

.crypto-hero__mini-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 21px;
}

.crypto-hero__mini-head strong,
.crypto-hero__network-panel > strong {
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
}

.crypto-hero__mini-head em {
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--crypto-hero-accent-dark);
    background: #171717;
    font-size: 11px;
    font-weight: 900;
    font-style: normal;
}

.crypto-hero__small-label {
    display: block;
    margin-bottom: 8px;
    color: #807f80;
    font-size: 11px;
    font-weight: 700;
}

.crypto-hero__volume-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.crypto-hero__volume-row strong {
    color: var(--crypto-hero-navy);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__volume-row span {
    color: var(--crypto-hero-accent);
    font-size: 12px;
    font-weight: 900;
}

.crypto-hero__chart-line {
    position: absolute;
    right: 14px;
    bottom: 22px;
    width: 132px;
    color: var(--crypto-hero-accent);
    opacity: 0.88;
}

.crypto-hero__network-panel {
    min-height: 132px;
    margin-top: 15px;
    padding: 18px;
}

.crypto-hero__network-row {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    background: #111111;
    color: var(--crypto-hero-navy);
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 10px 20px rgba(12, 48, 76, 0.05);
}

.crypto-hero__network-row em {
    margin-left: auto;
    color: var(--crypto-hero-accent);
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
}

.crypto-hero__coin,
.crypto-hero__token {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__coin {
    width: 28px;
    height: 28px;
    font-size: 15px;
}

.crypto-hero__coin--red,
.crypto-hero__token--red {
    background: #ee2426;
}

.crypto-hero__coin--gold,
.crypto-hero__token--gold {
    background: #f3b30a;
}

.crypto-hero__rate-card {
    position: absolute;
    right: 5px;
    width: 330px;
    min-height: 118px;
    display: grid;
    grid-template-columns: 58px 1fr 36px;
    gap: 13px;
    align-items: start;
    padding: 24px 20px 18px;
    border: 1px solid rgba(220, 235, 238, 0.94);
    border-radius: 20px;
    background: rgba(17, 17, 17, 0.94);
    box-shadow: 0 24px 44px rgba(7, 26, 58, 0.12);
}

.crypto-hero__rate-card--one {
    top: 248px;
}

.crypto-hero__rate-card--two {
    top: 396px;
    right: 28px;
}

.crypto-hero__usdt {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #2a2a2a;
    border-radius: 999px;
    color: #ffffff;
    background: var(--crypto-hero-accent);
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 25px rgba(255, 185, 0, 0.2);
}

.crypto-hero__rate-card strong {
    display: block;
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
}

.crypto-hero__rate-card b {
    display: block;
    margin-top: 8px;
    color: var(--crypto-hero-accent);
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
}

.crypto-hero__rate-card b em {
    font-size: 16px;
    font-style: normal;
    letter-spacing: 0.04em;
}

.crypto-hero__rate-card small {
    display: block;
    margin-top: 12px;
    color: #807f80;
    font-size: 12px;
    font-weight: 700;
}

.crypto-hero__token {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.crypto-hero__spark {
    position: absolute;
    right: 18px;
    bottom: 14px;
    width: 92px;
    color: var(--crypto-hero-accent);
    opacity: 0.75;
}

.crypto-hero__features {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 48px;
    padding: 22px 26px;
    border: 1px solid rgba(226, 236, 238, 0.95);
    border-radius: 15px;
    background: rgba(17, 17, 17, 0.95);
    box-shadow: 0 16px 40px rgba(7, 26, 58, 0.06);
}

.crypto-hero__feature {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 17px;
    min-width: 0;
    padding: 0 14px;
}

.crypto-hero__feature-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--crypto-hero-accent);
    background: #171717;
    font-size: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 20px rgba(255, 185, 0, 0.08);
}

.crypto-hero__feature-icon-svg,
.crypto-hero__feature-icon-svg svg,
.crypto-hero__feature-icon-svg i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    fill: currentColor;
}

.crypto-hero__feature-copy {
    min-width: 0;
}

.crypto-hero__feature-title {
    display: block;
    margin-bottom: 6px;
    color: var(--crypto-hero-navy);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
}

.crypto-hero__feature-text {
    display: block;
    color: #807f80;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
}

@media (max-width: 1200px) {
    .crypto-hero__main {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .crypto-hero__content {
        max-width: 760px;
    }

    .crypto-hero__visual {
        min-height: 560px;
    }

    .crypto-hero__visual-wrap {
        margin-right: auto;
        margin-left: auto;
    }

    .crypto-hero__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 10px;
    }
}

@media (max-width: 767px) {
    .crypto-hero {
        padding: 64px 16px 24px;
    }

    .crypto-hero__content {
        max-width: 100%;
    }

    .crypto-hero__badge {
        align-items: flex-start;
        margin-bottom: 22px;
        padding: 8px 14px;
        font-size: 13px;
    }

    .crypto-hero__title {
        font-size: clamp(34px, 10.2vw, 48px);
        line-height: 1.14;
        letter-spacing: -0.035em;
    }

    .crypto-hero__description {
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.6;
    }

    .crypto-hero__buttons {
        gap: 14px;
        margin-top: 26px;
    }

    .crypto-hero__button {
        width: 100%;
        min-height: 54px;
        padding: 16px 20px;
        font-size: 15px;
    }

    .crypto-hero__visual {
        min-height: 390px;
        transform: scale(0.73);
        transform-origin: top center;
        margin-bottom: -120px;
    }

    .crypto-hero__visual-wrap {
        width: 700px;
        min-height: 520px;
        left: 50%;
        transform: translateX(-50%);
    }

    .crypto-hero__custom-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .crypto-hero__features {
        grid-template-columns: 1fr;
        margin-top: 34px;
        padding: 22px;
        gap: 20px;
    }

    .crypto-hero__feature {
        padding: 0;
    }
}

@media (max-width: 430px) {
    .crypto-hero__visual {
        transform: scale(0.58);
        margin-bottom: -185px;
    }
}


/* Mobile responsive hard-fix: no cropped/scaled hero mockup, touch-drag visual instead. */
@media (max-width: 767px) {
    .crypto-hero {
        overflow: hidden !important;
        padding: 50px 0 22px !important;
    }

    .crypto-hero__container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .crypto-hero__main {
        display: block !important;
    }

    .crypto-hero__content {
        max-width: 100% !important;
        text-align: left !important;
    }

    .crypto-hero__badge {
        margin-bottom: 18px !important;
        font-size: 12px !important;
    }

    .crypto-hero__title {
        max-width: 100% !important;
        font-size: clamp(33px, 11vw, 44px) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.035em !important;
    }

    .crypto-hero__description {
        max-width: 100% !important;
        font-size: 15px !important;
        line-height: 1.62 !important;
    }

    .crypto-hero__buttons {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .crypto-hero__button {
        width: 100% !important;
        min-height: 52px !important;
        padding: 14px 16px !important;
        white-space: normal !important;
    }

    .crypto-hero__visual {
        display: flex !important;
        min-height: auto !important;
        margin: 28px -16px 0 !important;
        padding: 0 16px 14px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        transform: none !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .crypto-hero__visual::-webkit-scrollbar {
        display: none !important;
    }

    .crypto-hero__visual-wrap {
        position: relative !important;
        flex: 0 0 630px !important;
        width: 630px !important;
        min-width: 630px !important;
        max-width: none !important;
        min-height: 505px !important;
        left: auto !important;
        right: auto !important;
        margin: 0 !important;
        transform: none !important;
        scroll-snap-align: start !important;
    }

    .crypto-hero__custom-image {
        flex: 0 0 94vw !important;
        width: 94vw !important;
        max-width: 94vw !important;
        margin: 0 auto !important;
        scroll-snap-align: start !important;
    }

    .crypto-hero__features {
        margin-top: 30px !important;
    }
}

@media (max-width: 430px) {
    .crypto-hero__visual {
        transform: none !important;
        margin-bottom: 0 !important;
    }

    .crypto-hero__visual-wrap {
        flex-basis: 600px !important;
        width: 600px !important;
        min-width: 600px !important;
        min-height: 488px !important;
    }
}


/* Editable uploaded SVG/PNG icons for the hero dashboard mockup */
.crypto-hero img.crypto-hero__editable-svg-icon {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 100%;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.crypto-hero img.crypto-hero__brand-star.crypto-hero__editable-svg-icon {
    width: 30px;
    height: 30px;
}

.crypto-hero img.crypto-hero__round-icon.crypto-hero__editable-svg-icon {
    width: 38px;
    height: 38px;
}

.crypto-hero img.crypto-hero__coin.crypto-hero__editable-svg-icon {
    width: 28px;
    height: 28px;
}

.crypto-hero img.crypto-hero__usdt.crypto-hero__editable-svg-icon {
    width: 58px;
    height: 58px;
}

.crypto-hero img.crypto-hero__token.crypto-hero__editable-svg-icon {
    width: 36px;
    height: 36px;
}

/* PandaEX black and gold reference theme */
.crypto-hero {
    --crypto-hero-accent: #ffb900;
    --crypto-hero-accent-dark: #ffb900;
    --crypto-hero-navy: #ffffff;
    --crypto-hero-muted: #807f80;
    --crypto-hero-line: #2a2a2a;
    --crypto-hero-glow: rgba(255, 185, 0, 0.12);
    background: #000000;
}
.crypto-hero__badge {
    color: #ffb900;
    background: rgba(255, 185, 0, 0.10);
    border-color: rgba(255, 185, 0, 0.34);
}
.crypto-hero__title {
    color: #ffffff;
}
.crypto-hero__description,
.crypto-hero__feature-text,
.crypto-hero__small-label {
    color: #807f80;
}
.crypto-hero__button--primary,
.crypto-hero__button--primary:hover {
    color: #111111;
    background: #ffb900;
    border-color: #ffb900;
}
.crypto-hero__button--secondary,
.crypto-hero__button--secondary:hover {
    color: #ffb900;
    background: transparent;
    border-color: #ffb900;
}
.crypto-hero__tablet,
.crypto-hero__rate-card,
.crypto-hero__chart-card,
.crypto-hero__network-panel,
.crypto-hero__features {
    background: #111111;
    border-color: #2a2a2a;
}
.crypto-hero__feature-title,
.crypto-hero__visual-brand,
.crypto-hero__mini-head,
.crypto-hero__network-row,
.crypto-hero__volume-row {
    color: #ffffff;
}
.crypto-hero__feature-icon,
.crypto-hero__round-icon {
    color: #111111;
    background: #ffb900;
}

/* Hero live crypto rate table */
.crypto-hero__rate-table-wrap {
    position: relative;
    width: min(100%, 760px);
    margin-left: auto;
    padding: 18px;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    background: rgba(17, 17, 17, 0.96);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 185, 0, 0.04) inset;
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.crypto-hero__rate-table-wrap::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    top: -120px;
    border-radius: 999px;
    background: rgba(255, 185, 0, 0.10);
    filter: blur(6px);
    pointer-events: none;
}

.crypto-hero__rate-table-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 5px 4px 16px;
}

.crypto-hero__rate-table-head > div {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.crypto-hero__rate-live-dot {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
    background: #17cf82;
    box-shadow: 0 0 0 5px rgba(23, 207, 130, 0.10);
}

.crypto-hero__rate-live-label {
    color: #17cf82;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.crypto-hero__rate-table-head strong {
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.1;
}

.crypto-hero__rate-table-head small {
    color: #807f80;
    font-size: 12px;
    font-weight: 600;
}

.crypto-hero__rate-table {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    border-radius: 15px;
    background: #0d0d0d;
}

.crypto-hero__rate-thead,
.crypto-hero__rate-tbody {
    display: block;
}

.crypto-hero__rate-row {
    display: grid;
    grid-template-columns: 1.32fr 1fr 0.72fr 0.92fr;
}

.crypto-hero__rate-table--no-action .crypto-hero__rate-row {
    grid-template-columns: 1.35fr 1fr 0.72fr;
}

.crypto-hero__rate-cell {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 14px;
    border-right: 1px solid #2a2a2a;
}

.crypto-hero__rate-cell:last-child {
    border-right: 0;
}

.crypto-hero__rate-thead .crypto-hero__rate-cell {
    min-height: 44px;
    color: #ffb900;
    background: #151515;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
}

.crypto-hero__rate-row--body {
    border-top: 1px solid #2a2a2a;
    transition: background-color 180ms ease;
}

.crypto-hero__rate-row--body:hover {
    background: #151515;
}

.crypto-hero__rate-row--body .crypto-hero__rate-cell {
    min-height: 62px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

.crypto-hero__rate-symbol {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 21px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.crypto-hero__rate-cell--network strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.crypto-hero__rate-cell--price b {
    color: #ffb900;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.crypto-hero__rate-flag {
    font-size: 17px;
    line-height: 1;
}

.crypto-hero__rate-cell--quantity span {
    color: #d5d5d5;
    white-space: nowrap;
}

.crypto-hero__rate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 9px 13px;
    border: 1px solid #ffb900;
    border-radius: 8px;
    color: #111111 !important;
    background: #ffb900;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease;
}

.crypto-hero__rate-button:hover {
    color: #111111 !important;
    background: #ffc733;
    transform: translateY(-1px);
}

.crypto-hero__rate-note {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 13px 3px 1px;
    color: #807f80;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
}

.crypto-hero__rate-note span {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffb900;
    border-radius: 50%;
    color: #ffb900;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .crypto-hero__rate-table-wrap {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .crypto-hero__rate-table-wrap {
        flex: 0 0 720px;
        width: 720px;
        min-width: 720px;
        max-width: none;
        margin: 0;
        scroll-snap-align: start;
    }
}

/* Buyer / Seller live rate board switcher */
.crypto-hero__rate-switcher {
    width: min(100%, 760px);
    margin-left: auto;
}

.crypto-hero__rate-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
    padding: 6px;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    background: #0d0d0d;
}

.crypto-hero__rate-tab {
    appearance: none;
    min-width: 0;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #a4a4a4;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    cursor: pointer;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.crypto-hero__rate-tab:hover,
.crypto-hero__rate-tab:focus-visible {
    color: #ffffff;
    border-color: rgba(255, 185, 0, 0.45);
    outline: none;
}

.crypto-hero__rate-tab.is-active {
    color: #111111;
    border-color: #ffb900;
    background: #ffb900;
    box-shadow: 0 10px 24px rgba(255, 185, 0, 0.18);
}

.crypto-hero__rate-panel[hidden] {
    display: none !important;
}

.crypto-hero__rate-panel {
    width: 100%;
    animation: cryptoHeroRateFade 220ms ease;
}

@keyframes cryptoHeroRateFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.crypto-hero__rate-switcher .crypto-hero__rate-table-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
}

.crypto-hero__rate-token {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -14px;
    margin-top: 20px;
    border: 2px solid #0d0d0d;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1200px) {
    .crypto-hero__rate-switcher {
        margin-right: auto;
        margin-left: auto;
    }
}

/* Mobile order: Hero text, Hero CTA buttons, Buyer/Seller buttons, then selected board. */
@media (max-width: 767px) {
    .crypto-hero__visual {
        display: block !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 30px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        transform: none !important;
        scroll-snap-type: none !important;
    }

    .crypto-hero__rate-switcher {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .crypto-hero__rate-tabs {
        gap: 8px;
        margin-bottom: 12px;
        padding: 5px;
        border-radius: 12px;
    }

    .crypto-hero__rate-tab {
        min-height: 44px;
        padding: 10px 8px;
        font-size: 14px;
        white-space: normal;
    }

    .crypto-hero__rate-panel,
    .crypto-hero__rate-table-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .crypto-hero__rate-table-wrap {
        flex: none !important;
        padding: 12px !important;
        border-radius: 16px;
        overflow: hidden !important;
        scroll-snap-align: none !important;
    }

    .crypto-hero__rate-table-head {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px 10px;
        padding: 3px 2px 13px;
    }

    .crypto-hero__rate-table-head strong {
        min-width: 0;
        font-size: 17px;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .crypto-hero__rate-table-head small {
        grid-column: 1 / -1;
        justify-self: end;
        font-size: 11px;
    }

    .crypto-hero__rate-table {
        width: 100%;
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .crypto-hero__rate-thead {
        display: none;
    }

    .crypto-hero__rate-tbody {
        display: grid;
        gap: 10px;
    }

    .crypto-hero__rate-row,
    .crypto-hero__rate-table--no-action .crypto-hero__rate-row,
    .crypto-hero__rate-row--body {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .crypto-hero__rate-row--body {
        gap: 0;
        padding: 8px;
        border: 1px solid #2a2a2a;
        border-radius: 12px;
        background: #101010;
    }

    .crypto-hero__rate-row--body:hover {
        background: #151515;
    }

    .crypto-hero__rate-row--body .crypto-hero__rate-cell {
        position: relative;
        min-width: 0;
        min-height: 66px;
        padding: 27px 8px 8px;
        border: 0 !important;
        overflow: hidden;
    }

    .crypto-hero__rate-row--body .crypto-hero__rate-cell::before {
        content: attr(data-label);
        position: absolute;
        top: 7px;
        left: 8px;
        color: #807f80;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .crypto-hero__rate-cell--network,
    .crypto-hero__rate-cell--action {
        grid-column: 1 / -1;
    }

    .crypto-hero__rate-cell--network strong {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .crypto-hero__rate-cell--price,
    .crypto-hero__rate-cell--quantity {
        align-items: center;
    }

    .crypto-hero__rate-cell--price b {
        min-width: 0;
        font-size: 14px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .crypto-hero__rate-button {
        width: 100%;
        min-height: 42px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
    }

    .crypto-hero__rate-note {
        margin: 12px 2px 0;
        font-size: 11px;
    }
}

@media (max-width: 390px) {
    .crypto-hero__rate-row,
    .crypto-hero__rate-table--no-action .crypto-hero__rate-row,
    .crypto-hero__rate-row--body {
        grid-template-columns: 1fr !important;
    }

    .crypto-hero__rate-cell--network,
    .crypto-hero__rate-cell--action {
        grid-column: auto;
    }

    .crypto-hero__rate-row--body .crypto-hero__rate-cell {
        min-height: 58px;
    }
}

@media (max-width: 767px) {
    .crypto-hero__visual .crypto-hero__custom-image {
        display: block !important;
        flex: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}


/* Version 1.0.5: left Hero buttons control Buyer/Seller boards; no duplicate tabs above table. */
.crypto-hero__rate-switcher {
    width: 100%;
}
.crypto-hero__board-button {
    appearance: none;
    cursor: pointer;
    font-family: inherit;
}
.crypto-hero__board-button.crypto-hero__button--primary,
.crypto-hero__board-button.crypto-hero__button--secondary {
    color: #ffb900;
    background: transparent;
    border-color: #ffb900;
    box-shadow: none;
}
.crypto-hero__board-button.is-active,
.crypto-hero__board-button.is-active:hover {
    color: #111111;
    background: #ffb900;
    border-color: #ffb900;
    box-shadow: 0 16px 30px rgba(255, 185, 0, 0.22);
}
.crypto-hero__rate-panel[hidden] {
    display: none !important;
}
@media (max-width: 767px) {
    .crypto-hero__board-button {
        width: 100% !important;
    }
    .crypto-hero__visual {
        width: 100% !important;
    }
    .crypto-hero__rate-switcher,
    .crypto-hero__rate-panel,
    .crypto-hero__live-rate-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}

/* PandaEX 1.0.13 — uploaded PNG/SVG rate icons from the Crypto Rates dashboard */
.crypto-hero img.crypto-hero__rate-symbol.crypto-hero__editable-svg-icon,
.crypto-hero img.crypto-hero__rate-token.crypto-hero__editable-svg-icon {
    display: inline-block;
    object-fit: contain;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.crypto-hero img.crypto-hero__rate-symbol.crypto-hero__editable-svg-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
}

.crypto-hero img.crypto-hero__rate-token.crypto-hero__editable-svg-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-left: -14px;
    margin-top: 20px;
}

.crypto-hero__visual {
    isolation: isolate;
}

.crypto-hero__rate-switcher,
.crypto-hero__custom-image,
.crypto-hero__visual-wrap {
    position: relative;
    z-index: 2;
}

.crypto-hero__floating-icons {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.crypto-hero__floating-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--crypto-hero-floating-border);
    background: radial-gradient(circle at 30% 30%, var(--crypto-hero-floating-fill), rgba(255, 185, 0, 0.04) 52%, rgba(10, 10, 10, 0) 78%);
    box-shadow: 0 0 38px rgba(255, 185, 0, 0.08);
    backdrop-filter: blur(3px);
    opacity: 0.55;
    animation: cryptoHeroFloat 14s ease-in-out infinite;
}

.crypto-hero__floating-icon-core {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 14px 16px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.24);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.crypto-hero__floating-icon--1 { top: 6%; left: 4%; animation-duration: 16s; }
.crypto-hero__floating-icon--2 { top: 14%; right: 7%; animation-duration: 18s; animation-delay: -3s; }
.crypto-hero__floating-icon--3 { top: 35%; left: -2%; animation-duration: 15s; animation-delay: -5s; }
.crypto-hero__floating-icon--4 { top: 43%; right: -1%; animation-duration: 17s; animation-delay: -2s; }
.crypto-hero__floating-icon--5 { bottom: 16%; left: 8%; animation-duration: 19s; animation-delay: -7s; }
.crypto-hero__floating-icon--6 { bottom: 10%; right: 12%; animation-duration: 14s; animation-delay: -4s; }
.crypto-hero__floating-icon--7 { bottom: 3%; left: 32%; animation-duration: 20s; animation-delay: -6s; }
.crypto-hero__floating-icon--8 { top: 2%; left: 42%; animation-duration: 13s; animation-delay: -8s; }

.crypto-hero__floating-icon--1 .crypto-hero__floating-icon-core,
.crypto-hero__floating-icon--4 .crypto-hero__floating-icon-core { min-width: 74px; min-height: 74px; font-size: 22px; color: rgba(255,255,255,.18); }
.crypto-hero__floating-icon--2 .crypto-hero__floating-icon-core,
.crypto-hero__floating-icon--6 .crypto-hero__floating-icon-core { min-width: 60px; min-height: 60px; font-size: 18px; }
.crypto-hero__floating-icon--3 .crypto-hero__floating-icon-core,
.crypto-hero__floating-icon--5 .crypto-hero__floating-icon-core,
.crypto-hero__floating-icon--7 .crypto-hero__floating-icon-core,
.crypto-hero__floating-icon--8 .crypto-hero__floating-icon-core { min-width: 54px; min-height: 54px; font-size: 16px; }

.crypto-hero__shape {
    animation: cryptoHeroGlowDrift 18s ease-in-out infinite;
}

.crypto-hero__shape--right {
    animation-duration: 24s;
}

.crypto-hero__dots {
    animation: cryptoHeroDotsDrift 12s ease-in-out infinite;
}

@keyframes cryptoHeroFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(10px, -14px, 0) scale(1.04); }
    50% { transform: translate3d(-8px, 10px, 0) scale(0.98); }
    75% { transform: translate3d(12px, 16px, 0) scale(1.03); }
}

@keyframes cryptoHeroGlowDrift {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(18px, -14px, 0) rotate(4deg); }
}

@keyframes cryptoHeroDotsDrift {
    0%, 100% { transform: translate3d(0, 0, 0); opacity: .24; }
    50% { transform: translate3d(12px, -10px, 0); opacity: .42; }
}

@media (max-width: 767px) {
    .crypto-hero__floating-icon--1 { top: 6%; left: 1%; }
    .crypto-hero__floating-icon--2 { top: 4%; right: 0; }
    .crypto-hero__floating-icon--3 { top: 31%; left: -5%; }
    .crypto-hero__floating-icon--4 { top: 38%; right: -4%; }
    .crypto-hero__floating-icon--5 { bottom: 22%; left: 1%; }
    .crypto-hero__floating-icon--6 { bottom: 16%; right: 4%; }
    .crypto-hero__floating-icon--7,
    .crypto-hero__floating-icon--8 { display: none; }
    .crypto-hero__floating-icon-core { min-width: 42px !important; min-height: 42px !important; font-size: 13px !important; }
}

/* PandaEX 1.0.14 — animated moving crypto icons behind hero rate tables */


.crypto-hero__floating-icons {
    --crypto-hero-floating-size: 54px;
    --crypto-hero-floating-opacity: 0.55;
    --crypto-hero-floating-speed: 1;
    --crypto-hero-floating-border: rgba(255, 185, 0, 0.14);
    --crypto-hero-floating-fill: rgba(255, 185, 0, 0.14);
}

.crypto-hero__floating-icon {
    opacity: var(--crypto-hero-floating-opacity);
}

.crypto-hero__floating-icon-core,
.crypto-hero__floating-icon-image {
    width: var(--crypto-hero-floating-size);
    height: var(--crypto-hero-floating-size);
}

.crypto-hero__floating-icon-core {
    min-width: var(--crypto-hero-floating-size);
    min-height: var(--crypto-hero-floating-size);
    padding: 0;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, var(--crypto-hero-floating-fill), rgba(255, 185, 0, 0.04) 52%, rgba(10, 10, 10, 0) 78%);
}

.crypto-hero__floating-icon-image {
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.crypto-hero__floating-icon--1 { animation-duration: calc(16s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--2 { animation-duration: calc(18s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--3 { animation-duration: calc(15s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--4 { animation-duration: calc(17s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--5 { animation-duration: calc(19s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--6 { animation-duration: calc(14s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--7 { animation-duration: calc(20s * var(--crypto-hero-floating-speed)); }
.crypto-hero__floating-icon--8 { animation-duration: calc(13s * var(--crypto-hero-floating-speed)); }

/* PandaEX 1.0.20 — editable animated background icon uploads for hero crypto table */


.crypto-hero__floating-icons {
    --crypto-hero-blob-color: rgba(88, 118, 214, 0.62);
    --crypto-hero-blob-size: 130px;
    --crypto-hero-sparkle-size: 20px;
}

.crypto-hero__floating-blob,
.crypto-hero__floating-sparkle {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.crypto-hero__floating-blob {
    width: var(--crypto-hero-blob-size);
    height: var(--crypto-hero-blob-size);
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--crypto-hero-blob-color) 0%, rgba(20, 34, 70, 0.32) 45%, rgba(0,0,0,0) 72%);
    filter: blur(10px);
    opacity: .88;
    animation: cryptoHeroBlobFloat 18s ease-in-out infinite;
}

.crypto-hero__floating-blob--1 { top: 8%; left: 50%; animation-delay: -1s; }
.crypto-hero__floating-blob--2 { top: 44%; right: 3%; animation-delay: -7s; }
.crypto-hero__floating-blob--3 { bottom: 4%; left: 45%; animation-delay: -12s; }

.crypto-hero__floating-sparkle {
    color: #f4dded;
    font-size: var(--crypto-hero-sparkle-size);
    line-height: 1;
    text-shadow: 0 0 16px rgba(244, 221, 237, 0.4);
    animation: cryptoHeroSparkleFloat 10s ease-in-out infinite;
}

.crypto-hero__floating-sparkle--1 { top: 14%; left: 67%; animation-delay: -2s; }
.crypto-hero__floating-sparkle--2 { top: 10%; right: 10%; animation-delay: -5s; }
.crypto-hero__floating-sparkle--3 { bottom: 12%; left: 56%; animation-delay: -8s; }

.crypto-hero__floating-icon--1 { top: 12%; left: 56%; }
.crypto-hero__floating-icon--2 { top: 26%; right: 7%; }
.crypto-hero__floating-icon--3 { top: 50%; left: 48%; }
.crypto-hero__floating-icon--4 { top: 58%; right: 4%; }
.crypto-hero__floating-icon--5 { bottom: 16%; left: 54%; }
.crypto-hero__floating-icon--6 { bottom: 7%; right: 17%; }
.crypto-hero__floating-icon--7 { top: 5%; left: 74%; }
.crypto-hero__floating-icon--8 { bottom: 26%; left: 66%; }

@keyframes cryptoHeroBlobFloat {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(18px,-12px,0) scale(1.08); }
}

@keyframes cryptoHeroSparkleFloat {
    0%, 100% { transform: translate3d(0,0,0) rotate(0deg); opacity: .9; }
    50% { transform: translate3d(8px,-10px,0) rotate(8deg); opacity: .55; }
}

@media (max-width: 1024px) {
    .crypto-hero__floating-blob--1 { left: 44%; }
    .crypto-hero__floating-blob--2 { right: -2%; }
    .crypto-hero__floating-blob--3 { left: 34%; }
    .crypto-hero__floating-icon--1 { left: 49%; }
    .crypto-hero__floating-icon--3 { left: 38%; }
    .crypto-hero__floating-icon--5 { left: 42%; }
    .crypto-hero__floating-icon--7 { left: 68%; }
    .crypto-hero__floating-sparkle--1 { left: 58%; }
}

@media (max-width: 767px) {
    .crypto-hero__floating-blob {
        width: calc(var(--crypto-hero-blob-size) * 0.72);
        height: calc(var(--crypto-hero-blob-size) * 0.72);
    }
    .crypto-hero__floating-blob--1 { top: 8%; left: 6%; }
    .crypto-hero__floating-blob--2 { top: 48%; right: -4%; }
    .crypto-hero__floating-blob--3 { bottom: 17%; left: 0; }
    .crypto-hero__floating-sparkle--1 { top: 14%; left: 24%; }
    .crypto-hero__floating-sparkle--2 { top: 8%; right: 18%; }
    .crypto-hero__floating-sparkle--3 { bottom: 22%; left: 18%; }
    .crypto-hero__floating-icon--1 { top: 10%; left: 14%; }
    .crypto-hero__floating-icon--2 { top: 20%; right: 8%; }
    .crypto-hero__floating-icon--3 { top: 42%; left: -2%; }
    .crypto-hero__floating-icon--4 { top: 48%; right: -2%; }
    .crypto-hero__floating-icon--5 { bottom: 18%; left: 10%; }
    .crypto-hero__floating-icon--6 { bottom: 12%; right: 12%; }
    .crypto-hero__floating-icon--7,
    .crypto-hero__floating-icon--8 { display: none; }
}

/* PandaEX 1.0.23 — hero table animated objects refined to sit behind the crypto table like Pallapay */


/* PandaEX 1.0.24 — refined default hero table icon positions for marked background zones */
.crypto-hero__floating-icon {
    z-index: 1;
}

.crypto-hero__floating-icon--1 {
    top: 30%;
    left: -2%;
}

.crypto-hero__floating-icon--2 {
    top: 72%;
    left: 2%;
    right: auto;
}

.crypto-hero__floating-icon--3 {
    top: 8%;
    right: -1%;
    left: auto;
}

.crypto-hero__floating-icon--4 {
    top: 56%;
    right: -3%;
    left: auto;
}

.crypto-hero__floating-icon--5 {
    bottom: -2%;
    left: 44%;
}

.crypto-hero__floating-icon--6 {
    top: 10%;
    left: 18%;
    right: auto;
}

.crypto-hero__floating-icon--7 {
    top: 18%;
    right: 15%;
    left: auto;
}

.crypto-hero__floating-icon--8 {
    bottom: 18%;
    left: 62%;
}

.crypto-hero__floating-blob--1 {
    top: 12%;
    left: 74%;
}

.crypto-hero__floating-blob--2 {
    top: 54%;
    right: -6%;
}

.crypto-hero__floating-blob--3 {
    bottom: 0;
    left: 38%;
}

.crypto-hero__floating-sparkle--1 {
    top: 16%;
    left: 24%;
}

.crypto-hero__floating-sparkle--2 {
    top: 10%;
    right: 11%;
}

.crypto-hero__floating-sparkle--3 {
    bottom: 6%;
    left: 56%;
}

@media (max-width: 1024px) {
    .crypto-hero__floating-icon--1 { top: 32%; left: -4%; }
    .crypto-hero__floating-icon--2 { top: 74%; left: 0; }
    .crypto-hero__floating-icon--3 { top: 10%; right: -2%; }
    .crypto-hero__floating-icon--4 { top: 58%; right: -4%; }
    .crypto-hero__floating-icon--5 { bottom: 0; left: 42%; }
    .crypto-hero__floating-icon--6 { top: 12%; left: 10%; }
    .crypto-hero__floating-icon--7 { right: 12%; }
    .crypto-hero__floating-icon--8 { left: 58%; }
    .crypto-hero__floating-blob--1 { left: 68%; }
    .crypto-hero__floating-blob--3 { left: 30%; }
}

@media (max-width: 767px) {
    .crypto-hero__floating-icon--1 { top: 16%; left: -2%; }
    .crypto-hero__floating-icon--2 { top: 76%; left: 4%; }
    .crypto-hero__floating-icon--3 { top: 8%; right: -3%; }
    .crypto-hero__floating-icon--4 { top: 54%; right: -5%; }
    .crypto-hero__floating-icon--5 { bottom: 10%; left: 42%; }
    .crypto-hero__floating-icon--6 { top: 10%; left: 18%; }
    .crypto-hero__floating-icon--7,
    .crypto-hero__floating-icon--8 { display: none; }
    .crypto-hero__floating-blob--1 { top: 10%; left: 70%; }
    .crypto-hero__floating-blob--2 { top: 52%; right: -6%; }
    .crypto-hero__floating-blob--3 { bottom: 6%; left: 24%; }
}

/* PandaEX 1.0.25 — visible, individually editable animated icons around the live crypto table */
.crypto-hero__visual {
    overflow: visible !important;
}

.crypto-hero__floating-icons {
    inset: -42px -82px -54px -92px !important;
    overflow: visible !important;
    z-index: 1 !important;
}

.crypto-hero__rate-switcher {
    z-index: 3 !important;
}

.crypto-hero__floating-icon {
    left: var(--float-left, 0%) !important;
    top: var(--float-top, 20%) !important;
    right: auto !important;
    bottom: auto !important;
    width: var(--float-size, var(--crypto-hero-floating-size, 64px)) !important;
    height: var(--float-size, var(--crypto-hero-floating-size, 64px)) !important;
    opacity: var(--float-opacity, var(--crypto-hero-floating-opacity, .72)) !important;
    animation-duration: var(--float-duration, 18s) !important;
    border-color: rgba(255, 185, 0, .22) !important;
    background: radial-gradient(circle at 32% 28%, rgba(255, 206, 82, .28), rgba(255, 185, 0, .12) 44%, rgba(18, 18, 18, .18) 74%) !important;
    box-shadow: 0 0 34px rgba(255, 185, 0, .16), inset 0 1px 2px rgba(255,255,255,.12) !important;
}

.crypto-hero__floating-icon-core,
.crypto-hero__floating-icon-image {
    width: 100% !important;
    height: 100% !important;
}

.crypto-hero__floating-icon-core {
    min-width: 100% !important;
    min-height: 100% !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, .62) !important;
    font-size: clamp(11px, 1vw, 17px) !important;
    background: transparent !important;
}

.crypto-hero__floating-icon-image {
    object-fit: contain !important;
    padding: 7% !important;
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)) !important;
}

@media (max-width: 767px) {
    .crypto-hero__floating-icons {
        inset: -20px -34px -30px -34px !important;
    }

    .crypto-hero__floating-icon {
        transform: scale(.82);
    }
}

/* PandaEX 1.0.51 — mobile-only hero cleanup requested by client. */
@media (max-width: 767px) {
    /* Remove the large yellow decorative background shape on mobile only. */
    .crypto-hero__shape--right {
        display: none !important;
    }

    /* Keep Buyer and Seller actions side by side on mobile only. */
    .crypto-hero__buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .crypto-hero__buttons .crypto-hero__button,
    .crypto-hero__board-button {
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
        font-size: 13px !important;
    }
}

/* PandaEX 1.0.52 — mobile-only clearance for the hero eyebrow below an overlapping/sticky header. */
@media (max-width: 767px) {
    .crypto-hero {
        padding-top: 100px !important;
    }

    .crypto-hero__badge {
        position: relative;
        z-index: 3;
    }
}

/* PandaEX 1.0.71 — buyer/seller colours and simplified three-column quote table. */
.crypto-hero__board-button[data-crypto-rate-tab="buyer"],
.crypto-hero__board-button[data-crypto-rate-tab="buyer"]:hover,
.crypto-hero__board-button[data-crypto-rate-tab="buyer"].is-active,
.crypto-hero__board-button[data-crypto-rate-tab="buyer"].is-active:hover {
    color: #ffffff !important;
    background: #16a34a !important;
    border-color: #16a34a !important;
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.24) !important;
}

.crypto-hero__board-button[data-crypto-rate-tab="seller"],
.crypto-hero__board-button[data-crypto-rate-tab="seller"]:hover,
.crypto-hero__board-button[data-crypto-rate-tab="seller"].is-active,
.crypto-hero__board-button[data-crypto-rate-tab="seller"].is-active:hover {
    color: #ffffff !important;
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.24) !important;
}

.crypto-hero__board-button:not(.is-active) {
    opacity: .92;
}

.crypto-hero__rate-table-wrap {
    padding-top: 74px;
}

.crypto-hero__rate-table-head {
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 5px 4px 12px;
}

.crypto-hero__rate-button--single {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    min-width: 116px;
}

.crypto-hero__rate-table-head small {
    display: none;
}

.crypto-hero__rate-table-head strong {
    padding-right: 132px;
}

@media (max-width: 767px) {
    .crypto-hero__rate-table-wrap {
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
    }

    .crypto-hero__rate-table-head {
        position: static !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        padding: 3px 2px 13px !important;
    }

    .crypto-hero__rate-table-head strong {
        padding-right: 0 !important;
        text-align: right !important;
        font-size: 21px !important;
        line-height: 1.15 !important;
    }

    .crypto-hero__rate-table {
        order: 2;
        width: 100% !important;
        border: 1px solid #2a2a2a !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #0d0d0d !important;
    }

    .crypto-hero__rate-thead {
        display: block !important;
    }

    .crypto-hero__rate-tbody {
        display: block !important;
    }

    .crypto-hero__rate-row,
    .crypto-hero__rate-table--no-action .crypto-hero__rate-row,
    .crypto-hero__rate-row--body {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(54px, .68fr) !important;
    }

    .crypto-hero__rate-row--body {
        gap: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-top: 1px solid #2a2a2a !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .crypto-hero__rate-row--body .crypto-hero__rate-cell,
    .crypto-hero__rate-thead .crypto-hero__rate-cell {
        position: static !important;
        min-height: 62px !important;
        padding: 10px 7px !important;
        border-right: 1px solid #2a2a2a !important;
        overflow: hidden !important;
    }

    .crypto-hero__rate-thead .crypto-hero__rate-cell {
        min-height: 46px !important;
        color: #ffc62b !important;
        font-size: 13px !important;
        font-weight: 800 !important;
    }

    .crypto-hero__rate-row--body .crypto-hero__rate-cell::before {
        display: none !important;
        content: none !important;
    }

    .crypto-hero__rate-cell:last-child {
        border-right: 0 !important;
    }

    .crypto-hero__rate-cell--network {
        grid-column: auto !important;
        gap: 5px !important;
    }

    .crypto-hero__rate-symbol {
        flex-basis: 28px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    .crypto-hero__rate-cell--network strong,
    .crypto-hero__rate-cell--price b,
    .crypto-hero__rate-cell--quantity span {
        font-size: 14px !important;
        line-height: 1.3 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .crypto-hero__rate-cell--network strong {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    .crypto-hero__rate-cell--quantity span {
        color: #eeeeee !important;
        font-weight: 600 !important;
    }

    .crypto-hero__rate-flag {
        font-size: 17px !important;
    }

    .crypto-hero__rate-button--single {
        position: static !important;
        order: 3;
        width: 100% !important;
        min-height: 44px !important;
        margin-top: 12px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    .crypto-hero__rate-note {
        order: 4;
        color: #c0c0c0 !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }

    .crypto-hero__rate-live-label {
        font-size: 14px !important;
    }

    .crypto-hero__buttons .crypto-hero__button,
    .crypto-hero__board-button {
        font-size: 15px !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 390px) {
    .crypto-hero__rate-row,
    .crypto-hero__rate-table--no-action .crypto-hero__rate-row,
    .crypto-hero__rate-row--body {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(48px, .68fr) !important;
    }
}
