
/* 基本页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000, #1a1a40);
    color: #ffffff;
    overflow-x: hidden;
}

/* 全局样式 */
.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
    height: 100vh;
    background: radial-gradient(circle, rgb(34, 34, 34), transparent);
}

/* 导航栏样式 */
.sidebar {
    background-color: rgba(26, 26, 64, 0.9);
    padding: 20px;
    position: fixed;
    height: 100%;
    width: 20%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar a {
    color: #00ff00;
    text-decoration: none;
    margin: 15px 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #ff00ff;
}

/* 主内容区样式 */
.main-content {
    margin-left: 20%;
    padding: 40px;
    background: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    overflow-y: auto;
}

h1, h2, h3 {
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 255, 0, 0.5);
}

p, ul, pre, code {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

pre {
    background: #1a1a40;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

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

/* 按钮样式 */
.button {
    background-color: #00ff00;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto Mono', monospace;
    margin: 10px 0;
}

.button:hover {
    box-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
}

/* 图像样式 */
.image {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.7));
    margin: 20px 0;
}

/* 动画效果 */
@keyframes aurora-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    animation: aurora-move 15s linear infinite;
    background: radial-gradient(circle, rgb(255, 87, 34), transparent);
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .sidebar {
        width: 25%;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        width: 30%;
    }
}

@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
    }
    .main-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.3em;
    }
    .button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}

@media (max-width: 320px) {
    .main-content {
        padding: 10px;
    }
    h1 {
        font-size: 1.2em;
    }
    h2 {
        font-size: 1em;
    }
}

