/* Stream */

#video-player {
    width: 100%;
    aspect-ratio: 16/9;
}
.server-buttons {
    margin: 0.75rem 0;
    text-align: center;
}
.server-button {
    font-size: 0.9rem;
    margin: 0 5px;
    background: #333;
    color: white;
    border: none;
    border-radius: 4px;   
    cursor: pointer;
    transition: background 0.3s ease;
}
.server-button:hover {
    background: #555;
}
.movie-info__watch-button {
    width: 100%;
    
    a {
        text-align: center;
        color: white;
        width: 100%;
        background-color: var(--primary-color);
        color: white;
        padding: 4px 8px;
        border-radius: 8px;
        cursor: pointer;
        text-align: center;
        display: block;
    }
    a:hover {
        filter: brightness(150%);
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
}

/* Profile Information */


.person-profile {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.person-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 24px;
}

.person-avatar {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.person-names {
    flex-grow: 1;
    padding-top: 8px;
}

.person-display-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.person-stage-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.person-bio {
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.person-bio h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.bio-content {
    color: #444;
    line-height: 1.6;
}

.person-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444;
}

.info-item i {
    width: 20px;
    color: #3498db;
}

.person-social {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.person-social h3 {
    font-size: 1.25rem;
    color: #1a1a1a;
    margin: 0 0 12px 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border-radius: 6px;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .person-profile {
        background: #1a1a1a;
    }

    .person-display-name {
        color: #fff;
    }

    .person-stage-name {
        color: #bbb;
    }

    .person-bio,
    .person-info,
    .person-social {
        background: #2d2d2d;
    }

    .person-bio h3,
    .person-social h3 {
        color: #fff;
    }

    .bio-content,
    .info-item {
        color: #bbb;
    }

    .social-link {
        background: #3d3d3d;
        color: #bbb;
    }

    .social-link:hover {
        background: #3498db;
        color: #fff;
    }
}

.movies-grid {
    display: grid;
    grid-gap: 20px;
    /* Mặc định, giả sử trên desktop */
    grid-template-columns: repeat(2, 1fr);
}


  /* XL: max-width 1024px */
  .column-xl-0 { display: grid; grid-template-columns: repeat(0, 1fr); }
  .column-xl-1 { display: grid; grid-template-columns: repeat(1, 1fr); }
  .column-xl-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
  .column-xl-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
  .column-xl-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
  .column-xl-5 { display: grid; grid-template-columns: repeat(5, 1fr); }
  .column-xl-6 { display: grid; grid-template-columns: repeat(6, 1fr); }
  .column-xl-7 { display: grid; grid-template-columns: repeat(7, 1fr); }
  .column-xl-8 { display: grid; grid-template-columns: repeat(8, 1fr); }
  .column-xl-9 { display: grid; grid-template-columns: repeat(9, 1fr); }
  .column-xl-10 { display: grid; grid-template-columns: repeat(10, 1fr); }


/* Tablet (ví dụ: từ 600px đến 1024px) */
@media (min-width: 560px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Mobile (ví dụ: dưới 600px) */
@media (min-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}




/* Movie Archive */



.movie-item {
    background: var(--fs-color-alert);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.movie-item:hover {
    transform: translateY(-5px);
}

.movie-poster {
    position: relative;
    aspect-ratio: 5/6;
    overflow: hidden;
}

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

.quality-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.movie-meta {
    padding: 12px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination .current {
    background:  var(--primary-color);
    color: #fff;
}

.movie-title {
    display: flex
;
    align-items: start;
    text-align: left;
    gap: 10px;
}
.movie-title a{
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-title a {
    text-decoration: none;
}

.movie-original-title {
    display: -webkit-box;
    font-size: 0.875rem;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pagination {
    margin-top: 30px; 
}
/* Container pagination */
.navigation.pagination {
    text-align: center;
    margin: 30px 0;
}

/* Ẩn heading nhưng vẫn giữ cho screen reader */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Style cho các nút phân trang */
.nav-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style chung cho các nút */
.page-numbers {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
}

/* Hover effect */
.page-numbers:hover:not(.current) {
    background: #f0f0f0;
    color: #333;
}

/* Trang hiện tại */
.page-numbers.current {
    background: #2563eb;
    /* Màu xanh đẹp */
    color: white;
    font-weight: 600;
}

/* Nút Next/Prev */
.next.page-numbers,
.prev.page-numbers {
    font-size: 14px;
}



/* Episodes List */

.episodes-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.episodes-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.episodes-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.total-episodes {
    color: #666;
    font-size: 14px;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    padding: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.episode-item {
    display: block;
    color: white;
    background: var(--primary-color);
    padding: 8px 5px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.episode-item:hover {
    filter: brightness(150%);

    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.episode-item.active {
    filter: brightness(150%);
    
}

.episode-item.active .episode-number {
    color: white;
}

.episode-number {
    font-weight: 600;
    font-size: 13px;
}

/* Scrollbar style */
.episodes-grid::-webkit-scrollbar {
    width: 6px;
}

.episodes-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.episodes-grid::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.episodes-grid::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.thumbnail {
    aspect-ratio: 2 / 3;
    width: 100%;
    background-color: #888;
    border-radius: var(--border-radius);
}
/* Movie infomation */
   
   
.movie-box {
    display: flex;
    background: var(--fs-color-alert);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
} 

.movie-box-img{
    min-width:30%;
    margin: auto;
    padding: 20px;
    width: 200px;
}
.movie-box img {
    object-fit: cover;
    width: 100%;
}

.movie-info {
    min-width: 70%;
    padding: 20px;
   
}

.movie-info__header {
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}



.movie-original-title {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}

.movie-info__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-label {
    font-weight: 600;
}

.meta-value {
}

.status-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.movie-info__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.rating {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.stat-item i {
    color: #1a73e8;
}

.movie-info__rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rating-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-stars {
    color: #ffc107;
}

.rating-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-score {
    font-weight: 700;
    color: #1a1a1a;
}

.rating-votes {
    color: #666;
    font-size: 14px;
}

.views-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.movie-info__cast {
    margin-bottom: 20px;
}

.cast-section {
    margin-bottom: 15px;
}

.cast-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cast-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cast-item {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 14px;
}

.movie-info__tags {
    margin-bottom: 20px;
}

.tag-section {
    align-items: baseline;
    text-transform: capitalize;
    white-space: nowrap;
    vertical-align: top;

}
.movie-info-table td,.movie-info-table th {
    font-size: 1rem;
    border: none;
}
.tag-section h3 {
    font-size: 18px;
    width: fit-content;
    white-space: nowrap;
    margin-bottom: 10px;
}

.tag-list {
}

.tag-list a {
    color: inherit;
    text-decoration: none;
}

.tag-list a:hover {
    text-decoration: underline;
}

.movie-info__showtimes {
    padding: 15px;
    border-radius: 8px;
}

.movie-info__showtimes h3 {
    font-size: 18px;
    margin-bottom: 10px;
}



/* Category List */

.my-taxonomy-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    overflow-x: auto;
}

.my-taxonomy-list ul li {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
    margin-left: 0 !important;
}

.my-taxonomy-list ul li a {
    display: inline-block;
    background: var(--fs-color-secondary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.my-taxonomy-list ul li a:hover {
    filter: brightness(150%);
    color: #000;
}


/* Banner Movie */

/* Banner container */
.movie-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
    background-color: #000;
    height: unset;
    aspect-ratio: 16/9;
}

/* Background image */
.movie-banner .movie-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    aspect-ratio: 16/9;
}

/* Link around the title */
.movie-banner .movie-title-link {
    text-decoration: none;
}

/* Title style */
.movie-banner .movie-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Not found message */
.movie-banner .movie-not-found {
    color: white;
    text-align: center;
    font-size: 1.2em;
    margin-top: 20px;
}
.mySlider img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}
.movie-tag {
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.4;
    background-color: var(--fs-color-success);
    padding: 2px 4px;
    color: var(--fs-color-alert);
}
.rating-2::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22gold%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M12%20.587l3.668%207.431L24%209.753l-6%205.828L19.336%2024%2012%2019.879%204.664%2024%206%2015.581%200%209.753l8.332-1.735z%22%2F%3E%3C%2Fsvg%3E');
}
.rating-2 {
    color: #ffc107;
    display: flex
;
    align-items: center;
    gap: 5px;
}

.rating-wrapper {
    .rating-value {
        display: flex;
        align-items: center;
        gap: 5px;

        &::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 16px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23ffc107'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }
    }
}

.view-count {
    span {
        display: flex;
        align-items: center;
        gap: 5px;

        &::before {
            content: '';
            display: inline-block;
            width: 18px;
            height: 18px;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }
    }
}

.movie-meta-3 {
    position: absolute;
    /* z-index: 1; */
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(6, 6, 6, 0.55) 30%, rgba(0, 0, 0, 0.92) 100%);
    padding: 5px;
    width: 100%;
    color: #fff;
}
.movie-meta-3 .movie-title a{
    color: #fff;
    text-decoration: none;
}
.movie-meta-3 .movie-title {
    margin-bottom: 0;
}

/* item-1 */
.item-1 {
    .movie-stats {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0;
    }
}

/* item 2 */
.item-2 {
    .movie-stats {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0;
    }
}
/* item 3 */
.item-3 {
    .quality-badge {
        position: absolute;
        top: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 0.25rem 0.5rem;
        border-radius: 0.125rem;
        font-size: 0.75rem;
    }
    .movie-tag {
        position: absolute;
        top: 0;
        left: 0;
        background: var(--fs-color-secondary);
        color: var(--fs-color-alert);
        padding: 0.125rem 0.25rem;
        border-radius: 0 0  0.25rem 0;
    }
    .movie-meta-3 {
        padding: 0;
        .movie-title {
            padding: 0 0.25rem;
            a {
                margin-bottom: 0;
            }
        }
    }
    .metric-box {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 0;
        background-color: #00000090;
        padding: 0.5rem;

        .movie-episode-last {
            a {
                color: #fff;
                text-decoration: none;
            }
        }
    }
}
/* item 4 */
.item-4 {
    background: unset;
    box-shadow: unset;

    .movie-tag {
        position: absolute;
        top: 0;
        left: 0;
        background: var(--fs-color-secondary);
        color: var(--fs-color-alert);
        padding: 0.125rem 0.25rem;
        border-radius: 0 0  0.25rem 0;
    }
    .movie-content-wrapper {
        display: flex;
        gap: 0.5rem;
        background: unset;
        border-radius: 8px;
    }

    .movie-poster {
        flex: 0 0 30%;
        max-width: 200px;
        position: relative;
        aspect-ratio: 2/3;
        .tag {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--primary-color);
            color: #fff;
            padding: 2px 6px;
            border-radius: 0 0 0 4px;
            font-size: 0.75rem;
        }
        .quality-badge {
            position: absolute;
            top: 0;
            left: 0;
            right: unset;
            background: rgba(0,0,0,0.7);
            color: #fff;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 0.8rem;
        }
    }

    .movie-info {
        flex: 1;
        min-width: 0;
        padding: 0;

        .movie-title {
            margin: 0 0 10px;
            font-size: 1.25rem;
            line-height: 1.4;
            margin-bottom: 0;

            a {
                color: #333;
                text-decoration: none;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }

        .movie-original-title {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .movie-stats {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0;

            .rating-wrapper,
            .view-count {
                display: flex;
                align-items: center;
                gap: 5px;
                color: #666;
            }

            .rating-wrapper i {
                color: #ffc107;
            }
        }

        .movie-tags {
            margin-bottom: 10px;

            .tag-label {
                color: #666;
                margin-right: 5px;
            }

            .tag-value {
                color: #2196f3;
            }
        }

        .episode-info {
            margin-top: 10px;

            .episode-status {
                display: inline-block;
                padding: 4px 8px;
                background: #e9ecef;
                border-radius: 4px;
                font-size: 0.9rem;
                color: #666;
            }
        }

        .mbutton {
            padding: 0.25rem .5rem;
            border-radius: 4px;
            background: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-size: 0.9rem;
            
        }
    }
}
/* banner movie */
.comic-banner-slider {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.comic-banner-slider.swiper-initialized {
    opacity: 1;
    visibility: visible;
}

.comic-banner-slider .aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 40%;
    background: #f0f0f0;
    overflow: hidden;
}

.comic-banner-slider .aspect-ratio-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comic-banner-slider .comic-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    padding: 4rem 2rem 2rem;
    color: #fff;
}

.comic-banner-slider .comic-title {
    color: #fff;
    margin: 0;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.comic-banner-slider .comic-meta {
    margin: 1rem 0;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.comic-banner-slider .comic-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comic-banner-slider .comic-tags {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comic-banner-slider .tag {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.comic-banner-slider .tag:hover {
    background: rgba(255,255,255,0.3);
}

.comic-banner-slider .comic-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.comic-banner-slider .btn-watch,
.comic-banner-slider .btn-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.comic-banner-slider .btn-watch {
    background: #ff6b6b;
    color: #fff;
}

.comic-banner-slider .btn-watch:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.comic-banner-slider .btn-info {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.comic-banner-slider .btn-info:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.comic-banner-slider .swiper-button-next,
.comic-banner-slider .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transform: translateZ(0);
}

.comic-banner-slider .swiper-button-next:after,
.comic-banner-slider .swiper-button-prev:after {
    font-size: 1.5rem;
}

.comic-banner-slider .swiper-pagination {
    position: absolute;
    bottom: 1rem !important;
    z-index: 2;
}

.comic-banner-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.comic-banner-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 5px;
}

.comic-banner-slider .swiper-slide:not(:first-child) {
    display: none;
}

.comic-banner-slider.swiper-initialized .swiper-slide {
    display: block;
}

.comic-banner-slider .swiper-slide-active .comic-info-overlay {
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .comic-banner-slider .comic-info-overlay {
        padding: 3rem 1rem 1rem;
    }

    .comic-banner-slider .comic-meta {
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .comic-banner-slider .comic-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .comic-banner-slider .btn-watch,
    .comic-banner-slider .btn-info {
        display: none;
    }

    .comic-banner-slider .comic-title {
        font-size: 1.2rem;
    }
    
    .comic-banner-slider .swiper-button-next,
    .comic-banner-slider .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    
    .comic-banner-slider .swiper-button-next:after,
    .comic-banner-slider .swiper-button-prev:after {
        font-size: 1.2rem;
    }
}

@media print {
    .comic-banner-slider {
        display: none;
    }
}



.rank-math-breadcrumb {
    padding: 12px 0;
    
    p {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin: 0;
        font-size: 14px;
        color: #999;
    }

    a {
        color: #666;
        text-decoration: none;
        transition: color 0.2s ease;
        
        &:first-child {
            display: flex;
            align-items: center;
            
            &::before {
                content: '';
                display: inline-block;
                width: 14px;
                height: 14px;
                margin-right: 4px;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666666'%3E%3Cpath d='M12 2L2 12h3v8h6v-6h2v6h6v-8h3L12 2z'/%3E%3C/svg%3E");
                background-repeat: no-repeat;
                background-position: center;
                background-size: contain;
            }
        }

        &:hover {
            color: var(--primary-color);
        }
    }

    .separator {
        margin: 0 10px;
        color: #d1d1d1;
        font-size: 16px;
        font-weight: 300;
        opacity: 0.8;
        position: relative;
        top: -1px;
        text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    }

    .last {
        color: var(--primary-color);
        font-weight: 500;
    }

    @media (max-width: 768px) {
        p {
            font-size: 13px;
        }
        
        .separator {
            margin: 0 8px;
            font-size: 14px;
        }
    }
}

/* Custom Search Page Styles */
.movie-search-header {
    position: relative;
    background: var(--primary-color);
    padding: 3rem 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

.movie-search-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.movie-search-header .container {
    position: relative;
    z-index: 2;
}

.movie-search-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.movie-search-title span {
    color: #fff;
    background: rgba(255,255,255,0.2);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9em;
}

.movie-search-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.movie-search-form {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.movie-search-form:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.movie-search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: transparent;
    border-radius: 50px 0 0 50px;
}

.movie-search-form input[type="search"]:focus {
    outline: none;
}

.movie-search-form button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    border: none;
    border-radius: 0 50px 50px 0;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.movie-search-form button:hover {
    background: var(--primary-color);
    filter: brightness(110%);
}

.movie-search-results-info {
    text-align: center;
    margin: 2rem 0;
    color: #666;
    font-size: 1.1rem;
}

.movie-search-results-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* No Results Message */
.movie-no-results-wrapper {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--fs-color-alert);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.movie-no-results-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.movie-no-results-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.movie-no-results-message {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .movie-search-header {
        padding: 2rem 0;
    }

    .movie-search-title {
        font-size: 1.5rem;
    }

    .movie-search-form input[type="search"] {
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .movie-search-form button {
        padding: 0.8rem 1.5rem;
    }

    .movie-search-results-info {
        font-size: 1rem;
    }
}

/* Movies Grid Specific for Search */
.movie-search-grid {
    margin-top: 2rem;
}

/* Custom Search Page */
.custom-search-wrapper {
    padding: 1rem 0;
}

.custom-search-header {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.custom-search-title {
    color: var(--fs-color-primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.custom-search-title span {
    color: var(--primary-color);
    font-weight: 500;
}

.custom-search-form {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.custom-search-input {
    width: 100%;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 0;
    padding: 12px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.custom-search-input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.custom-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.custom-search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 15px;
    cursor: pointer;
    margin: 0;
    transition: all 0.3s ease;
}

.custom-search-button:hover {
    filter: brightness(110%);
    box-shadow: -3px 0 8px rgba(0,0,0,0.1);
}

.custom-search-count {
    text-align: center;
    margin: 1.5rem 0;
    color: var(--fs-color-primary);
    font-size: 1rem;
}

.custom-search-count strong {
    color: var(--primary-color);
    font-weight: 600;
}

.custom-search-results {
    margin-top: 2rem;
}

/* No Results Styles */
.custom-no-results {
    text-align: center;
    padding: 3rem 0;
    margin: 2rem 0;
}

.custom-no-results-icon {
    font-size: 2.5rem;
    color: #999;
    margin-bottom: 1rem;
}

.custom-no-results-title {
    font-size: 1.3rem;
    color: var(--fs-color-primary);
    margin-bottom: 1rem;
}

.custom-no-results-message {
    color: var(--fs-color-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.custom-search-suggestions {
    margin-top: 1.5rem;
}

.custom-search-suggestions h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--fs-color-primary);
}

.custom-search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-search-suggestions li {
    margin-bottom: 0.8rem;
}

.custom-search-suggestions a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-search-suggestions a:hover {
    color: var(--success-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-search-wrapper {
        padding: 1rem;
    }

    .custom-search-header {
        padding: 1rem 0;
    }

    .custom-search-title {
        font-size: 1.4rem;
    }

    .custom-search-input {
        padding: 0.7rem 1rem;
        padding-right: 100px;
        font-size: 0.9rem;
    }

    .custom-search-button {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}