
/* 基本样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a2647, #000000);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    color: #00ff8f;
}

h1 {
    font-size: 3em;
    text-align: center;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0, 255, 143, 0.5);
}

h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

h3 {
    font-size: 2em;
    margin-bottom: 8px;
}

h4 {
    font-size: 1.5em;
    margin-bottom: 6px;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ffffff;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff8f;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.section {
    padding: 60px 0;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(135deg, #1e2a38, #0a2647);
}

.section:nth-child(odd) {
    background: linear-gradient(135deg, #0a2647, #000000);
}

.header {
    text-align: center;
    padding: 50px 0;
    background: linear-gradient(45deg, #000000, #0a2647);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.navbar a {
    color: #00ff8f;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    text-align: center;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(0, 255, 143, 0.2);
}

.feature img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.button {
    background-color: #00ff8f;
    border: none;
    padding: 15px 30px;
    font-size: 1em;
    color: #000000;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 255, 143, 0.5);
}

.button:hover {
    transform: scale(1.1);
    background-color: #00e676;
}

.button:active {
    transform: scale(0.9);
}

.article-section {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 143, 0.3);
}

.article-section h2 {
    color: #00ff8f;
    text-align: center;
    margin-bottom: 30px;
}

.article-section pre {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    color: #00ff8f;
}

.footer {
    text-align: center;
    padding: 30px 0;
    background: linear-gradient(135deg, #0a2647, #000000);
    color: #ffffff;
    position: relative;
}

.footer p {
    margin: 0;
    font-size: 1em;
}

.prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 255, 143, 0.8);
    color: #000000;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9em;
    box-shadow: 0 4px 10px rgba(0, 255, 143, 0.5);
}

@media (max-width: 1440px) {
    h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .navbar {
        gap: 20px;
    }
    .button {
        padding: 12px 25px;
    }
}

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .navbar a {
        font-size: 1em;
    }
    .feature img {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
    }
    h2 {
        font-size: 2em;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.8em;
    }
    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* 动态粒子效果 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    background-image: url('https://www.gptkong.com/static/images/particles.png');
    animation: particles 10s linear infinite;
    opacity: 0.3;
}

@keyframes particles {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}

/* 代码块样式 */
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    color: #00ff8f;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.5;
}

/* 按钮动画 */
.button {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
    background-color: #00e676;
}

/* 文章内图片 */
.article-section img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 143, 0.5);
}

/* 链接样式 */
a {
    color: #00ff8f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* 示例数据展示 */
.sample-data {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.sample-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 40px);
    box-shadow: 0 0 10px rgba(0, 255, 143, 0.3);
    transition: transform 0.3s ease;
}

.sample-item:hover {
    transform: translateY(-5px);
}

.sample-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.sample-item h4 {
    margin-top: 10px;
    color: #00ff8f;
}

.sample-item p {
    font-size: 0.9em;
    color: #ffffff;
}

