/* ===== 基础重置 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #1A1A2E;
    background: #FAF7F2;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

/* ===== 色彩变量 ===== */
:root {
    --ht-red: #C8102E;
    --ht-red-dark: #9E0B23;
    --ht-red-light: #F5E6E8;
    --ht-gold: #D4A84B;
    --ht-gold-light: #F5ECD7;
    --ht-green: #2E7D5B;
    --ht-green-light: #E8F2EC;
    --ink: #1A1A2E;
    --ink-soft: #4A4A5A;
    --paper: #FAF7F2;
    --paper-warm: #F3EDE3;
    --line: #E5DDD0;
}

/* ===== 顶部导航 ===== */
.topbar {
    background: var(--ink);
    color: #fff;
    font-size: 13px;
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-links {
    display: flex;
    gap: 20px;
}

.topbar-links a {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.topbar-links a:hover {
    opacity: 1;
    color: var(--ht-gold);
}

.navbar {
    background: #fff;
    border-bottom: 3px solid var(--ht-green);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--ht-red);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    background-image: url(https://www.huatu.com/images/2021fx/images/logo.png);
    /* width: 36px;
    height: 36px;
    background: var(--ht-red);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 900; */
}

.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
    font-weight: 500;
}

.nav-links a {
    color: var(--ink-soft);
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ht-green);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ht-green);
}

/* ===== Hero区 ===== */
.hero {
    background: linear-gradient(135deg, #1B5E3F 0%, #2E7D5B 40%, #246B4C 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 0 80px;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--ht-gold) 0%, #F0D68A 50%, var(--ht-gold) 100%);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 75, 0.2);
    border: 1px solid rgba(212, 168, 75, 0.5);
    color: var(--ht-gold);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-family: "Noto Serif SC", serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero h1 span {
    color: var(--ht-gold);
}

.hero-sub {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 28px;
    line-height: 1.8;
}

/* 三大卖点 */
.hero-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.perk-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.perk-item svg {
    width: 28px;
    height: 28px;
    color: var(--ht-gold);
    margin-bottom: 8px;
}

.perk-item .perk-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.perk-item .perk-desc {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1.5;
}

.hero-cta-row {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ht-gold);
    color: var(--ink);
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #E0B85A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 168, 75, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== 预约表单卡片 ===== */
.reserve-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
}

.reserve-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ht-green), var(--ht-gold));
    border-radius: 8px 8px 0 0;
}

.reserve-card h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    text-align: center;
}

.reserve-card .card-sub {
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.form-group label .req {
    color: var(--ht-red);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #DDD;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ht-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.1);
}

.reserve-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--ht-green), #1B5E3F);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.reserve-btn:hover {
    background: linear-gradient(135deg, #35926B, #246B4C);
    box-shadow: 0 6px 20px rgba(46, 125, 91, 0.35);
}

.reserve-tip {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}

.reserve-gifts {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
}

.reserve-gifts p {
    font-size: 12px;
    color: var(--ink-soft);
    text-align: center;
    margin-bottom: 10px;
}

.gift-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.gift-tag {
    background: var(--ht-green-light);
    color: var(--ht-green);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
}

/* ===== 通用区块 ===== */
.section {
    padding: 72px 0;
}

.section-alt {
    background: #fff;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-eyebrow {
    font-size: 13px;
    color: var(--ht-green);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-family: "Noto Serif SC", serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 12px;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--ht-gold);
    margin: 16px auto 0;
}

.section-desc {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 什么是三支一扶 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.about-card {
    background: #fff;
    border-radius: 8px;
    padding: 36px 32px;
    border: 1px solid var(--line);
}

.about-card h3 {
    font-family: "Noto Serif SC", serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--ht-green);
}

.about-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.9;
    margin-bottom: 14px;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.about-card .highlight-text {
    background: var(--ht-green-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: var(--ht-green);
}

.recruit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.stat-box {
    background: var(--ht-green-light);
    border-radius: 6px;
    padding: 18px;
    text-align: center;
}

.stat-box .num {
    font-family: "Noto Serif SC", serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--ht-green);
    line-height: 1;
}

.stat-box .label {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 6px;
}

/* ===== 岗位介绍 ===== */
.posts-section {
    background: linear-gradient(180deg, var(--paper) 0%, #fff 100%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.post-card {
    background: #fff;
    border-radius: 8px;
    padding: 28px;
    border: 1px solid var(--line);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--ht-green);
}

.post-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--ht-green);
}

.post-card:nth-child(2)::before {
    background: var(--ht-red);
}

.post-card:nth-child(3)::before {
    background: var(--ht-gold);
}

.post-card:nth-child(4)::before {
    background: #5B6ABF;
}

.post-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.post-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.post-icon svg {
    width: 24px;
    height: 24px;
}

.post-icon.green {
    background: var(--ht-green);
}

.post-icon.red {
    background: var(--ht-red);
}

.post-icon.gold {
    background: var(--ht-gold);
}

.post-icon.blue {
    background: #5B6ABF;
}

.post-header h4 {
    font-family: "Noto Serif SC", serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.post-header .post-sub {
    font-size: 12px;
    color: var(--ink-soft);
    margin-top: 2px;
}

.post-card p {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: 10px;
}

.post-card p:last-child {
    margin-bottom: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.post-tag {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    color: var(--ink-soft);
}

/* ===== 图书推荐 ===== */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.book-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all 0.3s;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--ht-green);
}

.book-cover {
    height: 180px;
    background: linear-gradient(135deg, var(--ht-green), #1B5E3F);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.book-cover.gold {
    background: linear-gradient(135deg, var(--ht-gold), #B8923A);
}

.book-cover.red {
    background: linear-gradient(135deg, var(--ht-red), #8B0A1F);
}

.book-cover::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.book-cover-text {
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.book-cover-text .big {
    font-family: "Noto Serif SC", serif;
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 4px;
}

.book-cover-text .small {
    font-size: 13px;
    opacity: 0.85;
}

.book-body {
    padding: 20px;
}

.book-body h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.book-features {
    list-style: none;
    margin-bottom: 14px;
}

.book-features li {
    font-size: 13px;
    color: var(--ink-soft);
    padding: 4px 0;
    padding-left: 18px;
    position: relative;
}

.book-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--ht-green);
    border-radius: 50%;
}

.book-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ht-green);
    font-size: 13px;
    font-weight: 600;
}

.book-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.book-link:hover svg {
    transform: translateX(4px);
}

/* ===== 考情表格 ===== */
.kaqing-wrap {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--line);
}

.kaqing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kaqing-table thead {
    background: linear-gradient(135deg, var(--ht-green), #1B5E3F);
    color: #fff;
}

.kaqing-table th {
    padding: 16px 12px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    white-space: nowrap;
}

.kaqing-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}

.kaqing-table tbody tr:hover {
    background: var(--ht-green-light);
}

.kaqing-table tbody tr:last-child td {
    border-bottom: none;
}

.kaqing-table .year {
    font-weight: 700;
    color: var(--ink);
    font-size: 15px;
}

.kaqing-table .num {
    color: var(--ht-green);
    font-weight: 700;
}

.kaqing-table .predict {
    background: var(--ht-gold-light);
}

.kaqing-table .predict td {
    color: var(--ink);
    font-weight: 500;
}

.kaqing-table .predict .year::before {
    content: "预计 ";
    font-size: 11px;
    color: var(--ht-gold);
    font-weight: 700;
}

.table-note {
    padding: 12px 20px;
    background: var(--paper-warm);
    font-size: 12px;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
}

/* ===== 备考社群 ===== */
.community-section {
    background: linear-gradient(135deg, #1B5E3F 0%, #2E7D5B 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.community-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.community-text h2 {
    font-family: "Noto Serif SC", serif;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}

.community-text h2 span {
    color: var(--ht-gold);
}

.community-text p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.9;
    margin-bottom: 24px;
}

.community-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.community-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.community-point svg {
    width: 20px;
    height: 20px;
    color: var(--ht-gold);
    flex-shrink: 0;
}

.community-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.community-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(4px);
    width: 200px;
}

.community-card .qr-placeholder {
    width: 140px;
    height: 140px;
    background: #fff;
    border-radius: 6px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    font-size: 12px;
}

.community-card .card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.community-card .card-desc {
    font-size: 12px;
    opacity: 0.8;
}

/* ===== 底部 ===== */
.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cities a {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.2s;
}

.footer-cities a:hover {
    background: var(--ht-green);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-brand {
    font-family: "Noto Serif SC", serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

/* ===== 成功提示 ===== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    padding: 32px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.toast-icon {
    width: 56px;
    height: 56px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
}

.toast-icon svg {
    width: 30px;
    height: 30px;
}

.toast h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--ink);
}

.toast p {
    font-size: 14px;
    color: var(--ink-soft);
}

.toast-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.toast-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ===== 二维码弹窗 ===== */
.qr-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    padding: 36px 40px;
    border-radius: 12px;
    text-align: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    max-width: 360px;
    width: 90%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.qr-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.qr-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--paper);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    transition: all 0.2s;
}

.qr-modal-close:hover {
    background: var(--ht-green-light);
    color: var(--ht-green);
}

.qr-modal-close svg {
    width: 18px;
    height: 18px;
}

.qr-modal h4 {
    font-family: "Noto Serif SC", serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.qr-modal .qr-sub {
    font-size: 13px;
    color: var(--ink-soft);
    margin-bottom: 20px;
}

.qr-code-box {
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.qr-code-box::before {
    content: "";
    position: absolute;
    inset: 12px;
    background-image:
        linear-gradient(45deg, var(--ink) 25%, transparent 25%),
        linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--ink) 75%),
        linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    opacity: 0.15;
}

.qr-code-box .qr-label {
    position: relative;
    z-index: 1;
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.6;
}

.qr-code-box .qr-label strong {
    display: block;
    font-size: 15px;
    color: var(--ht-green);
    margin-bottom: 4px;
}

.qr-modal .qr-tip {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.qr-modal-gifts {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

.qr-modal-gifts p {
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 8px;
}

.qr-modal-gifts .gift-tags {
    justify-content: center;
}

/* 预约卡片改为二维码触发样式 */
.reserve-card .qr-trigger-area {
    text-align: center;
    padding: 8px 0;
}

.reserve-card .qr-preview {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.reserve-card .qr-preview:hover {
    border-color: var(--ht-green);
    transform: scale(1.03);
}

.reserve-card .qr-preview::before {
    content: "";
    position: absolute;
    inset: 8px;
    background-image:
        linear-gradient(45deg, var(--ink) 25%, transparent 25%),
        linear-gradient(-45deg, var(--ink) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--ink) 75%),
        linear-gradient(-45deg, transparent 75%, var(--ink) 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    opacity: 0.15;
}

.reserve-card .qr-preview .qr-preview-label {
    position: relative;
    z-index: 1;
    font-size: 11px;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.5;
}

.reserve-card .qr-preview .qr-preview-label strong {
    display: block;
    color: var(--ht-green);
    font-size: 13px;
    margin-bottom: 2px;
}

.reserve-card .qr-scan-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--ht-green), #1B5E3F);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.reserve-card .qr-scan-btn:hover {
    background: linear-gradient(135deg, #35926B, #246B4C);
    box-shadow: 0 6px 20px rgba(46, 125, 91, 0.35);
}

.reserve-card .qr-scan-btn svg {
    width: 18px;
    height: 18px;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-perks {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .books-grid {
        grid-template-columns: 1fr;
    }

    .community-inner {
        grid-template-columns: 1fr;
    }

    .community-cards {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        display: none;
    }

    .kaqing-table {
        font-size: 12px;
    }

    .kaqing-table th,
    .kaqing-table td {
        padding: 10px 6px;
    }
}