.hero {
    min-height: 40vh;
}

.hero-bg {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-subtitle {
    padding-top: 20px;
}

/* Tabs Section */
.tabs {
    padding: 3rem 2rem 4rem;
    background: #1A1A1A;
}

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

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.tab-item {
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: 0.1rem;
    cursor: pointer;
    transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
    transform-origin: center bottom;
    opacity: 0.9;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    /* border-radius: 10px; */
    padding: 0.5rem 1rem;

    background: #000000;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

}

.tab-item:hover {
    transform: scale(1.06);
    color: #6B8857;
    opacity: 1;
}

.tab-item.active {
    color: #6B8857;
    transform: scale(1.08);
    background: #373737;
    box-shadow: 10px 10px 4px rgba(0, 0, 0, 0.25);

}

.tab-panels {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel-inner {
    margin-bottom: 30px;
    padding: 2rem;
    padding: 9px 23px;
    background: #000000;
    border: 1px solid #000000;
    border-radius: 29px;
    /* 关键：给所有“会变化”的属性加过渡 */
    transition: transform .25s ease,
        box-shadow .25s ease;
}

.tab-panel-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .35);
}

.tab-panel-inner .subTitle {
    font-weight: 400;
    font-size: 18px;
}

.link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #6B8857;
    font-size: 24px;
}

.recoWrap {
    display: flex;
}

.reco {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 10px;
}

.recoImg {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 8px;
}

.videoWrap {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

.videoWrap>a {
    display: flex;
    flex-direction: column;
}

.videoItem {
    background: #000000;
    border-radius: 15px;
    width: 480px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.videoImg {
    height: 300px;
    padding: 15px;
}

.videoTitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 15px;
    background: rgba(107, 136, 87, 0.5);
    border-radius: 0px 0px 15px 15px;
    flex: 1;
}

@media (max-width: 768px) {
    .tabs {
        padding: 2rem 1rem;
    }

    .tab-item {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .tab-panel-inner {
        padding: 15px;
        border-radius: 15px;
    }

    .recoWrap {
        flex-direction: column;
    }

    .reco {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .videoWrap {
        flex-direction: column;
        padding-bottom: 0px;
    }

    .videoItem {
        margin-bottom: 30px;
        width: 100%;
    }

    .videoImg {
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .subTitle {
        font-size: 14px !important;
    }

    .tab-panel-inner h3 {
        font-size: 18px;
    }
}