
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000046, #1cb5e0);
    overflow-x: hidden;
    position: relative;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #ff9100;
    text-align: center;
    margin-bottom: 20px;
}
p, li {
    color: #f0f0f0;
    font-size: 1rem;
    line-height: 1.8;
}
a {
    color: #ff9100;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ffcc00;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px auto;
}
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ffffff;
}
code {
    color: #ff9100;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}
th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
th {
    background-color: rgba(255, 145, 0, 0.2);
}
tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}
.button {
    position: relative;
    overflow: hidden;
    background-color: #ff9100;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}
.button:hover::after {
    width: 200px;
    height: 200px;
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    z-index: -1;
    animation: particle-effect 5s infinite;
}
@keyframes particle-effect {
    0% { transform: translateX(-100px); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100px); opacity: 0; }
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
    }
    pre {
        font-size: 0.8rem;
    }
}

