/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Custom Container Styles */
.boho-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.boho-movie {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.boho-movie:hover {
    transform: scale(1.05);
}

.boho-movie img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.boho-movie h2 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.boho-movie a.button {
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    background-color: #0073e6;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-size: 14px;
}

.boho-movie a.button:hover {
    background-color: #005bb5;
}

/* Pagination Styles */
.boho-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* Pagination Styles */
.boho-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
}

.boho-pagination a,
.vidsrc-pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    color: #0073e6;
    text-decoration: none;
    border: 1px solid #0073e6;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.boho-pagination a:hover {
    background-color: #0073e6;
    color: #fff;
}

.boho-pagination .boho-current-page {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background-color: #0073e6;
    color: #fff;
    border-radius: 5px;
    cursor: default;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .boho-pagination a,
    .boho-pagination span,
    .boho-pagination .boho-current-page {
        padding: 8px 12px;
        margin: 3px;
    }
}

/* Watch Page Styles */
.boho-movie-details {
    padding: 30px;
}

.boho-movie-details h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #0073e6;
}

.boho-movie-details p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Search Page Styles */
.boho-search-form {
    text-align: center;
    margin-bottom: 20px;
}

.boho-search-form input[type="text"] {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.boho-search-form input[type="submit"] {
    padding: 15px 30px;
    color: #fff;
    background-color: #0073e6;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 16px;
}

.boho-search-form input[type="submit"]:hover {
    background-color: #005bb5;
}

/* Movie List Styles */
.boho-movie-list-2 {
    list-style-type: none;
    padding: 0;
}

.boho-movie-2 {
    padding: 10px 0;
}

.boho-movie-2 a {
    text-decoration: none;
    color: #0073e6;
    font-size: 18px;
}

.boho-movie-2 a:hover {
    text-decoration: underline;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

.boho-movie-embed {
    position: relative;
    width: 100%;
    margin: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: black; /* ✅ Background hitam sebelum iframe muncul */
    border-radius: 10px;
}

.boho-movie-embed iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}
 
/* COVER IMAGE SEBELUM PLAY */
.video-cover {
    width: 100%;
    aspect-ratio: 16 / 9; /* ✅ Menggunakan aspect ratio agar tidak kotak */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border-radius: 10px;
}

.video-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay agar teks terlihat */
}

/* PLAY BUTTON */
.boho-play-btn {
    position: relative;
    z-index: 2;
    background: rgba(255, 69, 0, 0.9);
    color: white;
    font-size: 24px;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.boho-play-btn:hover {
    background: rgba(255, 140, 0, 0.9);
    transform: scale(1.1);
}

#video-frame {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: none;
}

.boho-movie-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 250px));
    gap: 20px;
    justify-content: center; /* Opsional, agar lebih rapi */
}

.boho-movie-list img {
    max-width: 250px;
    max-height: auto;
    width: 100%;
    height: auto;
    object-fit: cover; /* atau contain sesuai kebutuhan */
}

.boho-movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* Container utama */
.boho-cast-crew-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

/* Setiap item */
.boho-cast-crew {
    text-align: center;
    width: 120px;
}

/* Foto bulat */
.boho-cast-crew img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Nama */
.boho-name {
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
    color: var(--boho-text-color, #fff);
}

/* Peran/Tugas */
.boho-role {
    font-size: 12px;
    color: var(--boho-secondary-color, #ccc);
}

/* Dark Mode & Light Mode */
@media (prefers-color-scheme: dark) {
    .boho-name { color: #fff; }
    .boho-role { color: #bbb; }
}

@media (prefers-color-scheme: light) {
    .boho-name { color: #333; }
    .boho-role { color: #666; }
}
