/* 幻灯片容器样式 */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    margin: 16px;
    box-shadow: var(--card-shadow);
    background: var(--card-bg-light);
    backdrop-filter: blur(var(--blur-amount));
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.carousel-item {
    min-width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.carousel-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.carousel-description {
    font-size: 16px;
    opacity: 0.9;
}

/* 幻灯片导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background: var(--system-blue);
    color: white;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* 幻灯片指示点 */
.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

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

.carousel-dot.active {
    background: white;
    width: 12px;
    border-radius: 4px;
}