
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Mono', monospace;
    background: radial-gradient(circle, rgba(18, 18, 18, 1) 0%, rgba(0, 0, 0, 1) 100%);
    color: #00FF99;
    overflow-x: hidden;
    background-image: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png');
    background-size: cover, contain;
    background-attachment: fixed, scroll;
    background-position: center, bottom;
}

/* 视觉效果动画 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    animation: aurora-move 15s linear infinite;
}

/* 侧边栏导航 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5);
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: #FF6F61;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.sidebar ul li a:hover {
    color: #00FF99;
}

/* 主内容区域 */
.main-content {
    margin-left: 270px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    border-radius: 10px;
}

/* 标题样式 */
h1, h2, h3 {
    text-align: center;
    color: #FFB48F;
    text-shadow: 0 0 10px #FF6F61, 0 0 20px #FFB48F;
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    font-size: 2em;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* 段落与文本 */
p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* 代码块样式 */
pre {
    background: rgba(0, 255, 153, 0.1);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: #00FF99;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

code {
    color: #00FF99;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* 按钮样式 */
button {
    background-color: #00FF99;
    color: #121212;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

button:hover {
    background-color: #FFB48F;
    transform: scale(1.1);
}

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

a:hover {
    color: #00FF99;
}

/* 模块化布局 */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    margin-top: 30px;
}

.module {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.module::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 240px;
        padding: 30px;
    }

    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.8em;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        width: 200px;
    }

    .main-content {
        margin-left: 220px;
        padding: 25px;
    }

    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.6em;
    }
}

@media (max-width: 1024px) {
    .sidebar {
        width: 180px;
    }

    .main-content {
        margin-left: 200px;
        padding: 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.6em;
    }

    h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .main-content {
        margin-left: 20px;
        padding: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    h3 {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    h3 {
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }
}

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

    h2 {
        font-size: 1em;
    }

    h3 {
        font-size: 0.9em;
    }

    p {
        font-size: 0.9em;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: #00FF99;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FF6F61;
}

/* 提示信息样式 */
.reference-note {
    text-align: center;
    font-size: 1em;
    color: #FF6F61;
    margin-top: 20px;
}

/* 图表与动画 */
.data-stream {
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: #00FF99;
    animation: dataFlow 2s infinite;
}

@keyframes dataFlow {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* 按钮动画 */
button {
    position: relative;
    overflow: hidden;
}

button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

button:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

