
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000046, #1cb5e0);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: linear-gradient(to right, #1cb5e0, #ff9800);
    padding: 20px 0;
    text-align: center;
    position: relative;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
}

section {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

pre {
    background: #000;
    color: #0f0;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
    background: rgba(255, 255, 255, 0.1);
}

button {
    background: #ff9800;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background-color: #e65100;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2rem;
    }
}

/* 动态背景 */
.background-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, #000046 20%, #000046 80%, transparent 80%, transparent),
                radial-gradient(circle, transparent 20%, #000046 20%, #000046 80%, transparent 80%, transparent) 50px 50px;
    background-size: 100px 100px;
    z-index: -1;
}

/* 粒子效果容器 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* 提示信息 */
.notice {
    background: rgba(0, 0, 0, 0.8);
    color: #ffeb3b;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

