.mac-pic-module {
    width: 397px;
    height: 70px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.mac-pic-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 397px);
    gap: 5px; /* 改为5px间隔 */
    justify-content: center;
    padding: 10px;
}

.mac-pic-bg {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mac-pic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(8px) brightness(0.8);
    z-index: 1;
}

.mac-pic-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.mac-pic-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mac-pic-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* 手机模式 */
@media (max-width: 768px) {
    .mac-pic-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 5px; /* 手机模式也是5px间隔 */
        padding: 10px;
    }
    
    .mac-pic-module {
        width: 100%;
        max-width: 397px;
        margin: 0 auto;
    }
    
    .mac-pic-link {
        width: 95%;
        height: 60px;
    }
}