
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #004AAD, #FF69B4);
    color: #EAEAEA;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004AAD, #8F00FF);
    background-size: 400% 400%;
    animation: gradient-animation 10s ease infinite;
    z-index: -1;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.subtitle {
    font-size: 1.5rem;
    color: #00FF9B;
    margin-bottom: 30px;
    text-align: center;
}
.card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 400px;
}
.card:hover {
    transform: translateY(-5px);
}
.card-title {
    font-size: 1.5rem;
    color: #00FF9B;
    margin-bottom: 10px;
}
.card-text {
    font-size: 1rem;
    color: #EAEAEA;
}
.code-block {
    background-color: rgba(0, 0, 0, 0.5);
    color: #00FF9B;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    margin: 15px 0;
}
.button {
    background-color: #00FF9B;
    color: #000000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.button:hover {
    background-color: #00CC7A;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}
.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .title {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .card {
        padding: 15px;
    }
}

