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

/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #222222);
    color: #ffffff;
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}
a {
    color: #4B0082;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00FFFF;
}

/* 页面布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.header {
    background: linear-gradient(90deg, #4B0082, #00FFFF);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}
.header h1 {
    font-size: 36px;
    margin: 0;
}
.header p {
    font-size: 18px;
    margin-top: 10px;
}

/* 内容模块 */
.content {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
.content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #4B0082;
    padding-bottom: 10px;
}
.content p, .content ul, .content table {
    margin-bottom: 20px;
}
.content pre {
    background: #222222;
    color: #00FFFF;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
.content code {
    font-family: 'Fira Code', monospace;
    font-size: 14px;
}
.content table {
    width: 100%;
    border-collapse: collapse;
}
.content th, .content td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}
.content th {
    background: #4B0082;
    color: #ffffff;
}

/* 按钮样式 */
button {
    background: #0000FF;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .header h1 {
        font-size: 28px;
    }
    .header p {
        font-size: 16px;
    }
    .content h2 {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .header {
        padding: 20px 10px;
    }
    .content {
        padding: 20px;
    }
}

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

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

