
/* 全局样式与字体定义 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0E1C36, #12274A);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFB800;
}

p {
    font-size: 16px;
    margin-bottom: 15px;
}

a {
    color: #FFB800;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 全屏滚动布局 */
.section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #12274A, #0E1C36);
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #0E1C36, #12274A);
}

/* 文章内容区域样式 */
.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    text-align: left;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

pre {
    background-color: #1E293B;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 14px;
    color: #FFB800;
}

code {
    font-family: 'Courier New', monospace;
    color: #FFB800;
}

/* 图片展示样式 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.image-gallery img:hover {
    transform: scale(1.1);
}

/* 按钮样式与动画 */
.button {
    position: relative;
    padding: 10px 20px;
    background-color: #FFB800;
    color: #0E1C36;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.button:hover::before {
    width: 200%;
    height: 200%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .section {
        padding: 10px;
    }

    .article-container {
        padding: 20px;
    }

    pre {
        font-size: 12px;
    }
}

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

    h2, h3 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }
}

/* 提示信息样式 */
.notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #FFB800;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1000;
}

