
/* 页面通用样式 */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #03071e, #370617, #6a040f, #9d0208, #d00000, #dc2f02, #e85d04, #f48c06, #faa307, #ffba08);
    background-size: 400% 400%;
    animation: gradientAnimation 30s ease infinite;
    color: #fff;
    overflow-x: hidden;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

/* 头部区域样式 */
header {
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px #000;
    color: #f72585; /* 霓虹粉 */
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    color: #90e0ef; /* 浅蓝色 */
    margin-bottom: 20px;
}

/* 核心内容区域样式 */
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 30px 0;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    width: calc(33% - 40px); /* 三列布局，考虑间距 */
    min-width: 300px; /* 最小宽度 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    backdrop-filter: blur(10px); /* 毛玻璃效果 */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.feature-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover; /* 图像填充方式 */
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 0 5px rgba(255, 105, 180, 0.3); /* 图片边框 */
}

.feature-card h3 {
    font-size: 1.8em;
    color: #b9f2ff; /* 亮青色 */
    margin-bottom: 15px;
    text-align: center;
}

.feature-card p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #d8f2ff; /* 淡青色 */
    text-align: center;
}

/* 示例数据展示区域样式 */
.example-data-section {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 40px 20px;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-data-section h2 {
    font-size: 2.5em;
    color: #ffb3ba; /* 淡粉色 */
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px #000;
}

.data-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.data-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-item h4 {
    font-size: 1.6em;
    color: #a2d2ff; /* 浅蓝色 */
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px #000;
}

.data-item p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #cce3de; /* 浅绿色 */
}

.data-item strong {
    color: #ffccd5; /* 浅粉色 */
}

/* 示例文章展示区域样式 */
.article-section {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 40px 20px;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    word-wrap: break-word; /* 文章内容文字自动换行 */
}

.article-section h2, .article-section h3, .article-section h4 {
    color: #ff70a6; /* 鲜艳粉色 */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px #000;
}

.article-section h2 {
    font-size: 2.2em;
}

.article-section h3 {
    font-size: 1.8em;
}

.article-section h4 {
    font-size: 1.4em;
}

.article-section p, .article-section li {
    font-size: 1.1em;
    line-height: 1.7;
    color: #e0fbfc; /* 非常浅的青色 */
}

.article-section ul {
    padding-left: 30px;
}

.article-section pre {
    background-color: rgba(0, 0, 0, 0.8);
    color: #baffc9; /* 亮绿色 */
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto; /* 代码块水平滚动 */
    white-space: pre-wrap; /* 代码块文字自动换行 */
    word-wrap: break-word; /* 代码块单词过长时换行 */
    font-family: monospace, monospace; /* 等宽字体 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-section code {
    font-family: monospace, monospace;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 30px 20px;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .container {
        padding: 15px;
    }
    .feature-card {
        width: calc(50% - 30px); /* 两列布局 */
        min-width: auto;
    }
    .main-content {
        justify-content: center; /* 居中对齐 */
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    header p {
        font-size: 1em;
    }
    .feature-card {
        width: calc(100% - 40px); /* 一列布局 */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    .feature-card {
        padding: 20px;
        margin: 15px;
    }
    .feature-card h3 {
        font-size: 1.5em;
    }
    .example-data-section, .article-section {
        padding: 30px 15px;
    }
    .example-data-section h2 {
        font-size: 2em;
    }
    .article-section h2 {
        font-size: 1.8em;
    }
    .article-section h3 {
        font-size: 1.5em;
    }
    .article-section p, .article-section li {
        font-size: 1em;
    }
}

@media (max-width: 320px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 0.9em;
    }
    .feature-card {
        padding: 15px;
    }
    .feature-card h3 {
        font-size: 1.3em;
    }
    .example-data-section h2 {
        font-size: 1.8em;
    }
    .article-section h2 {
        font-size: 1.6em;
    }
    .article-section h3 {
        font-size: 1.4em;
    }
}

