
/* 基础样式 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A1F44, #6C5CE7, #BDBDBD);
    background-size: 300% 300%;
    animation: gradient-animation 15s infinite;
    color: #ffffff;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #6C5CE7;
    margin-top: 30px;
    margin-bottom: 15px;
}
p {
    font-size: 18px;
    color: #BDBDBD;
    margin-bottom: 20px;
}
a {
    color: #FF6B6B;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #38E54D;
}
code {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 5px 10px;
    font-family: 'Courier New', monospace;
    color: #FF6B6B;
    display: inline-block;
}
pre {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

/* 卡片式布局 */
.card {
    background-color: rgba(10, 31, 68, 0.8);
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-10px);
}
.card-title {
    color: #FF6B6B;
    font-size: 28px;
    margin-bottom: 15px;
}
.card-content {
    font-size: 18px;
    color: #BDBDBD;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, #6C5CE7, #FF6B6B);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 18px;
    margin-top: 20px;
}
.button:hover {
    background: linear-gradient(to right, #FF6B6B, #6C5CE7);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    h1, h2, h3 {
        font-size: 24px;
    }
    p {
        font-size: 16px;
    }
    .card {
        padding: 15px;
    }
    .card-title {
        font-size: 22px;
    }
    pre {
        font-size: 14px;
    }
}

/* 图片装饰 */
.decorative-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* 提示信息 */
.info-box {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
    color: #38E54D;
    font-size: 16px;
}

