
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
    background: radial-gradient(circle, rgb(10, 25, 47), transparent);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 标题与副标题 */
h1, h2, h3, h4 {
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

h1 {
    font-size: 48px;
    background: linear-gradient(to right, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 36px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h3 {
    font-size: 28px;
    color: #FFD700;
}

/* 段落与文本 */
p {
    font-size: 18px;
    margin: 10px 0;
    text-align: justify;
    padding: 0 20px;
}

code {
    background-color: rgba(255, 215, 0, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    color: #FFD700;
}

pre {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    margin: 20px;
    overflow: auto;
    max-width: 90%;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* 表格样式 */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

th, td {
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

th {
    background-color: rgba(255, 215, 0, 0.2);
    color: #FFD700;
}

/* 按钮样式 */
button {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: #0A192F;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0px 5px 15px rgba(255, 215, 0, 0.5);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 1.5s ease-in-out;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    pre {
        font-size: 14px;
    }
}

/* 图片装饰 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

/* 提示文字 */
.tip {
    text-align: center;
    font-size: 14px;
    color: #FFD700;
    margin-top: 20px;
}

