
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #003366, #4C2F7E, #FFD7E9);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    overflow-x: hidden;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1440px;
    margin: 0 auto;
}
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
p {
    line-height: 1.6;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Courier New', Courier, monospace;
    color: #FFD7E9;
}
button {
    background-color: #4C2F7E;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}
button:hover {
    background-color: #FFD7E9;
    color: #4C2F7E;
    transform: scale(1.1);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}
th, td {
    padding: 10px;
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.1);
}
th {
    background: #4C2F7E;
}
svg {
    width: 100%;
    height: auto;
}
path {
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-dasharray: 500;
    animation: dash 5s linear infinite;
}
@keyframes dash {
    to { stroke-dashoffset: -500; }
}
.card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

