/* --- Watch Trailer Button Style --- */
.watch-trailer-button {
    background-color: #e50914; /* Netflix Red */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.watch-trailer-button:hover {
    background-color: #f40612;
}

/* --- Modal (Popup) Styles --- */

/* Poori screen par failne wala background */
.modal-overlay {
    display: none; /* Shuru mein hidden rahega */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
    justify-content: center;
    align-items: center;
}

/* Asli popup box */
.modal-content {
    position: relative;
    background-color: #141414;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px; /* Max width of the popup */
}

/* Close button (X) */
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.close-btn:hover {
    color: #b3b3b3;
}

/* Video ko responsive banane ke liye */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}