
/* 全局样式定义 */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #121212, #0f0f0f);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #ffffff;
    margin-top: 2rem;
}

a {
    color: #6c5ce7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #34eb9e;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section {
    flex: 1 1 calc(50% - 20px);
    margin: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

pre {
    background: #1d1d1d;
    color: #ffffff;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #34eb9e;
    font-size: 0.9em;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

th {
    background: linear-gradient(90deg, #6c5ce7, #34eb9e);
    color: #ffffff;
}

td {
    background: rgba(255, 255, 255, 0.05);
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .section {
        flex: 1 1 100%;
    }

    h1, h2, h3, h4 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }
}

.animation-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 20px auto;
}

.circle-outer {
    stroke: #6c5ce7;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    animation: dash 2s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.button {
    background: #6c5ce7;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background: #34eb9e;
}

