
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #000066, #000033);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* 全局链接样式 */
a {
    color: #00ff99;
    text-decoration: none;
    rel: nofollow;
}

a:hover {
    text-decoration: underline;
}

/* 容器 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 1000;
}

.navbar .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #FFFFFF;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar ul li {
    position: relative;
}

.navbar ul li a {
    font-size: 16px;
    color: #FFFFFF;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #00ff99;
}

/* 首屏 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero-content p {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 30px;
    animation: fadeIn 2s ease-in-out 1s;
}

.scroll-arrow {
    font-size: 24px;
    color: #00ff99;
    animation: bounce 2s infinite;
}

/* 模块化网格系统 */
.section {
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.section .card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 40px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, backdrop-filter 0.3s;
}

.section .card:hover {
    transform: scale(1.05);
    backdrop-filter: blur(15px);
}

.section .card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.section .card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.section .card p {
    color: #CCCCCC;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .section .card {
        flex: 1 1 calc(50% - 40px);
    }
}

@media (max-width: 768px) {
    .section .card {
        flex: 1 1 100%;
    }
}

/* 示例数据展示 */
.sample-data {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
}

.sample-data h2 {
    font-family: 'Orbitron', sans-serif;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-align: center;
}

.sample-data pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

.sample-data code {
    color: #00ff99;
    font-family: 'Courier New', Courier, monospace;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #555555;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(0, 0, 0, 0.5);
}

td {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 响应式设计 */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 20px;
    }

    .navbar .logo {
        font-size: 20px;
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section .card {
        flex: 1 1 100%;
    }
}

