/* Cast Page Styles */
.cast-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 60vh;
}

/* Breadcrumb */
.cast-page .breadcrumb {
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--text-dim, #888);
}

.cast-page .breadcrumb a {
    color: var(--accent, #e50914);
    text-decoration: none;
    transition: opacity 0.2s;
}

.cast-page .breadcrumb a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Header Section */
.cast-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cast-header-poster {
    width: 100px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cast-header-info h1 {
    font-size: 1.6rem;
    margin: 0 0 8px 0;
    color: var(--text, #fff);
    font-weight: 600;
}

.cast-header-info a {
    color: var(--accent, #e50914);
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.2s;
}

.cast-header-info a:hover {
    opacity: 0.8;
}

/* Cast Grid */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 25px;
}

.cast-item {
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    padding: 10px;
    border-radius: 12px;
}

.cast-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.03);
}

.cast-item img {
    width: 90px;
    height: 135px;
    border-radius: 10px;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cast-item:hover img {
    border-color: var(--accent, #e50914);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
}

.cast-item-name {
    font-weight: 600;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--text, #fff);
    line-height: 1.3;
}

.cast-item-character {
    color: var(--text-dim, #888);
    font-size: 0.8rem;
    margin-top: 4px;
    line-height: 1.2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cast-page {
        padding: 20px 15px;
    }

    .cast-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cast-header-poster {
        width: 80px;
        height: 120px;
    }

    .cast-header-info h1 {
        font-size: 1.3rem;
    }

    .cast-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }

    .cast-item img {
        width: 70px;
        height: 105px;
    }

    .cast-item-name {
        font-size: 0.8rem;
    }
}