
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(to bottom, #000033, #1a1a4d);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Condensed', sans-serif;
    color: #39FF14;
}
p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}
a {
    text-decoration: none;
    color: #39FF14;
}
a:hover {
    color: #00ff8f;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 51, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
}
.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #39FF14;
}
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
.navbar ul li a {
    font-size: 1rem;
    transition: all 0.3s ease;
}
.navbar ul li a:hover {
    transform: scale(1.1);
}
/* 英雄区域 */
.hero {
    height: 100vh;
    background: radial-gradient(circle, rgba(0, 51, 102, 0.8), transparent),
                url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.3), transparent);
    animation: aurora-move 15s linear infinite;
}
@keyframes aurora-move {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 10px #39FF14;
}
.hero p {
    font-size: 1.2rem;
    margin-top: 1rem;
}
/* 卡片布局 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card {
    background-color: #1a1a4d;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
.card img {
    width: 100%;
    border-radius: 8px;
}
.card h3 {
    color: #39FF14;
    margin-top: 1rem;
}
/* 代码块样式 */
pre {
    background: #000033;
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}
code {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
}
/* 动态微交互 */
button {
    background-color: #39FF14;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}
button:hover {
    transform: scale(1.1);
    background-color: #00ff8f;
}
.progress-bar {
    width: 0%;
    height: 10px;
    background-color: #39FF14;
    animation: load 2s linear forwards;
}
@keyframes load {
    to {
        width: 100%;
    }
}

