
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', 'Poppins', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    background: linear-gradient(to bottom, #001f3f, #6c3483);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    font-weight: lighter;
    margin-bottom: 1rem;
}

a {
    color: #00ff99;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.highlight {
    color: #00ff99; /* 霓虹绿 */
}

.button {
    background-color: #0074d9; /* 电光蓝 */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.button:hover {
    transform: scale(1.1);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

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

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

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        flex-direction: column;
    }

    .parallax {
        height: 300px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 12px;
    }

    .parallax {
        height: 200px;
    }
}

/* 示例文章代码块样式 */
pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #00ff99;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* 提示信息样式 */
.notice {
    text-align: center;
    font-size: 12px;
    color: #cccccc;
    margin-top: 20px;
}

