:root {
    --paper: #fdfaf5;
    --ink: #3d3830;
    --muted: #9a8f80;
    --rose: #e893b0;
    --sky: #7db8d8;
    --leaf: #a3c88a;
    --lav: #b99fd8;
    --card: #ffffff;
    --blob1: 58% 42% 55% 45% / 50% 52% 48% 50%;
    --blob2: 44% 56% 60% 40% / 55% 45% 55% 45%;
}

* {
    padding: 0;
    margin: 0;
    list-style: none;
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
}

/* 水彩晕染背景 */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(340px 260px at 12% 8%,
            rgba(232, 147, 176, 0.16),
            transparent 70%),
        radial-gradient(400px 300px at 88% 18%,
            rgba(125, 184, 216, 0.16),
            transparent 70%),
        radial-gradient(380px 280px at 8% 85%,
            rgba(163, 200, 138, 0.16),
            transparent 70%),
        radial-gradient(360px 260px at 90% 82%,
            rgba(185, 159, 216, 0.14),
            transparent 70%);
}

img {
    object-fit: cover;
}

.header {
    max-width: 1200px;
    height: auto;
    position: sticky;
    top: 0;
    z-index: 99999;
    margin: auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(253, 250, 245, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(61, 56, 48, 0.1);
}

.h-box {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    gap: 26px;
    padding: 16px 24px;
}

/* .title {
    font-size: 26px;
    font-weight: 900;
    transform: rotate(-2deg);
} */

.logo {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    position: relative;
}

.hb .logo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 7px;
    background: linear-gradient(90deg, var(--rose), var(--sky));
    border-radius: 58% 42% 55% 45%/50% 52% 48% 50%;
    opacity: 0.5;
}

.search-box {
    min-width: 280px;
    margin-left: auto;
}

.seachdiv {
    display: flex;
    border-bottom: 1.5px solid var(--ink);
    padding-bottom: 6px;
}

.seachdiv input::placeholder {
    color: var(--muted);
}

#seach {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font-size: 13px;
    color: var(--ink);
}

.seach-img {
    border: none;
    padding: 2px 10px;
    font-size: 18px;
    cursor: pointer;
}

.menu_list {
    display: flex;
    gap: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

.menu_list a {
    color: var(--muted);
    position: relative;
    padding: 2px 0;
    transition: 0.2s;
}

.menu_list a:hover {
    color: var(--rose);
}

.menu_list a.active {
    color: var(--ink);
    font-weight: 700;
}

.menu_list a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 3px;
    background: var(--sky);
    border-radius: 3px;
    opacity: 0.8;
}

.menu,
.seach {
    display: none;
}

.f-inner img {
    width: 10%;
    height: 45px;
    object-fit: contain;
}

.nav-box {
    display: flex;
    border-radius: 10px;
    gap: 26px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 40px;
}

.nav-box::-webkit-scrollbar {
    display: none;
}

.nav-box a {
    flex: none;
    width: 88px;
    text-align: center;
    cursor: pointer;
}

.nav-box a .ring {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    transition: 0.3s;
    box-shadow: 0 6px 16px rgba(61, 56, 48, 0.1);
}

.nav-box:nth-child(3n + 1) .ring {
    background: linear-gradient(135deg, #f7d0dd, #e893b0);
    border-radius: var(--blob1);
}

.nav-box:nth-child(3n + 2) .ring {
    background: linear-gradient(135deg, #c8e2f2, #7db8d8);
    border-radius: var(--blob2);
}

.nav-box:nth-child(3n) .ring {
    background: linear-gradient(135deg, #dff0d0, #a3c88a);
    border-radius: var(--blob1);
}

.nav-box:nth-child(4n) .ring {
    background: linear-gradient(135deg, #e0d0f2, #b99fd8);
    border-radius: var(--blob2);
}

.nav-box a:hover .ring {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 10px 22px rgba(61, 56, 48, 0.18);
}

.nav-box a img {
    width: 100%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.nav-box a span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--muted);
}

footer {
    margin-top: 44px;
    background: linear-gradient(180deg,
            transparent,
            rgba(61, 56, 48, 0.04));
    border-top: 1px solid rgba(61, 56, 48, 0.1);
}

.foot-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

.foot-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.foot-brand .logo {
    font-family: Georgia, serif;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.foot-brand .logo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 7px;
    background: linear-gradient(90deg, var(--rose), var(--sky));
    border-radius: 58% 42% 55% 45%/50% 52% 48% 50%;
    opacity: 0.5;
}

/* .about h4 {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
} */

.about {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about a {
    letter-spacing: 1px;
    color: var(--muted);
    font-size: 13px;
}

.about a:hover {
    color: var(--rose);
}

.foot-bottom {
    margin-top: 18px;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 1px;
}

/* .foot-bottom b {
    color: var(--gold);
} */

.content1 {
    width: 86%;
    margin: 20px auto;
    font-size: 16px;
}

.title-h1 {
    font-size: 20px;
    display: block;
    width: 100%;
    margin-bottom: 16px;
    text-align: center;
}

.desc-p {
    color: var(--text-p);
    width: 100%;
}

.adx {
    width: 100%;
    color: #AAA;
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
}

.center_adv {
    width: 300px;
    height: 250px !important;
    text-align: center;
    margin: auto;
}

@media only screen and (max-width: 780px) {
    .hb {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .menu,
    .seach {
        display: block;
        width: 30px;
        height: 30px;
    }

    .menu-box {
        width: 100%;
        height: calc(100vh - 65px);
        background-color: #fff;
        transition: all 0.2s linear;
        transform: translateX(-100vw);
        position: absolute;
        top: 65px;
        left: 0;
        z-index: 9999;
    }

    .menu_list {
        padding: 3%;
        flex-direction: column;
    }

    .menu_list a {
        font-size: 16px;
    }

    .search-box {
        width: 100%;
        height: calc(100vh - 65px);
        background-color: #fff;
        transition: all 0.2s linear;
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        z-index: 9999;
    }

    .seachdiv {
        width: 90%;
        height: 33px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin: auto;
        padding: 3px;
        margin-top: 30px;
        border: 2px solid gainsboro;
        background: transparent;
    }

    #seach {
        display: block;
        border: none;
        outline: 0;
        cursor: pointer;
        height: 100%;
        width: 83%;
        color: gray;
        font-size: 14px;
        text-indent: 1em;
        font-weight: 400;
        background-color: transparent;
        text-overflow: ellipsis;
    }

    .seach-img {
        width: auto;
        height: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .seach-img span {
        display: none;
    }

    .seach-img img {
        width: 25px;
        height: 25px;
        background-color: var(--accent-blue);
        padding: 3px;
        border-radius: 100%;
    }

    .f-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .f-inner img {
        width: 80%;
        height: 50px;
        object-fit: contain;
    }

    .nav-box {
        display: none;
    }

    footer {
        margin-top: 20px;
    }
}