
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a2463, #3e009c);
    color: white;
    line-height: 1.6;
    padding: 20px;
}

h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 15px;
}

p {
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

span.highlight {
    color: #4b0082;
    font-style: italic;
}

/* 玻璃拟态卡片效果 */
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

/* 网格布局 */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* 按钮样式与动效 */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/* 粒子动画 */
.particle {
    width: 5px;
    height: 5px;
    background-color: #ffffff;
    position: absolute;
    animation: particles 5s infinite;
}

@keyframes particles {
    0% { transform: translate(0, 0); }
    50% { transform: translate(50px, -50px); }
    100% { transform: translate(0, 0); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 15px;
    }
}

/* 视差滚动效果 */
.parallax {
    background-image: url('https://images.gptkong.com/demo/sample1.png'), 
                      url('https://images.gptkong.com/demo/sample2.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    margin: 20px 0;
}

/* 提示信息 */
.tip {
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 20px;
}

