
/* CSS 样式代码 */
:root {
    --primary-color: #000080;
    --secondary-color: #4B0082;
    --accent-color: #00FFFF;
    --highlight-color: #00FF00;
    --text-color: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #000080, #4B0082);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: var(--bg-gradient);
}

h1, h2, h3 {
    font-weight: bold;
    color: #00FFFF;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

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

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

.grid-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-item {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.button {
    background-color: var(--accent-color);
    color: #000000;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #008B8B;
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    color: #00FF00;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links a {
    color: #00FFFF;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00FF00;
}

@media (max-width: 768px) {
    .grid-system {
        grid-template-columns: 1fr;
    }

    .parallax {
        height: 300px;
    }

    .code-block {
        font-size: 12px;
    }
}

.footer {
    background: rgba(0, 0, 0, 0.8);
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer a {
    color: #00FFFF;
    text-decoration: none;
    rel: "nofollow";
}

.footer a:hover {
    color: #00FF00;
}

