
/* 基础样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle, rgb(33, 37, 41), rgb(13, 16, 19));
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    animation: fadeIn 2s ease-in-out;
}

h2 {
    font-size: 2rem;
    color: #4a90e2;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6c7ae0;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

li {
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
}

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

th {
    background: rgba(41, 48, 59, 0.8);
    color: #ffffff;
}

td {
    background: rgba(59, 68, 82, 0.8);
    color: #d1d1d1;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.card {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

button {
    background: linear-gradient(145deg, #4a90e2, #6c7ae0);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 1rem;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

header {
    background: linear-gradient(135deg, #4a90e2, #6c7ae0);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: aurora-move 15s linear infinite;
    transform: rotate(45deg);
}

@keyframes aurora-move {
    0% { transform: translateX(-50%) rotate(45deg); }
    100% { transform: translateX(0) rotate(45deg); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    p { font-size: 0.9rem; }
    .container { padding: 10px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    pre { font-size: 0.8rem; }
}

