/**
 * Enhanced Single Movie Page Styles
 * Fully Responsive & Modern Design with Dark/Light Mode Support
 */

/* ===== CSS Variables for Dark/Light Mode ===== */
:root {
    --bg-primary: #14141e;
    --bg-secondary: #1a1a24;
    --bg-tertiary: #1f1f2e;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --text-tertiary: #9ca3af;
    --accent-color: #e94560;
    --accent-hover: #d63651;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Light Mode */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Rain Animation */
.rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.rain {
    position: absolute;
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(233, 69, 96, 0.5));
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

/* ===== Hero Section ===== */
.moviepro-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(20px);
    transform: scale(1.1);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(20, 20, 30, 0.95) 0%,
        rgba(20, 20, 30, 0.98) 50%,
        rgba(20, 20, 30, 1) 100%
    );
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

/* Hero Info - Fix vertical display */
.hero-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Poster */
.hero-poster {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.hero-poster:hover {
    transform: translateY(-10px);
}

.poster-image {
    width: 100%;
    height: auto;
    display: block;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.poster-rating {
    text-align: center;
}

.rating-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 5px;
}

.rating-stars {
    font-size: 14px;
}

/* Movie Info */
.hero-info {
    color: #fff;
}

.movie-title {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0 10px;
    line-height: 1.2;
    color: #fff;
}

.movie-original-title {
    font-size: 20px;
    color: #9ca3af;
    margin-bottom: 20px;
}

.movie-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    font-size: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
}

.meta-item i {
    color: #e94560;
}

.meta-item.certification {
    background: #e94560;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
}

.movie-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.movie-genres a,
.movie-genres span {
    background: rgba(233, 69, 96, 0.2);
    color: #e94560;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.movie-genres a:hover {
    background: #e94560;
    color: #fff;
}

.movie-languages {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    color: #9ca3af;
    font-size: 15px;
}

.movie-languages i {
    color: #e94560;
}

.movie-synopsis {
    margin: 25px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #d1d5db;
}

/* Action Buttons */
.movie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #d63651 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-share-dropdown {
    display: none;
    margin-top: 15px;
}

.social-share-dropdown.active {
    display: block;
}

/* ===== Content Sections ===== */
.moviepro-content {
    background: var(--bg-primary);
    padding: 60px 0;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    margin-bottom: 60px;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(233, 69, 96, 0.3);
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.section-title i {
    color: var(--accent-color);
    font-size: 24px;
}

/* Story Section */
.story-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 100%;
}

.story-text p {
    margin-bottom: 15px;
    word-wrap: break-word;
}

/* Videos Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.video-card {
    border-radius: 12px;
    overflow: hidden;
    background: #14141e;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e94560;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: #d63651;
}

.video-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-tertiary);
}

.gallery-item a {
    display: block;
    position: relative;
}

.gallery-image-wrapper {
    position: relative;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(233, 69, 96, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 36px;
    color: #fff;
}

/* Cast Section - Carousel */
.cast-carousel.owl-carousel .owl-stage-outer {
    padding: 20px 0;
}

.cast-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color) !important;
    color: #fff !important;
    font-size: 24px !important;
    transition: all 0.3s ease;
}

.cast-carousel .owl-nav button:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-50%) scale(1.1);
}

.cast-carousel .owl-nav .owl-prev {
    left: -25px;
}

.cast-carousel .owl-nav .owl-next {
    right: -25px;
}

.cast-card {
    text-align: center;
    transition: transform 0.3s ease;
    background: var(--bg-tertiary);
    padding: 20px;
    border-radius: 12px;
    margin: 10px;
}

.cast-card:hover {
    transform: translateY(-10px);
}

.cast-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.cast-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-placeholder,
.crew-placeholder,
.video-placeholder,
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 48px;
}

.cast-info {
    padding: 0 10px;
}

.cast-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px;
    word-wrap: break-word;
}

.cast-character {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0 0 5px;
    word-wrap: break-word;
}

.cast-role {
    display: inline-block;
    background: rgba(233, 69, 96, 0.2);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Crew Section - Carousel */
.crew-carousel.owl-carousel .owl-stage-outer {
    padding: 20px 0;
}

.crew-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color) !important;
    color: #fff !important;
    font-size: 24px !important;
    transition: all 0.3s ease;
}

.crew-carousel .owl-nav button:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-50%) scale(1.1);
}

.crew-carousel .owl-nav .owl-prev {
    left: -25px;
}

.crew-carousel .owl-nav .owl-next {
    right: -25px;
}

.crew-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-tertiary);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin: 10px;
}

.crew-card:hover {
    background: var(--bg-primary);
    transform: translateX(5px);
    border-color: var(--accent-color);
}

.crew-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.crew-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crew-info {
    flex: 1;
    min-width: 0;
}

.crew-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px;
    word-wrap: break-word;
}

.crew-role {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
    word-wrap: break-word;
}

/* Box Office Section */
.boxoffice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.boxoffice-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #1f1f2e 0%, #14141e 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(233, 69, 96, 0.2);
    transition: all 0.3s ease;
}

.boxoffice-card:hover {
    border-color: #e94560;
    transform: translateY(-5px);
}

.boxoffice-icon {
    width: 60px;
    height: 60px;
    background: rgba(233, 69, 96, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #e94560;
}

.boxoffice-info {
    flex: 1;
}

.boxoffice-label {
    display: block;
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.boxoffice-amount {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

/* FAQs Section */
.faqs-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #14141e;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: #e94560;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(233, 69, 96, 0.1);
}

.faq-icon {
    font-size: 16px;
    color: #e94560;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 25px 20px;
    color: #d1d5db;
    font-size: 16px;
    line-height: 1.8;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.video-modal.active {
    display: block;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    z-index: 10000;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: #e94560;
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: #d63651;
    transform: rotate(90deg);
}

.video-modal-body {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

#videoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#videoPlayer iframe {
    width: 100%;
    height: 100%;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .movie-title {
        font-size: 36px;
    }
    
    .content-section {
        padding: 30px 25px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .moviepro-hero {
        min-height: auto;
        padding: 60px 0 40px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-poster {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-info {
        text-align: center;
    }
    
    .movie-title {
        font-size: 28px;
    }
    
    .movie-meta-info {
        justify-content: center;
    }
    
    .movie-genres {
        justify-content: center;
    }
    
    .movie-actions {
        justify-content: center;
    }
    
    .content-section {
        padding: 25px 20px;
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .videos-grid,
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .cast-slider {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 20px;
    }
    
    .cast-image {
        width: 120px;
        height: 120px;
    }
    
    .crew-grid {
        grid-template-columns: 1fr;
    }
    
    .boxoffice-grid {
        grid-template-columns: 1fr;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 20px auto;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .moviepro-hero {
        padding: 40px 0 30px;
    }
    
    .hero-poster {
        max-width: 250px;
    }
    
    .movie-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .cast-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .cast-image {
        width: 100px;
        height: 100px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}


/* ===== User Reviews Section ===== */
.reviews-section .comment-form {
    background: var(--bg-tertiary);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.reviews-section .comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.reviews-section .comment-form .required {
    color: var(--accent-color);
}

.reviews-section .comment-form input[type="text"],
.reviews-section .comment-form input[type="email"],
.reviews-section .comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.reviews-section .comment-form input:focus,
.reviews-section .comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.reviews-section .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.reviews-section .form-group {
    margin-bottom: 20px;
}

.reviews-section .btn-submit {
    width: 100%;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.comments-list {
    margin-top: 40px;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.comment {
    background: var(--bg-tertiary);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    border-radius: 50%;
    border: 2px solid var(--accent-color);
}

.comment-author-info {
    flex: 1;
}

.comment-author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 5px;
}

.comment-date {
    font-size: 14px;
    color: var(--text-tertiary);
}

.comment-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(233, 69, 96, 0.1);
    color: var(--accent-color);
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.comment-reply-link:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Poster Placeholder */
.poster-placeholder {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
    font-size: 80px;
    border-radius: 16px;
}

/* Video Placeholder */
.video-placeholder {
    font-size: 60px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .reviews-section .form-row {
        grid-template-columns: 1fr;
    }
    
    .comment-author {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ===== Share Buttons ===== */
.movie-share {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.share-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.copy-link {
    background: #6b7280;
}

.share-btn.copy-link.copied {
    background: #10b981;
}

/* Hide bottom theme toggle, keep only header one */
.theme-toggle {
    display: none !important;
}


/* ===== Breadcrumb ===== */
.movie-breadcrumb {
    margin-bottom: 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-list a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--accent-color);
}

.breadcrumb-list .active {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb-list i {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* ===== Enhanced Meta Info ===== */
.rating-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000 !important;
    padding: 6px 14px !important;
    border-radius: 8px;
    font-weight: 700;
}

.rating-badge i {
    color: #000 !important;
}

/* ===== Crew Info ===== */
.movie-crew-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.crew-info-item {
    display: flex;
    gap: 10px;
    font-size: 15px;
}

.crew-label {
    color: var(--text-tertiary);
    font-weight: 600;
    min-width: 100px;
}

.crew-name {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== Streaming Now Section ===== */
.hero-poster-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.streaming-now {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid var(--border-color);
}

.streaming-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.streaming-title i {
    color: var(--accent-color);
}

.streaming-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 100px;
}

.platform-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.platform-btn img {
    max-width: 80px;
    max-height: 30px;
    object-fit: contain;
}

.platform-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== Tabs Section ===== */
.tabs-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-tertiary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(233, 69, 96, 0.1);
}

.tab-btn.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-count {
    background: var(--accent-color);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.tab-content {
    display: none !important;
    padding: 30px 0;
}

.tab-content.active {
    display: block !important;
}

/* ===== Rating Tab ===== */
.rating-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 30px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.rating-summary {
    text-align: center;
}

.rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.score-number {
    font-size: 72px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1;
}

.score-stars {
    font-size: 28px;
    color: #fbbf24;
}

.rating-text {
    font-size: 16px;
    color: var(--text-tertiary);
    margin: 0;
}

.rating-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.rating-form h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 40px;
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
    color: #fbbf24;
    transform: scale(1.1);
}

/* ===== Discussion Tab ===== */
.discussion-area {
    padding: 20px;
}

.discussion-area h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.discussion-area > p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.discussion-list {
    margin-top: 40px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .breadcrumb-list {
        font-size: 12px;
    }
    
    .movie-crew-info {
        padding: 15px;
    }
    
    .crew-label {
        min-width: 80px;
        font-size: 14px;
    }
    
    .streaming-platforms {
        justify-content: center;
    }
    
    .tabs-nav {
        justify-content: center;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .rating-overview {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }
    
    .score-number {
        font-size: 56px;
    }
    
    .score-stars {
        font-size: 24px;
    }
    
    .star-rating-input label {
        font-size: 32px;
    }
}
