
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Quantum Sans', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1rem 0;
}

h1 {
    font-size: 4rem;
    text-align: center;
    background: linear-gradient(90deg, #1cb5e0, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
}

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

.section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, #1cb5e0, #6c5ce7);
}

.menu {
    display: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ff6f61;
}

@media (max-width: 768px) {
    .menu {
        display: block;
    }
    .navbar a {
        display: none;
    }
}

/* 按钮样式 */
button {
    background: linear-gradient(90deg, #1cb5e0, #6c5ce7);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

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

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

svg {
    width: 100%;
    height: auto;
    fill: url(#gradient);
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

th {
    background: rgba(255, 255, 255, 0.1);
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #ff6f61;
    font-family: 'Courier New', Courier, monospace;
}

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

    table {
        display: block;
        overflow-x: auto;
    }
}

/* 提示文字 */
.notice {
    text-align: center;
    font-size: 1.2rem;
    color: #ff6f61;
    margin: 20px 0;
}

