
/* 全局样式定义 */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0A0A1A 0%, #121224 100%);
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    color: #00D8FF;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
p, li, code, pre {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
a {
    color: #6F3FF5;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #00D8FF;
}
code {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}
pre {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}
.container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card {
    background: linear-gradient(135deg, #1E1E3C 0%, #2A2A4A 100%);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 1rem;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.button {
    position: relative;
    background: linear-gradient(135deg, #6F3FF5 0%, #00D8FF 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    transition: width 0.3s ease, height 0.3s ease;
}
.button:hover::before {
    width: 200%;
    height: 200%;
}
/* 响应式布局 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        order: 2;
    }
}
@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
    }
    .card {
        padding: 0.8rem;
    }
}

