
/* CSS 样式代码 */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #fff;
    background: linear-gradient(to bottom, #1e1e2d, #3f3cbb);
}

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

h1, h2, h3, h4 {
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    color: #68e0cf;
}

h2 {
    font-size: 2.5rem;
    color: #ff9f43;
}

h3 {
    font-size: 2rem;
    color: #ff6f61;
}

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

em {
    font-style: italic;
    color: #ff9f43;
}

pre {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    overflow-x: auto;
}

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

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    margin: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

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

.hover-effect {
    position: relative;
    overflow: hidden;
}

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

.hover-effect:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

.section-background {
    background: radial-gradient(circle, #1b1b32, #3f3cbb);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%;
    }
}

