/* css/carousel.css 内容 */
.carousel-container { width: 100%; max-width: 1400px; margin: 0 auto; overflow: hidden; position: relative; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.carousel { width: 100%; height:350px; position: relative; }
.carousel-item { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; }
.carousel-item.active { opacity: 1; }
.carousel-item img { width: 100%; height: 100%; object-fit: cover; }
.carousel-content { position: absolute; bottom: 0; left: 0; padding: 40px; width: 100%; max-width: 600px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; }
.carousel-content h3 { font-size: 2.2rem; margin-bottom: 12px; }
.carousel-content p { font-size: 1.1rem; margin-bottom: 20px; opacity: 0.9; }
.carousel-btn { padding: 12px 24px; background: #6652d4; color: #fff; border: none; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background 0.3s; }
.carousel-btn:hover { background: #041bc4; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; z-index: 2; opacity: 0; transition: opacity 0.3s, background 0.3s; }
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow:hover { background: rgba(255,255,255,0.4); }
.carousel-arrow.prev { left: 25px; }
.carousel-arrow.next { right: 25px; }
.carousel-indicators { position: absolute; bottom: 25px; right: 40px; display: flex; gap: 12px; z-index: 2; }
.indicator-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.indicator-dot.active { background: #fff; width: 30px; border-radius: 5px; }

@media (max-width: 768px) {
    .carousel { width: 100%;height: 350px }
    .carousel-content { padding: 25px; }
    .carousel-content h3 { font-size: 1.6rem; }
    .carousel-content p { font-size: 1rem; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .carousel-indicators { bottom: 20px; right: 25px; }
}