
/* 基础样式设置 */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1A237E, #0D47A1);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    margin-top: 20px;
    margin-bottom: 10px;
}
a {
    text-decoration: none;
    color: #00C853;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFC107;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
}
code {
    background-color: rgba(0, 0, 0, 0.7);
    color: #00BFFF;
    padding: 5px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
pre {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #FFFFFF;
    padding: 10px;
    text-align: left;
}
th {
    background-color: #0074D9;
}
td {
    background-color: rgba(255, 255, 255, 0.1);
}
.title {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
}
.module {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
}
.shape {
    width: 100px;
    height: 100px;
    background-color: #00BFFF;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    margin: 0 auto;
    transition: transform 0.3s ease;
}
.shape:hover {
    transform: scale(1.2);
}
.button {
    background-color: #00C853;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.button:hover {
    background-color: #FFC107;
}
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.navbar a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}
.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00C853;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.navbar a:hover::after {
    transform: scaleX(1);
}
.footer {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .module {
        grid-template-columns: 1fr;
    }
    .navbar {
        flex-direction: column;
    }
}

