/* ==========================================
   ANKO — LIQUID GLASS
   ========================================== */

/* 全局背景 */
body {
    background:
        radial-gradient(
            ellipse at 15% 20%,
            rgba(90, 70, 180, 0.45),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 85% 75%,
            rgba(20, 120, 190, 0.35),
            transparent 50%
        ),
        linear-gradient(
            135deg,
            #090d20,
            #151d3c 50%,
            #0c1026
        ) !important;

    background-attachment: fixed !important;
}

/* 服务卡片 */
.service-card {
    position: relative !important;

    background: rgba(255, 255, 255, 0.035) !important;

    backdrop-filter:
        blur(24px)
        saturate(180%)
        brightness(1.15) !important;

    -webkit-backdrop-filter:
        blur(24px)
        saturate(180%)
        brightness(1.15) !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;

    border-radius: 18px !important;

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.03) !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease !important;
}

/* 玻璃表面高光 */
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.025) 35%,
        transparent 60%,
        rgba(255, 255, 255, 0.035) 100%
    );

    z-index: 0;
}

/* 内容位于高光之上 */
.service-card > * {
    position: relative;
    z-index: 1;
}

/* 悬停效果 */
.service-card:hover {
    transform: translateY(-4px);

    background: rgba(255, 255, 255, 0.07) !important;

    border-color: rgba(210, 220, 255, 0.4) !important;

    box-shadow:
        0 16px 45px rgba(0, 0, 0, 0.28),
        0 0 25px rgba(100, 130, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* 分组标题 */
.service-group-name {
    font-weight: 500 !important;
    letter-spacing: 0.5px;
}

/* 搜索框 */
input[type="text"],
input[type="search"] {
    background: rgba(255, 255, 255, 0.045) !important;

    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px !important;
}

/* 尊重系统减少动画设置 */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none !important;
    }

    .service-card:hover {
        transform: none !important;
    }
}
