
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Lora', serif;
    line-height: 1.6;
    background: linear-gradient(to bottom, #0074D9, #6F1E51);
    color: #FFFFFF;
    padding: 20px;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
p, li, td, th {
    font-size: 1rem;
    line-height: 1.8;
}
a {
    color: #FFA726;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover { color: #FFC107; }

/* 页面头部设计 */
.header {
    position: relative;
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    background-blend-mode: multiply;
    background-color: rgba(0, 116, 217, 0.5);
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 10s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.header h1 {
    z-index: 1;
    font-size: 3rem;
}

/* 模块化布局 */
.section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: scale(1.05);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
th {
    background: rgba(255, 165, 0, 0.5);
    color: white;
}

/* 按钮样式 */
.button {
    display: inline-block;
    background: rgba(255, 152, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}
.button:hover {
    background: #FFA726;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 { font-size: 2rem; }
    .section { padding: 10px; }
    table { font-size: 0.9rem; }
}
@media (max-width: 480px) {
    body { padding: 10px; }
    .header { height: 300px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    p, li, td, th { font-size: 0.9rem; }
}

