
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #121212, #1a237e);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

a {
    color: #ffeb3b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b2ff59;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

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

/* 标题与顶部提示 */
.header {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #1a237e, #283593);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 2.5rem;
    color: #b2ff59;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1rem;
    color: #eeeeee;
    margin-bottom: 0;
}

/* 色彩渐变区域 */
.color-block {
    background: linear-gradient(135deg, #121212, #1a237e, #283593);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 模块化布局 */
.module {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.module-item:hover {
    transform: translateY(-5px);
}

/* 动画效果 */
@keyframes particle-diffusion {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffeb3b;
    border-radius: 50%;
    animation: particle-diffusion 3s infinite;
}

/* 按钮样式 */
.button {
    background-color: #1a237e;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #ffeb3b;
    color: black;
}

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    h1, h2, h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 0.9rem;
    }
}

