
/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}
.container {
    max-width: 1440px;
    width: 95%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.8);
}
h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
}
a {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #ff00ff;
}
button {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
}
pre {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    overflow-x: auto;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
code {
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}
.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.card:hover {
    transform: scale(1.05);
}
.img-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.img-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.img-container img:hover {
    transform: scale(1.1);
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    p, code {
        font-size: 0.9rem;
    }
    .container {
        grid-template-columns: 1fr;
    }
}

