
/* 全局样式定义 */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #120e43, #2c085c);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Futura', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(to right, #39ff14, #f7ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: justify;
    letter-spacing: 0.5px;
}

a {
    color: #39ff14;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #f7ff00;
}

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

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.grid-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.grid-item:hover {
    transform: scale(1.05);
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

code {
    display: block;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 5px;
    color: #39ff14;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-break: break-word;
}

pre {
    overflow-x: auto;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background: linear-gradient(to right, #39ff14, #f7ff00);
    color: #000000;
    font-weight: bold;
}

td {
    color: #ffffff;
}

.hover-effect {
    filter: blur(2px);
    transition: filter 0.3s ease-in-out;
}

.hover-effect:hover {
    filter: blur(0);
}

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

    p {
        font-size: 0.9rem;
    }

    img {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem;
    }
}

