* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ED292B 0%, #C41E3A 100%);
    min-height: 100vh;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #ED292B 0%, #C41E3A 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

/* 语言切换按钮 */
.language-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.language-switch button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(10px);
}

.language-switch button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.language-switch button i {
    font-size: 0.8rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    margin-right: 15px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* 主要内容 */
.main-content {
    padding: 30px 20px;
}

/* 应用信息 */
.app-info {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(237, 41, 43, 0.2);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-icon i {
    font-size: 2.5rem;
    color: white;
}

.app-details h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #333;
}

.version {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    align-items: center;
}

.rating i {
    color: #ffc107;
    margin-right: 2px;
}

.rating span {
    margin-left: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* 下载区域 */
.download-section {
    text-align: center;
    margin-bottom: 40px;
}

.download-btn {
    background: linear-gradient(135deg, #ED292B, #C41E3A);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(237, 41, 43, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237, 41, 43, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.download-info {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* 最近下载滚动 */
.recent-downloads {
    margin-top: 20px;
    background: rgba(237, 41, 43, 0.05);
    border-radius: 10px;
    padding: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(237, 41, 43, 0.1);
}

.download-ticker {
    height: 30px;
    overflow: hidden;
    position: relative;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    animation: scroll-up 15s linear infinite;
}

.download-item {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #ED292B;
    white-space: nowrap;
    padding: 0 10px;
}

.download-item i {
    margin-right: 8px;
    color: #4CAF50;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* 功能特色 */
.features {
    margin-bottom: 40px;
}

.features h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 20px 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: #ED292B;
    margin-bottom: 10px;
}

.feature-item h4 {
    margin-bottom: 8px;
    color: #333;
}

.feature-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* 应用截图 */
.screenshots {
    margin-bottom: 40px;
}

.screenshots h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.3rem;
}

.screenshot-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.screenshot-item {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.screenshot-item img {
    width: 120px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    border: 2px solid #f0f0f0;
}

.screenshot-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.screenshot-item p {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    color: #666;
    font-weight: 500;
}

/* 统计数据 */
.stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, #ED292B, #C41E3A);
    color: white;
    padding: 25px 15px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 底部 */
.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.contact {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact i {
    color: #ED292B;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #333;
}

.modal-content p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.modal-content button {
    background: #ED292B;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        max-width: 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .app-info {
        flex-direction: column;
        text-align: center;
    }
    
    .app-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

.main-content > *:nth-child(2) { animation-delay: 0.1s; }
.main-content > *:nth-child(3) { animation-delay: 0.2s; }
.main-content > *:nth-child(4) { animation-delay: 0.3s; }
.main-content > *:nth-child(5) { animation-delay: 0.4s; }