/* 自定义动画 */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes text-shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
    }
}

.animate-pulse-ring {
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-pulse-ring-delay {
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    animation-delay: 1.25s;
}

.animate-heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.animate-text-glow {
    animation: text-shimmer 2s ease-in-out infinite;
}

/* 背景噪点纹理，增加胶片感/高级感 */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9mZlR1cmJ1bGVuY2U+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
}

/* Text Obfuscation Styles */
.txt-priority-primary {
    font-size: 0 !important;
    color: transparent !important;
    user-select: none;
}

.txt-priority-primary::after {
    /* 正在匹配 */
    content: '\6b63\5728\5339\914d';
    font-size: 1.5rem;
    /* text-2xl equivalent */
    line-height: 2rem;
    color: white;
    letter-spacing: 0.2em;
    display: block;
}

.txt-priority-secondary {
    font-size: 0 !important;
    color: transparent !important;
    user-select: none;
}

.txt-priority-secondary::after {
    /* 即将开始心动之旅 */
    content: '\5373\5c06\5f00\59cb\5fc3\52a8\4e4b\65c5';
    font-size: 0.75rem;
    /* text-xs equivalent */
    line-height: 1rem;
    color: rgba(251, 207, 232, 0.6);
    /* pink-200/60 equivalent */
    font-weight: 300;
    /* font-light */
    letter-spacing: 0.1em;
    /* tracking-widest */
    text-transform: uppercase;
    display: block;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}