* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ImgContainer {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    /* 居中关键代码 */
}

.ImgHeader {
    margin-bottom: 50px;
    color: white;
    animation: fadeIn 1s ease-out;
}

.ImgHeader h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ImgHeader p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.ImgGallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    perspective: 1000px;
    position: relative;
    height: 500px;
}


.img-box {
    position: relative;
    width: 250px;
    height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        border-radius 0.5s;
    transform-origin: center center;
    flex-shrink: 0;
    transform-style: preserve-3d;
    /* filter: grayscale(10%); */
}

.img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0.7;
    transition: opacity 0.4s;
}

/* 模拟图片背景 */
.img-box:nth-child(1) {
    background: url(/assets/images/teacher/ou.jpg);
    background-size: cover;
    background-position: center;
}

.img-box:nth-child(2) {
    background: url(/assets/images/teacher/lu1.png);
    background-size: cover;
    background-position: center;
}

.img-box:nth-child(3) {
    background: url(/assets/images/teacher/z.jpg);
    background-size: cover;
    background-position: left;
}

.img-box:nth-child(4) {
    background: url(/assets/images/teacher/shu.jpg);
    background-size: cover;
    background-position: right;
}



.img-box .content {
    position: absolute;
    bottom: 40px;
    left: 30px;
    text-align: left;
    z-index: 2;
    width: calc(100% - 60px);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-box h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.img-box .desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

/* 悬停效果 - 关键优化 */
.img-box:hover {
    width: 300px;
    transform: scale(1.05);
    z-index: 10;
    border-radius: 10px;
    filter: grayscale(0%);
}

.ImgGallery:hover .img-box:not(:hover) {
    filter: blur(5px);
    scale: 0.9;
}

.img-box:hover .content {
    opacity: 1;
    transform: translateY(0);
}

.img-box:hover::before {
    opacity: 0.9;
    transform: rotateX(7deg) translateY(-6px) scale(1.05);
}

.img-box::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(226deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 60%);
    transform: translateY(-100%);
    transition: transform 0.85s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.img-box:hover::after {
    transform: translateY(100%);
}


/* 非悬停项效果
.ImgGallery:hover .img-box:not(:hover) {
    transform: scale(0.95);
    filter: blur(2px) brightness(0.7);
    opacity: 0.8;
} */

.instructions {
    margin-top: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    max-width: 800px;
    margin: 50px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: slideUp 0.8s ease-out;
}

.instructions h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.optimization-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.point {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    transition: transform 0.3s, background 0.3s;
}

.point:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.point h3 {
    color: #4facfe;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.point h3::before {
    content: "✓";
    display: inline-block;
    width: 28px;
    height: 28px;
    background: #4facfe;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 28px;
    font-size: 16px;
}

.point p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer {
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .ImgGallery {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }

    .img-box {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }

    .img-box:hover {
        width: 100%;
        max-width: 500px;
        height: 350px;
    }

    .ImgHeader h1 {
        font-size: 2.2rem;
    }
}



.span-NBS-1 {
    text-decoration-line: none;
}

.p-text-tVJ-1 {
    display: inline;
    margin: 0px;
    width: 100%;
    text-align: justify;
}

.text-tVJ-1 {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 0;
    justify-content: start;
    left: 35px;
    top: 266px;
    width: 1115px;
    height: 90px;
    mix-blend-mode: normal;
    color: rgba(255, 255, 255, 1);
    font-size: 26px;
    font-weight: 300;
    opacity: 1;
    font-family: 'HarmonyOSSansSC-Light';
    letter-spacing: 0px;
    white-space: pre-wrap;
}

.text-tVJ-1-br {
    display: block;
    margin-bottom: 0px;
    overflow: hidden;
}

.span-Oel-1 {
    font-size: 36px;
    text-decoration-line: none;
}

.span-Oel-2 {
    text-decoration-line: none;
}

.span-Oel-3 {
    text-decoration-line: none;
    display: inline-block;
}

.span-Oel-4 {
    text-decoration-line: none;
}

.span-Oel-5 {
    text-decoration-line: none;
}

.p-text-uBh-2 {
    display: inline;
    margin: 0px;
    width: 100%;
    text-align: justify;
}

.text-uBh-2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 1;
    justify-content: start;
    left: 271px;
    top: 60px;
    width: 602px;
    height: 148px;
    mix-blend-mode: normal;
    color: rgba(255, 255, 255, 1);
    font-size: 26px;
    font-weight: 400;
    opacity: 1;
    font-family: 'HarmonyOSSansTC-Regular';
    letter-spacing: 0px;
    white-space: pre-wrap;
}

.text-uBh-2-br {
    display: block;
    margin-bottom: 0px;
    overflow: hidden;
}

.vec-rectangle-STy-3 {
    position: absolute;
    z-index: 2;
    left: 35px;
    top: 60px;
    width: 180px;
    height: 180px;
    mix-blend-mode: normal;
    --bg-img: var(--img-url);
    --img-url: url(/assets/images/new250603/683e67a0e6f70af319318939.png);
}

.vec-rectangle-STy-3::before {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: 1;
    background-image: var(--bg-img);
}

.img-Ytb-4 {
    position: absolute;
    z-index: 3;
    border: unset !important;
    box-shadow: unset;
    left: 226.75px;
    top: 60px;
    width: 0.5px;
    height: 148px;
    mix-blend-mode: normal;
    --bg-img: var(--img-url);
    --img-url: url(/assets/images/new250603/34249dde55bf1b44f01db4609d8fdec1218a32e3.png);
}

.img-Ytb-4::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: 1;
    background-image: var(--bg-img);
    background-size: cover;
}

.vec-rectangle-NiF-5 {
    position: absolute;
    z-index: 4;
    left: 980px;
    top: 60px;
    width: 153px;
    height: 41px;
    border-radius: 5px;
    mix-blend-mode: normal;
    box-sizing: border-box;
    opacity: 1;
}

.vec-rectangle-NiF-5::after {
    display: block;
    content: "";
    position: absolute;
    left: -0.25px;
    top: -0.25px;
    width: calc(100% + 0.5px);
    height: calc(100% + 0.5px);
    box-sizing: border-box;
    z-index: 999;
    pointer-events: none;
    border-radius: 5px;
    border: 0.5px solid rgba(255, 255, 255, 1);
}

.span-LAu-1 {
    text-decoration-line: underline;
}

.p-text-kmo-6 {
    display: inline;
    margin: 0px;
    width: 100%;
    text-align: left;
}

.text-kmo-6 {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 5;
    justify-content: start;
    left: 1010px;
    top: 62px;
    height: 29px;
    mix-blend-mode: normal;
    color: rgba(42, 130, 228, 1);
    font-size: 24px;
    font-weight: 300;
    opacity: 1;
    font-family: 'HarmonyOSSansSC-Light';
    letter-spacing: 0px;
    white-space: nowrap;
}

.text-kmo-6-br {
    display: block;
    margin-bottom: 0px;
    overflow: hidden;
}

.frame-OwT-2 {
    position: relative;
    z-index: 2;
    height: 424px;
    mix-blend-mode: normal;
    overflow: hidden;
}

.frame-OwT-2.fixed-width {
    width: 1073px;
}
