:root {
    --deep-green: #0d2b24;
    --mid-green: #17463a;
    --gold: #d4af37;
    --gold-light: #e9d38a;
    --gold-dark: #b18a2b;
    --card-bg: #ffffff;
    --bg-body: #f4f7f5;
    --text-main: #2e3b36;
    --text-sub: #5e6f68;
    --border-soft: #e7efe9;
    --shadow-card: 0 12px 32px rgba(0, 20, 15, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);
    --radius-card: 1.6rem;
    --radius-inner: 1rem;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.header {
    background: linear-gradient(150deg, #0a241e 0%, #123a30 40%, #1a5040 75%, #1f5a4a 100%);
    padding: 2rem 1.4rem 5rem;
    border-bottom-left-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    position: relative;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}
.header-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://cdn.moyespa.com/img/2.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}
.header::after {
    content: "";
    position: absolute;
    top: -30%; right: -20%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(212,175,55,0.18);
    color: #f0e3b5;
    font-size: 0.7rem;
    padding: 0.3rem 0.9rem;
    border-radius: 30px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
    margin-bottom: 1.2rem;
    border: 0.5px solid rgba(212,175,55,0.4);
}
.header h1 {
    font-size: 1.85rem;
    font-weight: 750;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.header h1 span { color: var(--gold-light); }
.header-sub {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
    max-width: 300px;
}
.city-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
}
.city-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #f0f3f2;
    font-size: 0.78rem;
    font-weight: 500;
}
.city-stat strong { color: #f3e3b0; font-weight: 700; font-size: 1rem; }
.city-stat i { color: var(--gold-light); font-size: 0.7rem; }

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1.1rem 0rem;
    margin-top: -3.5rem;
    position: relative;
    z-index: 5;
}
.card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 1.7rem 1.4rem;
    margin-bottom: 1.3rem;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(225,235,230,0.7);
}
.section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #173f35;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.gold-bar {
    width: 4px;
    height: 1.4rem;
    background: var(--gold);
    border-radius: 4px;
}
.sub-text { color: var(--text-sub); font-size: 0.92rem; margin-bottom: 1rem; }
.pain-list { display: flex; flex-direction: column; gap: 0.7rem; }
.pain-item {
    background: #f8faf9;
    border-radius: var(--radius-inner);
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--gold);
    font-size: 0.9rem;
    color: #33443e;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.pain-item i { color: var(--gold-dark); margin-top: 0.15rem; width: 1.1rem; text-align: center; }
.area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0.8rem 0;
}
.area-item {
    background: #f5faf7;
    border-radius: 0.9rem;
    padding: 0.6rem 0.3rem;
    text-align: center;
    font-size: 0.8rem;
    color: #1e4d3f;
    border: 1px solid #e0ede7;
}
.area-item i { margin-right: 0.2rem; color: var(--gold-dark); }
.area-note { font-size: 0.8rem; color: #5e6f68; margin-top: 0.5rem; }
.hero-img-container { border-radius: 1.2rem; overflow: hidden; margin: 1rem 0 0.8rem; box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.hero-img-container img { width: 100%; height: 160px; object-fit: cover; display: block; }
.sleep-tip {
    background: #f3f8f5;
    border-radius: var(--radius-inner);
    padding: 0.9rem 1.1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-top: 0.7rem;
}
.sleep-icon {
    background: var(--gold-light);
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #1d4d3e;
    flex-shrink: 0;
}
.price-grid { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 0.8rem; }
.price-item {
    background: #fbfdfc;
    border-radius: 1.2rem;
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--border-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.price-item-left { display: flex; flex-direction: column; gap: 0.15rem; }
.price-name { font-weight: 650; color: #1d3a32; font-size: 0.98rem; }
.price-duration { color: #7b8c84; font-size: 0.72rem; }
.price-right { display: flex; align-items: baseline; gap: 0.3rem; }
.price-tag { font-weight: 700; color: var(--gold-dark); font-size: 1.25rem; }
.price-original { text-decoration: line-through; color: #a5b4ad; font-size: 0.75rem; }
.local-flash-tag {
    background: #fff3d1;
    color: #a0762a;
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    margin-top: 0.8rem;
    display: inline-block;
}
.coupon-highlight {
    background: linear-gradient(135deg, #fff9e8, #fff3d1);
    border-radius: 1.4rem;
    padding: 1.6rem 1.2rem;
    border: 1.5px dashed var(--gold);
    text-align: center;
    margin: 1rem 0 0.3rem;
}
.coupon-value { font-size: 2.6rem; font-weight: 800; color: var(--gold-dark); letter-spacing: -1px; line-height: 1.2; }
.coupon-desc { color: #735f25; font-size: 0.82rem; margin-top: 0.3rem; }
.gold-btn {
    background: var(--gold);
    color: #1d2e27;
    border: none;
    border-radius: 40px;
    padding: 0.85rem 2.2rem;
    font-weight: 700;
    font-size: 0.98rem;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(212,175,55,0.3);
    margin-top: 0.9rem;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
.gold-btn:active { transform: scale(0.96); }
.review-card {
    background: #f9fcfa;
    border-radius: 1.2rem;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    border: 1px solid #e3f0ea;
}
.review-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--mid-green);
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1rem;
}
.review-name { font-weight: 650; color: #1f4d3e; }
.review-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }
.review-text { font-size: 0.88rem; color: #41564e; line-height: 1.5; }
.review-time { font-size: 0.7rem; color: #9aada4; margin-top: 0.3rem; }
.trust-item {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eef2f0;
}
.trust-item:last-child { border-bottom: none; }
.trust-item i { font-size: 1.3rem; color: var(--gold-dark); width: 1.8rem; text-align: center; }
.trust-item span { font-size: 0.9rem; color: #3a4d46; }
.city-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; justify-content: center; }
.city-tags span {
    background: #eef4f1;
    padding: 0.3rem 0.85rem;
    border-radius: 30px;
    font-size: 0.72rem;
    color: #3d5a50;
}
.city-tags a {
    color: var(--gold-dark);
    font-weight: 600;
    text-decoration: none;
    margin: 0 0.3rem;
}
.city-switch { text-align: center; margin-top: 1rem; font-size: 0.8rem; color: #5f7a70; }
.city-switch a { color: var(--gold-dark); font-weight: 600; text-decoration: none; margin: 0 0.3rem; }
.footer-note {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    color: #8b9a93;
    font-size: 0.7rem;
    margin-top: 1.8rem;
    line-height: 1.7;
    padding: 0 0.5rem;
}
/* 二维码卡片 */
.qrcode-card {
    text-align: center;
}
.qrcode-wrap {
    display: flex;
    justify-content: center;
    margin: 1rem 0 0.5rem;
}
.qrcode-img {
    width: 100%;
    max-width: 220px;
    height: auto;
}
.qrcode-tip {
    font-size: 0.85rem;
    color: #5e6f68;
    line-height: 1.6;
    margin-top: 0.5rem;
}
/* ========== 适用人群场景网格 ========== */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.scene-item {
    text-align: center;
}

.scene-item:active {
    transform: scale(0.97);
}

.scene-item img {
    width: 100%;
    height: 150px;
    object-fit: cover; 
    border-radius: 0.9rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    display: block;
}

.scene-item span {
    display: block;
    font-weight: 650;
    font-size: 0.95rem;
    color: #1d3a32;
    margin-bottom: 0.2rem;
}

.scene-item small {
    display: block;
    font-size: 0.75rem;
    color: #6b7f76;
    line-height: 1.4;
}
/* ========== 专业技师团队网格 ========== */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1rem;
}

.teacher-item {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;          /* 保证正方形，高度自动与宽度一致 */
    background: #f0f5f2;
    border: 1px solid #e0ede7;
}

.teacher-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* 等比例裁剪填充，不变形 */
    display: block;
}

/* ========== 文章列表页 ========== */
.post-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.post-item {
    padding: 1.2rem;
}

.post-thumb {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.post-thumb img {
    width: 100%;
    height: 180px;          /* 固定高度，保持整齐 */
    object-fit: cover;      /* 等比例裁剪，不变形 */
    display: block;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d3a32;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.post-title a:active {
    color: var(--gold-dark);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.8rem;
    color: #7b8c84;
    margin-bottom: 0.6rem;
}

.post-meta i {
    margin-right: 0.3rem;
    color: var(--gold-dark);
}

.post-tags {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.tag {
    background: #eef4f1;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #3d5a50;
}

.post-summary {
    font-size: 0.9rem;
    color: #5e6f68;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* 最多显示3行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--gold-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more i {
    transition: transform 0.2s;
}

.read-more:active i {
    transform: translateX(4px);
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin: 1.5rem 0 0.5rem;
}

.page-link {
    background: #f0f5f2;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    color: #1d3a32;
    font-size: 0.85rem;
    border: 1px solid #e0ede7;
}

.page-link:active {
    background: #e0ede7;
}

.page-info {
    font-size: 0.85rem;
    color: #5e6f68;
}

/* ========== 文章详情页 ========== */
.post-detail {
    padding: 1.5rem;
}

.post-header {
    margin-bottom: 1rem;
}

.post-header .post-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.post-header .post-meta {
    margin-bottom: 0.6rem;
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #33443e;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #1d3a32;
    margin: 1.2rem 0 0.5rem;
    font-weight: 700;
}

.post-content h2 {
    font-size: 1.3rem;
}

.post-content h3 {
    font-size: 1.15rem;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin: 0.5rem 0 1rem 1.5rem;
}

.post-content li {
    margin-bottom: 0.4rem;
}

.post-content img {
    max-width: 100%;
    border-radius: 1rem;
    margin: 1rem 0;
}

.post-content blockquote {
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    color: #5e6f68;
    margin: 1rem 0;
    font-style: italic;
}

/* 文章底部操作区 */
.post-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eef2f0;
    text-align: center;
}

.post-share {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #5e6f68;
}

.share-icon {
    display: inline-block;
    margin: 0 0.3rem;
    color: #1d3a32;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.share-icon:active {
    color: var(--gold-dark);
}

.post-cta {
    background: #f9fcfa;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid #e3f0ea;
}

.post-cta p {
    margin-bottom: 0.6rem;
    color: #3d5a50;
    font-size: 0.9rem;
}

/* ========== 响应式微调 ========== */
@media (max-width: 480px) {
    .post-thumb img {
        height: 150px;    /* 移动端稍微降低高度 */
    }
    .post-title {
        font-size: 1.1rem;
    }
    .post-header .post-title {
        font-size: 1.4rem;
    }
}

/* ========== 头部导航栏 ========== */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.nav-logo i {
    color: var(--gold-light);
    font-size: 1.2rem;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--gold);
    color: #1d2e27;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-cta i {
    font-size: 0.75rem;
}

.nav-cta:active {
    transform: scale(0.95);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
    background: #c9a832;
}

/* 调整头部内容间距，避免导航后过于拥挤 */
.header .city-badge {
    margin-top: 0;
}
/* ========== 标签链接 ========== */
.post-tags .tag {
    text-decoration: none;
    background: #eef4f1;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    color: #3d5a50;
    transition: all 0.2s;
    display: inline-block;
    border: 1px solid #e0ede7;
}

.post-tags .tag:hover,
.post-tags .tag:active {
    background: #d4e8de;
    color: #1d3a32;
    border-color: #bcd9cc;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}
.tag-cloud-item {
    background: #f5faf7;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    color: #1d3a32;
    border: 1px solid #e0ede7;
}
.tag-cloud-item span {
    color: #7b8c84;
    font-size: 0.75rem;
}

/* ========== 首页最新文章模块 ========== */
.latest-posts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.latest-post-item {
    background: #f9fcfa;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e3f0ea;
}

.latest-post-title {
    font-size: 1rem;
    font-weight: 650;
    margin-bottom: 0.3rem;
}

.latest-post-title a {
    text-decoration: none;
    color: #1d3a32;
    transition: color 0.2s;
}

.latest-post-title a:active {
    color: var(--gold-dark);
}

.latest-post-summary {
    font-size: 0.85rem;
    color: #5e6f68;
    margin-top: 0.4rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}