/* ============================================
   UEMO 轮播图鼠标跟随特效 - 精确复刻
   ============================================ */

.uemo-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--deep-black);
}

.uemo-carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.uemo-carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

/* 背景层 - 鼠标跟随移动 */
.uemo-carousel-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 渐变遮罩 */
.uemo-carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.9) 0%,
        rgba(5, 5, 5, 0.6) 40%,
        rgba(5, 5, 5, 0.3) 100%
    );
    pointer-events: none;
}

/* 内容层 - 反向轻微移动 */
.uemo-carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.uemo-carousel-inner {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* 标题动画 */
.uemo-carousel-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.uemo-carousel-slide.active .uemo-carousel-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* 副标题 */
.uemo-carousel-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.uemo-carousel-slide.active .uemo-carousel-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* 按钮组 */
.uemo-carousel-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.uemo-carousel-slide.active .uemo-carousel-buttons {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* 控制按钮 */
.uemo-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}

.uemo-carousel-control:hover {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--deep-black);
    transform: translateY(-50%) scale(1.1);
}

.uemo-carousel-prev { left: 40px; }
.uemo-carousel-next { right: 40px; }

/* 指示器 */
.uemo-carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.uemo-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.uemo-carousel-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.uemo-carousel-dot.active {
    background: var(--neon-green);
    transform: scale(1.2);
}

.uemo-carousel-dot.active::after {
    border-color: var(--neon-green);
}

/* 进度条 */
.uemo-carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--neon-green);
    width: 0%;
    z-index: 20;
    transition: width 0.1s linear;
}

/* 响应式 */
@media (max-width: 768px) {
    .uemo-carousel {
        height: 80vh;
        min-height: 500px;
    }
    
    .uemo-carousel-control {
        width: 45px;
        height: 45px;
    }
    
    .uemo-carousel-prev { left: 15px; }
    .uemo-carousel-next { right: 15px; }
    
    .uemo-carousel-buttons {
        flex-direction: column;
        align-items: center;
    }
}
