/* 导航栏标题特效 */
.nav-title {
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 血滴效果 */
.blood-drip {
    position: relative;
}

.blood-drip::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: #ff0000;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.blood-drip:hover::after {
    width: 8px;
    height: 15px;
    opacity: 0.8;
    border-radius: 40% 40% 45% 45%;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    animation: drip 2s ease-in-out;
}

@keyframes drip {
    0% {
        bottom: -8px;
        border-radius: 40% 40% 45% 45%;
        height: 5px;
    }
    50% {
        height: 15px;
        border-radius: 40% 40% 45% 45%;
    }
    100% {
        bottom: -25px;
        opacity: 0;
        height: 10px;
    }
}

/* 导航链接悬停效果 */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff0000;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

/* 标题闪烁增强效果 */
.title-glitch {
    animation: textShadowPulse 2s infinite;
}

@keyframes textShadowPulse {
    0% {
        text-shadow: 0 0 4px rgba(255, 0, 0, 0.5), 0 0 10px rgba(255, 0, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 0, 0, 0.7), 0 0 15px rgba(255, 0, 0, 0.5);
    }
    100% {
        text-shadow: 0 0 4px rgba(255, 0, 0, 0.5), 0 0 10px rgba(255, 0, 0, 0.3);
    }
}

/* 彩色文字动画效果 */
.color-shift {
    animation: colorShift 4s infinite;
}

@keyframes colorShift {
    0% {
        color: #ff0000;
    }
    25% {
        color: #ff3300;
    }
    50% {
        color: #990000;
    }
    75% {
        color: #cc0000;
    }
    100% {
        color: #ff0000;
    }
}

/* 字母悬浮效果 */
.float-letter {
    display: inline-block;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}
