
/* 全局样式与背景设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #120a45, #4c0bae);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

header {
    grid-column: span 12;
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #00d6ff;
    text-shadow: 0 0 10px #00ff9f;
}

/* 模块化设计 */
.module {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
}

.module h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #00d6ff;
}

.module p {
    font-size: 1rem;
    color: #e0e0e0;
}

/* 图片装饰 */
img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

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

    header h1 {
        font-size: 2rem;
    }

    .module {
        padding: 15px;
    }
}

/* 动画效果 */
@keyframes starTwinkle {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.stars {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 3s infinite ease-in-out;
}

/* 按钮样式 */
button {
    background: linear-gradient(to right, #00d6ff, #00ff9f);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    transition: transform 0.2s ease;
}

button:hover {
    transform: scale(1.1);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

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

th {
    background: rgba(255, 255, 255, 0.1);
    color: #00d6ff;
}

td {
    color: #e0e0e0;
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00ff9f;
}

code {
    color: #00d6ff;
}

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