* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    overflow-x: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* 降低遮罩透明度，让背景更亮 */
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.25); /* 提高卡片背景亮度 */
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4); /* 增强边框 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); /* 减轻阴影 */
}

.card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* 增强文字阴影确保可读性 */
    color: #ffffff;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 1; /* 提高不透明度 */
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); /* 增强文字阴影 */
    color: #f0f0f0;
}

.download-section {
    margin-bottom: 30px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.4);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.download-status p {
    font-size: 1.1rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.manual-download p {
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.download-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.35); /* 提高按钮亮度 */
    color: #ffffff;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5); /* 增强边框 */
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.download-btn:hover {
    background-color: rgba(255, 255, 255, 0.5); /* 悬停时更亮 */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
    transform: translateY(0);
}

.links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.disclaimer {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: rgba(0, 0, 0, 0.2); /* 减轻免责声明背景 */
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.disclaimer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 1;
    color: #f0f0f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
    }
    
    .card h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .disclaimer {
        padding: 20px;
    }
}