
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F3D, #000000);
    color: #C0C0C0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
p {
    font-size: 1rem;
    margin: 1em 0;
}
a {
    color: #34C759;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FF9500;
}
section {
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
section:nth-child(even) {
    background: linear-gradient(135deg, #000000, #0A1F3D);
}
/* 按钮样式 */
button {
    background-color: #34C759;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}
/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
img:hover {
    transform: scale(1.05);
}
/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}
th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background-color: #34C759;
    color: #000000;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}
/* 代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}
code {
    color: #C0C0C0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}
/* 响应式设计 */
@media (max-width: 768px) {
    section {
        padding: 20px;
    }
    h1 {
        font-size: 2rem;
    }
    table {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
section > * {
    animation: fadeIn 1s ease-in-out;
}

