
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #00264d, #001a33);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 15px;
}

p, li, td, th {
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffcc00;
}

/* 容器布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
}

/* 分屏设计 */
.split-screen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.split-screen .left, .split-screen .right {
    width: 48%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .split-screen .left, .split-screen .right {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated {
    animation: fadeIn 1s ease-in-out;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff9800;
    border-radius: 50%;
    animation: move 5s infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
    100% { transform: translate(0, 0); }
}

/* 表格与代码样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #ffffff;
    text-align: left;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
    font-size: 0.9rem;
}

pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

/* 装饰性图片 */
.decorative-img {
    width: 100%;
    max-width: 320px;
    margin: 20px auto;
    border-radius: 10px;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 1.2rem;
    color: #ffcc00;
    margin: 20px 0;
}

