/* page youtube 1 */
.page-youtube-1 {
    width: 100%;
    height: auto;
    /* border: 1px white solid; */
}

.area-thumbnail-youtube {
    width: auto;
    margin: 40px 80px 0px 80px;
    height: auto;
    /* border: 1px red solid; */
}

.area-image-thumbnail {
    width: 100%;
    height: 300px;
    background-color: gainsboro;
    border-radius: 15px;
}

.banner-youtube{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.area-title-thumbnail {
    width: 100%;
    height: fit-content;
    /* border: 1px green solid; */
    text-align: center;
    margin: 20px 0px;
}

.title-thumbnail {
    font-size: 40px;
    font-weight: 200;
    font-family: "Bebas Neue";
    color: black;
    margin: 0px;
}

/* -------------- */

/* page youtube 2 */

.page-youtube-2 {
    width: 100%;
    height: auto;
}

.area-video-youtube {
    width: auto;
    height: auto;
    /* border: 1px red solid; */
    margin: 0px 80px 0px 80px;
}

.area-header-video {
    width: 100%;
    height: fit-content;
    /* border: 1px white solid; */
    display: flex;
    gap: 20px;
}

.area-select-dropdown{
    width: auto;
    height: auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.text-choose {
    font-family: "Poppins";
    font-size: 20px;
    color: black;
    margin: 0px;
}

.area-input {
    max-width: 400px;
    /* background: white; */
    /* padding: 20px; */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.dropdownP {
    font-family: "Poppins";
    position: relative;
}

.dropdown-btn-search {
    width: 200px;
    padding: 8px;
    border: 1px solid #006fa7;
    background-color: #006fa7;
    border-radius: 4px;
    font-family: "Poppins";
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.dropdown-playlist {
    font-family: "Poppins";
    display: none;
    position: absolute;
    background-color: white;
    min-width: 100%;
    /* border: 1px solid #ccc; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dropdown-playlist div {
    padding: 10px;
    cursor: pointer;
}

.dropdown-playlist div:hover {
    background-color: #f0f0f0;
}

.dropdown-item{
    padding:0px 10px;
    cursor: pointer;
}

/* area content video */
.area-content-video {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Hilangkan gap untuk memastikan card menempel */
    width: 100%;
    margin-top: 20px;
}

.video-card {
    /* background-color: #181818; */
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); */
    transition: transform 0.3s ease;
    flex: 1 1 calc(25% - 20px); /* Tepat 4 card per baris, tanpa jarak */
    max-width: 25%;
    box-sizing: border-box; /* Menghitung padding dan border agar card tetap rapi */
    /* border: 1px red solid; */
}

/* .video-card:hover {
    transform: scale(1.05);
} */

.thumbnail {
    width: 100%;
    height: 160px;
    display: block;
    background-color: #f0f0f0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.video-info {
    display: flex;
    padding: 12px 0px;
    color: #fff;
    /* border: 1px red solid; */
}

.channel-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
}

.video-details {
    flex-grow: 1;
    /* border: 1px green solid; */
}

.video-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-family: "Poppins";
    margin: 0px 0px 5px 0px;
}

.channel-name {
    font-size: 14px;
    color: #fff;
    margin-bottom: 4px;
    font-family: "Poppins";
    margin: 0px 0px 2px 0px;
}

.views {
    font-size: 12px;
    color: #e2e1e1;
    font-family: "Poppins";
    margin: 0px;
}
/* ----------------- */

/* -------------- */

/* page youtube 3 */

.page-youtube-3 {
    width: 100%;
    height: fit-content;
}

.line-VNS {
    width: 100%;
    border: 1px white solid;
    margin: 30px 0px;
}

.area-event {
    width: auto;
    height: auto;
    margin: 0px 80px 0px 80px;
    /* border: 1px white solid; */
}

.line-event {
    width: auto;
    border: 3px white solid;
    margin-top: 30px;
    border-radius: 5px;
}

.header-event {
    width: 100%;
    height: fit-content;
    /* border: 1px red solid; */
    text-align: center;
    /* margin-top: 30px; */
}

.title-event {
    font-size: 40px;
    font-family: "Bebas Neue";
    margin: 0px;
    font-weight: 200;
    /* color: white; */
}

.area-content-event {
    width: 100%;
    height: auto;
    /* border: 1px blue solid; */
    display: flex;
    gap: 20px;
    margin-top: 15px;
    /* margin-bottom: 60px; */
}

.area-group-event {
    width: 100%;
}

.area-content-groupE{
    height: auto;
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    margin-top: 10px;
}

/* event kiri */
.area-content-event-kiri {
    width: 50%;
    height: fit-content;
    display: flex;
    /* border: 1px greenyellow solid; */
}

.content-event-CD {
    width: 100%;
    height: 325px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: ; */
    cursor: pointer;
    border-radius: 8px;
    position: relative; /* Dibutuhkan untuk child position: absolute */
    overflow: hidden;
}

.image-CD{
    width: 100%; /* Sesuaikan dengan lebar parent */
    height: 100%; /* Sesuaikan dengan tinggi parent */
    position: absolute; /* Untuk menempel pada parent */
    object-fit: contain; /* Menjaga proporsi gambar */
    top: 0; /* Atur posisi di atas */
    left: 0;
    z-index: 1;
}

.area-countdown {
    height: 70px;
    border-radius: 8px;
    background: linear-gradient(to bottom, transparent, #333333e8);
    display: flex;
    justify-content: center;
    padding: 8px;
    z-index: 2;
}

.countdown {
    width: 65%;
    height: 100%;
    /* border: 1px white solid; */
    display: flex;
}

.area-days-date {
    /* width: 100%; */
    height: auto;
    /* border: 1px red solid; */
    background: linear-gradient(to top, transparent, #333333b9);
    text-align: left;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 15px;
    z-index: 2;
}

.time-countdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Untuk memusatkan teks di tengah */
    width: 25%;
    height: auto;
}

.timer {
    margin: 0px;
    font-family: "Krub";
    font-size: 34px;
    color: white;
    font-weight: 500;
}

.title-timer {
    margin: 0px;
    font-family: "Krub";
    font-size: 18px;
    color: white;
    font-weight: 200;
}

.box-days-date {
    width: auto;
    height: auto;
    /* border: 1px red solid; */
}

.date-month {
    font-family: "Bebas Neue";
    font-size: 24px;
    color: white;
    font-weight: 200;
    margin: 0px;
}
.year {
    font-family: "Bebas Neue";
    font-size: 30px;
    color: white;
    font-weight: 200;
    margin: 0px;
}

.area-detail-event {
    width: 25%;
    height: auto;
    /* border: 1px red solid; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-event {
    width: 150px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.text-detail-event {
    font-family: "Poppins";
    font-size: 18px;
    color: black;
    margin: 10px;
}

/* ---------- */
.popup-event {
    display: none; /* Sembunyikan pop-up secara default */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Latar belakang semi-transparan */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Pastikan pop-up di atas elemen lainnya */
    opacity: 0; /* Awal: transparan untuk animasi fade */
    transition: opacity 0.5s ease-in-out; /* Transisi untuk fade */
}

.popup-content-event {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    width: 500px;
    height: fit-content; /* Lebar pop-up */
    display: flex;
    justify-content: center;
    align-items: end;
    transform: translateY(50px) scale(0.7); /* Awal: scale kecil dan turun */
    transition: transform 0.5s ease-in-out; /* Transisi untuk animasi scale dan slide */
}

/* Animasi saat pop-up muncul */
.popup-event.muncul {
    display: flex; /* Tampilkan pop-up */
    opacity: 1; /* Pop-up terlihat */
}

.popup-event.muncul .popup-content-event {
    transform: translateY(0) scale(1); /* Kembalikan ke ukuran dan posisi normal */
}

/* Animasi saat pop-up keluar */
.popup-event.tutup {
    opacity: 0; /* Fade-out */
    transition: opacity 0.5s ease-in-out;
}

.popup-event.tutup .popup-content-event {
    transform: translateY(50px) scale(0.7); /* Kecilkan dan geser turun */
}

.close {
    cursor: pointer;
    font-size: 20px;
    color: #000;
    position: absolute;
    right: 10px;
    top: 10px;
}

.area-info-event {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.desk-event {
    font-size: 18px;
    font-family: "Poppins";
    margin: 0px;
    font-weight: 300;
    color: black;
}

.jam-event {
    font-size: 16px;
    font-family: "Poppins";
    margin: 0px;
    font-weight: 500;
    color: black;
}

.title-box-event {
    font-size: 34px;
    font-family: "Bebas Neue";
    font-weight: 200;
    margin: 0px;
    color: black;
}

.link-event {
    text-decoration: none;
    font-size: 18px;
    font-family: "Poppins";
    font-weight: 300;
    margin: 0px;
    color: black;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.link-event:hover {
    text-decoration: underline;
}

/* event kanan */

.area-content-event-kanan{
    width: 50%;
}

.area-box-content-event-kanan {
    width: 100%;
    /* height: 50; */
    /* border: 1px crimson solid; */
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.content-event {
    width: 100% !important;
    height: 325px;
    background-color: #f0f0f0;
    /* display: flex;
    justify-content: end;
    align-items: end; */
    cursor: pointer;
    border-radius: 8px;
    position: relative; /* Dibutuhkan untuk child position: absolute */
    overflow: hidden;
}

.image-UC{
    width: 100%; /* Sesuaikan dengan lebar parent */
    height: 100%; /* Sesuaikan dengan tinggi parent */
    position: absolute; /* Untuk menempel pada parent */
    object-fit: contain; /* Menjaga proporsi gambar */
    top: 0; /* Atur posisi di atas */
    left: 0;
    z-index: 1;
}

.area-days-date-right {
    /* width: 100%; */
    /* height: 40px; */
    /* background-color: #333333b9; */
    border-radius: 8px;
    display: flex;
    padding: 0px;
}

.content-days-date-right {
    z-index: 2;
    background: linear-gradient(to top, transparent, #333333b9);
    width: 100%;
    height: 80px;
    padding: 15px;
    /* border: 1px red solid; */
    text-align: left;
    /* display: flex;
    justify-content: end;
    align-items: end; */
}

.box-days-date-right {
    width: 40%;
    height: auto;
    /* border: 1px red solid; */
}

.date-month-right {
    font-family: "Bebas Neue";
    font-size: 22px;
    color: white;
    font-weight: 200;
    margin: 0px;
}
.year-right {
    font-family: "Bebas Neue";
    font-size: 22px;
    color: white;
    font-weight: 200;
    margin: 0px;
}
/* ------------- */
/* -------------- */

/* area content kanan */
.page-youtube-4 {
    width: 100%;
    height: fit-content;
    background-color: white;
}

.line-VNS {
    width: 100%;
    border: 1px white solid;
    margin: 30px 0px;
}

.area-news-streaming {
    width: auto;
    height: auto;
    margin: 20px 80px 40px 80px;
    /* border: 1px red solid; */
}

.area-content-news-streaming {
    width: 100%;
    height: auto;
}

.content-news-streaming {
    width: 100%;
    height: fit-content;
    /* border: 1px green solid; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0px;
    gap: 5px;
}

.area-content-news {
    height: fit-content;
    width: 100%;
    /* border: 1px #ffdb00 solid; */
    display: flex;
    flex-direction: column;
}

.header-news {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-news {
    margin: 0px;
    font-family: "Bebas Neue";
    font-size: 38px;
    font-weight: 200;
    color: black;
}

.link-box-news {
    width: calc(25% - 10px); /* Setengah kontainer minus setengah gap */
    color: black;
}

.more-news{
    margin: 0px;
    font-family: "Poppins";
    font-size: 18px;
    font-weight: 200;
    display: flex;
    color: black;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.more-news i{
    font-size: 22px;
}


.content-news {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-top: 10px;
}

.box-news {
    width: 100%;
    /* height: 340px; */
    /* max-height: 120px; */
    /* background-color: #f0f0f0; */
    border-radius: 15px;
    /* display: flex; */
    /* padding: 10px; */
    /* justify-content: center;
    align-items: center; */
    box-sizing: border-box;
    gap: 8px;
}

.area-image {
    width: 100%;
    /*border: 1px black solid;
    */
    border-radius: 20px;
    /* background-color: #333; */
    /* height: 100%; */
}

.line-top-info {
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.area-text-desk-top-info {
    /* width: 100%; */
    height: fit-content;
    max-height: 50%;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin-top: 5px;
    /* padding: 10px; */
    /* border: 1px rgb(40, 40, 40) solid; */
    border-radius: 8px;
}

.area-tag {
    display: flex;
    gap: 4px;
    margin-top: 5px;
}

.tag-top-info {
    font-family: "Bebas Neue";
    margin: 0px;
    font-size: 16px;
    font-weight: 500;
    overflow-wrap: break-word;
    padding: 2px 0;
}

/* .area-text {
    height: 54px;
} */

.desk-top-info {
    font-family: "Poppins";
    margin: 0px;
    font-size: 16px;
    overflow-wrap: break-word;
    padding: 2px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Membatasi 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Menyembunyikan sisa teks yang tidak muat */
    text-overflow: ellipsis;
    font-weight: 700;
}

.date-top-info {
    font-family: "Poppins";
    margin: 0px;
    font-size: 12px;
    overflow-wrap: break-word;
    padding: 2px 0;
}

.image-top-info {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19); /* Shadow */
}
/* ------------------ */

.line-NS{
    width: 100%;
    border: 1px black solid;
    margin: 20px 0px;
}


/* area content streaming */
.area-content-streaming {
    width: 100%;
    height: fit-content;
    /* border: 1px red solid; */
}

.header-streaming {
    width: 100%;
    /* height: 5%; */
    height: fit-content;
}

.title-streaming {
    font-size: 40px;
    font-family: "Bebas Neue";
    font-weight: 200;
    color: black;
    margin: 0px;
}

.content-streaming {
    width: 100%;
    /* height: 100%; */
    /* border: 1px red solid; */
}

.box-streaming {
    width: 100%;
    height: 200px;
    /* background-color: #f0f0f0; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-play-streaming {
    height: 55px;
    width: 55px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
}

.image-streaming{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    filter: brightness(0.5);
    border-radius: 8px;
}

.btn-play-streaming span {
    font-size: 28px;
}

/* ------------------------ */

/* ------------------ */

/* ---------------------- */

/* --------------- */

/* video list */
.video--container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    /* justify-content: center; */
}

.video--wrapper {
    width: calc(25% - 15px);
    border-radius: 8px;
    overflow: hidden;
    /* background-color: #fff; */
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s;
}

body.dark-mode .video--wrapper {
    background-color: #333;
}

/* .video--wrapper:hover {
    transform: translateY(-5px);
} */

.video--thumbnail {
    position: relative; /* Menambahkan posisi relatif untuk overlay */
}

.video--thumbnail img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #e0e0e0; /* Garis batas bawah thumbnail */
}

.video--thumbnail__overlays {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    flex-direction: row;
    height: 12px;
    margin: 4px;
    padding: 3px 4px;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    border-radius: 4px;
    box-sizing: content-box;
    color: white;
    font-family: "Poppins";
}

.video--wrapper:hover .video--thumbnail__overlays {
    opacity: 1; /* Tampilkan overlay saat hover */
}

.video--details {
    display: flex;
    padding: 10px;
    background-color: white;
}

.video--details__channelTitle{
    font-weight: 300;
    margin: 4px 0;
    font-family: "Poppins";
    font-size: 16px;
    color: black;
}

.video--details__title {
    margin: 12px 0 4px;
    font-family: "Poppins";
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    max-height: 44px;
    overflow: hidden;
    display: block;
    -webkit-line-clamp: 2;
    display: box;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
}

.video--details__avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.video--details__meta h3{
    margin: 4px 0;
    font-family: "Poppins";
    font-size: 16px;
    color: black;
}

.video--details__meta-data {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: black;
    font-family: "Poppins";
    font-weight: 200;
}

/* Dark Mode for Video Details */
body.dark-mode .video--details__meta-data,
body.dark-mode .video--details__meta h3,
body.dark-mode .video--details__meta h4 {
    color: #ccc;
}

/* ------------- */

/* pop up youtube */
.modal {
    display: none; /* Default hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7); /* Background semi-transparent */
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0; /* Menghapus padding */
    width: 80%; /* Ukuran modal */
    max-width: 800px; /* Batas maksimal lebar modal */
    top: 50%; /* Posisikan di tengah vertikal */
    transform: translateY(-50%); /* Menggeser ke atas setengah dari tinggi modal */
}

iframe {
    width: 100%; /* Menggunakan lebar penuh modal */
    height: 450px; /* Atur tinggi iframe sesuai kebutuhan */
    border: none; /* Menghapus border */
}

.close {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: white; /* Warna saat hover */
    text-decoration: none;
    cursor: pointer;
}

/* ------------- */
