:root {
    --logo-height: 150px;
    --logo-width: auto;

    /* 卡通养生 · 明亮活泼 */
    --bg-main: #fdf6ed;          /* 暖白底色 */
    --bg-card: #ffffff;          /* 纯白卡片 */
    --bg-light: #fff9f0;         /* 柔和过渡 */
    --bg-warm: #fff0e0;          /* 暖杏色 */

    --text-primary: #3a2a1a;     /* 暖褐主文 */
    --text-secondary: #6a5a4a;
    --text-muted: #9a8a7a;

    /* 卡通主色 · 彩虹系 */
    --accent-main: #ff6b6b;      /* 珊瑚红 */
    --accent-hover: #ff8a8a;     /* 粉红 */
    --accent-title: #ff6b6b;     /* 珊瑚红标题 */
    --accent-soft: #ffd4c4;      /* 桃子粉 */

    --accent-orange: #ff9f43;    /* 暖橙 */
    --accent-yellow: #feca57;    /* 明黄 */
    --accent-green: #54a0ff;     /* 天蓝（替代绿，更卡通） */
    --accent-mint: #7bed9f;      /* 薄荷绿 */
    --accent-purple: #a29bfe;    /* 淡紫 */
    --accent-pink: #fd79a8;      /* 粉红 */
    --accent-gold: #fdcb6e;      /* 暖金 */

    /* 边框与阴影 — 圆润卡通 */
    --border: #f0e0d0;
    --border-strong: #e0c8b8;
    --border-accent: rgba(255, 107, 107, 0.25);
    --shadow: 0 6px 0 #e0d0c0;   /* 硬阴影 · 卡通感 */
    --shadow-soft: 0 4px 0 #e8dcd0;
    --shadow-hover: 0 8px 0 #d0c0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", "PingFang SC", sans-serif;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.3px;
    background-attachment: fixed;
    min-height: 100vh;
    padding: 14px 0;
    position: relative;
    background-image:
        radial-gradient(circle at 8% 15%, rgba(255, 107, 107, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 92% 85%, rgba(84, 160, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(254, 202, 87, 0.06) 0%, transparent 50%);
}

/* 卡通装饰 */
body::before {
    content: '🐼';
    position: fixed;
    bottom: 16px;
    right: 20px;
    font-size: 34px;
    opacity: 0.15;
    transform: rotate(-5deg);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '🌸';
    position: fixed;
    top: 20px;
    right: 28px;
    font-size: 30px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

#container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 12px 20px;
    position: relative;
    z-index: 1;
}

/* === 头部 — Logo与公告并排 === */
.header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 4px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.2s ease;
    justify-content: center;
}

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



.logo-area {
    flex-shrink: 0;
}

.logo-area img {
    max-height: var(--logo-height);
    width: auto;
    border: 3px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 4px 0 #d0c0b0;
    display: block;
    transition: transform 0.2s ease;
}

.logo-area img:hover {
    transform: scale(1.02) rotate(-1deg);
}

/* === 公告 — 卡通养生馆一行 === */
.announcement {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", sans-serif;
    line-height: 1.8;
}

.announcement-track {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.announcement-track span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.announcement-track .label {
    color: var(--text-muted);
    font-weight: 400;
}

.announcement-track .highlight {
    color: var(--accent-main);
    font-weight: 700;
    font-size: 15px;
}

.announcement-track .orange {
    color: var(--accent-orange);
    font-weight: 700;
}

.announcement-track .green {
    color: var(--accent-green);
    font-weight: 700;
}

.announcement-track .gold {
    color: var(--accent-gold);
    font-weight: 700;
}

.announcement-track .purple {
    color: var(--accent-purple);
    font-weight: 700;
}

.announcement-track a {
    color: var(--accent-main);
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: border-color 0.2s;
}

.announcement-track a:hover {
    border-bottom-color: var(--accent-main);
}

/* 分隔符 */
.announcement-track .divider {
    color: var(--border-strong);
    font-weight: 300;
    font-size: 18px;
}

/* 卡通小图标 */
.announcement-track .emoji-big {
    font-size: 18px;
}

a {
    color: var(--accent-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* === 卡片 — 卡通小屋 === */
.section {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 10px;
    margin-bottom: 6px;
    padding: 6px 8px 0px;
    position: relative;
    box-shadow: var(--shadow-soft);

}




.section::after {
    content: '✦ ✦ ✦';
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 10px;
    opacity: 0.10;
    letter-spacing: 6px;
    pointer-events: none;
    color: var(--accent-gold);
}

.section h3 {
    position: relative;
    font-size: 20px;
    color: var(--accent-title);
    margin-bottom: 14px;
    font-weight: 700;
    text-align: center;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    letter-spacing: 0.5px;
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", sans-serif;
}

.section h3::before,
.section h3::after {
    content: '★';
    font-size: 16px;
    color: var(--accent-gold);
    opacity: 0.6;
}

/* === 图标容器 === */
.icon-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(68px, 1fr));
    gap: 14px 12px;
    justify-items: center;
    padding: 6px 0 2px;
    max-width: 1060px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .icon-container {
        grid-template-columns: repeat(10, 1fr);
        gap: 16px 14px;
    }
}

@media (max-width: 1023px) {
    .icon-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px 10px;
        padding: 4px 0;
    }

    .icon-item .naicon img {
        width: 50px;
        height: 50px;
    }

    .icon-item {
        max-width: 70px;
    }
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 76px;
}

.icon-item .naicon img {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    box-shadow: 0 4px 0 #d0c0b0;
    object-fit: cover;
    transition: all 0.2s ease;
    border: 3px solid var(--border);
}

.icon-item:hover .naicon img {
    transform: scale(1.08) translateY(-3px) rotate(-2deg);
    box-shadow: 0 6px 0 #c0b0a0;
}

.icon-item .icon-label {
    margin-top: 5px;
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", sans-serif;
}

@media (max-width: 480px) {
    .icon-container {
        gap: 12px 8px;
    }

    .icon-item .naicon img {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .icon-item .icon-label {
        font-size: 9.5px;
    }
}

/* === 链接网格 === */
.link-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px 8px;
}

.link-grid a {
    padding: 7px 4px;
    font-size: 15px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 4px;
    text-align: center;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 3px 0 #d0c0b0;
}

.link-grid a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #c0b0a0;
}

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

@media (max-width: 992px) {
    .link-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        padding: 16px 18px;
        gap: 14px;
        border-radius: 16px;
    }

    .header::before {
        left: 20px;
        right: 20px;
        height: 8px;
    }

    .logo-area img {
        max-height: 80px;
    }

    .announcement {
        width: 100%;
        text-align: center;
    }

    .announcement-track {
        justify-content: center;
        gap: 10px;
    }

    .announcement-track span {
        font-size: 12.5px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 14px 12px 16px;
        margin-bottom: 12px;
        border-radius: 14px;
        border-width: 3px;
    }

    .section::before {
        left: 20px;
        right: 20px;
        height: 8px;
    }

    .section h3 {
        font-size: 16px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .link-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .link-grid a {
        font-size: 12px;
        padding: 7px 3px;
        border-radius: 10px;
        border-width: 2px;
    }

    :root {
        --logo-height: 70px;
    }

    body::before {
        font-size: 26px;
        bottom: 10px;
        right: 14px;
    }
    body::after {
        font-size: 22px;
        top: 16px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .link-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .link-grid a {
        font-size: 11px;
        padding: 6px 2px;
        border-radius: 8px;
    }

    .announcement-track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
    }

    .announcement-track span {
        font-size: 11.5px;
    }
}

/* === 页脚 — 卡通养生馆 === */
footer {
    background: var(--bg-card);
    border: 4px solid var(--border);
    border-radius: 20px;
    padding: 20px 16px 24px;
    text-align: center;
    color: var(--text-secondary);
    margin-top: 18px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

footer:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

footer::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 40px;
    right: 40px;
    height: 10px;
    background: linear-gradient(90deg,
            var(--accent-pink),
            var(--accent-orange),
            var(--accent-yellow),
            var(--accent-mint),
            var(--accent-green),
            var(--accent-purple));
    border-radius: 12px 12px 0 0;
    opacity: 0.6;
}

footer::after {
    content: '◈ ◈ ◈';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    opacity: 0.06;
    letter-spacing: 16px;
    pointer-events: none;
    white-space: nowrap;
    color: var(--accent-gold);
}

footer a {
    color: var(--accent-main);
    font-weight: 600;
}

footer a:hover {
    color: var(--accent-hover);
}

footer .apply-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-orange));
    color: #ffffff;
    padding: 12px 40px;
    border: 4px solid var(--border);
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    margin: 14px 0 16px;
    box-shadow: 0 4px 0 #c0b0a0;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", sans-serif;
    position: relative;
    z-index: 1;
}

footer .apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 0 #b0a090;
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-orange));
}

.footer-text {
    position: relative;
    z-index: 1;
    font-size: 12.5px;
    font-family: "Comic Sans MS", "Chalkboard SE", "Noto Sans SC", sans-serif;
    letter-spacing: 0.3px;
}

/* 养生馆特色图标 */
.health-icon {
    display: inline-block;
    margin: 0 4px;
    font-size: 16px;
}