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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--body-bg, linear-gradient(180deg, #5DADE2 0%, #85C1E9 100%));
    min-height: 100vh;
    padding-bottom: 60px;
}

/* 隐藏滚动条但保持滚动功能 */
body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 顶部搜索区 */
.header {
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--container-bg, linear-gradient(180deg, #5DADE2 0%, #85C1E9 100%));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 22px;
    padding: 8px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    height: 44px;
}

.search-icon {
    color: #999;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--text-color, #333);
    background: transparent;
    height: 100%;
}

.search-input::placeholder {
    color: var(--text-secondary, #ccc);
}

.search-btn {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    border: none;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
    transition: all 0.2s;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 分类导航 */
.categories-section {
    background: var(--container-bg, white);
    margin: 10px 15px;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.categories-wrapper {
    overflow: hidden;
    position: relative;
}

.categories-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
    cursor: grab;
    user-select: none;
}

.categories-grid:active {
    cursor: grabbing;
}

.category-page {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px 15px;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 10px 15px;
    justify-items: center;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    min-width: 0;
}

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

.category-item.active .category-icon {
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.5);
    transform: scale(1.05);
}

.category-item.active .category-name {
    color: #3498DB;
    font-weight: bold;
}

.category-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.category-item:hover .category-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.category-item.hot .category-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.hot-text {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.category-item.new .category-icon {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
}

.new-text {
    color: white;
    font-weight: bold;
    font-size: 24px;
}

.category-icon.coin {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.category-name {
    font-size: 12px;
    color: var(--text-secondary, #666);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 分类名称前的彩色圆点 */
.category-name::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 蓝色圆点 - 偶数位置 */
.category-item:nth-child(even) .category-name::before {
    background: #3498DB;
}

/* 红色圆点 - 奇数位置 */
.category-item:nth-child(odd) .category-name::before {
    background: #E74C3C;
}

/* 滑动指示器 */
.scroll-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding-top: 5px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D0D0D0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    width: 8px;
    height: 8px;
    background: #888;
}

/* 公告轮播区域 */
.announcement-section {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 100%);
    margin: 15px 15px 10px;
    border-radius: 12px;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.15);
    border: 1px solid #FFE0B2;
    overflow: hidden;
    min-height: 48px;
}

.announcement-container {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.announcement-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.announcement-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    will-change: transform;
    white-space: nowrap;
}

.announcement-track:hover {
    /* 悬停效果由JavaScript控制 */
}

.announcement-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.announcement-text {
    font-size: 14px;
    color: #D84315;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分类导航 */
.apps-section {
    background: var(--container-bg, white);
    margin: 15px;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.title-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3498DB;
}

.title-text {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color, #333);
}

.refresh-btn {
    cursor: pointer;
    color: var(--text-secondary, #666);
    transition: transform 0.6s ease;
}

.refresh-btn:active {
    transform: scale(0.9);
}

.apps-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--card-bg, #F8F9FA);
    border-radius: 12px;
    position: relative;
}

.rank-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}

.rank-1 {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="%23FFD700" d="M16 2l4 12h12l-10 8 4 12-10-8-10 8 4-12-10-8h12z"/></svg>') no-repeat center;
    background-size: contain;
}

.rank-2, .rank-3, .rank-4, .rank-5 {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="%23C0C0C0" d="M16 2l4 12h12l-10 8 4 12-10-8-10 8 4-12-10-8h12z"/></svg>') no-repeat center;
    background-size: contain;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-color, #333);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.tag.category {
    background: #E3F2FD;
    color: #2196F3;
}

.tag.recommend {
    background: #FFF3E0;
    color: #FF9800;
}

.tag.recommend svg {
    fill: #FF9800;
}

.tag.app-tag {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #4CAF50;
    font-weight: 500;
}

.app-date {
    font-size: 11px;
    color: var(--text-secondary, #999);
}

.download-btn {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

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

/* 下载弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(4px);
}

/* 新版弹窗盒子 */
.modal-box-new {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 380px;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 新版弹窗头部 */
.modal-header-new {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-title-new {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.modal-close-new {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close-new:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* 新版弹窗内容 */
.modal-body-new {
    padding: 15px;
    background: #F8F9FA;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}

/* 应用信息卡片 */
.app-card-modal {
    background: white;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.modal-app-icon-new {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid #FFD700;
}

.app-info-modal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-name-modal {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.app-tags-modal {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
    min-height: 22px;
}

.tag-modal-new {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 14px;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
}

.tag-category-new {
    background: white;
    color: #FF6B6B;
    border: 1.5px solid #FF6B6B;
}

.tag-recommend-new {
    background: #F5F5F5;
    color: #999;
    border: 1.5px solid #E0E0E0;
}

.tag-app-new {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    color: #4CAF50;
    border: 1.5px solid #81C784;
    font-weight: 500;
}

.app-date-modal {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* 应用介绍区域 */
.app-description-modal {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.app-description-modal h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.app-description-modal p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    word-wrap: break-word;
}

/* 应用介绍中的图片样式 */
.app-description-modal img {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
    margin: 8px 0;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
    object-fit: contain;
}

.app-description-modal img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 图片预览弹窗 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    touch-action: none;
}

.image-preview-modal.active {
    display: flex;
}

.image-preview-close {
    position: fixed;
    top: 12px;
    right: 12px;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255,255,255,0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    pointer-events: auto;
}

.image-preview-track {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 60px 0 40px;
    box-sizing: border-box;
}

.image-preview-track img {
    max-width: 88vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    -webkit-user-drag: none;
    display: block;
    pointer-events: none;
    transform-origin: center center;
    transition: transform 0.2s ease;
    will-change: transform;
}

.image-preview-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.image-preview-arrow:hover { background: rgba(255,255,255,0.35); }
.image-preview-arrow.prev { left: 12px; }
.image-preview-arrow.next { right: 12px; }
.image-preview-arrow.hidden { display: none; }

.image-preview-counter {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    z-index: 10001;
    pointer-events: none;
}

/* 下载提示 */
.download-tip {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.download-tip p {
    font-size: 13px;
    color: #D4A574;
    margin: 5px 0;
    line-height: 1.6;
}

/* 新版下载按钮 */
.modal-footer-new {
    padding: 12px 15px;
    background: #F8F9FA;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.download-btn-new {
    width: 100%;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
    letter-spacing: 1px;
}

.download-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
}

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

.modal-box {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

.app-info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}

.app-details {
    flex: 1;
}

.app-name-large {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
}

.app-tags-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tag-modal {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.tag-category {
    background: #E3F2FD;
    color: #2196F3;
}

.tag-rebate {
    background: #FFEBEE;
    color: #E91E63;
}

.app-update-time {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.app-description {
    margin-bottom: 20px;
}

.app-description h5 {
    font-size: 16px;
    color: #333;
    margin: 0 0 10px 0;
}

.desc-content {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.download-actions {
    margin-bottom: 20px;
}

.download-btn-modal {
    width: 100%;
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    transition: all 0.2s;
}

.download-btn-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 219, 0.4);
}

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

.btn-icon {
    font-size: 18px;
}

.btn-text {
    font-size: 16px;
}

.rebate-info {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #FFD54F;
}

.rebate-header h5 {
    font-size: 16px;
    color: #F57C00;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rebate-desc {
    font-size: 14px;
    color: #E65100;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.rebate-btn {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    box-shadow: 0 3px 8px rgba(255, 152, 0, 0.3);
}

.rebate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

/* 小屏手机优化 */
@media (max-width: 375px) {
    .header {
        padding: 8px 12px;
    }

    .search-container {
        padding: 6px 10px;
        height: 40px;
    }

    .search-input {
        font-size: 13px;
    }

    .search-btn {
        padding: 5px 14px;
        font-size: 12px;
        height: 28px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
    }

    .category-name {
        font-size: 11px;
    }

    .app-icon {
        width: 52px;
        height: 52px;
    }

    .app-name {
        font-size: 14px;
    }

    .download-btn {
        padding: 7px 16px;
        font-size: 13px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .search-btn,
    .download-btn {
        min-height: 44px;
    }

    .category-item,
    .app-item {
        -webkit-tap-highlight-color: rgba(93, 173, 226, 0.1);
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .modal-overlay {
        padding: 10px;
    }

    .modal-app-icon {
        width: 60px;
        height: 60px;
    }

    .app-name-large {
        font-size: 16px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-body {
        padding: 15px;
    }
}

/* 桌面端限制宽度，保持手机端布局 */
@media (min-width: 768px) {
    html {
        background: #e0e0e0;
    }

    body {
        max-width: 500px;
        margin: 0 auto;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        min-height: 100vh;
    }

    .header,
    .categories-section,
    .apps-section {
        border-radius: 0;
    }
}


/* 新版弹窗响应式调整 */
@media (max-width: 480px) {
    .modal-box-new {
        max-width: 100%;
        border-radius: 16px;
    }
    
    .modal-header-new {
        padding: 16px;
    }
    
    .modal-title-new {
        font-size: 18px;
    }
    
    .modal-body-new {
        padding: 20px;
    }
    
    .app-card-modal {
        padding: 15px;
    }
    
    .modal-app-icon-new {
        width: 70px;
        height: 70px;
    }
    
    .app-name-modal {
        font-size: 16px;
    }
    
    .download-btn-new {
        font-size: 16px;
        padding: 14px;
    }
}
