
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #121212, #1e003c);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

p {
    font-size: 16px;
    margin: 0 10px 20px;
    text-align: justify;
}

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

/* 色彩搭配与按钮样式 */
button, a {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

button:hover, a:hover {
    background-color: #ff9800;
}

a {
    rel: "nofollow";
}

/* 排版样式 */
h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 24px;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    margin: 20px 0;
}

code {
    color: #4caf50;
}

/* 图形与图标样式 */
.icon-circle {
    width: 50px;
    height: 50px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 10px auto;
    transition: transform 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.2);
}

/* 动画效果 */
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4caf50;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    p {
        font-size: 14px;
    }

    pre {
        font-size: 12px;
    }
}

/* 渐变背景 */
.background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #121212, #000000);
    z-index: -1;
}

/* 视差滚动效果 */
.parallax {
    background-image: url("https://images.gptkong.com/demo/sample5.png");
    height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 40px 0;
}

/* 提示信息 */
.notice {
    text-align: center;
    font-size: 14px;
    color: #ff9800;
    margin: 20px 0;
}

