
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 容器布局 */
.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
}

@media (max-width: 1440px) {
    .container {
        padding: 30px;
    }
}

@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

@media (max-width: 320px) {
    .container {
        grid-template-columns: 1fr;
        padding: 5px;
    }
}

/* 左侧内容样式 */
.left-panel {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.left-panel h1, .left-panel h2, .left-panel h3 {
    font-family: 'Roboto Mono', monospace;
    color: #00ffff;
}

.left-panel p, .left-panel li, .left-panel table {
    font-size: 16px;
    line-height: 1.6;
}

.left-panel a {
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.left-panel a:hover {
    color: #ff6600;
}

/* 右侧内容样式 */
.right-panel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.right-panel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* 动态3D场景占位 */
#threejs-scene {
    width: 100%;
    height: 100%;
    background: #000000;
}

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

.example-section h2 {
    font-family: 'Roboto Mono', monospace;
    color: #00ffcc;
}

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

.example-section code {
    font-family: 'Courier New', Courier, monospace;
    color: #ff99cc;
}

/* 提示样式 */
.footer-note {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    font-size: 14px;
    border-top: 1px solid #ffffff;
}

/* 按钮样式 */
.button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px;
}

.button:hover {
    background-color: #0056b3;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ffffff;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: rgba(0, 0, 0, 0.6);
}

td {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 图标与微动画 */
.icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.icon:hover {
    transform: scale(1.2);
}

/* 动态数据流动效果 */
.data-flow {
    animation: flow 5s linear infinite;
}

@keyframes flow {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* 手势控制样式 */
.touch-control {
    touch-action: pan-x pan-y;
}

/* 卡片式布局 */
.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
}

/* 清晰的字体与留白 */
h1, h2, h3, p {
    margin: 10px 0;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* 示例数据展示专用样式 */
.demo-data {
    font-style: italic;
    color: #ffde00;
}

