:root {
    --primary-blue: #2E86AB;
    --light-blue: #A23B72;
    --dark-blue: #F18F01;
    --orange: #C73E1D;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2E86AB;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e5f8b 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 5px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-input {
    border: none;
    padding: 15px 25px;
    font-size: 1.1rem;
    width: 100%;
    border-radius: 50px;
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-btn {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
}

.featured-actor {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.actor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 4rem 0 2rem 0;
    color: #333;
}

.category-nav {
    background: #f8f9fa;
    padding: 20px 0;
    margin: 3rem 0;
}

.category-btn {
    background: white;
    border: 2px solid #ddd;
    color: #666;
    padding: 15px 25px;
    margin: 5px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    text-decoration: none;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.content-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

.featured-actor-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.featured-actor-link:hover {
    text-decoration: none;
    color: inherit;
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.card-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.footer {
    background: #333;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 5rem;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links h5 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    color: #ccc;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

/* ===== PAGE-SPECIFIC STYLES ===== */

/* Page Title */
.page-title {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Alphabet Navigation */
.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.alphabet-btn {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.alphabet-btn:hover,
.alphabet-btn.active {
    background: #2c5aa0;
    color: white;
    text-decoration: none;
}

/* Filter Section */
.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

/* Stats Box */
.stats-box {
    background: #e6f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

/* Trending Sidebar */
.trending-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.trending-title {
    background: #666;
    color: white;
    padding: 10px;
    margin: -20px -20px 15px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 0.9rem;
}

.trending-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.trending-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.trending-info {
    flex: 1;
}

.trending-name {
    font-size: 0.9rem;
    color: #2c5aa0;
    margin-bottom: 2px;
}

.trending-count {
    font-size: 0.8rem;
    color: #666;
}

.check-out-more {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
}

/* Voice Actors Grid */
.voice-actors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.voice-actor-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.voice-actor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.voice-actor-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.voice-actor-placeholder {
    width: 100%;
    height: 160px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
}

.voice-actor-name {
    padding: 10px;
    font-weight: bold;
    color: #2c5aa0;
    font-size: 0.9rem;
}

/* Characters Grid */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.character-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.character-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.production-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.production-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-2px);
}

.character-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.character-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.character-image-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.character-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
}

.character-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.character-count {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0;
}

/* Productions Grid */
.productions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.production-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.production-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.production-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.production-placeholder {
    width: 100%;
    height: 200px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
}

.production-name {
    padding: 10px;
    font-weight: bold;
    color: #2c5aa0;
    font-size: 0.9rem;
}

.production-year {
    padding: 0 10px 10px;
    color: #666;
    font-size: 0.8rem;
}

/* Voice Actor Detail Page */
.actor-header-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.actor-image-large {
    width: 150px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
}

.actor-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-placeholder-large {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.actor-info-header {
    padding-left: 20px;
}

.actor-name {
    color: #2c5aa0;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.actor-subtitle {
    color: #666;
    margin-bottom: 15px;
}

.trending-rank {
    color: #ff6600;
    font-weight: bold;
}

.role-count {
    font-weight: bold;
    color: #2c5aa0;
}

.actor-details p {
    margin-bottom: 5px;
    color: #555;
}

.actor-description {
    margin-top: 15px;
    color: #333;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-action:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.section-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 5px;
}

.section-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Role Sections */
.roles-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.roles-list {
    margin-top: 20px;
}

.role-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.role-item:hover {
    background: #f8f9fa;
    border-color: #2c5aa0;
}

.role-character-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.role-character-placeholder {
    width: 60px;
    height: 60px;
    background: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    margin-right: 15px;
}

.role-info {
    flex: 1;
}

.role-character-name {
    font-weight: bold;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.role-production-name {
    color: #666;
    margin-bottom: 5px;
}

.role-year {
    color: #999;
    font-size: 0.9rem;
}

.role-type {
    background: #2c5aa0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.role-type.additional {
    background: #666;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tab {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tab:hover,
.filter-tab.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

/* News Section */
.news-section {
    margin-top: 40px;
}

.news-grid {
    display: grid;
    gap: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.news-content {
    flex: 1;
}

.news-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

/* Utility Classes */
.no-results {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.pagination-nav .pagination {
    justify-content: center;
}


.pagination-nav .page-item.active .page-link {
    background-color: #2c5aa0;
    border-color: #2c5aa0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .category-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .voice-actors-grid,
    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .productions-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .alphabet-nav {
        justify-content: center;
    }

    .alphabet-btn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.9rem;
    }

    .actor-info-header {
        padding-left: 0;
        text-align: center;
        margin-top: 15px;
    }

    .actor-name {
        font-size: 1.5rem;
    }

    .role-item {
        flex-direction: column;
        text-align: center;
    }

    .role-character-image,
    .role-character-placeholder {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .action-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {

    .voice-actors-grid,
    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }

    .productions-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* =================================
   PROFESSIONAL VOICE ACTOR PROFILE
   ================================= */

/* Profile Header */
.actor-profile-header {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.actor-profile-image {
    text-align: center;
}

.profile-img {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-placeholder {
    width: 180px;
    height: 240px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
    margin: 0 auto;
    border: 3px solid #f8f9fa;
}

.actor-profile-info {
    padding-left: 20px;
}

.actor-name-section {
    margin-bottom: 20px;
}

.actor-main-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.actor-meta-info {
    font-size: 1rem;
    color: #6c757d;
}

.trending-info strong,
.roles-count strong {
    color: #2c5aa0;
    font-weight: 600;
}

.separator {
    margin: 0 10px;
    color: #dee2e6;
}

/* Rating and Actions */
.rating-actions-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.star-rating i {
    color: #ffc107;
    font-size: 1.1rem;
}

.rating-text {
    margin-left: 10px;
    color: #6c757d;
    font-size: 0.9rem;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.action-btn:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
    transform: translateY(-1px);
}

.favorite-btn:hover {
    background: #e74c3c;
    border-color: #e74c3c;
}

.rate-btn:hover {
    background: #ffc107;
    border-color: #ffc107;
    color: #212529;
}

/* Bio Details */
.actor-bio-details {
    margin-bottom: 20px;
}

.bio-item {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #495057;
}

.bio-item strong {
    color: #2c5aa0;
    font-weight: 600;
}

.actor-bio-description {
    line-height: 1.6;
    color: #495057;
    font-size: 0.95rem;
}

/* Voice Credits Section */
.voice-credits-section {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
}

.credits-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.credits-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
}

.total-roles {
    font-weight: 500;
}

/* Content Filter Tabs */
.content-filter-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.content-tab {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-tab:hover,
.content-tab.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

/* Voice Roles Grid */
.voice-roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.voice-role-item {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.voice-role-item:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
    transform: translateY(-2px);
}

.role-header {
    margin-bottom: 15px;
}

.production-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.production-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.production-name a:hover {
    text-decoration: underline;
}

.production-details {
    font-size: 0.85rem;
    color: #6c757d;
}

.character-voice-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.character-avatar {
    position: relative;
    flex-shrink: 0;
}

.char-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f8f9fa;
}

.char-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
    border: 2px solid #f8f9fa;
}

.verified-check {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.character-name-link a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.character-name-link a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Credited Roles Grid */
.credited-roles-grid {
    margin-top: 25px;
}

.roles-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.production-role-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.production-role-card:hover {
    border-color: #2c5aa0;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.12);
    transform: translateY(-2px);
}

.production-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f3f4;
    padding-bottom: 15px;
}

.production-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.3;
}

.production-title .blue-link {
    color: #2c5aa0;
    text-decoration: none;
}

.production-title .blue-link:hover {
    text-decoration: underline;
}

.production-meta {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 400;
}

.characters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.character-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.character-avatar {
    position: relative;
    margin-bottom: 8px;
}

.character-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.character-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.character-placeholder {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.8rem;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.verified-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.character-name {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 90px;
    word-wrap: break-word;
}

.character-name a {
    color: #495057;
    text-decoration: none;
}

.character-name a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Placeholder for empty space in rows */
.production-role-card-placeholder {
    flex: 1;
    visibility: hidden;
}

/* Quotes Page Styles */
.quotes-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 10px;
    margin-top: 10px;
}

.quotes-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.profile-navigation-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.nav-tab {
    padding: 12px 20px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
    border-bottom: none;
    transition: all 0.3s ease;
}

.nav-tab:first-child {
    border-top-left-radius: 6px;
}

.nav-tab:last-child {
    border-top-right-radius: 6px;
}

.nav-tab:hover {
    background: #e9ecef;
    color: #2c5aa0;
    text-decoration: none;
}

.nav-tab.active {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.quotes-content-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.quotes-list {
    margin-bottom: 40px;
}

.quote-item {
    margin-bottom: 35px;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #2c5aa0;
    border-radius: 0 8px 8px 0;
    position: relative;
}

.quote-content {
    position: relative;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    padding: 0 20px;
}

.quote-icon-start {
    position: absolute;
    left: -5px;
    top: -5px;
    font-size: 1.5rem;
    color: #2c5aa0;
    opacity: 0.7;
}

.quote-icon-end {
    position: absolute;
    right: -5px;
    bottom: -5px;
    font-size: 1.5rem;
    color: #2c5aa0;
    opacity: 0.7;
}

.quote-message {
    display: block;
    padding: 0 15px;
}

.quote-attribution {
    text-align: right;
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 15px;
}

.quote-source {
    color: #6c757d;
}

.quote-date {
    font-weight: 600;
    color: #495057;
}

.quote-medium {
    color: #2c5aa0;
    font-style: italic;
}

.no-quotes-message {
    text-align: center;
    padding: 60px 20px;
}

.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    font-size: 0.95rem;
}

.comments-section {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
    margin-top: 30px;
}

.comments-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 20px;
}

.comments-placeholder {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Blue link styling */
.blue-link {
    color: #2c5aa0;
    text-decoration: none;
}

.blue-link:hover {
    color: #1a3a6b;
    text-decoration: underline;
}

/* Character Profile Styles */
.character-profile-header {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.character-profile-image {
    text-align: center;
    margin-bottom: 20px;
}

.character-profile-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.character-profile-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 4rem;
    border: 3px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.character-main-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c5aa0;
    margin-bottom: 15px;
    line-height: 1.2;
}

.character-meta-info {
    margin-bottom: 20px;
}

.character-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 15px;
}

.production-info-section {
    margin-bottom: 20px;
}

.production-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.production-item {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.production-item:last-child {
    margin-bottom: 0;
}

.character-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 10px 20px;
    border: 2px solid #2c5aa0;
    background: white;
    color: #2c5aa0;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn:hover {
    background: #2c5aa0;
    color: white;
}

.favorite-btn {
    border-color: #ffc107;
    color: #ffc107;
}

.favorite-btn:hover {
    background: #ffc107;
    color: #212529;
}

/* Voice Section */
.voice-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.voice-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.voice-actors-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.voice-actor-card {
    text-align: center;
    max-width: 200px;
}

.voice-actor-image-container {
    position: relative;
    margin-bottom: 15px;
}

.voice-actor-image {
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.voice-actor-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.voice-actor-placeholder {
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.language-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.voice-actor-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.voice-actor-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.voice-actor-name a:hover {
    text-decoration: underline;
}

/* Additional Voice Actors */
.voice-actor-card.additional-voice {
    opacity: 0.9;
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 10px;
    background: #f8f9fa;
}

.additional-voice-badge {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.additional-voice-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
}

.voice-actor-card.additional-voice:hover {
    border-color: #17a2b8;
    background: #ffffff;
    opacity: 1;
}

/* Additional Voices Section */
.additional-voices-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.additional-voices-section .voice-section-title {
    color: #17a2b8;
    font-size: 1.6rem;
}

.section-subtitle {
    text-align: center;
    margin-top: 10px;
}

.additional-voices-count {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Character Description Section */
.character-description-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 10px;
}

.description-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

/* Sidebar Widgets */
.franchise-widget {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.franchise-content {
    margin-top: 15px;
}

.franchise-item {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.trending-characters-list {
    margin-top: 15px;
}

.trending-character-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.trending-character-item:hover {
    background: #f8f9fa;
}

.trending-rank {
    font-weight: 600;
    color: #2c5aa0;
    min-width: 20px;
}

.trending-character-avatar img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #f8f9fa;
}

.trending-character-info {
    flex: 1;
}

.trending-character-name a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.trending-character-name a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

.trending-character-count {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Production Show Page Styles */
.production-header {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.production-poster {
    text-align: center;
    margin-bottom: 20px;
}

.production-poster-img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.production-poster-placeholder {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 4rem;
    border: 2px solid #f8f9fa;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.production-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #dc3545;
    margin-bottom: 10px;
    line-height: 1.2;
}

.production-subtitle {
    color: #6c757d;
    font-weight: 500;
}

.production-meta {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

.separator {
    margin: 0 8px;
}

.production-details-section {
    margin-bottom: 20px;
}

.detail-item {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.production-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    text-align: justify;
}

/* Production Navigation Tabs */
.production-navigation-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.production-navigation-tabs .nav-tab {
    padding: 12px 20px;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e9ecef;
    border-bottom: none;
    transition: all 0.3s ease;
}

.production-navigation-tabs .nav-tab:first-child {
    border-top-left-radius: 6px;
}

.production-navigation-tabs .nav-tab:last-child {
    border-top-right-radius: 6px;
}

.production-navigation-tabs .nav-tab:hover {
    background: #e9ecef;
    color: #2c5aa0;
    text-decoration: none;
}

.production-navigation-tabs .nav-tab.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Production Stats */
.production-stats {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.stats-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 0.95rem;
}

.stat-label {
    color: #6c757d;
}

.stat-value {
    font-weight: 600;
    color: #495057;
}

/* View Options */
.view-options {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.view-by-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.view-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.view-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.view-btn {
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: #e9ecef;
    border-color: #2c5aa0;
    color: #2c5aa0;
}

.view-btn.active {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

/* Cast Section */
.cast-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cast-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 30px;
    text-align: center;
}

.cast-section-title em {
    color: #dc3545;
    font-style: italic;
}


.cast-member-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cast-member-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.character-section {
    text-align: center;
    min-width: 100px;
}

.character-image-container {
    margin-bottom: 10px;
}

.character-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.character-image-placeholder {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.character-name {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.character-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.character-name a:hover {
    text-decoration: underline;
}

.voice-actors-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.voice-actor-card {
    display: flex;
    align-items: center;
    gap: 15px;
}

.voice-actor-image-container {
    flex-shrink: 0;
}

.voice-actor-image {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.voice-actor-image-placeholder {
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1.5rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.voice-actor-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.voice-actor-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.voice-actor-name a:hover {
    text-decoration: underline;
}

/* Sidebar Widgets */
.favorite-widget {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.favorite-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.favorite-btn {
    background: #ffc107;
    border: 2px solid #ffc107;
    color: #212529;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorite-btn:hover {
    background: #e0a800;
    border-color: #e0a800;
}

.share-btn {
    background: #2c5aa0;
    border: 2px solid #2c5aa0;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #1a3a6b;
    border-color: #1a3a6b;
}

.character-poll-widget {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.poll-content p {
    margin-bottom: 15px;
    color: #495057;
}

.login-to-vote-btn {
    background: #fd7e14;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 15px;
}

.vote-count {
    font-size: 0.9rem;
    color: #6c757d;
}

.vote-number {
    font-weight: 600;
    color: #495057;
}

.trending-productions-list {
    margin-top: 15px;
}

.trending-production-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.trending-production-item:hover {
    background: #f8f9fa;
}

.trending-rank {
    font-weight: 600;
    color: #2c5aa0;
    min-width: 20px;
}

.trending-production-info {
    flex: 1;
}

.trending-production-name a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.trending-production-name a:hover {
    color: #2c5aa0;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {

    .character-profile-img,
    .character-profile-placeholder {
        width: 150px;
        height: 150px;
    }

    .character-main-name {
        font-size: 2rem;
    }

    .voice-actor-image,
    .voice-actor-placeholder {
        width: 120px;
        height: 160px;
    }

    .voice-actors-grid {
        gap: 20px;
    }

    .character-actions {
        justify-content: center;
    }

    .action-btn {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    /* Production page responsive */
    .production-poster-img,
    .production-poster-placeholder {
        width: 150px;
        height: 210px;
    }

    .production-main-title {
        font-size: 1.8rem;
    }

    .cast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cast-member-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .character-section {
        align-self: center;
    }

    .voice-actors-section {
        align-items: center;
    }

    .voice-actor-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stats-row {
        flex-direction: column;
        gap: 15px;
    }

    .view-by-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .production-navigation-tabs {
        flex-wrap: wrap;
        gap: 2px;
    }

    .production-navigation-tabs .nav-tab {
        flex: 1;
        text-align: center;
        min-width: auto;
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

/* Responsive Design for Credited Roles */
@media (max-width: 768px) {
    .roles-row {
        flex-direction: column;
        gap: 20px;
    }

    .production-role-card-placeholder {
        display: none;
    }

    .characters-row {
        justify-content: flex-start;
    }

    .character-item {
        min-width: 70px;
    }

    .character-img,
    .character-placeholder {
        width: 60px;
        height: 60px;
    }

    .verified-badge {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    /* Navigation tabs responsive */
    .profile-navigation-tabs {
        flex-wrap: wrap;
        gap: 2px;
    }

    .nav-tab {
        padding: 10px 15px;
        font-size: 0.8rem;
        flex: 1;
        text-align: center;
        min-width: auto;
    }

    /* Quotes page responsive */
    .quotes-content-section {
        padding: 20px;
    }

    .quote-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .quote-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .quote-icon-start,
    .quote-icon-end {
        font-size: 1.2rem;
    }
}

/* Additional Voices Section */
.additional-voices-section {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.additional-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.additional-voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.additional-voice-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.3s ease;
}

.additional-voice-item:hover {
    background: white;
    border-color: #2c5aa0;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.additional-role-header {
    margin-bottom: 10px;
}

.additional-production-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.additional-production-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.additional-production-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.additional-voice-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.production-thumbnail {
    position: relative;
    flex-shrink: 0;
}

.thumb-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #ffffff;
}

.thumb-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    border: 2px solid #ffffff;
}

.verified-badge-small {
    position: absolute;
    bottom: -3px;
    right: -3px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.additional-text {
    color: #6c757d;
    font-size: 0.85rem;
    font-style: italic;
}

.show-more-section {
    text-align: center;
    margin-top: 20px;
}

.show-more-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #2c5aa0;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

/* Latest News Section */
.latest-news-section {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.news-items-grid {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.news-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-card:hover {
    background: white;
    border-color: #2c5aa0;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.news-thumbnail {
    flex-shrink: 0;
}

.news-thumb {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.news-details {
    flex: 1;
}

.news-headline {
    font-size: 1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-excerpt {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.news-meta {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Professional Sidebar */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.widget-header {
    background: #2c5aa0;
    color: white;
    padding: 15px 20px;
    margin: 0;
}

.widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.trending-actors-list {
    padding: 15px 0;
}

.trending-actor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    transition: background-color 0.3s ease;
}

.trending-actor-item:hover {
    background: #f8f9fa;
}

.trending-rank {
    font-weight: 700;
    color: #2c5aa0;
    font-size: 0.9rem;
    min-width: 20px;
}

.trending-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f8f9fa;
}

.trending-actor-info {
    flex: 1;
}

.trending-actor-name a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.trending-actor-name a:hover {
    text-decoration: underline;
}

.trending-actor-roles {
    color: #6c757d;
    font-size: 0.75rem;
}

.widget-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.view-more-link {
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.view-more-link:hover {
    text-decoration: underline;
}

/* Stats Widget */
.stats-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #2c5aa0;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Responsive Design for Profile */
@media (max-width: 768px) {
    .actor-profile-header {
        padding: 20px;
    }

    .actor-profile-info {
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
    }

    .actor-main-name {
        font-size: 1.8rem;
    }

    .rating-actions-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-actions {
        justify-content: center;
    }

    .voice-roles-grid,
    .additional-voices-grid {
        grid-template-columns: 1fr;
    }

    .content-filter-tabs {
        justify-content: center;
    }

    .news-card {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 150px;
    }

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

.page-title {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.alphabet-btn {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.alphabet-btn:hover,
.alphabet-btn.active {
    background: #2c5aa0;
    color: white;
    text-decoration: none;
}

.filter-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.stats-box {
    background: #e6f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.trending-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.trending-title {
    background: #666;
    color: white;
    padding: 10px;
    margin: -20px -20px 15px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 0.9rem;
}

.trending-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.trending-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.trending-name {
    font-size: 0.9rem;
    color: #2c5aa0;
}

.check-out-more {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.8rem;
}

.productions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.production-card {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.production-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.production-image-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.production-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-placeholder {
    width: 100%;
    height: 100%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
}

.production-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.2;
}

.production-year {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.production-stats {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .productions-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .alphabet-nav {
        justify-content: center;
    }

    .alphabet-btn {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.9rem;
    }
}

/* Additional Voices Simple Grid Layout */
.additional-voices-grid-simple {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.additional-voice-simple {
    text-align: center;
}

.additional-voice-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    margin-bottom: 8px;
}

.additional-voice-placeholder {
    width: 100%;
    height: 120px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 1.5rem;
}

.additional-voice-name {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.additional-voice-name a {
    color: #2c5aa0;
    text-decoration: none;
}

.additional-voice-name a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .additional-voices-grid-simple {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .additional-voices-grid-simple {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .additional-voice-image,
    .additional-voice-placeholder {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .additional-voices-grid-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .additional-voice-image,
    .additional-voice-placeholder {
        height: 80px;
    }
}

/* Voice Actor Page Redesign */

.credited-roles-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.production-role-row {
    margin-bottom: 15px;
}

.w-48 {
    width: 48%;
}

.production-header-row {
    margin-bottom: 10px;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 5px;
}

.production-title-row {
    font-size: 1.1rem;
    margin: 0;
    font-weight: bold;
    color: #007acc;
    /* Blue color */
    font-style: italic;
}

.production-title-row a {
    white-space: pre-line;
    color: #007acc;
    text-decoration: none;
}

.production-title-row a:hover {
    text-decoration: underline;
}

.production-meta-row {
    color: #666;
    font-size: 0.9rem;
    font-weight: normal;
    font-style: normal;
    margin-left: 5px;
}

.characters-horizontal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.character-item-square {
    width: 120px;
    text-align: center;
}

.character-avatar-square {
    width: 120px;
    height: 120px;
    position: relative;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    padding: 3px;
    background: white;
}

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

.character-placeholder-square {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.verified-badge-corner {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #28a745;
    /* Green checkmark */
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid white;
}

.character-name-simple {
    font-size: 0.9rem;
    color: #007acc;
    line-height: 1.2;
}

.character-name-simple a {
    color: #007acc;
    text-decoration: none;
}

.character-name-simple a:hover {
    text-decoration: underline;
}

/* Cast Section Redesign */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cast-member-card {
    width: fit-content;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cast-images-container {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.character-image-box,
.actor-image-box {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.character-image-box {
    border-right: 1px solid #e0e0e0;
}

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

.cast-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 2rem;
}

.cast-info-container {
    display: flex;
    padding: 8px 0;
    background: #fff;
}

.character-info-box,
.actor-info-box {
    flex: 1;
    text-align: center;
    padding: 0 5px;
}

.cast-name-link {
    color: #2E86AB;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.cast-name-link:hover {
    text-decoration: underline;
}

.voiced-by-text {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

.other-actors-link {
    color: #F18F01;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.other-actors-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .cast-grid {
        grid-template-columns: 1fr;
    }
}
/* Favorite and Rating Interactions */
.favorite-btn.active {
    color: #b30000;
    border-color: #b30000;
}

.favorite-btn.active i {
    color: #b30000;
}

.rate-container {
    display: inline-block;
}

.rating-popover {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    white-space: nowrap;
    margin-bottom: 10px;
}

.rating-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.star-input {
    cursor: pointer;
    font-size: 1.2rem;
    color: #ffc107;
    margin: 0 2px;
    transition: transform 0.2s;
}

.star-input:hover {
    transform: scale(1.2);
}

.favorite-widget .star-rating {
    color: #ffc107;
}

.favorite-widget .star-input {
    font-size: 1rem;
}

/* overlay on images */
    .img-wrapper {
        position: relative;
        display: inline-block;
    }
    .diagonal-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 2;
        background: linear-gradient(135deg, rgba(179,0,0,0.18) 40%, rgba(255,255,255,0.0) 60%);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .overlay-text {
        font-family: 'Montserrat', 'Arial', sans-serif;
        font-size: 2.8rem;
        font-weight: 700;
        color: rgba(179,0,0,0.32);
        letter-spacing: 0.1em;
        user-select: none;
        text-shadow: 1px 2px 8px rgba(0,0,0,0.12);
        transform: rotate(-18deg);
        margin: 0;
        padding: 0;
    }
