/*
 * 追剧日历和电影海报样式
 */

/* ==================== 移动端追剧日历 ==================== */
.kanju-calendar-mobile {
    background: white;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
}

.kanju-calendar-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 12px;
}

.kanju-icon {
    font-size: 20px;
}

.kanju-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.kanju-scroll {
    display: flex;
    gap: 12px;
    padding: 0 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.kanju-scroll::-webkit-scrollbar {
    display: none;
}

.kanju-card {
    flex-shrink: 0;
    width: 100px;
    cursor: pointer;
    transition: transform 0.2s;
}

.kanju-card:active {
    transform: scale(0.95);
}

.kanju-cover {
    position: relative;
    width: 100px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #f1f5f9;
}

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

.kanju-type {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.kanju-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.kanju-episode {
    display: block;
    font-size: 11px;
    color: #64748b;
}

/* ==================== PC端电影海报轮播 ==================== */
.movie-banner-pc {
    width: 100%;
    height: 240px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.movie-banner-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.movie-banner-slides {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.movie-banner-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.movie-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.movie-banner-info {
    max-width: 500px;
    color: white;
}

.movie-banner-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.movie-banner-meta {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 16px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.movie-banner-cta {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.movie-banner-cta:hover {
    transform: translateY(-2px);
}

.movie-banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

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

.movie-banner-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* ==================== PC端显示电影海报 ==================== */
@media (min-width: 769px) {
    .kanju-calendar-mobile {
        display: none !important;
    }

    .movie-banner-pc {
        display: block !important;
    }
}

/* ==================== 移动端显示追剧日历 ==================== */
@media (max-width: 768px) {
    .movie-banner-pc {
        display: none !important;
    }

    .kanju-calendar-mobile {
        display: block !important;
    }

    .movie-banner-overlay {
        padding: 0 20px;
    }

    .movie-banner-title {
        font-size: 24px;
    }

    .movie-banner-meta {
        font-size: 14px;
    }

    .movie-banner-cta {
        padding: 10px 20px;
        font-size: 14px;
    }
}
