
/* 基本重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体和背景 */
body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0f2027, #2c5364, #203a43, #0f2027);
    color: #fff;
    overflow-x: hidden;
}

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

/* 标题样式 */
header {
    text-align: center;
    padding: 50px 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 30px;
}

header h1 {
    font-family: 'Roboto Black', sans-serif;
    font-size: 3em;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    margin-top: 10px;
    font-size: 1.2em;
    color: #a0a0a0;
}

/* 导航栏 */
nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    position: relative;
    padding: 5px 0;
}

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

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #00c6ff;
}

/* 主体内容 */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* 静态信息栏 */
.sidebar {
    flex: 1 1 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.sidebar h2 {
    font-family: 'Roboto Black', sans-serif;
    font-size: 2em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #d0d0d0;
    position: relative;
    padding-left: 20px;
}

.sidebar ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff7e5f;
}

/* 动态内容栏 */
.content {
    flex: 2 1 600px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
}

.content h2 {
    font-family: 'Roboto Black', sans-serif;
    font-size: 2em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #43cea2, #185a9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content article {
    margin-bottom: 30px;
}

.content article h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #a0e1e5;
}

.content article p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.content article pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 10px;
}

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

/* 示例数据展示 */
.sample-data {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
}

.sample-data h2 {
    font-family: 'Roboto Black', sans-serif;
    font-size: 2em;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #f12711, #f5af19);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sample-data ul {
    list-style: none;
}

.sample-data ul li {
    margin-bottom: 10px;
    font-size: 1em;
    color: #d0d0d0;
    position: relative;
    padding-left: 20px;
}

.sample-data ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #f12711;
}

/* 按钮样式 */
.button-effect {
    display: inline-block;
    padding: 10px 20px;
    background: #00c6ff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button-effect:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.7);
}

.button-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease-out, height 0.6s ease-out, opacity 0.6s ease-out;
}

.button-effect:active::before {
    width: 200px;
    height: 200px;
    opacity: 0;
}

/* 动态背景星光效果 */
.star-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* 网络节点图 */
.network-node {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    overflow: hidden;
}

.node {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00c6ff;
    border-radius: 50%;
    animation: move 10s linear infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, 100px); }
    100% { transform: translate(0, 0); }
}

/* 动画粒子Logo */
.logo-particles {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    animation: particles 5s infinite;
}

@keyframes particles {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* 响应式设计 */
@media (max-width: 1440px) {
    header h1 {
        font-size: 2.5em;
    }

    .content, .sidebar {
        flex: 1 1 100%;
    }
}

@media (max-width: 1200px) {
    .main-content {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
    }
}

@media (max-width: 1024px) {
    header {
        padding: 30px 0;
    }

    header h1 {
        font-size: 2em;
    }

    .content article h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }

    nav a {
        font-size: 0.9em;
    }

    .sidebar, .content {
        padding: 15px;
    }

    .content article h3 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    nav a {
        font-size: 0.8em;
    }

    .button-effect {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

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

    nav a {
        font-size: 0.7em;
    }

    .button-effect {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

