:root {
    --ink: #07111d;
    --ink2: #0d1c2a;
    --panel: #11283a;
    --blue: #1678d2;
    --blue2: #2db7ed;
    --gold: #f2c15b;
    --text: #f5f9fc;
    --muted: #a9bdca;
    --line: rgba(182, 218, 240, .15);
    --radius: 22px;
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    margin: 0;
    background: radial-gradient(ellipse at 82% 8%, rgba(34, 151, 218, .18), transparent 32%), radial-gradient(ellipse at 12% 38%, rgba(30, 91, 158, .13), transparent 30%), var(--ink);
    color: var(--text);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, black, transparent 75%);
    z-index: -1
}

a {
    color: inherit;
    text-decoration: none
}

button,
a {
    -webkit-tap-highlight-color: transparent
}

img {
    max-width: 100%;
    display: block
}

button {
    font: inherit
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 16, 27, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    gap: 22px
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    white-space: nowrap
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    object-fit: cover
}

.brand span {
    font-size: 19px
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
    color: #c4d5e0;
    font-size: 14px
}

.navlinks a {
    transition: color .2s
}

.navlinks a:hover,
.navlinks a.active {
    color: #67d2ff
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 19px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    background: rgba(255, 255, 255, .06);
    font-weight: 750;
    font-size: 14px;
    white-space: nowrap;
    transition: transform .22s, box-shadow .22s, border-color .22s
}

.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(94, 203, 255, .65);
    box-shadow: 0 9px 28px rgba(0, 128, 224, .18)
}

.btn-primary {
    color: #061522;
    background: linear-gradient(110deg, #a9edff, #36b7f0 58%, #167bd5);
    border: 0
}

.btn-gold {
    color: #15202a;
    background: linear-gradient(120deg, #ffe6a0, #efb83e)
}

.qr-pop {
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    transform: translate(-50%, -8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .22s;
    z-index: 200;
    width: 178px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    background: #fff;
    color: #152638;
    box-shadow: 0 18px 50px #0008;
    text-align: center
}

.qr-pop img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: auto
}

.qr-pop small {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 7px
}

.qr-pop:before {
    content: "";
    position: absolute;
    left: calc(50% - 7px);
    top: -7px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: rotate(45deg)
}

.qr-down:hover .qr-pop,
.qr-down:focus-within .qr-pop {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto
}

.qr-up .qr-pop {
    top: auto;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 8px)
}

.qr-up .qr-pop:before {
    top: auto;
    bottom: -6px
}

.qr-up:hover .qr-pop,
.qr-up:focus-within .qr-pop {
    transform: translate(-50%, 0)
}

.category-btn {
    display: inline-flex
}

.drawer-shade {
    position: fixed;
    inset: 0;
    background: #0009;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: .25s
}

.drawer {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(390px, 100%);
    padding: 24px;
    background: #091725;
    border-left: 1px solid var(--line);
    z-index: 151;
    transform: translateX(105%);
    transition: transform .3s;
    overflow: auto
}

.drawer.open {
    transform: translateX(0)
}

.drawer-shade.open {
    opacity: 1;
    visibility: visible
}

.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px
}

.drawer-close {
    border: 1px solid var(--line);
    background: #13283a;
    color: white;
    border-radius: 10px;
    width: 42px;
    height: 42px
}

.drawer-links {
    display: grid;
    gap: 9px
}

.drawer-links a {
    padding: 13px 15px;
    border-radius: 12px;
    background: #102438;
    border: 1px solid transparent;
    color: #d8e7f1
}

.drawer-links a.active,
.drawer-links a:hover {
    border-color: #31b8f0;
    background: #10334a;
    color: #8be1ff
}

.drawer-cta {
    display: grid;
    gap: 10px;
    margin-top: 25px
}

.hero {
    padding: 66px 0 54px;
    position: relative;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 38px
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(98, 202, 247, .25);
    background: rgba(37, 140, 199, .11);
    border-radius: 999px;
    padding: 7px 13px;
    color: #94e2ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #50d5ff;
    box-shadow: 0 0 13px #50d5ff
}

.hero h1 {
    font-size: clamp(38px, 5.3vw, 66px);
    line-height: 1.12;
    letter-spacing: -.045em;
    margin: 22px 0 20px;
    max-width: 700px
}

.gradient-text {
    background: linear-gradient(95deg, #fff 0%, #a5e9ff 44%, #eac56d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.hero p {
    max-width: 600px;
    color: #b7c9d6;
    font-size: 17px;
    line-height: 1.9;
    margin: 0 0 27px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.hero-actions .btn {
    min-height: 52px;
    padding: 0 22px
}

.hero-note {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #9bb4c4;
    font-size: 13px;
    margin-top: 24px
}

.hero-note span {
    display: flex;
    align-items: center;
    gap: 7px
}

.hero-note i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #e9bf55
}

.hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate
}

.halo {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 163, 233, .24), rgba(35, 163, 233, .04) 58%, transparent 72%);
    filter: blur(2px);
    z-index: -1
}

.phone-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    perspective: 1000px
}

.phone {
    width: 210px;
    filter: drop-shadow(0 25px 45px #0009);
    transition: transform .6s cubic-bezier(.2, .8, .2, 1)
}

.phone img {
    width: 100%;
    height: auto;
    object-fit: contain
}

.phone:nth-child(1) {
    transform: translateX(36px) rotate(-8deg) scale(.86);
    opacity: .83
}

.phone:nth-child(2) {
    z-index: 2;
    transform: translateY(-9px) scale(1.05)
}

.phone:nth-child(3) {
    transform: translateX(-36px) rotate(8deg) scale(.86);
    opacity: .83
}

.phone-stack:hover .phone:nth-child(1) {
    transform: translateX(14px) rotate(-12deg) scale(.88)
}

.phone-stack:hover .phone:nth-child(2) {
    transform: translateY(-18px) scale(1.08)
}

.phone-stack:hover .phone:nth-child(3) {
    transform: translateX(-14px) rotate(12deg) scale(.88)
}

.float-tag {
    position: absolute;
    right: 0;
    bottom: 42px;
    border: 1px solid var(--line);
    background: #0b1e2cdd;
    backdrop-filter: blur(14px);
    border-radius: 16px;
    padding: 13px 17px;
    box-shadow: 0 14px 35px #0005
}

.float-tag b {
    display: block;
    font-size: 14px
}

.float-tag small {
    color: #9db8c8;
    font-size: 12px
}

.section {
    padding: 64px 0
}

.section.alt {
    background: linear-gradient(180deg, rgba(12, 34, 51, .48), rgba(6, 17, 29, .15));
    border-block: 1px solid rgba(255, 255, 255, .045)
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 27px
}

.section-head h2 {
    font-size: clamp(27px, 3.2vw, 40px);
    line-height: 1.2;
    letter-spacing: -.03em;
    margin: 0
}

.section-head p {
    color: var(--muted);
    margin: 10px 0 0;
    max-width: 610px
}

.kicker {
    color: #69d7ff;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 11px;
    font-weight: 850;
    margin-bottom: 10px
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.feature-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    background: linear-gradient(145deg, rgba(22, 51, 73, .85), rgba(9, 25, 39, .82));
    min-height: 185px;
    transition: transform .25s, border-color .25s
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 194, 246, .48)
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #a5e9ff;
    background: rgba(50, 166, 222, .14);
    border: 1px solid rgba(79, 195, 243, .2);
    font-size: 22px;
    margin-bottom: 18px
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 19px
}

.feature-card p {
    color: #a9bfce;
    font-size: 14px;
    margin: 0;
    line-height: 1.8
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.screen-card {
    padding: 16px 16px 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(160deg, #102538, #091724);
    text-align: center;
    overflow: hidden
}

.screen-card img {
    height: 300px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 15px;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px #0008);
    transition: transform .35s
}

.screen-card:hover img {
    transform: translateY(-6px) scale(1.02)
}

.screen-card h3 {
    font-size: 16px;
    margin: 0 0 4px
}

.screen-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.step-card {
    padding: 23px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(12, 31, 47, .72)
}

.step-no {
    font-size: 12px;
    letter-spacing: .12em;
    color: #70d8ff;
    font-weight: 900
}

.step-card h3 {
    margin: 9px 0 6px
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.download-panel {
    position: relative;
    overflow: visible;
    border: 1px solid rgba(91, 203, 248, .27);
    border-radius: 28px;
    padding: clamp(26px, 5vw, 52px);
    background: radial-gradient(circle at 92% 4%, rgba(42, 175, 235, .24), transparent 34%), linear-gradient(125deg, #102d43, #0a1a29 65%, #142e3d);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.download-panel h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    margin: 0 0 12px
}

.download-panel p {
    color: #b6cbd8;
    margin: 0;
    max-width: 620px
}

.download-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center
}

.download-actions .btn {
    min-width: 148px;
    min-height: 52px
}

.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(12, 31, 47, .7);
    padding: 19px 20px
}

.faq-item h3 {
    font-size: 16px;
    margin: 0 0 8px
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.page-hero {
    padding: 56px 0 38px
}

.page-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin: 16px 0
}

.page-hero p {
    max-width: 760px;
    color: #b7c9d6;
    font-size: 17px
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.content-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(18, 43, 62, .86), rgba(8, 24, 38, .86))
}

.content-card h2,
.content-card h3 {
    margin-top: 0
}

.content-card p,
.content-card li {
    color: #b3c7d4
}

.content-card ul {
    padding-left: 20px
}

.content-card li {
    margin: 8px 0
}

.page-screens {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start
}

.page-screens img {
    max-height: 460px;
    width: auto;
    margin: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px #0008)
}

.footer {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    background: #050e18;
    padding: 34px 0 24px
}

.footer-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 30px
}

.footer-brand {
    max-width: 370px
}

.footer-brand p {
    font-size: 13px;
    color: #91a9b9
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #b5c9d7;
    font-size: 13px
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 22px;
    color: #7993a5;
    font-size: 12px
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .25, 1)
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0)
}

.reveal[data-anim="left"] {
    transform: translateX(-28px)
}

.reveal[data-anim="right"] {
    transform: translateX(28px)
}

.reveal[data-anim="scale"] {
    transform: scale(.96)
}

.reveal[data-anim="left"].in-view,
.reveal[data-anim="right"].in-view {
    transform: translateX(0)
}

.reveal[data-anim="scale"].in-view {
    transform: scale(1)
}

.mobile-menu {
    display: none
}

@media(max-width:1050px) {
    .navlinks {
        gap: 13px
    }

    .navlinks a {
        font-size: 13px
    }

    .nav-actions .btn {
        padding: 0 13px
    }

    .hero-grid {
        gap: 15px
    }

    .phone {
        width: 180px
    }

    .hero-visual {
        min-height: 420px
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:800px) {
    .wrap {
        width: min(100% - 30px, var(--max))
    }

    .nav {
        height: 68px;
        gap: 12px
    }

    .navlinks {
        display: none
    }

    .category-btn {
        display: inline-flex
    }

    .mobile-menu {
        display: none
    }

    .brand {
        margin-right: auto
    }

    .brand img {
        width: 40px;
        height: 40px
    }

    .brand span {
        font-size: 17px
    }

    .nav-actions .btn {
        min-height: 41px;
        padding: 0 12px;
        font-size: 12px
    }

    .nav-actions .top-register {
        display: none
    }

    .hero {
        padding: 38px 0 28px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .hero h1 {
        font-size: clamp(36px, 9vw, 54px);
        margin-top: 18px
    }

    .hero p {
        font-size: 15px
    }

    .hero-visual {
        min-height: 340px;
        margin-top: 0
    }

    .phone {
        width: min(30vw, 165px)
    }

    .phone:nth-child(1) {
        transform: translateX(25px) rotate(-7deg) scale(.84)
    }

    .phone:nth-child(3) {
        transform: translateX(-25px) rotate(7deg) scale(.84)
    }

    .halo {
        width: 300px;
        height: 300px
    }

    .float-tag {
        right: 4px;
        bottom: 12px
    }

    .section {
        padding: 44px 0
    }

    .section-head {
        display: block
    }

    .feature-grid {
        grid-template-columns: 1fr
    }

    .feature-card {
        min-height: auto
    }

    .steps-grid {
        grid-template-columns: 1fr
    }

    .download-panel {
        display: block;
        padding: 25px 22px
    }

    .download-actions {
        margin-top: 22px
    }

    .faq-list {
        grid-template-columns: 1fr
    }

    .content-grid {
        grid-template-columns: 1fr
    }

    .page-hero {
        padding: 38px 0 24px
    }

    .page-hero p {
        font-size: 15px
    }

    .page-screens {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px
    }

    .page-screens img {
        max-height: 290px
    }

    .footer-top,
    .footer-bottom {
        display: block
    }

    .footer-links {
        margin-top: 20px
    }

    .footer-bottom span {
        display: block;
        margin-top: 7px
    }
}

@media(max-width:480px) {
    .wrap {
        width: calc(100% - 26px)
    }

    .nav {
        gap: 7px
    }

    .brand {
        gap: 7px
    }

    .brand span {
        font-size: 15px
    }

    .brand img {
        width: 35px;
        height: 35px
    }

    .nav-actions {
        gap: 6px
    }

    .nav-actions .btn {
        padding: 0 9px;
        font-size: 11px;
        min-height: 38px
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .hero-actions .btn {
        padding: 0 9px;
        font-size: 13px;
        min-height: 48px
    }

    .hero-actions .btn:first-child {
        grid-column: span 2
    }

    .hero-note {
        gap: 10px
    }

    .hero-visual {
        min-height: 290px
    }

    .phone {
        width: 31vw
    }

    .phone:nth-child(1) {
        transform: translateX(20px) rotate(-7deg) scale(.82)
    }

    .phone:nth-child(3) {
        transform: translateX(-20px) rotate(7deg) scale(.82)
    }

    .float-tag {
        padding: 9px 11px;
        bottom: 0
    }

    .float-tag b {
        font-size: 12px
    }

    .float-tag small {
        font-size: 10px
    }

    .showcase-grid {
        gap: 10px
    }

    .screen-card {
        padding: 10px
    }

    .screen-card img {
        height: 235px
    }

    .screen-card h3 {
        font-size: 14px
    }

    .screen-card p {
        font-size: 12px
    }

    .download-actions {
        display: grid;
        grid-template-columns: 1fr
    }

    .download-actions .btn {
        width: 100%
    }

    .page-screens img {
        max-height: 220px
    }

    .section-head h2 {
        font-size: 27px
    }

    .qr-pop {
        width: 160px
    }

    .qr-pop img {
        width: 132px;
        height: 132px
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* 钱能钱包：升级版资产终端展示 */
.category-btn {
    color: #fff !important
}

.hero-terminal {
    position: relative;
    width: 100%;
    max-width: 560px;
    min-height: 450px;
    display: grid;
    place-items: center;
    isolation: isolate
}

.terminal-glow {
    position: absolute;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39, 181, 242, .24), rgba(35, 109, 196, .08) 48%, transparent 72%);
    filter: blur(9px);
    z-index: -1
}

.terminal-frame {
    position: relative;
    width: min(100%, 470px);
    padding: 19px;
    border: 1px solid rgba(125, 214, 255, .32);
    border-radius: 27px;
    background: linear-gradient(145deg, rgba(20, 48, 70, .96), rgba(6, 20, 33, .96));
    box-shadow: 0 28px 80px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .09);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform .5s ease, border-color .3s
}

.hero-terminal:hover .terminal-frame {
    transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-5px);
    border-color: rgba(104, 218, 255, .65)
}

.terminal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: #cde7f5;
    font-size: 12px
}

.terminal-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: 14px
}

.terminal-brand img {
    width: 30px;
    height: 30px;
    border-radius: 9px
}

.terminal-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8ce4bf;
    font-size: 11px
}

.terminal-status:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #59d9a4;
    border-radius: 50%;
    box-shadow: 0 0 10px #59d9a4
}

.terminal-balance {
    padding: 19px;
    border-radius: 19px;
    background: linear-gradient(120deg, #167bd3, #22b6e8);
    color: white;
    box-shadow: 0 12px 25px #0077bb35
}

.terminal-balance small {
    display: block;
    opacity: .82;
    font-size: 12px
}

.terminal-balance strong {
    display: block;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: -.03em;
    margin: 6px 0
}

.terminal-balance span {
    font-size: 11px;
    opacity: .85
}

.terminal-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin: 17px 0
}

.terminal-action {
    padding: 12px 5px 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .075);
    text-align: center;
    color: #dcebf4;
    font-size: 11px
}

.terminal-action i {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 11px;
    margin: 0 auto 7px;
    background: rgba(67, 183, 237, .15);
    color: #9de7ff;
    font-size: 18px;
    font-style: normal
}

.terminal-lower {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.terminal-mini {
    padding: 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .07)
}

.terminal-mini small {
    display: block;
    color: #92adbf;
    font-size: 10px
}

.terminal-mini b {
    display: block;
    color: #f1f8fc;
    font-size: 15px;
    margin-top: 5px
}

.terminal-mini em {
    font-size: 10px;
    color: #6de0b0;
    font-style: normal
}

.terminal-float {
    position: absolute;
    right: -2px;
    bottom: 35px;
    width: 152px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .17);
    background: rgba(9, 27, 42, .92);
    backdrop-filter: blur(15px);
    box-shadow: 0 16px 40px #0006;
    transform: rotate(3deg)
}

.terminal-float img {
    width: 44px;
    height: 78px;
    object-fit: cover;
    object-position: top;
    border-radius: 7px;
    float: left;
    margin-right: 9px
}

.terminal-float b {
    display: block;
    font-size: 12px;
    margin-top: 12px
}

.terminal-float small {
    font-size: 10px;
    color: #a9c2d1
}

.transaction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px
}

.transaction-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: linear-gradient(160deg, #102538, #091724);
    padding: 15px;
    transition: transform .28s, border-color .28s
}

.transaction-card:hover {
    transform: translateY(-5px);
    border-color: rgba(76, 198, 248, .48)
}

.transaction-card img {
    height: 250px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 14px;
    filter: drop-shadow(0 10px 20px #0007)
}

.transaction-card h3 {
    font-size: 16px;
    margin: 0 0 5px
}

.transaction-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

@media(max-width:800px) {

    .hero-terminal {
        min-height: 365px;
        margin-top: 0
    }

    .terminal-frame {
        transform: none;
        padding: 14px
    }

    .terminal-balance strong {
        font-size: 28px
    }

    .terminal-float {
        right: 0;
        bottom: 8px
    }

    .transaction-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .transaction-card img {
        height: 220px
    }
}

@media(max-width:480px) {
    .drawer {
    position: fixed;
    right: 20px;
    top: 0;
    bottom: 0;
    width: min(390px, 100%);
    padding: 24px;
    background: #091725;
    border-left: 1px solid var(--line);
    z-index: 151;
    transform: translateX(105%);
    transition: transform .3s;
    overflow: auto
}
    .hero-terminal {
        min-height: 320px
    }

    .terminal-frame {
        padding: 11px;
        border-radius: 20px
    }

    .terminal-actions {
        gap: 5px;
        margin: 12px 0
    }

    .terminal-action {
        font-size: 10px;
        padding: 9px 2px
    }

    .terminal-action i {
        width: 28px;
        height: 28px
    }

    .terminal-balance {
        padding: 14px
    }

    .terminal-balance strong {
        font-size: 25px
    }

    .terminal-float {
        width: 126px;
        padding: 8px;
        bottom: 0;
        display: none;
    }

    .terminal-float img {
        height: 63px;
        width: 35px
    }

    .terminal-float b {
        font-size: 10px;
        margin-top: 7px
    }

    .transaction-card {
        padding: 9px
    }

    .transaction-card img {
        height: 180px
    }
}

/* QR placement rules: header below; content actions above */
.nav-actions .qr-down .qr-pop {
    top: calc(100% + 12px);
    bottom: auto;
    transform: translate(-50%, -8px)
}

.nav-actions .qr-down:hover .qr-pop,
.nav-actions .qr-down:focus-within .qr-pop {
    transform: translate(-50%, 0)
}

.hero-actions .qr-down .qr-pop,
.download-actions .qr-down .qr-pop,
.drawer-cta .qr-down .qr-pop {
    top: auto;
    bottom: calc(100% + 12px);
    transform: translate(-50%, 8px)
}

.hero-actions .qr-down .qr-pop:before,
.download-actions .qr-down .qr-pop:before,
.drawer-cta .qr-down .qr-pop:before {
    top: auto;
    bottom: -6px
}

.hero-actions .qr-down:hover .qr-pop,
.hero-actions .qr-down:focus-within .qr-pop,
.download-actions .qr-down:hover .qr-pop,
.download-actions .qr-down:focus-within .qr-pop,
.drawer-cta .qr-down:hover .qr-pop,
.drawer-cta .qr-down:focus-within .qr-pop {
    transform: translate(-50%, 0)
}

.drawer-cta {
    grid-template-columns: 1fr 1fr;
    align-items: start
}

.drawer-cta .qr-pop {
    width: 154px;
    padding: 9px
}

.drawer-cta .qr-pop img {
    width: 130px;
    height: 130px
}

@media(max-width:480px) {
    .drawer-cta .qr-pop {
        width: 144px
    }

    .drawer-cta .qr-pop img {
        width: 120px;
        height: 120px
    }
}

.drawer-cta .qr-down {
    position: relative;
    min-width: 0
}

.drawer-cta .qr-down>.btn {
    width: 100%;
    padding: 0 8px;
    font-size: 12px
}

.drawer-cta .qr-pop {
    left: 50%;
    z-index: 250
}

/* Final QR positioning: all content buttons open upward; top navigation opens downward */
.qr-down {
    position: relative
}

.qr-down .qr-pop {
    top: auto;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 8px)
}

.qr-down .qr-pop:before {
    top: auto;
    bottom: -6px;
    left: calc(50% - 7px)
}

.qr-down:hover .qr-pop,
.qr-down:focus-within .qr-pop {
    transform: translate(-50%, 0)
}

/* Only buttons inside the sticky top navigation open their QR directly below */
.topbar .qr-down .qr-pop,
.nav-actions .qr-down .qr-pop {
    top: calc(100% + 12px);
    bottom: auto;
    transform: translate(-50%, -8px)
}

.topbar .qr-down .qr-pop:before,
.nav-actions .qr-down .qr-pop:before {
    top: -7px;
    bottom: auto
}

.topbar .qr-down:hover .qr-pop,
.topbar .qr-down:focus-within .qr-pop,
.nav-actions .qr-down:hover .qr-pop,
.nav-actions .qr-down:focus-within .qr-pop {
    transform: translate(-50%, 0)
}