
/* 基础样式设置 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    background: linear-gradient(135deg, #282c34, #1f2229);
    color: #e0e0e0;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(45deg, #6495ed, #ff7f50);
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    position: relative;
    overflow: hidden;
}
header h1 {
    font-size: 2.5rem;
    margin: 0;
}
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(-45deg);
    animation: shine 5s infinite;
}
@keyframes shine {
    0% { transform: rotate(-45deg) translateX(-100%); }
    100% { transform: rotate(-45deg) translateX(100%); }
}
.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.grid-item:hover {
    transform: translateY(-10px);
}
.grid-item img {
    max-width: 100%;
    border-radius: 5px;
}
h2, h3 {
    font-family: 'MonoLisa', serif;
    color: #6495ed;
}
p {
    font-size: 1rem;
    color: #dcdcdc;
}
pre {
    background: #1e1e1e;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Roboto Mono', monospace;
    color: #64ffda;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
th, td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}
th {
    background: #333;
    color: #ff7f50;
}
ul {
    list-style-type: disc;
    padding-left: 20px;
}
button {
    background-color: #ff7f50;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}
button:hover {
    background-color: #ff5e3a;
}
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
    pre {
        font-size: 0.9rem;
    }
}

