
/* 基础样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    margin: 20px 0;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2em;
    margin: 20px 0;
    background: linear-gradient(to right, #ff7eb9, #ff65a3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h3 {
    font-size: 1.5em;
    margin: 15px 0;
    color: #a1c4fd;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 1em;
    padding: 0 10px;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

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

.container {
    display: flex;
    flex-direction: row;
    height: 100vh;
}

.left-panel, .right-panel {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.left-panel {
    background: linear-gradient(to bottom, #1A237E, #00C853);
}

.right-panel {
    background: linear-gradient(to top, #6200EA, #AA00FF);
}

/* 示例数据展示 */
.article-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.article-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.article-container img {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 10px;
    border-radius: 5px;
}

.article-container a {
    color: #ff4081;
    text-decoration: none;
}

.article-container a[rel="nofollow"] {
    /* No additional styles */
}

.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.navigation a {
    color: #ffffff;
    margin: 0 10px;
    text-decoration: none;
}

.navigation a:hover {
    color: #ff4081;
}

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 动画效果 */
@keyframes rotate {
    from { transform: rotateY(0deg) rotateX(0deg); }
    to { transform: rotateY(360deg) rotateX(360deg); }
}

.cube {
    position: relative;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate 10s infinite linear;
    margin: 20px auto;
}

.cube div {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cube .front { transform: translateZ(50px); }
.cube .back { transform: translateZ(-50px); }
.cube .left { transform: rotateY(-90deg) translateZ(50px); }
.cube .right { transform: rotateY(90deg) translateZ(50px); }
.cube .top { transform: rotateX(90deg) translateZ(50px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(50px); }

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

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

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }
    .left-panel, .right-panel {
        flex: none;
        height: auto;
    }
    .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.4em;
    }
    p {
        font-size: 0.9em;
    }
}

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