
/* 全局样式与背景渐变 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0D47A1, #673AB7);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}
p {
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
a {
    color: #FF9800;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #FFC107;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-section {
    height: 100vh;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.5), transparent), url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 71, 161, 0.7);
    z-index: 1;
}
.content-section {
    background: #F5F5F5;
    color: #333;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    width: 100%;
}
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.grid-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-5px);
}
.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}
.code-block {
    background: #282c34;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
}
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.button {
    background: #FF9800;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.button:hover {
    background: #FFC107;
    transform: scale(1.1);
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0D47A1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
    display: block;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

