/* PDF工具网站 样式表 - 现代简洁风 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a { text-decoration: none; color: inherit; }
a:hover { color: #e74c3c; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==================== 头部导航 ==================== */
.site-header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: #e74c3c;
}

.logo-icon { font-size: 28px; }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links > a {
    font-size: 15px;
    color: #555;
    transition: color 0.2s;
}

.nav-links > a:hover, .nav-member {
    color: #e74c3c;
}

.nav-member { font-weight: 600; }

/* 下拉菜单 */
.nav-dropdown { position: relative; display: inline-block; }
.nav-dropdown > a { 
    cursor: pointer; 
    font-size: 15px; 
    color: #555; 
    transition: color 0.2s;
}
.nav-dropdown:hover > a { color: #e74c3c; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 500px;
    grid-template-columns: repeat(3, 1fr);
    z-index: 200;
}

.nav-dropdown:hover .dropdown-menu {
    display: grid;
}

.dropdown-group { margin-bottom: 10px; }
.dropdown-title { font-weight: 600; color: #e74c3c; margin-bottom: 8px; font-size: 13px; }
.dropdown-menu a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: #555;
}
.dropdown-menu a:hover { color: #e74c3c; }

/* 用户区 */
.nav-user { display: flex; align-items: center; gap: 12px; }

.user-info { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.user-info a { color: #888; }
.user-info a:hover { color: #e74c3c; }


.free-count {
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    color: #666;
}

.btn-login {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}
.btn-login:hover { border-color: #e74c3c; color: #e74c3c; }

.btn-register {
    padding: 8px 20px;
    background: #e74c3c;
    color: #fff !important;
    border-radius: 4px;
    font-size: 14px;
}
.btn-register:hover { background: #c0392b; }

/* ==================== Hero 区域 ==================== */
.hero {
    background: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #fff5f5 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.hero h1 span { color: #e74c3c; }

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.hero-feature .icon { font-size: 20px; }

/* ==================== 工具网格 ==================== */
.tools-section { padding: 40px 0; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 8px;
}

.section-title p {
    color: #888;
    font-size: 15px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.tool-card { position: relative !important;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tool-card:hover {

/* VIP 徽章 */
.vip-tag{position:absolute !important;top:10px !important;right:10px !important;background:linear-gradient(135deg,#ff8c42,#ff6b1a);color:#fff;font-size:12px;padding:5px 12px;border-radius:20px;font-weight:500;box-shadow:0 2px 8px rgba(255,107,26,0.3);z-index:2;}
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.15);
    border-color: #e74c3c;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    border-radius: 15px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.tool-card h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.tool-card p {
    font-size: 13px;
    color: #999;
}


/* ==================== 分类区块 ==================== */
.category-section {
    padding: 30px 0;
}

.category-card {
    background: #fafafa;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.category-card h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.category-tool {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.2s;
    font-size: 14px;
    color: #555;
}

.category-tool:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.category-tool.vip {
    position: relative;
}
.category-tool.vip::after {
    content: '👑';
    font-size: 11px;
    margin-left: 4px;
}

/* ==================== 页脚 ==================== */
.site-footer {
    background: #222;
    color: #999;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    padding: 3px 0;
    color: #999;
}

.footer-col a:hover { color: #e74c3c; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 12px;
}

/* ==================== 工具页面通用 ==================== */
.tool-page { padding: 40px 0; }

.tool-header {
    text-align: center;
    margin-bottom: 40px;
}

.tool-header h1 {
    font-size: 32px;
    color: #222;
    margin-bottom: 8px;
}

.tool-header p {
    color: #888;
    font-size: 15px;
}

.upload-area {
    max-width: 700px;
    margin: 0 auto 30px;
    border: 2px dashed #e74c3c;
    border-radius: 16px;
    padding: 50px 30px;
    text-align: center;
    background: #fffaf8;
    transition: all 0.3s;
}

.upload-area.drag-over {
    background: #ffeaea;
    border-color: #c0392b;
}

.upload-icon { font-size: 60px; margin-bottom: 15px; }
.upload-area h3 { font-size: 18px; color: #333; margin-bottom: 8px; }
.upload-area p { color: #888; font-size: 14px; margin-bottom: 20px; }

.upload-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #e74c3c;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    font-size: 15px;
}
.upload-btn:hover { background: #c0392b; }

.upload-btn input { display: none; }

.upload-limit {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
}

.options-area {
    max-width: 700px;
    margin: 0 auto 30px;
    background: #fafafa;
    border-radius: 12px;
    padding: 25px;
}

.options-area h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.option-row label {
    width: 100px;
    color: #666;
    font-size: 14px;
}

.option-row select, .option-row input[type="text"], .option-row input[type="number"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    flex: 1;
}

.convert-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 16px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.convert-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(231,76,60,0.3); }
.convert-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; box-shadow: none; }

.result-area {
    max-width: 700px;
    margin: 30px auto;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    display: none;
}

.result-area.success { display: block; }

.result-icon { font-size: 50px; margin-bottom: 15px; }
.result-area h3 { color: #52c41a; font-size: 18px; margin-bottom: 10px; }
.result-area p { color: #666; font-size: 14px; margin-bottom: 20px; }

.download-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #52c41a;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}
.download-btn:hover { background: #389e0d; color: #fff; }

/* 文件列表 */
.file-list {
    max-width: 700px;
    margin: 20px auto;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-item .icon { font-size: 30px; margin-right: 15px; }
.file-item .info { flex: 1; }
.file-item .name { font-size: 14px; color: #333; word-break: break-all; }
.file-item .meta { font-size: 12px; color: #999; margin-top: 3px; }
.file-item .remove { color: #999; cursor: pointer; padding: 5px 10px; }
.file-item .remove:hover { color: #e74c3c; }

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
    display: none;
}

.progress-bar.active { display: block; }

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    border-radius: 3px;
    transition: width 0.3s;
}

/* ==================== 会员页面 ==================== */
.member-page { padding: 40px 0; }

.member-status {
    text-align: center;
    margin-bottom: 40px;
}

.member-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 40px;
    color: #fff;
}

.member-card.vip {
    background: linear-gradient(135deg, #faad14, #ff7a45);
}

.member-card h2 { font-size: 24px; margin-bottom: 10px; }
.member-card p { opacity: 0.8; margin-bottom: 25px; }

.purchase-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.purchase-plan {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.purchase-plan:hover { border-color: #e74c3c; transform: translateY(-3px); }
.purchase-plan.selected { border-color: #e74c3c; background: #fff5f5; }

.purchase-plan.featured {
    border-color: #faad14;
    background: #fffbe6;
}

.purchase-plan h3 { font-size: 18px; color: #333; margin-bottom: 5px; }
.purchase-plan .price { font-size: 32px; font-weight: 700; color: #e74c3c; margin-bottom: 5px; }
.purchase-plan .period { font-size: 13px; color: #999; }
.purchase-plan.featured .price { color: #faad14; }

/* ==================== 登录注册 ==================== */
.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-box h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 8px;
    color: #222;
}

.auth-box .subtitle {
    text-align: center;
    color: #999;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-item {
    margin-bottom: 18px;
}

.form-item label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 6px;
}

.form-item input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-item input:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-item-row {
    display: flex;
    gap: 10px;
}

.form-item-row input { flex: 1; }

.captcha-row {
    display: flex;
    gap: 10px;
}

.captcha-row input { flex: 1; }

.captcha-img {
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover { background: #c0392b; }

.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.auth-link a {
    color: #e74c3c;
    font-weight: 500;
}

/* ==================== 消息提示 ==================== */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease;
}

.toast.success { background: #52c41a; }
.toast.error { background: #ff4d4f; }
.toast.info { background: #1890ff; }

@keyframes slideDown {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* ==================== 工具详情页 ==================== */
.tool-info {
    max-width: 700px;
    margin: 40px auto;
    background: #fafafa;
    border-radius: 12px;
    padding: 30px;
}

.tool-info h3 { font-size: 16px; color: #333; margin-bottom: 15px; }
.tool-info p, .tool-info li { font-size: 14px; color: #666; line-height: 1.8; }
.tool-info ul { padding-left: 20px; }

/* 响应式 */


/* ============ 首页 - 简洁专业风 ============ */
.home-hero {
    padding: 70px 0 80px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}
.home-hero h1 {
    font-size: 40px; font-weight: 600; color: #1a1a1a;
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.home-hero h1 span { color: #1890ff; }
.hero-sub { font-size: 16px; color: #666; margin-bottom: 32px; }
.hero-btns { margin-bottom: 48px; }
.btn-hero {
    display: inline-block; padding: 12px 32px; margin: 0 8px;
    border-radius: 6px; font-size: 15px; font-weight: 500;
    transition: all 0.2s; text-decoration: none;
}
.btn-hero.btn-primary { background: #1890ff; color: #fff; }
.btn-hero.btn-primary:hover { background: #40a9ff; }
.btn-hero.btn-outline { color: #1890ff; border: 1px solid #1890ff; }
.btn-hero.btn-outline:hover { background: #e6f7ff; }

.hero-stats {
    display: flex; justify-content: center; gap: 50px;
    border-top: 1px solid #f0f0f0; padding-top: 32px;
    max-width: 500px; margin: 0 auto;
}
.hero-stat { text-align: center; }
.hero-stat strong { font-size: 26px; font-weight: 600; color: #1a1a1a; display: block; }
.hero-stat span { font-size: 13px; color: #888; }

/* 工具分类 */
.tools-section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; font-weight: 600; color: #1a1a1a; }
.section-title h2 span { color: #1890ff; }
.section-title p { color: #888; font-size: 14px; margin-top: 8px; }

.tool-category { margin-bottom: 48px; }
.cat-title {
    font-size: 16px; font-weight: 600; color: #1a1a1a;
    padding-bottom: 10px; margin-bottom: 16px;
    border-bottom: 1px solid #eee;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.tool-card {
    position: relative;
    background: #fff; border: 1px solid #f0f0f0; border-radius: 6px;
    padding: 20px 12px; text-align: center;
    transition: all 0.15s; text-decoration: none; color: inherit;
}
.tool-card:hover { border-color: #1890ff; background: #fafbfc; }
.tool-icon { font-size: 28px; margin-bottom: 8px; }
.tool-card h3 { font-size: 14px; color: #333; margin-bottom: 2px; }
.tool-card p { font-size: 12px; color: #999; }
.vip-tag {
    position: absolute; top: 6px; right: 6px;
    background: #ff4d4f; color: #fff; font-size: 10px;
    padding: 2px 6px; border-radius: 3px;
}

/* ============ 会员区 + 邀请区 ============ */
.vip-section {
    background: #fff; padding: 70px 0; text-align: center;
    border-top: 1px solid #f0f0f0;
}
.vip-section h2 { font-size: 28px; color: #1a1a1a; margin-bottom: 8px; font-weight: 600; }
.vip-section > div > p { color: #888; margin-bottom: 44px; font-size: 14px; }
.vip-cards { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

.vip-card {
    position: relative; background: #fff; border: 1px solid #eee; border-radius: 12px;
    padding: 32px 28px; width: 260px; text-align: center;
    transition: all 0.25s;
}
.vip-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

/* 年卡 - 金色高亮 */
.vip-card.featured {
    border-color: #f0c040;
    box-shadow: 0 8px 24px rgba(240,192,64,0.15);
    transform: translateY(-4px);
}
.vip-card.featured:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(240,192,64,0.25); }

.hot-tag {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg,#f5a623,#f0c040);
    color: #fff; font-size: 12px; font-weight: 500;
    padding: 4px 16px; border-radius: 0 0 6px 6px;
}

.vip-card h3 { font-size: 17px; color: #1a1a1a; margin-bottom: 14px; font-weight: 600; }
.vip-card .price { font-size: 42px; font-weight: 700; color: #1a1a1a; }
.vip-card.featured .price { color: #d4a017; }
.vip-card .period { font-size: 12px; color: #999; margin: 4px 0 20px; }
.vip-card ul { list-style: none; text-align: left; margin-bottom: 24px; }
.vip-card li { padding: 5px 0; font-size: 13px; color: #555; }
.vip-card li:before { content: "✓ "; color: #52c41a; margin-right: 4px; }

.btn-vip {
    display: block; background: #1890ff; color: #fff;
    padding: 12px; border-radius: 6px; font-size: 14px; font-weight: 500;
    text-decoration: none; transition: all 0.2s;
}
.btn-vip:hover { background: #40a9ff; }
.vip-card.featured .btn-vip {
    background: linear-gradient(135deg,#f5a623,#f0c040);
    color: #fff;
}
.vip-card.featured .btn-vip:hover { opacity: 0.9; }

/* 邀请有礼 */
.invite-section { padding: 50px 0; }
.invite-box {
    display: flex; align-items: center; gap: 30px; flex-wrap: wrap;
    background: linear-gradient(135deg,#fff8ef,#fff);
    border: 1px solid #ffe8cc; border-radius: 12px;
    padding: 36px;
}
.invite-left h3 { font-size: 16px; color: #1a1a1a; margin-bottom: 4px; }
.invite-left p { color: #888; font-size: 13px; }
.invite-center { display: flex; align-items: center; gap: 16px; flex: 1; justify-content: center; }
.invite-reward {
    background: #fff; border: 1px solid #ffe8cc; border-radius: 8px;
    padding: 12px 20px; text-align: center;
}
.invite-roster { display: block; font-size: 11px; color: #999; margin-bottom: 2px; }
.invite-plus { color: #ff6b35; font-weight: 600; font-size: 15px; }
.invite-plus.green { color: #52c41a; }
.invite-arrow { color: #e0b080; font-size: 20px; }
.btn-invite {
    background: #ff6b35; color: #fff; padding: 12px 26px;
    border-radius: 6px; font-size: 14px; font-weight: 500;
    text-decoration: none; white-space: nowrap;
}
.btn-invite:hover { background: #ff8855; }

/* ============ 移动端适配 ============ */

/* ============ 移动端适配 ============ */
@media (max-width: 768px) {
    /* 导航隐藏下拉，只显示 logo + 首页 + 登录 */
    .nav-links > a:not(:first-child) { display: none !important; }
    .nav-dropdown { display: none !important; }
    .site-header .nav { gap: 10px !important; }
    .logo-text { font-size: 16px !important; }
    
    .home-hero { padding: 40px 0 50px !important; }
    .home-hero h1 { font-size: 24px !important; line-height: 1.35 !important; }
    .home-hero h1 span { display: inline !important; padding: 2px 8px !important; }
    .hero-sub { font-size: 14px !important; margin-bottom: 20px !important; padding: 0 20px !important; }
    .hero-btns {
        display: flex !important; flex-direction: column !important;
        gap: 12px !important; margin: 0 auto 30px !important;
        padding: 0 20px !important; max-width: 300px !important;
    }
    .btn-hero {
        display: block !important; width: 100% !important; margin: 0 !important;
        padding: 12px 24px !important; font-size: 15px !important;
        box-sizing: border-box !important; text-align: center !important;
    }
    .hero-stats {
        display: flex !important; flex-wrap: nowrap !important;
        justify-content: space-between !important; gap: 0 !important;
        padding: 20px 10px 0 !important; max-width: 400px !important;
    }
    .hero-stat { flex: 1 1 0 !important; min-width: 0 !important; text-align: center !important; }
    .hero-stat strong { font-size: 20px !important; display: block !important; }
    .hero-stat span { font-size: 11px !important; display: block !important; white-space: nowrap !important; }
    
    .tools-section { padding: 30px 0 !important; }
    .section-title h2 { font-size: 20px !important; }
    .tools-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .tool-card { padding: 16px 8px !important; }
    .tool-icon { font-size: 28px !important; margin-bottom: 6px !important; }
    .tool-card h3 { font-size: 13px !important; }
    .tool-card p { font-size: 11px !important; }
    .tool-category { margin-bottom: 32px !important; }
    .cat-title { font-size: 16px !important; margin-bottom: 12px !important; }
    
    .vip-section { padding: 40px 20px !important; }
    .vip-section h2 { font-size: 20px !important; }
    .vip-cards { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 16px !important; }
    .vip-card { width: 100% !important; max-width: 320px !important; padding: 24px 20px !important; }
    
    .invite-section { padding: 30px 20px !important; }
    .invite-box { flex-direction: column !important; gap: 20px !important; padding: 24px !important; text-align: center !important; }
    .invite-left { flex-direction: column !important; }
    .invite-center { flex-direction: column !important; width: 100% !important; }
    .btn-invite { width: 100% !important; text-align: center !important; display: block !important; }
}

@media (max-width: 480px) {
    .home-hero h1 { font-size: 20px !important; }
    .tools-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-stats { gap: 10px !important; }
    .hero-stat strong { font-size: 18px !important; }
    .hero-stat span { font-size: 10px !important; }
}

/* ============ 移动端底部导航 ============ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    justify-content: space-around;
    align-items: center;
}
.mobile-bottom-nav .mb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    color: #888;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.2s;
}
.mobile-bottom-nav .mb-item .mb-icon {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 2px;
}
.mobile-bottom-nav .mb-item .mb-label {
    font-size: 10px;
    line-height: 1;
}
.mobile-bottom-nav .mb-item:active,
.mobile-bottom-nav .mb-item.active {
    color: #1890ff;
}
.mobile-bottom-nav .mb-center {
    color: #1890ff;
}

@media (max-width: 768px) {
    /* 顶部导航只留 logo */
    .nav-links, .nav-dropdown, .btn-login, .btn-register { display: none !important; }
    .site-header .nav { justify-content: space-between !important; }
    
    /* 显示底部导航 */
    .mobile-bottom-nav { display: flex !important; }
    body { padding-bottom: 70px !important; }
}
