
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* 全局样式 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0047ab, #6a0dad, #1c1c1c);
    color: #fff;
    line-height: 1.6;
    animation: aurora-move 15s linear infinite;
    overflow-x: hidden;
}

@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #ff9f1c;
}

p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1.2rem;
}

code {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: #00ff99;
    overflow-x: auto;
}

pre {
    margin: 20px 0;
    padding: 0;
}

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

.sidebar {
    background: radial-gradient(circle, #333, transparent);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

/* 按钮与交互 */
.button {
    background: #ff9f1c;
    color: #1c1c1c;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    background: #ff6f61;
}

/* 图片装饰 */
.image-decor {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.image-decor:hover {
    opacity: 1;
}

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

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

th {
    background: #ff9f1c;
    color: #1c1c1c;
}

td {
    color: #e0e0e0;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

li  {
     height: 40px;    float: left;    margin-right: 2px;
}

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

    h1, h2, h3, h4 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .button {
        width: 100%;
        padding: 12px;
    }

    table {
        font-size: 0.9rem;
    }
}

