
/* 页面基础样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A192F, #64FFDA);
    color: white;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #64FFDA;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: #8892B0;
    margin-bottom: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.module {
    flex: 1 1 calc(33.33% - 20px);
    background: rgba(136, 146, 176, 0.2);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.module img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.button {
    display: inline-block;
    background-color: #64FFDA;
    color: #0A192F;
    font-size: 1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.button:hover {
    transform: scale(1.1);
    background-color: #0A192F;
    color: #64FFDA;
}

code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    color: #64FFDA;
}

pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

@media (max-width: 1024px) {
    .module {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .module {
        flex: 1 1 100%;
    }
}

.parallax {
    height: 400px;
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 40px;
}

.inspiration-word span {
    animation: fadeIn 0.5s ease-in-out;
    opacity: 0;
    display: inline-block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    font-size: 0.9rem;
    color: #8892B0;
    margin-top: 40px;
}

