/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('https://bestdori.com/assets/cn/characters/resourceset/res001072_rip/card_after_training.png'); /* 确保图片文件名正确 */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    /* --- 毛玻璃效果，调整了透明度 --- */
    background-color: rgba(255, 255, 255, 0.45); /* 稍微增加不透明度 (原为0.35) */
    backdrop-filter: blur(10px); /* 可以根据喜好调整模糊半径 */
    -webkit-backdrop-filter: blur(10px);
    /* --- END 毛玻璃效果 --- */

    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 700px;
    width: 100%;
    /* border: 1px solid rgba(255, 255, 255, 0.18); /* 可选的细边框 */
}

header h1 {
    font-size: 2.5em;
    /* --- 调整标题颜色和阴影 --- */
    color: #a54545; /* 更深一点、略微不饱和的红色，与图片协调 */
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.35); /* 增加文字阴影 */
}

header p {
    font-size: 1.1em;
    /* --- 调整段落文字颜色和阴影 --- */
    color: #423838; /* 深暖灰色，接近深棕色 */
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* 轻微文字阴影 */
}

/* 按钮区域 */
.button-area {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    text-decoration: none;
    color: white; /* 按钮文字保持白色，因为按钮背景是不透明的 */
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

.download-button i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* PS 2021 按钮特定样式 */
.ps2021-button {
    background-color: #e67e22;
}

.ps2021-button:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.45);
}

/* PS 2025 按钮特定样式 */
.ps2025-button {
    background-color: #a0522d;
}

.ps2025-button:hover {
    background-color: #8b4513;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.45);
}

/* 页脚 */
footer {
    margin-top: 30px;
    font-size: 0.9em;
    /* --- 调整页脚文字颜色和阴影 --- */
    color: #5c5050; /* 中度暖灰色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15); /* 轻微文字阴影 */
}

footer .note {
    font-size: 0.8em;
    /* --- 调整备注文字颜色和阴影 --- */
    color: #6b5f5f; /* 比页脚主文字稍浅一点的暖灰色 */
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* 更轻微的文字阴影 */
}

/* 响应式调整：针对小屏幕 */
@media (max-width: 600px) {
    .container {
        padding: 25px;
        background-color: rgba(255, 255, 255, 0.6); /* 小屏幕上进一步增加不透明度以确保可读性 */
        backdrop-filter: blur(8px); /* 也可以在小屏幕上减少模糊度 */
        -webkit-backdrop-filter: blur(8px);
    }

    header h1 {
        font-size: 2em;
        color: #9d3f3f; /* 对应小屏幕的调整 */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    }

    header p {
        color: #3b3232;
        text-shadow: 0 0 2px rgba(0,0,0,0.25);
    }

    .button-area {
        flex-direction: column;
        gap: 15px;
    }

    .download-button {
        width: 100%;
        padding: 15px;
        font-size: 1em;
    }

    footer p, footer .note {
        text-shadow: none; /* 在小屏幕且背景更不透明时，可能不需要阴影 */
    }
}