
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to right, #0A2463, #FF7F50);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
p {
    font-size: 1em;
    margin-bottom: 1rem;
}
a {
    color: #FFC0CB;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}
code {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: #FFD700;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.header {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover, linear-gradient(to bottom, #0A2463, #1E3A8A);
}
.header h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: particle-animation 2s infinite;
}
@keyframes particle-animation {
    0% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
    100% { transform: translate(0, 0); }
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}
.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-10px);
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
.button {
    position: relative;
    overflow: hidden;
    background-color: #FF7F50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}
.button:hover {
    background-color: #FFA07A;
}
.button:hover::before {
    width: 200px;
    height: 200px;
}
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

