/* === CSS变量系统 === */
:root {
    --primary: #00d4aa;
    --primary-dark: #00b894;
    --primary-light: #55efc4;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00b894 50%, #6c5ce7 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 重置和基础 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    background: #f0f2f5;
    background-image: 
        radial-gradient(at 20% 80%, rgba(0,212,170,0.05) 0%, transparent 50%),
        radial-gradient(at 80% 20%, rgba(108,92,231,0.05) 0%, transparent 50%);
    color: #2d3436;
    line-height: 1.6;
    min-height: 100vh;
}
a { text-decoration: none; color: #2d3436; transition: var(--transition); }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }

/* === 容器 === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* === 头部 - 毛玻璃效果 === */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 36px; }
.logo h1 { font-size: 24px; font-weight: 800; }
.logo h1 a {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo .subtitle { font-size: 12px; color: #999; margin-top: -2px; }

/* 搜索框 - 现代风格 */
.search-box { display: flex; width: 440px; position: relative; }
.search-box input {
    flex: 1;
    height: 42px;
    padding: 0 18px;
    border: 2px solid #e8e8e8;
    border-radius: 21px 0 0 21px;
    outline: none;
    font-size: 14px;
    background: #f8f9fa;
    transition: var(--transition);
}
.search-box input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,212,170,0.1);
}
.search-box button {
    width: 88px;
    height: 42px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 0 21px 21px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.search-box button:hover { opacity: 0.9; transform: scale(1.02); }

/* 热搜标签 */
.hot-tags { width: 100%; margin-top: 10px; }
.hot-tags span { color: #e74c3c; font-weight: 600; margin-right: 8px; font-size: 12px; }
.hot-tags a {
    display: inline-block;
    margin: 2px 4px;
    padding: 2px 10px;
    font-size: 12px;
    color: #666;
    background: #f5f6fa;
    border-radius: 12px;
    transition: var(--transition);
}
.hot-tags a:hover { background: rgba(0,212,170,0.1); color: var(--primary); }

/* === 导航栏 - 渐变+动效 === */
.nav-bar {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 40%, #009d80 100%);
    height: 46px;
    line-height: 46px;
    box-shadow: 0 4px 15px rgba(0,212,170,0.25);
    position: relative;
    z-index: 50;
}
.nav-list { display: flex; justify-content: center; }
.nav-item { position: relative; }
.nav-item a {
    display: block;
    padding: 0 28px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-item a:hover, .nav-item.active a { color: #fff; }
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #fff;
    border-radius: 3px 3px 0 0;
    transition: var(--transition);
    transform: translateX(-50%);
}
.nav-item a:hover::after, .nav-item.active a::after { width: 60%; }

/* === 主内容区布局 === */
.main-wrap { display: flex; margin-top: 24px; gap: 24px; }
.content-area { flex: 1; min-width: 0; }
.sidebar { width: 300px; flex-shrink: 0; }

/* === 区块标题 - 现代风格 === */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0;
    border: none;
}
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
}
.section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.section-more {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 14px;
    background: #f5f6fa;
    transition: var(--transition);
}
.section-more:hover { background: rgba(0,212,170,0.1); color: var(--primary); }

/* === 推荐区 - 毛玻璃卡片 === */
.featured-area {
    background: transparent;
    padding: 0;
    margin-bottom: 28px;
    border-radius: 0;
}
.featured-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 24px;
    color: #fff;
    min-height: 140px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.featured-item:nth-child(1) { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.featured-item:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.featured-item:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.featured-item:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.featured-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.featured-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.featured-item::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.featured-item .featured-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-right: 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.featured-item .featured-info { position: relative; z-index: 1; }
.featured-item .featured-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.featured-item .featured-info p { font-size: 13px; opacity: 0.85; line-height: 1.5; }
.featured-cat { display: inline-block; margin-top: 5px; padding: 2px 8px; background: rgba(255,255,255,0.25); border-radius: 10px; font-size: 11px; }

/* === 应用卡片（网格） - 3D悬浮效果 === */
.app-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 28px; }
.app-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.app-card .app-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto 10px;
    display: block;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.app-card:hover .app-icon { transform: scale(1.1); }
.app-card .app-name { font-size: 14px; font-weight: 600; color: #2d3436; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-card .app-category { font-size: 12px; color: #b2bec3; }

/* === 应用列表项 - 现代卡片 === */
.app-list {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow-sm);
}
.app-list-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f6fa;
    transition: var(--transition);
    position: relative;
}
.app-list-item:last-child { border-bottom: none; }
.app-list-item:hover {
    background: linear-gradient(90deg, rgba(0,212,170,0.04) 0%, transparent 100%);
}
.app-list-item .app-rank {
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #b2bec3;
    margin-right: 14px;
    flex-shrink: 0;
}
.app-list-item .app-rank.top1 { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; }
.app-list-item .app-rank.top2 { background: linear-gradient(135deg, #ffa726, #f39c12); color: #fff; }
.app-list-item .app-rank.top3 { background: linear-gradient(135deg, #ffca28, #f1c40f); color: #fff; }
.app-list-item .app-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-right: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: var(--transition);
}
.app-list-item:hover .app-icon { transform: scale(1.05); }
.app-list-item .app-info { flex: 1; min-width: 0; }
.app-list-item .app-name { font-size: 15px; font-weight: 600; color: #2d3436; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-list-item .app-desc { font-size: 13px; color: #b2bec3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-list-item .app-meta { display: flex; align-items: center; gap: 16px; margin-left: 16px; flex-shrink: 0; }
.app-list-item .app-size { font-size: 12px; color: #b2bec3; margin-left: 12px; flex-shrink: 0; white-space: nowrap; }
.app-list-item .app-extra { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: 12px; flex-shrink: 0; }
.app-list-item .download-btn {
    padding: 7px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0,212,170,0.25);
    transition: var(--transition);
}
.app-list-item .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,170,0.35);
    color: #fff;
}

/* === 标签系统 === */
.app-tag {
    display: inline-block;
    padding: 1px 7px;
    font-size: 10px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.app-tag.official { background: linear-gradient(135deg, #00d4aa, #00b894); }
.app-tag.hot { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.app-tag.new { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.app-tag.ad-free { background: linear-gradient(135deg, #fdcb6e, #f39c12); }
.app-tag.safe { background: linear-gradient(135deg, #55efc4, #00b894); }

/* === 分类导航 - 圆形图标网格 === */
.category-nav {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-item {
    text-align: center;
    padding: 12px 0;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
}
.category-item:hover { background: rgba(0,212,170,0.06); transform: translateY(-2px); }
.category-item .cat-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(108,92,231,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-item .cat-name { font-size: 13px; color: #636e72; font-weight: 500; }

/* === 详情页 - 现代风格 === */
.detail-header {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.detail-header .app-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    margin-right: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.detail-header .app-meta { flex: 1; }
.detail-header .app-name { font-size: 24px; font-weight: 800; color: #2d3436; margin-bottom: 8px; }
.detail-header .app-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-header .app-tags span {
    padding: 3px 12px;
    background: linear-gradient(135deg, rgba(0,212,170,0.1), rgba(108,92,231,0.1));
    color: var(--primary-dark);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
}
.detail-header .app-stats { display: flex; gap: 30px; color: #b2bec3; font-size: 13px; margin-bottom: 16px; }
.detail-header .app-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.detail-header .rating-text { font-size: 16px; font-weight: bold; color: #ff9800; }
.detail-header .rating-count { font-size: 13px; color: #999; }
.detail-header .download-btn-lg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,212,170,0.3);
    transition: var(--transition);
}
.detail-header .download-btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,212,170,0.4);
    color: #fff;
}

/* 评分 */
.rating-stars { display: inline-flex; gap: 2px; }
.rating-stars .star { color: #dfe6e9; font-size: 16px; transition: var(--transition); }
.rating-stars .star.active { color: #fdcb6e; text-shadow: 0 1px 2px rgba(255,152,0,0.3); }
.rating-stars-sm { display: inline-flex; gap: 1px; }
.rating-stars-sm .star { color: #dfe6e9; font-size: 12px; }
.rating-stars-sm .star.active { color: #fdcb6e; text-shadow: 0 1px 2px rgba(255,152,0,0.3); }

/* 截图区 */
.screenshot-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.screenshot-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.screenshot-scroll::-webkit-scrollbar { height: 6px; }
.screenshot-scroll::-webkit-scrollbar-thumb { background: #dfe6e9; border-radius: 3px; }
.screenshot-scroll img { height: 280px; border-radius: var(--radius-md); flex-shrink: 0; scroll-snap-align: start; }

/* 内容区 */
.detail-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.detail-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f5f6fa; }
.detail-content p { margin-bottom: 14px; line-height: 1.8; color: #636e72; }
.detail-content img { max-width: 100%; border-radius: 6px; margin: 10px 0; }

/* 信息表 */
.info-table {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.info-table table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 12px 16px; border-bottom: 1px solid #f5f6fa; font-size: 14px; }
.info-table td:first-child { width: 110px; color: #b2bec3; font-weight: 500; }
.info-table tr:last-child td { border-bottom: none; }

/* 评论区 */
.comment-section {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.comment-item { padding: 16px 0; border-bottom: 1px solid #f5f6fa; }
.comment-item:last-child { border-bottom: none; }
.comment-user { display: flex; align-items: center; margin-bottom: 8px; }
.comment-user .avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-right: 12px;
    background: linear-gradient(135deg, #dfe6e9, #b2bec3);
}
.comment-user .name { font-size: 14px; font-weight: 600; }
.comment-user .date { margin-left: 10px; font-size: 12px; color: #b2bec3; }
.comment-user .comment-rating { margin-left: auto; }
.comment-user .comment-rating .star { font-size: 13px; color: #dfe6e9; }
.comment-user .comment-rating .star.active { color: #fdcb6e; }
.comment-text { font-size: 14px; color: #636e72; line-height: 1.7; }

/* === 面包屑 === */
.breadcrumb {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #b2bec3;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.breadcrumb a { color: #636e72; font-weight: 500; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 8px; color: #dfe6e9; }

/* === 分页 === */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 28px 0; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e8e8e8;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: #636e72;
    background: #fff;
    transition: var(--transition);
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,212,170,0.05); transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,212,170,0.2); }
.pagination .active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 3px 10px rgba(0,212,170,0.25); }
.pagination .disabled { color: #dfe6e9; cursor: not-allowed; }
.pagination .dots { border: none; background: none; padding: 6px 8px; }

/* === 侧边栏 - 毛玻璃卡片 === */
.sidebar-block {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}
.sidebar-block:hover { box-shadow: var(--shadow-md); }
.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--gradient-primary);
    border-radius: 2px;
}
.rank-list .rank-item { display: flex; align-items: center; padding: 10px 6px; transition: var(--transition); border-radius: 6px; }
.rank-list .rank-item:hover { padding-left: 10px; background: #f8fdf8; }
.rank-list .rank-num {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #b2bec3;
    margin-right: 10px;
    flex-shrink: 0;
}
.rank-list .rank-item:nth-child(1) .rank-num { background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; }
.rank-list .rank-item:nth-child(2) .rank-num { background: linear-gradient(135deg, #ffa726, #f39c12); color: #fff; }
.rank-list .rank-item:nth-child(3) .rank-num { background: linear-gradient(135deg, #fdcb6e, #f1c40f); color: #fff; }
.rank-list .rank-name { font-size: 14px; color: #2d3436; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.rank-list .rank-desc { font-size: 11px; color: #b2bec3; }
.rank-icon { border-radius: 8px; margin-right: 10px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.rank-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rank-info .rank-name { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.rank-category { font-size: 11px; color: #999; }
.rank-downloads { font-size: 11px; color: #b0b0b0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
    display: inline-block;
    padding: 5px 14px;
    background: #f5f6fa;
    border-radius: 16px;
    font-size: 12px;
    color: #636e72;
    font-weight: 500;
    transition: var(--transition);
}
.tag-cloud a:hover { background: rgba(0,212,170,0.1); color: var(--primary); }

/* === 底部 === */
.footer {
    background: linear-gradient(135deg, #2d3436 0%, #1e272e 100%);
    color: #b2bec3;
    padding: 40px 0 24px;
    margin-top: 40px;
}
.footer-links { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-links a { color: #dfe6e9; margin-right: 20px; font-size: 13px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-info { font-size: 12px; color: #636e72; line-height: 2.2; }
.footer-nav { display: flex; gap: 24px; margin-top: 12px; }
.footer-nav a { color: #b2bec3; font-size: 13px; }
.footer-nav a:hover { color: var(--primary); }

/* === 返回顶部 === */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0,212,170,0.3);
    z-index: 999;
    transition: var(--transition);
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,212,170,0.4); }
.back-to-top.show { display: flex; }

/* === 相关推荐 === */
.related-apps {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
}
.related-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

/* === 滚动动画 === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === 页面标题 === */
.page-title { font-size: 22px; font-weight: 800; color: #2d3436; margin-bottom: 20px; padding: 15px 20px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04); }
.page-title .result-count { font-size: 14px; color: #b2bec3; font-weight: normal; margin-left: 10px; }

/* === 子分类标签 === */
.sub-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sub-categories a {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    color: #636e72;
    background: #f5f6fa;
    font-weight: 500;
    transition: var(--transition);
}
.sub-categories a:hover, .sub-categories a.active {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(0,212,170,0.25);
}
.sub-category-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; padding: 12px 15px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.sub-cat-tag { display: inline-block; padding: 5px 14px; background: #f5f6fa; border-radius: 16px; font-size: 13px; color: #636e72; transition: var(--transition); font-weight: 500; }
.sub-cat-tag:hover, .sub-cat-tag.active { background: var(--gradient-primary); color: #fff; box-shadow: 0 3px 10px rgba(0,212,170,0.25); }

/* === 特性列表 === */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #636e72;
}
.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.feature-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f6fa; font-size: 14px; color: #636e72; }
.feature-item:last-child { border-bottom: none; }
.feature-icon { color: var(--primary); font-size: 16px; margin-right: 10px; flex-shrink: 0; }

/* === 搜索页内联搜索 === */
.search-inline { margin-bottom: 20px; }
.search-inline .search-box { width: 100%; }
.search-form-inline { display: flex; max-width: 500px; }
.search-input-inline { flex: 1; height: 42px; padding: 0 18px; border: 2px solid #e8e8e8; border-right: none; border-radius: 21px 0 0 21px; outline: none; font-size: 14px; background: #f8f9fa; transition: var(--transition); }
.search-input-inline:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(0,212,170,0.1); }
.search-btn-inline { width: 88px; height: 42px; background: var(--gradient-primary); color: #fff; border: none; border-radius: 0 21px 21px 0; cursor: pointer; font-size: 14px; font-weight: 600; transition: var(--transition); }
.search-btn-inline:hover { opacity: 0.9; }

/* 空状态 */
.empty-state { text-align: center; padding: 60px 20px; color: #b2bec3; }
.empty-state p { font-size: 16px; }
.empty-tip { background: #fff; border-radius: var(--radius-lg); padding: 60px 20px; text-align: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.empty-tip .empty-icon { font-size: 48px; margin-bottom: 15px; }
.empty-tip h3 { font-size: 18px; color: #2d3436; margin-bottom: 10px; }
.empty-tip p { font-size: 14px; color: #b2bec3; }
.empty-suggest { margin-top: 20px; }
.suggest-tags { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }

/* === 下载量和日期显示 === */
.app-downloads { font-size: 11px; color: #b2bec3; }
.app-update-date { font-size: 11px; color: #dfe6e9; }
.app-download-count { font-size: 11px; color: #b2bec3; }

/* === 区块样式 === */
.section-block { margin-bottom: 28px; }

/* === 推荐卡片 === */
.recommend-card { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f6fa; transition: var(--transition); }
.recommend-card:last-child { border-bottom: none; }
.recommend-card:hover { background: rgba(0,212,170,0.04); }
.recommend-icon { border-radius: 10px; margin-right: 10px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.recommend-info { flex: 1; min-width: 0; }
.recommend-name { display: block; font-size: 14px; font-weight: 600; color: #2d3436; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recommend-desc { font-size: 12px; color: #b2bec3; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 首页编辑推荐标签 */
.editor-badge { display: inline-block; padding: 2px 8px; background: linear-gradient(135deg, #ff6b6b, #ee5a24); color: #fff; font-size: 11px; border-radius: 4px; margin-bottom: 8px; }
.week-hot-badge { display: inline-block; padding: 2px 8px; background: linear-gradient(135deg, #f39c12, #e67e22); color: #fff; font-size: 11px; border-radius: 4px; margin-bottom: 8px; }

/* === 内容区阴影 === */
.content-area > div { box-shadow: var(--shadow-sm); }
