/* ===== Windows 11 Fluent Design 浅色主题 ===== */
:root {
    --surface: #ffffff;
    --surface-light: #f3f3f3;
    --primary: #0078d4;
    --primary-light: #4c9bff;
    --primary-dark: #106ebe;
    --text-primary: #202020;
    --text-secondary: #5e5e5e;
    --border: #e1e1e1;
    --border-hover: #d2d0ce;
    --shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 
              0 6.7px 5.3px rgba(0, 0, 0, 0.028), 
              0 12.5px 10px rgba(0, 0, 0, 0.035);
    --shadow-elevated: 0 4px 8px rgba(0, 0, 0, 0.08), 
                      0 8px 16px rgba(0, 0, 0, 0.06);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(135deg, #f0f8ff, #e6f7ff);
    color: var(--text-primary);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(0, 120, 212, 0.05) 0%, transparent 30%),
                radial-gradient(circle at 90% 80%, rgba(0, 120, 212, 0.05) 0%, transparent 30%);
    z-index: -1;
}

/* ===== 导航栏 ===== */
#nav {
    background: rgba(243, 243, 243, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 60px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

#nav h2 {
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    flex-grow: 1;
}

/* ===== 横幅区域 ===== */
#banner {
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* ===== 主内容区 ===== */
#main {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-elevated);
    padding: 30px;
    margin: 0 auto;
    border: 1px solid var(--border);
    max-width: 900px;
}

.h1-custom {
    background: var(--primary);
    border: 2px solid var(--primary-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: #ffffff;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    font-size: 1.8rem;
    max-width: 800px;
}

h1 {
    background: var(--primary);
    border: 2px solid var(--primary-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: #ffffff;
    margin: 20px auto;
    padding: 15px;
    text-align: center;
    font-size: 1.8rem;
    max-width: 800px;
}

/* ===== 下载说明区域 ===== */
#box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

#box h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--border-radius);
    overflow: hidden;
}

tr {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

tr:last-child {
    border-bottom: none;
}

tr:hover {
    background: rgba(0, 0, 0, 0.03);
}

td {
    padding: 15px 20px;
    text-align: left;
}

td:first-child {
    font-weight: 500;
    color: var(--text-primary);
    width: 60%;
}

td:last-child {
    font-family: 'Consolas', monospace;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* ===== 表单区域 ===== */
#myform {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: 25px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

#myform h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

input[type="file"] {
    display: block;
    width: 100%;
    padding: 15px;
    border: 2px dashed rgba(0, 120, 212, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

input[type="file"]:hover {
    background: rgba(0, 120, 212, 0.05);
    border-color: var(--primary);
}

/* ===== 链接按钮 ===== */
a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    border-radius: var(--border-radius);
    padding: 15px 25px;
    margin: 20px auto;
    max-width: 600px;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.2);
    position: relative;
    overflow: hidden;
}

a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

a:active {
    transform: translateY(0);
}

/* ===== 删除按钮样式 ===== */

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    #nav {
        padding: 0 15px;
        height: auto;
        flex-direction: column;
        padding: 15px;
    }
    
    #nav h2 {
        margin-bottom: 15px;
        text-align: center;
    }
    
    #banner {
        height: 120px;
    }
    
    #main {
        padding: 20px 15px;
    }
    
    h1, .h1-custom {
        font-size: 1.4rem;
        padding: 10px;
        margin: 10px auto;
    }
    
    #box, #myform {
        padding: 20px;
    }
    
    td {
        padding: 12px 15px;
    }
}