:root {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --primary: #1f6feb;
    --primary-strong: #0b5ad9;
    --accent: #2aa8ff;
    --text: #0b1b33;
    --muted: #4f6380;
    --shadow: 0 12px 30px rgba(13, 50, 102, .12);
    --shadow-strong: 0 18px 44px rgba(13, 50, 102, .18);
    --hover-shadow: 0 10px 22px rgba(31, 111, 235, .22);
    --hover-border: rgba(31, 111, 235, .35);
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
    background:
        radial-gradient(1000px 540px at -20% -10%, rgba(56, 189, 248, .25), transparent 60%),
        radial-gradient(860px 480px at 120% 6%, rgba(37, 99, 235, .24), transparent 62%),
        linear-gradient(160deg, #eef4ff 0%, #e8effd 48%, #edf3ff 100%);
    -webkit-tap-highlight-color: transparent;
}

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

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
    -webkit-user-drag: none;
    user-select: none;
}

.no-select {
    user-select: none;
}

canvas#bg-particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .75;
    filter: blur(.2px);
}

.top-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .75) 70%),
        radial-gradient(circle at 20% 20%, rgba(31, 111, 235, .18), transparent 42%),
        radial-gradient(circle at 80% 0%, rgba(42, 168, 255, .16), transparent 45%);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .85;
    z-index: -2;
    pointer-events: none;
    filter: saturate(1.05);
}

.fixed-area {
    position: relative;
    z-index: 10;
    background: linear-gradient(180deg, rgba(236, 244, 255, .82), rgba(236, 244, 255, 0));
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    max-width: 1240px;
    margin: -8px auto 6px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    border: 1px solid rgba(255, 255, 255, .7);
    background: linear-gradient(180deg, rgba(220, 232, 250, .98), rgba(200, 218, 245, .9));
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 38px rgba(26, 69, 138, .16);
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(31, 111, 235, .12), transparent 60%),
        repeating-linear-gradient(90deg, rgba(15, 40, 90, .08) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(0deg, rgba(15, 40, 90, .06) 0 1px, transparent 1px 18px);
    opacity: .95;
    pointer-events: none;
}

header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 111, 235, .6), transparent);
    opacity: .5;
    pointer-events: none;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(31, 111, 235, .18));
    padding-top: 3px;
}

.brand-logo-text {
    min-width: 118px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 18px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-strong), var(--accent));
    box-shadow: var(--shadow);
}

.nav-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.nav-main-btn {
    min-width: 126px;
    padding: 10px 20px;
    border-radius: 16px;
    border: 1px solid rgba(15, 40, 90, .22);
    color: #0b1b33;
    background: #fff;
    box-shadow: 0 16px 30px rgba(15, 40, 90, .22);
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s cubic-bezier(.22, 1, .36, 1);
}

.nav-main-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--hover-shadow);
}

.nav-main-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45), transparent 70%);
    transform: translateX(-120%);
    transition: .6s ease;
}

.nav-main-btn:hover::after {
    transform: translateX(120%);
}

.carousel {
    max-width: 1200px;
    margin: 24px auto 4px;
    padding: 0 20px;
}

.carousel-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(15, 40, 90, .08);
    background: #fff;
    box-shadow: 0 26px 46px rgba(30, 78, 158, .22);
}

.slides {
    display: flex;
    transition: transform .6s ease;
    position: relative;
    z-index: 1;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 38vw;
    min-height: 250px;
    max-height: 400px;
    background: #eaf1ff;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
}

.slide-fallback {
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    background:
        radial-gradient(circle at 30% 30%, rgba(42, 168, 255, .85), transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(31, 111, 235, .9), transparent 55%),
        #0b4db8;
}

.car-btn {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(15, 40, 90, .12);
    background: rgba(255, 255, 255, .8);
    color: #0b1b33;
    cursor: pointer;
    box-shadow: var(--shadow);
    transform: translateY(-50%);
    transition: background .34s cubic-bezier(.22, 1, .36, 1), box-shadow .42s cubic-bezier(.22, 1, .36, 1);
}

.car-btn:hover {
    background: rgba(31, 111, 235, .12);
    box-shadow: var(--hover-shadow);
}

.car-prev {
    left: 12px;
}

.car-next {
    right: 12px;
}

.dots {
    position: absolute;
    z-index: 2;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(15, 40, 90, .2);
    background: rgba(15, 40, 90, .15);
    cursor: pointer;
    transition: transform .46s cubic-bezier(.22, 1, .36, 1), background .34s cubic-bezier(.22, 1, .36, 1), box-shadow .34s cubic-bezier(.22, 1, .36, 1);
}

.dot.active {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(31, 111, 235, .35);
    transform: scale(1.18);
}

.section {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
}

#apps.section {
    margin-top: 6px;
    margin-bottom: 2px;
}

.section h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 6px 0 8px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    position: relative;
}

.marquee-wrap {
    width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(15, 40, 90, .08);
    padding: 4px 10px;
    background: linear-gradient(90deg, #2b6fe9, #4aa3ff);
    box-shadow: 0 10px 22px rgba(31, 111, 235, .2);
    position: relative;
}

.marquee {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 6px;
    z-index: 2;
    animation: marqueeMove 30s linear infinite;
}

.marquee-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 6px 16px rgba(0, 0, 0, .18);
}

@keyframes marqueeMove {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.icon-ticker {
    margin-top: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(15, 40, 90, .08);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px rgba(31, 111, 235, .16);
    padding: 8px 10px;
    position: relative;
    touch-action: pan-y;
}

.ticker-status {
    position: absolute;
    right: 10px;
    top: 6px;
    z-index: 2;
    opacity: 0;
    border-radius: 8px;
    padding: 2px 6px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    font-size: 11px;
    transition: opacity .2s ease;
    pointer-events: none;
}

.icon-ticker.paused .ticker-status {
    opacity: 1;
}

.icon-track {
    display: flex;
    align-items: center;
    gap: 10px;
    will-change: transform;
}

.icon-item {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(15, 40, 90, .1);
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(243, 248, 255, .95));
    box-shadow: 0 8px 18px rgba(31, 111, 235, .14);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.icon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(31, 111, 235, .2);
}

.icon-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 8px;
    border: 0;
    background: transparent;
}

.category-button {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 8px 12px;
    border: 2px solid rgba(31, 111, 235, .3);
    border-radius: 10px;
    color: #0b1b33;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    touch-action: manipulation;
}

.category-button.active {
    color: #fff;
    border-color: rgba(31, 111, 235, .5);
    background: linear-gradient(90deg, var(--primary-strong), var(--accent));
    box-shadow: 0 4px 12px rgba(31, 111, 235, .35);
}

.category-button:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 111, 235, .5);
    background-color: rgba(31, 111, 235, .08);
}

.cards-scroll {
    overflow: visible;
}

.category-content {
    display: none;
    animation: fadeIn .3s ease;
}

.category-content.active {
    display: block;
}

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

#cardsScroll .section {
    margin-top: 0;
    padding-top: 0;
}

#cardsScroll .section h2 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 34px;
    font-weight: 900;
    color: #0f2250;
}

#cardsScroll .section h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 126px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--primary-strong), var(--accent), transparent);
    box-shadow: 0 6px 16px rgba(31, 111, 235, .25);
    transform: translateX(-50%);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 6px;
}

.card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    grid-template-areas:
        "avatar meta"
        "cta cta";
    align-items: start;
    gap: 9px;
    overflow: hidden;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .66);
    background: linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(245, 250, 255, .56));
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 14px 30px rgba(26, 68, 138, .13);
    opacity: 0;
    transform: translateY(12px) scale(.985);
    animation: iosCardIn .62s cubic-bezier(.22, 1, .36, 1) forwards;
    animation-delay: var(--stagger, 0ms);
    position: relative;
}

.card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(84, 151, 255, .48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88), 0 16px 36px rgba(37, 92, 184, .2);
}

@keyframes iosCardIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(.985);
    }
    68% {
        opacity: 1;
        transform: translateY(-1px) scale(1.003);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.avatar {
    grid-area: avatar;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(31, 111, 235, .18);
    background: #eef4ff;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(31, 111, 235, .18);
}

.meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.title {
    overflow: hidden;
    color: #0b1b33;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.desc {
    overflow: hidden;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    flex-wrap: nowrap;
}

.stars {
    display: inline-flex;
    gap: 1px;
    color: #1f6feb;
    filter: drop-shadow(0 2px 6px rgba(31, 111, 235, .25));
}

.stars i {
    font-style: normal;
    font-size: 13px;
    line-height: 1;
}

.score {
    color: #3b5275;
    font-size: 12px;
    white-space: nowrap;
}

.card .go {
    grid-area: cta;
    width: 100%;
    margin: 4px 0 0;
    overflow: hidden;
    padding: 6px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .48);
    color: #fff;
    background: linear-gradient(110deg, #2f7bff 0%, #50a8ff 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), 0 8px 18px rgba(47, 123, 255, .34);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    position: relative;
    transition: transform .42s cubic-bezier(.22, 1, .36, 1), box-shadow .42s cubic-bezier(.22, 1, .36, 1);
}

.card .go:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: var(--hover-shadow);
}

.card .go::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .6), transparent 70%);
    transform: translateX(-120%);
    transition: .8s ease;
}

.card:hover .go::after {
    transform: translateX(120%);
}

.empty {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(15, 40, 90, .1);
    color: var(--muted);
    background: rgba(255, 255, 255, .72);
    text-align: center;
    box-shadow: var(--shadow);
}

.site-footer {
    max-width: 1200px;
    margin: 8px auto 18px;
    padding: 0 20px;
}

.brand-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    color: #6b7a92;
    font-size: 12px;
    text-align: center;
}

.brand-footer .logo {
    width: auto;
    max-width: 120px;
    height: 24px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid rgba(15, 40, 90, .12);
    background: #fff;
}

.brand-footer .logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.brand-footer .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.brand-footer .name {
    color: #4f6380;
    font-size: 12px;
    font-weight: 700;
}

.brand-footer .desc,
.brand-footer .copy {
    color: #7b8aa3;
    font-size: 11px;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    padding: 20px;
    background: rgba(0, 0, 0, .6);
    transition: opacity .3s ease, visibility .3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    width: min(420px, 100%);
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #f0f4ff);
    box-shadow: 0 25px 60px rgba(31, 111, 235, .35), 0 10px 30px rgba(0, 0, 0, .2);
    transform: scale(.85) translateY(20px);
    transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.popup-overlay.active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1f6feb, #2aa8ff);
}

.popup-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.popup-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .5;
        transform: scale(.8);
    }
}

.popup-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255, 255, 255, .2);
    font-size: 20px;
    cursor: pointer;
    transition: all .25s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, .35);
    transform: rotate(90deg);
}

.popup-body {
    max-height: 60vh;
    overflow-y: auto;
    padding: 24px;
}

.popup-content {
    color: #0b1b33;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.popup-content p {
    margin: 0 0 12px;
}

.popup-footer {
    padding: 16px 24px 24px;
    text-align: center;
}

.popup-btn {
    display: inline-block;
    padding: 12px 40px;
    border: 0;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #1f6feb, #2aa8ff);
    box-shadow: 0 8px 20px rgba(31, 111, 235, .4);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 111, 235, .5);
}

.service-float-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.service-toggle {
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f6feb, #2aa8ff);
    box-shadow: 0 8px 25px rgba(31, 111, 235, .45);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    pointer-events: auto;
    transition: all .3s ease;
}

.service-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(31, 111, 235, .55);
}

.service-toggle svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.service-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ff4757;
    box-shadow: 0 2px 8px rgba(255, 71, 87, .5);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-panel {
    width: 280px;
    max-width: calc(100vw - 32px);
    opacity: 0;
    visibility: hidden;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(31, 111, 235, .25);
    pointer-events: auto;
    transform: translateY(15px) scale(.95);
    transform-origin: bottom right;
    transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}

.service-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.service-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef2ff;
    margin-bottom: 12px;
}

.service-panel-title {
    margin: 0;
    color: #0b1b33;
    font-size: 16px;
    font-weight: 700;
}

.service-panel-close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: #f1f3f8;
    color: #4f6380;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .2s ease;
}

.service-panel-close:hover {
    background: #e4e7f0;
    color: #0b1b33;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8faff, #f0f4ff);
    transition: all .25s ease;
}

.service-item:hover {
    background: linear-gradient(135deg, #eef4ff, #e8f0ff);
    transform: translateX(4px);
}

.service-item-info {
    min-width: 0;
}

.service-item-account {
    display: block;
    overflow: hidden;
    color: #0b1b33;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-item-action {
    display: flex;
    gap: 6px;
}

.service-add-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #1f6feb;
    background: #fff;
    color: #1f6feb;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s ease;
}

.service-item:hover .service-add-btn {
    background: #1f6feb;
    color: #fff;
}

@media (max-width: 1200px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #cardsScroll .section h2 {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #cardsScroll .section h2 {
        font-size: 26px;
    }

    .card {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .avatar {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 10px 14px;
    }

    .brand-logo {
        max-width: 160px;
    }

    .nav-main-btn {
        min-width: 96px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .carousel {
        padding: 0 10px;
        margin: 16px auto 2px;
    }

    .carousel-wrap {
        border-radius: 18px;
    }

    .slide {
        height: 46vw;
        min-height: 168px;
        max-height: 235px;
    }

    .car-btn {
        width: 40px;
        height: 40px;
    }

    .section {
        padding: 0 10px;
    }

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

    .card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 6px;
        padding: 8px;
        border-radius: 14px;
    }

    .avatar {
        width: 42px;
        height: 42px;
    }

    .title {
        font-size: 13px;
    }

    .desc {
        margin-top: 2px;
        font-size: 12px;
    }

    .rating {
        margin-top: 4px;
        gap: 4px;
    }

    .score {
        font-size: 10px;
    }

    .card .go {
        margin: 3px 0 0;
        padding: 6px 8px;
        border-radius: 10px;
        font-size: 11px;
    }

    .icon-ticker {
        margin-top: 4px;
        padding: 6px 8px;
    }

    .icon-item {
        width: 42px;
        height: 42px;
    }

    .popup-body {
        padding: 20px;
    }

    .service-float-btn {
        right: 12px;
        bottom: 12px;
    }

    .service-panel {
        width: min(280px, calc(100vw - 24px));
    }
}

@media (max-width: 420px) {
    .brand-logo-text {
        min-width: 92px;
        height: 32px;
        padding: 0 12px;
        font-size: 16px;
    }

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

    .card {
        padding: 7px;
    }

    .title,
    .desc {
        font-size: 12px;
    }

    .card .go {
        padding: 5px 7px;
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card,
    .popup-title::before,
    .marquee {
        animation: none;
    }

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