.content-main {
    background-image: none !important; /* 覆盖原始背景图片 */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* 确保视频在最底层 */
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    transition: opacity 1s ease-in-out;
}

#live-clock {
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin: 15px 0;
    text-shadow: 0 0 5px rgba(0, 255, 249, 0.7);
}

.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glitch-effect::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip-path: inset(50% 0 50% 0);
    animation: glitch-animation-1 2.5s infinite linear alternate-reverse;
}

.glitch-effect::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip-path: inset(50% 0 50% 0);
    animation: glitch-animation-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-animation-1 {
    0%, 100% { clip-path: inset(48% 0 28% 0); }
    20% { clip-path: inset(12% 0 8% 0); }
    40% { clip-path: inset(92% 0 2% 0); }
    60% { clip-path: inset(42% 0 48% 0); }
    80% { clip-path: inset(22% 0 68% 0); }
}

@keyframes glitch-animation-2 {
    0%, 100% { clip-path: inset(78% 0 12% 0); }
    20% { clip-path: inset(4% 0 88% 0); }
    40% { clip-path: inset(82% 0 8% 0); }
    60% { clip-path: inset(32% 0 8% 0); }
    80% { clip-path: inset(52% 0 38% 0); }
}
