/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主体样式 - 参考图片的高级渐变背景 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: linear-gradient(135deg, #6289A9 0%, #FAD0D0 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* 添加背景纹理效果 */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Logo和标题区域 */
.header-section {
    margin-bottom: 50px;
}

.logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.app-logo {
    margin-bottom: 15px;
}

.logo-placeholder {
    display: inline-block;
    filter: drop-shadow(0 8px 25px rgba(255, 255, 255, 0.15));
    transition: transform 0.3s ease;
}

.logo-placeholder:hover {
    transform: translateY(-3px);
}

.logo-image {
    width: 85px;
    height: 85px;
    border-radius: 20px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.app-info {
    text-align: center;
}

.app-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 1px;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.2);
}

/* 状态信息 */
.status-section {
    margin-bottom: 40px;
}

.status-text {
    font-size: 1.1rem;
    color: #ff6b6b;
    font-weight: 500;
    margin: 0;
}

/* 下载区域样式 - 优化按钮设计 */
.download-section {
    margin-bottom: 60px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
}

.download-btn {
    display: block;
    text-align: center;
    padding: 18px 32px;
    border: 2px solid rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

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

.btn-text {
    position: relative;
    z-index: 1;
}

/* Android按钮特殊样式 */
.android-btn {
    border-color: rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.85);
}

.android-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(76, 175, 80, 0.6);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.3);
}

.android-btn::before {
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.15), transparent);
}

/* iOS按钮特殊样式 */
.ios-btn {
    border-color: rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.85);
}

.ios-btn:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(0, 122, 255, 0.6);
    box-shadow: 0 12px 35px rgba(0, 122, 255, 0.3);
}

.ios-btn::before {
    background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.15), transparent);
}

/* 底部信息 */
.footer-section {
    text-align: center;
}

.help-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
    }
    
    .download-buttons {
        flex-direction: row;
        max-width: 420px;
        gap: 24px;
    }
    
    .download-btn {
        flex: 1;
        padding: 20px 36px;
        font-size: 1.15rem;
    }
    
    .app-title {
        font-size: 3.2rem;
        letter-spacing: 4px;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .logo-image {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .download-btn {
        padding: 16px 28px;
        font-size: 1.05rem;
    }
    
    .download-buttons {
        gap: 16px;
    }
}

/* 无障碍优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 针对高分辨率屏幕的优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .app-title {
        text-rendering: optimizeLegibility;
    }
} 