
/* 全局样式设置 */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #000033, #330066);
    color: #ffffff;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Mono', monospace;
    color: #39FF14;
    text-shadow: 0px 0px 5px #39FF14;
}

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

a:hover {
    color: #00FFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 5px 15px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.highlight {
    color: #39FF14;
    text-shadow: 0px 0px 5px #39FF14;
}

.button {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: 1px solid #39FF14;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.button:hover::before {
    width: 200%;
    height: 200%;
}

pre {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    color: #39FF14;
    font-family: 'Roboto Mono', monospace;
}

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

    h1, h2, h3, h4, h5, h6 {
        font-size: 1.2em;
    }

    p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .card {
        padding: 15px;
    }

    pre {
        font-size: 0.8em;
    }
}

