/* Enhanced Movie Content Styles */
.movie-content {
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.95) 0%, rgba(39, 39, 42, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.movie-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--base)) 0%, rgba(238, 0, 5, 0.8) 50%, hsl(var(--base)) 100%);
    z-index: 1;
}

.movie-content-inner {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.movie-content .title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.movie-content .sub-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(238, 0, 5, 0.15);
    border-radius: 25px;
    border: 1px solid rgba(238, 0, 5, 0.3);
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.movie-content .sub-title:hover {
    background: rgba(238, 0, 5, 0.25);
    border-color: rgba(238, 0, 5, 0.5);
    transform: translateY(-2px);
}

.movie-widget__desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid hsl(var(--base));
    backdrop-filter: blur(5px);
}

.movie-detail-end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 15px;
}

.wish-button {
    display: flex;
    gap: 10px;
}

.shad-head-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, hsl(var(--base)) 0%, rgba(238, 0, 5, 0.9) 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(238, 0, 5, 0.3);
}

.shad-head-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.shad-head-btn:hover::before {
    left: 100%;
}

.shad-head-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(238, 0, 5, 0.4);
    background: linear-gradient(135deg, rgba(238, 0, 5, 0.9) 0%, hsl(var(--base)) 100%);
}

.shad-head-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(238, 0, 5, 0.3);
}

.rate-part {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    font-weight: 600;
    color: #FFD700;
    transition: all 0.3s ease;
}

.rate-part:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.rate-part .rate-icon {
    width: 20px;
    height: 20px;
    filter: brightness(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .movie-content {
        padding: 20px;
        border-radius: 15px;
    }

    .movie-content .title {
        font-size: 1.8rem;
    }

    .movie-detail-end {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .wish-button {
        justify-content: center;
    }

    .shad-head-btn {
        width: 100%;
        text-align: center;
    }

    .rate-part {
        justify-content: center;
        align-self: center;
        width: fit-content;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .movie-content {
        padding: 15px;
        margin: 10px;
    }

    .movie-content .title {
        font-size: 1.5rem;
    }

    .movie-widget__desc {
        font-size: 14px;
        padding: 15px;
    }

    .shad-head-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Animation for content loading */
.movie-content {
    animation: slideInFromLeft 0.6s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced hover effects */
.movie-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.movie-content-left {
    position: relative;
    z-index: 2;
}

/* Add subtle glow effect */
.movie-content::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, hsl(var(--base)), rgba(238, 0, 5, 0.8), hsl(var(--base)));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-content:hover::after {
    opacity: 0.1;
}

.main-video:has(.main-video-lock) {
    position: relative;
}

.main-video-lock {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.555);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-video-lock-content {
    padding: 20px;
    background: rgb(0 0 0 / 70%);
    border-radius: 4px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: grid;
    place-content: center;
}

.main-video-lock-content .title {
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.main-video-lock-content .icon {
    font-size: 56px;
    display: block;
    text-align: center;
    line-height: 1;
    color: hsl(var(--base));
}

.main-video-lock-content .price {
    font-size: 36px;
    display: block;
    text-align: center;
    color: white;
    background: rgb(238 0 5 / 5%);
    margin-top: 10px;
    border-radius: inherit;
    line-height: 1;
    padding: 7px 0;
}

.main-video-lock-content .price .price-amount {
    color: hsl(var(--base));
    font-weight: 700;
    letter-spacing: -2;
}

.main-video-lock-content .price .small-text {
    font-size: 14px;
}

.main-video-lock-content .price span {
    line-height: 1;
}

.watch-party-modal .modal-dialog {
    max-width: 500px;
}

.plyr__progress {
    position: relative;
}

.plyr__progress--buffer {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%);
    z-index: 1;
}

.plyr__progress--buffer::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: var(--buffer-percent, 0);
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.2s ease;
}

.plyr__progress--played {
    z-index: 2;
}

.fullscreen-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 10000;
    display: none;
    pointer-events: none;
}

.accordion-item {
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    margin-bottom: 10px;
    border-radius: 8px;
}

.accordion-button {
    background-color: #242424;
    color: #ffffff;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
}

.accordion-button:not(.collapsed) {
    background-color: hsl(var(--base));
    color: #ffffff;
    box-shadow: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    border-top: 1px solid #2d2d2d;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .accordion-button {
        padding: 12px 15px;
        font-size: 14px;
    }

    .accordion-body {
        padding: 15px;
    }

    .widget-wrapper.movie-small-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }

    .widget-item {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .widget-wrapper.movie-small-list {
        grid-template-columns: 1fr;
    }

    .accordion-button {
        padding: 10px;
        font-size: 13px;
    }
}

.main-video:has(.main-video-lock) {
    position: relative;
}

.main-video-lock {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
}