/* ============================================
   TV SHOW PAGE – FULL STYLE (THEMED VERSION)
   ============================================ */

body {
    background: var(--color-bg) !important;
}

/* PAGE WRAPPER */
.show-page {
    color: var(--color-text);
    padding-bottom: 2rem;
}

/* ===================== HERO ===================== */

.show-hero {
    position: relative;
    width: 100%;
    padding: 3.5rem 1rem 2.8rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid var(--color-border);
}

.show-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px) brightness(0.7);
    transform: scale(1.12);
    z-index: -2;
}

.show-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left,
            rgba(var(--primary-color-rgb), 0.55),
            transparent 65%)
        ,
        linear-gradient(to bottom,
            rgba(0,0,0,0.78),
            rgba(0,0,0,0.96));
    z-index: -1;
}

.show-hero-inner {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-end;
}

/* ===================== POSTER ===================== */

.show-poster-card {
    background: var(--color-surface);
    border-radius: 20px;
    border: 1px solid var(--color-border);
    padding: 0.6rem;
    box-shadow: 0 22px 55px rgba(0,0,0,0.85);
}

.show-poster-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.show-poster-meta {
    margin-top: 0.55rem;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.show-poster-badge {
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-surface-alt);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ===================== HERO TEXT ===================== */

.show-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.show-original-title {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.show-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.show-meta-dot::before {
    content: "• ";
    opacity: 0.7;
}

.show-rating-pill {
    display: inline-flex;
    gap: 0.3rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.75);
    border: 1px solid rgba(252,211,77,0.45);
    color: #facc15;
    font-size: 0.85rem;
    font-weight: 700;
}

/* GENRES */

.show-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.show-genre-pill {
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    font-size: 0.82rem;
}

/* OVERVIEW */

.show-overview-short {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.55rem;
    max-width: 780px;
    margin-bottom: 1.6rem;
}

/* CTA */

.show-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
    text-decoration: none;
    transition: 0.2s ease;
}

.show-cta-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

/* ===================== MAIN CONTENT ===================== */

.show-content-wrapper {
    max-width: 1250px;
    margin: 0 auto 3.5rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
    gap: 2.2rem;
}

/* ===================== SEASONS GRID ===================== */

.seasons-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.season-card {
    display: flex;
    gap: 0.75rem;
    background: radial-gradient(circle at top left,
                rgba(15,23,42,0.98),
                rgba(15,23,42,0.9));
    border-radius: 16px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    padding: 0.55rem;
    transition: 0.18s ease;
}

.season-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
}

.season-thumb {
    width: 70px;
    min-width: 70px;
    height: 105px;
    border-radius: 10px;
    overflow: hidden;
}

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

/* ===================== ASIDE (DETAILS) ===================== */

.show-aside-card {
    background: radial-gradient(circle at top,
                rgba(15,23,42,1),
                rgba(15,23,42,0.96));
    border-radius: 18px;
    border: 1px solid var(--color-border);
    padding: 1.1rem 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}

.show-aside-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

/* === details 2 col === */

.details-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1.5rem;
}

.detail-item {}

.show-detail-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.show-detail-value {
    color: var(--color-text);
    font-size: 0.95rem;
}

/* ===================== CAST FULL-WIDTH ===================== */

.actors-full {
    margin-top: 1.8rem;
}

.cast-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.cast-item-full {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 14px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.cast-avatar-full {
    width: 55px;
    height: 55px;
    overflow: hidden;
    border-radius: 999px;
    background: #020617;
}

.cast-avatar-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-name-full {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1100px) {
    .seasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .show-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .show-poster-card {
        max-width: 230px;
        margin: 0 auto;
    }

    .show-content-wrapper {
        grid-template-columns: 1fr;
    }

    .details-two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .seasons-grid {
        grid-template-columns: 1fr;
    }
    .details-two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cast-grid-full {
        grid-template-columns: 1fr;
    }
}
