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

h1, h2, h3, h4 {
    font-weight: 700;
    color: #6C5CE7;
}

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

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

a:hover {
    color: #FFFFFF;
}

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

.module {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.3), rgba(56, 229, 77, 0.3));
    z-index: -1;
    opacity: 0.5;
}

.highlight {
    color: #38E54D;
    font-weight: bold;
}

.image-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.image-box img {
    width: calc(50% - 7.5px);
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-box img:hover {
    transform: scale(1.05);
}

.button {
    display: inline-block;
    background: #6C5CE7;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
    background: #38E54D;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    margin: 40px 0;
    position: relative;
}

.parallax::after {
    content: '这是一个网页样式设计参考';
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .image-box img {
        width: 100%;
    }

    .module {
        padding: 15px;
    }

    p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4 {
        font-size: 1.5em;
    }

    .container {
        padding: 10px;
    }
}

