
/* 页面全局样式 */
body {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1E90FF, #4682B4);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Futura', sans-serif;
    color: #007BFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

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

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

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(to right, #1E90FF, #4682B4);
    animation: flowEffect 10s infinite linear;
    z-index: -1;
    filter: blur(5px);
    opacity: 0.7;
}

@keyframes flowEffect {
    0% { background-position: 0 0; }
    100% { background-position: -100px 0; }
}

.header {
    text-align: center;
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5rem;
    margin: 0;
}

.header p {
    font-size: 1.2rem;
    margin-top: 10px;
}

.code-block {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

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

    .header h1 {
        font-size: 2rem;
    }

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