/* Aurora Cyberpunk User Custom Styles */
@charset "utf-8";

/* 额外增强样式 - 浮动粒子效果 */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.6), transparent);
    animation: particleFloat 15s infinite ease-in-out;
    opacity: 0;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* 卡片加载交错动画延迟 */
.stui-vodlist li:nth-child(1) { animation-delay: 0.05s; }
.stui-vodlist li:nth-child(2) { animation-delay: 0.1s; }
.stui-vodlist li:nth-child(3) { animation-delay: 0.15s; }
.stui-vodlist li:nth-child(4) { animation-delay: 0.2s; }
.stui-vodlist li:nth-child(5) { animation-delay: 0.25s; }
.stui-vodlist li:nth-child(6) { animation-delay: 0.3s; }
.stui-vodlist li:nth-child(7) { animation-delay: 0.35s; }
.stui-vodlist li:nth-child(8) { animation-delay: 0.4s; }
.stui-vodlist li:nth-child(9) { animation-delay: 0.45s; }
.stui-vodlist li:nth-child(10) { animation-delay: 0.5s; }
.stui-vodlist li:nth-child(11) { animation-delay: 0.55s; }
.stui-vodlist li:nth-child(12) { animation-delay: 0.6s; }

/* 加载动画 */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-deep);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 80px;
    height: 80px;
}

.loader::before,
.loader::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loader::before {
    border-top-color: var(--aurora-cyan);
    border-right-color: var(--aurora-cyan);
    animation: spin 1.2s linear infinite;
}

.loader::after {
    inset: 12px;
    border-bottom-color: var(--aurora-magenta);
    border-left-color: var(--aurora-magenta);
    animation: spin 1.5s linear infinite reverse;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 霓虹灯文字标题 */
.neon-title {
    text-shadow:
        0 0 5px var(--aurora-cyan),
        0 0 10px var(--aurora-cyan),
        0 0 20px var(--aurora-cyan),
        0 0 40px var(--aurora-purple);
}

/* 毛玻璃卡片点击波纹 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 245, 255, 0.3);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aurora-cyan), var(--aurora-purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow:
        0 5px 20px rgba(0, 245, 255, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2);
    border: none;
    font-size: 20px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow:
        0 10px 30px rgba(0, 245, 255, 0.5),
        0 0 50px rgba(255, 0, 229, 0.3);
}

/* 滚动显示动画 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 图片懒加载淡入 */
.lazyload,
.lazyloading {
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.lazyloaded {
    opacity: 1;
    animation: imgFadeIn 0.6s ease;
}

@keyframes imgFadeIn {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* 移动端优化 */
@media (max-width: 767px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
