
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #121212, #1e1e1e);
    color: #ffffff;
    line-height: 1.6;
}
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    margin-bottom: 15px;
}
a {
    color: #6a11cb;
    text-decoration: none;
}
a:hover {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
button {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}
button:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
button:active {
    animation: ripple 0.5s ease-out;
}
@keyframes ripple {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.5); opacity: 0; }
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
}
pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    color: #6a11cb;
}
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);
}
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    table {
        display: block;
        overflow-x: auto;
    }
}

