
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #1E3A8A, #6D28D9);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 40px;
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #FFC700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

header p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 10px;
}

/* 图片展示区域 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* 示例数据展示 */
.data-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.data-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.data-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.data-item h3 {
    font-size: 1.5rem;
    color: #FFC700;
    margin-bottom: 10px;
}

.data-item p {
    font-size: 1rem;
    color: #ffffff;
}

/* 文章排版样式 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.article-container h2 {
    font-size: 2.5rem;
    color: #FFC700;
    margin-bottom: 20px;
}

.article-container h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.article-container p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-container pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-container code {
    color: #FFC700;
    font-size: 1rem;
}

.article-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.article-container th, .article-container td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

.article-container th {
    background: rgba(0, 0, 0, 0.3);
}

.article-container ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.article-container li {
    font-size: 1.1rem;
    color: #ffffff;
}

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

    .image-grid {
        grid-template-columns: 1fr;
    }

    .data-list {
        grid-template-columns: 1fr;
    }

    .article-container h2 {
        font-size: 2rem;
    }

    .article-container h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .article-container pre {
        font-size: 0.9rem;
    }
}

/* 提示信息 */
.tip {
    text-align: center;
    font-size: 1rem;
    color: #FFC700;
    margin-top: 20px;
}

