
/* 全局样式 */
body {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    color: #ffffff;
    background: radial-gradient(circle, #000000, #1A1A1A);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #FF00FF, 0 0 15px #FF00FF;
}

a {
    color: #00FFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF00FF;
}

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

.neon-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #000000, #00FFFF, #FF00FF, #00FF00);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

.glow-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #FF00FF, #00FFFF);
    border: none;
    border-radius: 20px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.glow-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
}

.glow-button:hover::after {
    transform: translate(-50%, -50%) scale(2);
    opacity: 1;
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    margin: 20px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #FF00FF;
    padding: 10px;
    text-align: center;
}

table th {
    background-color: rgba(255, 0, 255, 0.2);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .code-block {
        font-size: 0.8rem;
    }
}

