.mouse-follower {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, opacity 0.3s ease;
    z-index: 9999;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23c2a971' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0L14.59 9.41L24 12L14.59 14.59L12 24L9.41 14.59L0 12L9.41 9.41L12 0Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.mouse-follower.hover {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 0L14.59 9.41L24 12L14.59 14.59L12 24L9.41 14.59L0 12L9.41 9.41L12 0Z'/%3E%3C/svg%3E");
}

.nav-hover-effect {
    position: relative;
    animation: navPulse 0.5s ease-in-out;
    text-shadow: 0 0 0.3125rem rgba(239, 202, 138, 0.8);
}

@keyframes navPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(1.875rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.img-hover-container {
    overflow: hidden;
    display: inline-block;
}

.img-hover-container img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.img-hover-container:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #101010;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.loader-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content span {
    display: inline-block;
    font-family: "微软雅黑", Arial, sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #c2a971;
    margin: 0 0.3125rem;
    animation: loaderPulse 1.5s infinite alternate;
}

.loader-content span:nth-child(1) {
    animation-delay: 0s;
    color: #873228;
}

.loader-content span:nth-child(2) {
    animation-delay: 0.25s;
    color: #c2a971;
}

.loader-content span:nth-child(3) {
    animation-delay: 0.5s;
    color: #daa64a;
}

.loader-content span:nth-child(4) {
    animation-delay: 0.75s;
    color: #873228;
}

.loader-content span:nth-child(5) {
    animation-delay: 1s;
    color: #c2a971;
}

.loader-content span:nth-child(6) {
    animation-delay: 1.25s;
    color: #daa64a;
}

@keyframes loaderPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; }
}

a:not(#nav a) {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover:not(#nav a) {
    text-shadow: 0 0 0.1875rem rgba(239, 202, 138, 0.5);
}

.idx-down {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.idx-down:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.idx-down:hover:before {
    left: 100%;
}

.idx-p3 h2, .idx-p5 h2, .idx-p6 h2, .idx-p7 h2, .idx-p8 h2 {
    position: relative;
    display: inline-block;
}

.idx-p3 h2:after, .idx-p5 h2:after, .idx-p6 h2:after, .idx-p7 h2:after, .idx-p8 h2:after {
    content: '';
    position: absolute;
    bottom: -0.1875rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background-color: #c2a971;
    transition: width 0.5s ease;
}

.idx-p3:hover h2:after, .idx-p5:hover h2:after, .idx-p6:hover h2:after, .idx-p7:hover h2:after, .idx-p8:hover h2:after {
    width: 100%;
}

@media (max-width: 47.9375rem) {
    .mouse-follower {
        display: none;
    }
    
    .loader-content span {
        font-size: 2rem;
        margin: 0 0.1875rem;
    }
    
    .animate-on-scroll {
        transform: translateY(1.25rem);
    }
}
