
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000428, #004e92);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 1px;
    margin: 1em 0;
}

p {
    font-size: 1rem;
    margin: 0.5em 0;
}

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

a:hover {
    text-decoration: underline;
}

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

.parallax {
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.parallax:nth-child(odd) {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
}

.parallax:nth-child(even) {
    background-image: url('https://images.gptkong.com/demo/sample2.png');
}

.section-title {
    font-size: 2.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.code-block {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.shape {
    width: 100px;
    height: 100px;
    background-color: #ff7f50;
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    margin: 20px auto;
}

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

.button:hover {
    transform: scale(1.1);
    background-color: #ff6347;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
        height: 50vh;
    }

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

    p {
        font-size: 0.9rem;
    }
}

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

    .section-title {
        font-size: 1.8rem;
    }
}

