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

/* 标题样式 */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

h1 {
    font-size: 3em;
    text-align: center;
    padding-top: 20px;
}

h2 {
    font-size: 2.5em;
}

h3 {
    font-size: 2em;
}

/* 容器布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 背景装饰与内容区域 */
.section {
    padding: 40px 0;
    position: relative;
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

/* 文字与段落样式 */
p {
    font-size: 1em;
    color: #f0f0f0;
}

blockquote {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-left: 5px solid #4CAF50;
    margin: 20px 0;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.button:hover {
    transform: scale(1.1);
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.4em;
    }

    p {
        font-size: 0.9em;
    }

    .button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}

/* 代码块样式 */
pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9em;
    white-space: pre-wrap;
}

code {
    color: #4CAF50;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 10px;
    border: 1px solid #4CAF50;
    text-align: center;
}

th {
    background-color: #4CAF50;
    color: white;
}

