/* 广告轮播组件样式 - Apple风格 */
.ad-carousel-container {
    width: 300px;
    max-height: 44px; /* 与主要按钮高度一致 */
    overflow: hidden;
    border-radius: var(--border-radius-base);
    box-shadow: var(--apple-shadow);
    position: relative;
}

.ad-carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.ad-slide {
    min-width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* 轮播导航点 */
.ad-dots {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.ad-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ad-dot.active {
    background-color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ad-carousel-container {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
} 