
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(135deg, #000428, #004e92);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
}

/* 全屏封面 */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, rgba(255,87,34,0.5), transparent);
    animation: aurora-move 15s linear infinite;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.header p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* 内容区 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

/* 示例展示 */
.article, .data-section {
    margin-bottom: 40px;
}

.article h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.article h3, .article h4 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.article p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.article pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article pre code {
    font-family: 'Courier New', Courier, monospace;
    color: #00bfff;
    font-size: 0.9rem;
}

.article table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.article table, .article th, .article td {
    border: 1px solid #444;
}

.article th, .article td {
    padding: 10px;
    text-align: left;
}

.article th {
    background: #333;
}

.article td {
    background: #222;
}

/* 按钮样式 */
button {
    background-color: #00bfff;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
    margin: 10px;
}

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

/* 网格系统 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 交互动画 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 30px 15px;
    }
}

@media (max-width: 1024px) {
    .header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    .article h2 {
        font-size: 1.5rem;
    }
    .article h3, .article h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 1.2rem;
    }
    .container {
        padding: 20px 10px;
    }
}

/* 内部链接样式 */
a {
    color: #00bfff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 提示文字样式 */
.footer-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #aaaaaa;
}

