
/* 全局样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #1E272E, #8E44AD);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
    margin-top: 40px;
}

p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 20px;
}

a {
    color: #00ff99;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
}

code, pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #00ff99;
}

pre {
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ffffff;
    padding: 10px;
    text-align: left;
    color: #ffffff;
}

th {
    background-color: #8E44AD;
}

.split-screen {
    display: flex;
    height: 100vh;
    margin: 40px 0;
}

.split-screen .left, .split-screen .right {
    flex: 1;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.split-screen .left {
    background: linear-gradient(135deg, #1E272E, #34495E);
}

.split-screen .right {
    background: linear-gradient(135deg, #8E44AD, #9B59B6);
}

.node {
    width: 50px;
    height: 50px;
    background-color: #00ff99;
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
}

.node::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed white;
    border-radius: 50%;
}

.button {
    background-color: #1E272E;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background-color: #00ff99;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .split-screen {
        flex-direction: column;
        height: auto;
    }

    .split-screen .left, .split-screen .right {
        height: auto;
        padding: 20px;
    }
}

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

    p, code, pre {
        font-size: 14px;
    }
}

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

    p, code, pre {
        font-size: 12px;
    }

    .container {
        padding: 10px;
    }
}

