
/* 全局样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d1b2a, #1b263b);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 固定顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.9);
    padding: 15px 30px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 1);
}

.navbar a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #00c6ff;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.navbar a:hover::after {
    width: 100%;
}

/* 全屏菜单 */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 198, 255, 0.95);
    transition: left 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-menu.active {
    left: 0;
}

.fullscreen-menu ul {
    list-style: none;
    text-align: center;
}

.fullscreen-menu li {
    margin: 20px 0;
}

.fullscreen-menu a {
    font-size: 2em;
    color: #0d1b2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fullscreen-menu a:hover {
    color: #0072ff;
}

/* 主内容区 */
.container {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}

.article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 198, 255, 0.3);
    position: relative;
}

.article h2, .article h3 {
    color: #00c6ff;
    margin-top: 20px;
}

.article p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.article pre {
    background: #1b263b;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

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

.article img {
    max-width: 650px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 198, 255, 0.7);
}

/* 代码块样式 */
.code-block {
    background: #1b263b;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.code-block code {
    color: #00c6ff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* 按钮样式 */
.button-neon {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.7);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.button-neon:hover {
    box-shadow: 0 0 20px rgba(0, 198, 255, 1);
    transform: translateY(-5px);
}

/* 视差滚动效果 */
.parallax {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .navbar {
        padding: 10px 20px;
    }

    .fullscreen-menu a {
        font-size: 1.5em;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 提示信息样式 */
.notice {
    background: rgba(0, 198, 255, 0.2);
    padding: 15px;
    border-left: 5px solid #00c6ff;
    margin-bottom: 20px;
    border-radius: 5px;
}

.notice h4 {
    margin: 0;
    font-size: 18px;
    color: #ffffff;
}

/* 链接样式 */
.article a {
    color: #00c6ff;
    text-decoration: none;
    position: relative;
}

.article a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: #00c6ff;
    left: 0;
    bottom: -2px;
    transition: width 0.3s;
}

.article a:hover::after {
    width: 100%;
}

/* 图像网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 15px;
    margin: 20px 0;
}

.image-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 198, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 198, 255, 0.7);
}

/* 折叠区域 */
.collapsible {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.active, .collapsible:hover {
    background-color: rgba(0, 198, 255, 0.2);
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    margin-bottom: 20px;
}


