/* 慕华软件 - 移动端小程序风格页面 v3 */

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

:root {
    --primary: #f0814a;
    --primary-light: #f29b6a;
    --primary-dark: #d96a2e;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --bg-primary: #f7f5f2;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f2f0ed;
    --border-color: #e5e1dc;
    --border-light: #ede9e4;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 20px;
    --radius-full: 999px;
}

html {
    font-size: calc(100vw / 37.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.app {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    padding-bottom: 120px;
}

/* 品牌信息区 */
.brand-section {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px 22px;
}

.brand-logo {
    width: 88px;
    height: 88px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md), 
                0 0 0 1px rgba(255, 107, 53, 0.1),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
    position: relative;
    flex-shrink: 0;
}

.brand-logo::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--radius-lg) + 4px);
    border: 2px solid rgba(255, 107, 53, 0.15);
    pointer-events: none;
}

.logo-text {
    font-size: 38px;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.brand-qrcode {
    width: 88px;
    height: 88px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    
}

.brand-qrcode img {
    width: 70px;
    height: 70px;
}

.brand-info {
    flex: 1;
}

.brand-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    white-space: nowrap;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-tag {
    font-size: 11px;
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.brand-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.brand-stats strong {
    color: var(--primary);
    font-weight: 600;
}

.divider {
    color: var(--border-color);
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    margin: 0 24px 24px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    gap: 12px;
    transition: box-shadow 0.3s ease;
}

.search-box:focus-within {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-tertiary);
}

.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-secondary);
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-tertiary);
}

/* Banner区域 - 卡片列表样式 */
.banner-section {
    margin: 0 20px 22px;
    display: block;
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-card {
    display: flex !important;
    flex-direction: row !important;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    align-items: stretch;
}

.banner-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.banner-card-img {
    flex: 2;
    min-width: 0;
    height: 120px;
    overflow: hidden;
    display: block;
}

.banner-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.banner-card:hover .banner-card-img img {
    transform: scale(1.05);
}

.banner-card-content {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.banner-card-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    background: rgba(240, 129, 74, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    margin-bottom: 6px;
    font-weight: 500;
    width: fit-content;
}

.banner-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-card-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* 分类标签 - 统一橙色系 */
.categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 24px 24px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 8px 14px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: all 0.25s ease;
    cursor: pointer;
}

.category-item:active {
    transform: translateY(2px);
    box-shadow: var(--shadow-xs);
}

.category-item.active {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.category-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.category-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

/* 统一橙色渐变分类图标 */
.icon-all {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.icon-efficiency {
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.icon-design {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.icon-system {
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.category-item span:last-child {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 通用区块 */
.section {
    margin: 0 24px 24px;
    padding: 22px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-bar {
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.section-title h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.view-all {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* 资讯动态 */
.news-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

.news-tabs .tab {
    padding: 8px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.news-tabs .tab.active {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

.news-tabs .tab:hover:not(.active) {
    background: var(--border-light);
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.news-item:last-child {
    border-bottom: none;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.news-dot.red { background: #ff6b6b; }
.news-dot.green { background: #51cf66; }
.news-dot.orange { background: #ffa94d; }
.news-dot.blue { background: #339af0; }

.news-text {
    flex: 1;
    color: var(--text-primary);
    white-space: nowrap;
    
    
    font-weight: 450;
}

.news-time {
    font-size: 12px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

/* 精选作品 */
.featured-apps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.featured-card {
    padding: 18px 14px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.featured-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.featured-card .app-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.featured-card .app-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.featured-card .app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.featured-card .app-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    word-break: break-all;
    line-height: 1.3;
}

.featured-card .app-category {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.featured-card .app-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
}

.app-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.app-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

/* 统一橙色系软件图标 */
.icon-muji {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.icon-yinxia {
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.icon-seban {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.icon-shixu {
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.icon-jianqie {
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
}

.icon-daiban {
    background: linear-gradient(145deg, var(--primary-light), var(--primary));
}

.app-title {
    min-width: 0;
    flex: 1;
    overflow: visible;
}

.app-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    word-break: break-all;
    line-height: 1.3;
    
    
}

.app-category {
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
}

.app-divider {
    height: 1px;
    background: var(--border-light);
    margin: 10px 0;
}

.app-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    
}

.app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rating {
    font-size: 12px;
    color: #FF9F43;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.downloads {
    font-size: 11px;
    color: var(--text-tertiary);
}
/* 全部软件列表 - 新布局 */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    cursor: pointer;
}

.app-list-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.app-icon-small {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.app-icon-small svg {
    width: 26px;
    height: 26px;
    color: white;
}

.app-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.app-list-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-list-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-list-title h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.app-size-inline {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 400;
}

.app-list-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    
}

.app-list-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-list-footer .rating {
    font-size: 12px;
}

.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    vertical-align: middle;
}

.star {
    font-size: 13px;
    line-height: 1;
}

.star.filled {
    color: #FF9F43;
    text-shadow: 0 1px 2px rgba(255, 159, 67, 0.3);
}

.star.empty {
    color: #E5E5E5;
}

.app-list-action {
    flex-shrink: 0;
}

.btn-get {
    padding: 8px 20px;
    font-size: 13px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-get:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-get:active {
    transform: scale(0.95);
}

/* 关于作者 */
.about-author {
    margin: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf7 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.08);
    transition: all 0.3s ease;
}

.about-author:hover {
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.12);
    transform: translateY(-2px);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    cursor: pointer;
}

.about-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #ff6b35 0%, #f0814a 50%, #d96a2e 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    flex-shrink: 0;
}

.about-avatar svg {
    width: 28px;
    height: 28px;
    color: white;
}

.about-info {
    flex: 1;
}

.about-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.about-tagline {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.about-arrow {
    width: 22px;
    height: 22px;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
}

.about-header:hover .about-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

.about-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 2px;
}

.about-desc .highlight {
    color: var(--primary);
    font-weight: 600;
}

.about-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 18px 16px;
    background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.about-stat {
    text-align: center;
    flex: 1;
}

.stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.about-stat-divider {
    width: 1px;
    height: 28px;
    background: var(--border-color);
}

/* 底部导航 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #FFF0EB;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    color: #CC6633;
}

.tab-item.active .tab-icon {
    background: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-item.active .tab-icon svg {
    color: white;
}

.tab-item span {
    font-size: 11px;
    color: #CC6633;
    font-weight: 500;
}

.tab-item.active span {
    color: var(--primary);
}

/* 安全区域 */
.safe-area {
    height: env(safe-area-inset-bottom, 20px);
}

/* 响应式适配 */
@media (min-width: 751px) {
    html {
        font-size: 20px;
    }
    
    .app {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

/* 触摸反馈 */
@media (hover: hover) {
    .category-item:hover {
        border-color: var(--border-color);
    }
    
    .app-list-item:hover {
        border-color: var(--border-color);
    }
    
    .btn-get:hover {
        background: var(--primary-dark);
    }
}

/* 按钮点击效果 */
.btn-get:active {
    transform: scale(0.95);
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* 选中效果 */
::selection {
    background: rgba(255, 107, 53, 0.2);
    color: var(--text-primary);
}

/* 分类选中状态 */
.category-item.active {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.category-item.active .category-icon {
    transform: scale(1.05);
}

/* 弹窗 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-content {
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
}

.modal-app-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.modal-app-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.modal-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.modal-app-info {
    flex: 1;
}

.modal-app-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modal-app-info p {
    font-size: 13px;
    color: var(--primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.modal-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.modal-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.modal-desc {
    margin-bottom: 24px;
}

.modal-desc h4,
.modal-features h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.modal-desc p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.modal-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.modal-features li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 10px 14px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.modal-features li::before {
    content: '✓ ';
    color: var(--primary);
    margin-right: 6px;
}

.modal-footer {
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.btn-download {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.45);
    transform: translateY(-1px);
}

.btn-download:active {
    transform: translateY(0);
}

/* Toast 提示 */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 14px;
    border-radius: var(--radius-full);
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 精选卡片可点击 */

/* 底部版权信息 */
.footer-info {
    padding: 20px 16px;
    text-align: center;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 0;
    width: 100%;
}

.footer-info .copyright {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    text-align: center;
}

.footer-info .icp-info {
    font-size: 11px;
    color: #bbb;
    text-align: center;
}

.footer-info .icp-info a {
    color: #999;
    text-decoration: none;
}

.footer-info .icp-info a:hover {
    color: #f0814a;
}

.footer-info .divider {
    margin: 0 8px;
    color: #ddd;
}

/* 使用说明 */
.usage-tips {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 24px 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 129, 74, 0.15);
    box-shadow: 0 2px 8px rgba(240, 129, 74, 0.08);
}

.tips-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(145deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(240, 129, 74, 0.25);
}

.tips-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.tips-content {
    flex: 1;
}

.tips-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.tips-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 打赏模块 */
.reward-section {
    margin: 0 20px 22px;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

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

.reward-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, #07c160, #06ad56);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reward-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.reward-info {
    flex: 1;
}

.reward-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.reward-desc {
    font-size: 13px;
    color: var(--text-tertiary);
}

.reward-qrcodes {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.reward-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reward-qrcode-item img {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.reward-qrcode-item span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
