
/* CSS 样式代码 */
body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: linear-gradient(to bottom, #000033, #1a1a4d);
    overflow-x: hidden;
}

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

h1, h2, h3 {
    font-weight: bold;
    color: #00aaff;
    text-align: center;
    margin-top: 30px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

pre {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    overflow: auto;
    font-size: 0.9rem;
    color: #00ffaa;
    white-space: pre-wrap;
}

code {
    color: #ff007f;
    font-family: 'Courier New', Courier, monospace;
}

.button {
    display: inline-block;
    background: linear-gradient(to right, #0074ff, #8f00ff);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 10px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 170, 255, 0.5);
}

.icon {
    width: 50px;
    height: 50px;
    fill: none;
    stroke: #00aaff;
    stroke-width: 2;
    margin: 10px;
    transition: stroke 0.3s ease;
}

.icon:hover {
    stroke: #ff007f;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-item {
    color: #ffffff;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #00aaff;
}

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

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

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 170, 255, 0.5);
}

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

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    h1, h2, h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
    }
}

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

    h1, h2, h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.8rem;
    }
}

.footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(to top, #000033, #1a1a4d);
    margin-top: 50px;
}

.notice {
    font-size: 0.8rem;
    color: #aaaaaa;
    text-align: center;
    margin-top: 20px;
}

