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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #FFB88C 0%, #FF8C42 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* 首页样式 */
.logo-container {
    padding: 60px 20px 40px;
    text-align: center;
}

.logo-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFB88C 0%, #FF8C42 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.logo-placeholder img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.logo-placeholder span {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.content {
    flex: 1;
    padding: 0 30px;
    text-align: center;
}

.app-name {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
}

.version {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.download-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFB88C 0%, #FF8C42 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(255, 140, 66, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-btn:active {
    transform: translateY(2px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.history-link {
    display: inline-block;
    margin-top: 24px;
    color: #FF8C42;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s;
}

.history-link:active {
    background: rgba(255, 140, 66, 0.1);
}

.footer {
    padding: 30px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 历史版本页面样式 */
.header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.back-btn:active {
    background: #f5f5f5;
}

.header h2 {
    flex: 1;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-right: 40px;
}

.version-list {
    padding: 16px 20px;
}

.version-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.version-item:active {
    background: #f0f1f3;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-number {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.version-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.version-tag.latest {
    background: linear-gradient(135deg, #FFB88C 0%, #FF8C42 100%);
    color: #fff;
}

.download-small-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, #FFB88C 0%, #FF8C42 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

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

/* 响应式调整 */
@media (max-width: 375px) {
    .app-name {
        font-size: 28px;
    }

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

    .logo-placeholder {
        width: 100px;
        height: 100px;
    }
}
