/* 全局重置 */
* {
    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;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 蓝紫到蓝绿渐变背景 */
    background: linear-gradient(135deg, #5b52d6 0%, #4facfe 50%, #00d4ff 100%);
    position: relative;
    overflow: hidden;
}

/* 主容器 */
.container {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 40px 20px;
}

/* Logo图标 */
.logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 如果没有图标，显示默认样式 */
.logo:not(:has(img[src])) {
    background: linear-gradient(135deg, #4f9eff 0%, #2563eb 100%);
}

.logo::before {
    content: 'Y';
    font-size: 70px;
    font-weight: 700;
    color: white;
    position: absolute;
}

.logo img[src] + .logo::before {
    display: none;
}

/* 应用标题 */
.app-title {
    font-size: 42px;
    font-weight: 400;
    color: white;
    margin-bottom: 80px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 下载按钮组 */
.download-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 100px;
}

/* 下载按钮 */
.download-btn {
    width: 280px;
    padding: 16px 0;
    background: linear-gradient(135deg, #4a8fd8 0%, #2e6fb8 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #5a9fe8 0%, #3e7fc8 100%);
}

.download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* 版权信息 */
.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

/* 波浪装饰 */
.wave-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
    overflow: hidden;
}

.wave-bottom::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0 C150,80 350,80 600,50 C850,20 1050,50 1200,80 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.15)"/></svg>');
    background-size: 50% 100%;
    background-repeat: repeat-x;
    animation: wave 15s linear infinite;
}

.wave-bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,20 C200,60 400,60 600,40 C800,20 1000,40 1200,60 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50% 100%;
    background-repeat: repeat-x;
    animation: wave 20s linear infinite reverse;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 30px;
    }

    .logo::before {
        font-size: 60px;
    }

    .app-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .download-btn {
        width: 260px;
        padding: 14px 0;
        font-size: 17px;
    }

    .download-buttons {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 90px;
        height: 90px;
    }

    .logo::before {
        font-size: 50px;
    }

    .app-title {
        font-size: 32px;
        margin-bottom: 50px;
    }

    .download-btn {
        width: 240px;
        padding: 13px 0;
        font-size: 16px;
    }

    .copyright {
        font-size: 13px;
        bottom: 20px;
    }
}