.function {
    /* width: 80%; */
    /* max-width: 1000px; */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-container {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.method-item {
    flex: 1;
    /* min-width: 250px; */
    background: rgba(255, 255, 255, 0.15);
    /* border-radius: 15px; */
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.method-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.method-title {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    z-index: 2;
}

.method-image {
    width: 50%;
    /* height: 180px; */
    /* border-radius: 10px; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    z-index: 2;
}

.method-image img {
    max-width: 100%;
    max-height: 100%;
    /* object-fit: contain; */
    /* border-radius: 8px; */
}

.method-description {
    font-size: 0.9rem;
    /* line-height: 1.5; */
    margin-top: 0rem;
    margin-bottom: 0rem;
    opacity: 0.9;
    z-index: 2;
}

.method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
}

.method-item:nth-child(3)::before {
    background: linear-gradient(90deg, #ff8a00, #e52e71);
}

.method-item:nth-child(2)::before {
    background: linear-gradient(90deg, #00b09b, #96c93d);
}

/* 居中的Footer样式 */
.footer {
    margin-top: auto;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    /* max-width: 1000px; */
    /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
}

.footer p {
    color: rgba(129, 129, 129, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}