
/* 全局样式 */
body {
    background: linear-gradient(to bottom, #002366, #0044CC);
    color: white;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header {
    text-align: center;
    margin-bottom: 40px;
}
.header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #0074D9;
    margin: 0;
}
.header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
}
.grid-item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
    color: #333;
}
.grid-item:hover {
    transform: scale(1.05);
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* 按钮样式 */
.button {
    padding: 10px 20px;
    background-color: #0074D9;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}
.button:hover {
    background-color: #0052A3;
    transform: translateY(-2px);
}
.button:active {
    transform: translateY(0);
}

/* 文章排版 */
article {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 1200px;
}
article h2 {
    font-family: 'Orbitron', sans-serif;
    color: #0074D9;
    margin-top: 0;
}
article pre {
    background: #f4f4f4;
    color: #333;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}
article table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
article th, article td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
article th {
    background-color: #0074D9;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    article {
        padding: 10px;
    }
}

