
/* 全局样式与背景渐变 */
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0A2E4F, #1D5C8C, #3B0F6F);
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    font-weight: bold;
    color: #00FFB3;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}
p {
    font-family: 'Helvetica', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #E0E0E0;
}
a {
    color: #00FFB3;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
a:hover {
    color: #00C853;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.image-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
.code-block {
    background: rgba(0, 0, 0, 0.7);
    color: #00FFB3;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    h1, h2, h3, h4 {
        font-size: 1.5rem;
    }
    p {
        font-size: 0.9rem;
    }
}
/* 按钮样式 */
button {
    background: #00FFB3;
    color: #0A2E4F;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
button:hover {
    background: #00C853;
    transform: scale(1.05);
}
button:active {
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}
/* 动态粒子效果 */
.particle-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('https://images.gptkong.com/demo/sample1.png'), 
                url('https://images.gptkong.com/demo/sample2.png'),
                linear-gradient(135deg, #0A2E4F, #1D5C8C, #3B0F6F);
    background-size: 20%, 20%, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    animation: moveParticles 10s infinite alternate;
}
@keyframes moveParticles {
    0% {
        background-position: 0% 50%, 100% 50%;
    }
    100% {
        background-position: 100% 50%, 0% 50%;
    }
}

