html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #fff;
    font-family: TEXT, "Microsoft YaHei", sans-serif;
    overflow-x: hidden;
}

@font-face {
    font-family: TEXT;
    src: url(./img/diandianxiangsutiyuanxing.ttf);
    font-display: block;
}

#bei-jing-hua-bu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.huan-xing-hu-xi-guang-yun {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(20, 20, 30, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 2;
    pointer-events: none;
    animation: hu-xi-dong-hua 8s ease-in-out infinite alternate;
}

@keyframes hu-xi-dong-hua {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.zhu-ti-nei-rong {
    position: relative;
    z-index: 3;
    width: 100%;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    box-sizing: border-box;
    position: relative;
    perspective: 1000px;
}

h2 {
    font-size: 14px;
    letter-spacing: 8px;
    color: #333;
    margin-bottom: 60px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color 0.5s;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.5s ease;
}

section:hover h2 {
    color: #666;
}

section:hover h2::after {
    width: 40px;
}

.nei-rong-qia-pian {
    max-width: 800px;
    text-align: center;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fu-dong-dong-hua 8s ease-in-out infinite;
}

@keyframes fu-dong-dong-hua {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

p {
    color: #999;
    line-height: 2.4;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.nei-rong-qia-pian:hover p {
    color: #ccc;
}

.gao-liang {
    color: #fff;
    font-weight: 400;
}

.xian-shi-dong-hua {
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.xian-shi-dong-hua.cong-zuo-fei-ru {
    transform: translateX(-50px);
}

.xian-shi-dong-hua.huo-jie.cong-zuo-fei-ru {
    opacity: 1;
    transform: translateX(0);
}

.xian-shi-dong-hua.cong-you-fei-ru {
    transform: translateX(50px);
}

.xian-shi-dong-hua.huo-jie.cong-you-fei-ru {
    opacity: 1;
    transform: translateX(0);
}

.xian-shi-dong-hua.cong-xia-sheng-qi {
    transform: translateY(50px);
}

.xian-shi-dong-hua.huo-jie.cong-xia-sheng-qi {
    opacity: 1;
    transform: translateY(0);
}

.xian-shi-dong-hua.suo-fang-chu-xian {
    transform: scale(0.9);
    opacity: 0;
}

.xian-shi-dong-hua.huo-jie.suo-fang-chu-xian {
    transform: scale(1);
    opacity: 1;
}

#shou-ye h1 {
    font-size: 100px;
    font-weight: 100;
    letter-spacing: 15px;
    margin: 0;
    opacity: 0.8;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}
#pian-duan .nei-rong-qia-pian {
    background: transparent;
    border: none;
    backdrop-filter: none;
    animation: none;
    max-width: 800px;
    text-align: left;
    padding: 0;
}

.pian-duan-ka-pian {
    font-size: 16px;
    padding: 26px 0;
    text-align: left;
    transition: background 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.pian-duan-ka-pian:hover {
    background: transparent;
    color: #fff;
}

.pian-duan-ka-pian:hover p {
    color: #fff;
}

.pian-duan-ri-qi {
    font-size: 12px;
    color: #555;
    margin-bottom: 8px;
    font-family: monospace;
}

.lian-xi-an-niu {
    display: inline-block;
    margin: 15px;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #888;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    letter-spacing: 2px;
    border-radius: 30px;
}

.lian-xi-an-niu:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.tou-xiang-dai-ti {
    width: 120px;
    height: 120px;
    background-image: url('./img/pic.jpg');
    background-size: cover;
    background-position: center;
    background-color: #111;
    border-radius: 50%;
    margin: 0 auto 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.tou-xiang-dai-ti:hover {
    border-color: #666;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.dao-hang-rong-qi {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 100vh;
    pointer-events: none;
    z-index: 100;
}

.dao-hang-chu-fa-qi {
    position: absolute;
    top: 80px;
    left: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.dao-hang-chu-fa-qi::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
}

.dao-hang-chu-fa-qi::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: rgba(255, 255, 255, 0.8);
    transition: all 0.5s ease;
    animation: xuan-zhuan-dong-hua 4s linear infinite;
}

.dao-hang-rong-qi:hover .dao-hang-chu-fa-qi {
    transform: scale(1.1);
}

.dao-hang-rong-qi:hover .dao-hang-chu-fa-qi::after {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

.dao-hang-rong-qi:hover .dao-hang-chu-fa-qi::before {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.6);
    border-top-color: #fff;
    animation: xuan-zhuan-dong-hua 1s linear infinite;
}

@keyframes xuan-zhuan-dong-hua {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.zhe-zhe-ceng {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 99;
    pointer-events: none;
}

.dao-hang-rong-qi:hover .zhe-zhe-ceng {
    opacity: 1;
    visibility: visible;
}

.dao-hang-cai-dan {
    position: fixed;
    top: 20px;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: transparent;
    padding: 180px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 101;
    pointer-events: auto;
    transition: left 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.dao-hang-rong-qi:hover .dao-hang-cai-dan {
    left: 0;
}

.dao-hang-lian-jie {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.dao-hang-rong-qi:hover .dao-hang-lian-jie {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.dao-hang-rong-qi:hover .dao-hang-lian-jie:nth-child(1) {
    transition-delay: 0.1s;
}

.dao-hang-rong-qi:hover .dao-hang-lian-jie:nth-child(2) {
    transition-delay: 0.2s;
}

.dao-hang-rong-qi:hover .dao-hang-lian-jie:nth-child(3) {
    transition-delay: 0.3s;
}

.dao-hang-rong-qi:hover .dao-hang-lian-jie:nth-child(4) {
    transition-delay: 0.4s;
}

.dao-hang-lian-jie:hover {
    color: #fff;
    transform: translateX(15px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.dao-hang-lian-jie::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 50%;
    height: 0%;
    width: 2px;
    background: #fff;
    transition: height 0.3s ease;
}

.dao-hang-lian-jie:hover::before {
    height: 100%;
}

.er-wei-ma-tian-chuang {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: dan-chu 0.3s ease-out forwards;
}

@keyframes dan-chu {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.er-wei-ma-bei-jing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.er-wei-ma-kuang-jia {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 90%;
    animation: shang-sheng 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes shang-sheng {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.er-wei-ma-tu-pian {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.er-wei-ma-wen-zi {
    color: #333;
    margin: 15px 0 0 0;
    font-size: 14px;
    letter-spacing: 1px;
}