
/* 全局样式定义 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #1E272E, #000000);
    color: #BFCBCF;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: bold;
    letter-spacing: 2px;
    color: #651FFF;
    text-align: center;
}

p {
    font-size: 16px;
    line-height: 1.8;
    margin: 10px 0;
}

code {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}

pre {
    margin: 20px 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

a {
    color: #03A9F4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #651FFF;
}

.highlight {
    color: #03A9F4;
    font-weight: bold;
}

.module {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module:hover {
    transform: scale(1.05);
}

.parallax {
    height: 400px;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center fixed;
    background-size: cover;
    transform: translateZ(0);
    perspective: 1px;
}

.shape {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #03A9F4, #651FFF);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    margin: 20px auto;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: particle 3s infinite;
}

@keyframes particle {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

button {
    background: #03A9F4;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background: #651FFF;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    text-align: left;
}

th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }

    .module {
        padding: 10px;
    }

    pre {
        font-size: 14px;
    }
}

