
/* 基础样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #000000, #1E1E3F);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #8A2BE2;
    text-shadow: 0 0 5px #32CD32;
}
p {
    font-size: 1rem;
    color: #dcdcdc;
}
a {
    color: #32CD32;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #8A2BE2;
}
code {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}
pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}
pre code {
    display: block;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #32CD32;
    background: rgba(0, 0, 0, 0.5);
}
th {
    background: #8A2BE2;
    color: #ffffff;
}
tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}
/* 特效与动画 */
.text-layer {
    position: relative;
    font-size: 2rem;
    color: #32CD32;
}
.text-layer::before {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 2px;
    color: #8A2BE2;
    z-index: -1;
    filter: blur(2px);
}
.cursor {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #32CD32, transparent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    h1, h2, h3, h4, h5, h6 {
        font-size: 1.5rem;
    }
    pre {
        font-size: 0.8em;
    }
}

