﻿/* ============================================================
   series-detail.css - استایل اختصاصی صفحه جزئیات محتوا
   ============================================================ */

* {
    box-sizing: border-box;
}

.error-message {
    display: block;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #F44336;
}

/* ========== بازگردانی استایل اورجینال Hero و دکمه‌ها ========== */
.hero {
    background: linear-gradient(120deg, var(--primary, #C2185B), var(--primary-dark, #8E0E3E));
    color: white;
    padding: 80px 0 70px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 0 0 40px 40px;
}

    .hero h1 {
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 20px;
        letter-spacing: -1px;
        color: white;
    }

    .hero p {
        font-size: 18px;
        max-width: 700px;
        margin: 0 auto 25px;
        opacity: 0.9;
        line-height: 1.8;
    }

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* دکمه اصلی اورجینال سایت (دقیقاً مثل صفحه خانه) */
.btn-hero-primary {
    background: var(--accent, #FFC107);
    color: var(--primary, #C2185B);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    white-space: nowrap;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* فاصله بین آیکون و متن */
}

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.3);
        color: var(--primary, #C2185B);
    }

/* ========== بخش سینمایی ========== */
.cinema-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    transition: all 0.3s;
    border: 1px solid rgba(194,24,91,0.1);
    margin-bottom: 30px;
}

    .cinema-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }

.cinema-poster {
    flex-shrink: 0;
    width: 250px;
    min-height: 350px;
    background: #f0f0f0;
    position: relative;
}

.cinema-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔴 واترمارک لوگو با بک‌گراند تیره */
.card-watermark {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 8px;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,0.1);
}

    .card-watermark img {
        width: 32px;
        height: auto;
        margin-bottom: 4px;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.6));
    }

    .card-watermark span {
        color: #ffffff;
        font-size: 9px;
        font-weight: 900;
        font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        letter-spacing: 0.5px;
        line-height: 1;
    }

.cinema-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cinema-title {
    font-size: 24px;
    font-weight: 900;
    color: #333;
    margin: 0 0 15px 0;
}

.cinema-meta {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cinema-actions {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

/* ========== بخش سریال و آکاردئون ========== */
.season-accordion {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.season-header {
    background: #fdf5ff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #9c27b0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

    .season-header:hover {
        background: #f4e8f7;
    }

.season-content {
    background: white;
    padding: 0 20px;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.episode-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    transition: all 0.2s;
}

    .episode-card:hover {
        border-color: #C2185B;
        box-shadow: 0 6px 15px rgba(194, 24, 91, 0.1);
    }

.episode-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding-bottom: 15px;
}

.episode-number {
    font-size: 18px;
    font-weight: bold;
    color: #C2185B;
    text-align: center;
    width: 100%;
}

.episode-actions {
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.simple-item {
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== دکمه‌های مشترک ========== */
.btn-submit {
    background: #C2185B; /* رنگ پیش‌فرض زرشکی ZabanPlus */
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    color: white !important;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* تراز کردن آیکون و متن */
    text-decoration: none;
}

    .btn-submit:hover {
        background: #8E0E3E;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(194, 24, 91, 0.2);
    }

.btn-episode-info {
    background: #e3f2fd;
    color: #1565c0 !important;
    border: 1px solid #bbdefb;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* تراز کردن آیکون و متن */
    text-decoration: none;
}

    .btn-episode-info:hover {
        background: #1565c0;
        color: white !important;
    }

.empty-msg {
    display: block;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    color: #666;
    font-weight: bold;
    font-size: 16px;
}

/* ========== ریسپانسیو موبایل ========== */
@media (max-width: 768px) {
    .hero {
        padding: 50px 15px 45px;
    }

        .hero h1 {
            font-size: 26px;
        }

    .btn-hero-primary {
        width: 90%;
        max-width: 280px;
    }

    .cinema-card {
        flex-direction: column;
    }

    .cinema-poster {
        width: 100%;
        height: 350px;
    }

    .cinema-info {
        padding: 20px;
        text-align: center;
    }

    .cinema-actions {
        justify-content: center;
        flex-direction: column;
    }

    .episodes-grid {
        grid-template-columns: 1fr;
    }
}
