  * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Segoe UI
    }

    body {
      background: #000000;
      color: #fff
    }

    body::-webkit-scrollbar {
      display: none
    }

    /* NAVBAR */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 25px;   /* sebelumnya biasanya 18–24px */
      height: auto;
      background: linear-gradient(
        to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0)
  );
      position: relative;
      z-index: 100;
    }


.mylist-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
}

.mylist-panel .card {
  width: 100px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}

.mylist-panel .card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.mylist-panel .card:hover {
  transform: scale(1.05);
}

    /* HERO */
    .hero {
      display: flex;
      height: 75vh;
      padding-left: 60px;
      gap: 40px;
      position: relative;
    }

    .hero-left {
      max-width: 520px;
      align-self: center;
      z-index: 4;
    }

    .age {
      background: #333;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 13px
    }

    .hero-left h1,
    .hero-left .meta,
    .hero-left .desc {
      transition: all 0.5s ease;
      opacity: 1;
      transform: translateY(0);
    }

    .fade-slide-out {
      opacity: 0;
      transform: translateY(50px);
    }

    .fade-slide-in {
      opacity: 1;
      transform: translateY(0);
    }

    #movieTitle {
      font-size: 42px;
      margin: 12px 0 8px;
    }

    .meta {
      color: #bbb;
      font-size: 14px;
      margin-bottom: 12px;
    }

    .desc {
      margin-bottom: 24px;
      line-height: 1.6;
    }

    .actions {
      display: flex;
      gap: 12px;
    }

    .btn-play {
      background: #ff2e2e;
      border: none;
      padding: 12px 22px;
      border-radius: 8px;
      cursor: pointer;
      color: white;
    }

    .like-btn,
    .list-btn {
      background: transparent;
      border: 2px solid rgba(255, 255, 255, .3);
      color: white;
      padding: 10px 14px;
      border-radius: 10px;
      cursor: pointer;
      display: flex;
      gap: 8px;
      align-items: center;
      position: relative;
      transition: all 0.3s;
      cursor:not-allowed;
    }

    .like-btn.active {
      color: #ff4d4d;
      border-color: #ff4d4d
    }

    .like-btn.active i {
      animation: likePop .4s ease
    }

    @keyframes likePop {
      0% {
        transform: scale(1)
      }

      40% {
        transform: scale(5)
      }

      100% {
        transform: scale(1)
      }
    }

    /* VIDEO */
    .hero-right {
      flex: 1.6;
      position: relative;
      overflow: hidden;
      margin-left: -80px;
    }

    .hero-right video {
  width: 100%;
  height: 100%;
  object-fit: cover;
    }

    .hero-right::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to left, rgba(0, 0, 0, .15), rgba(0, 0, 0, .8));
      pointer-events: none;
    }

    /* POSTER */
    .video-poster {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      z-index: 2;
      transition: all 0.6s ease;
      opacity: 1;
      transform: scale(1);
    }


    .video-poster.hide {
      opacity: 0;
      pointer-events: none;
      transform: scale(0.95);
    }

    /* SOUND */
    .sound-btn {
      position: absolute;
      bottom: 15px;
      right: 15px;
      background: transparent;
      border: 2px solid rgba(255, 255, 255, .432);
      color: rgba(255, 255, 255, .432);
      border-radius: 50%;
      padding: 10px;
      z-index: 5;
      cursor: pointer;
    }

    .sound-btn:hover {
      border: 2px solid rgba(255, 255, 255, .733);
      color: rgba(255, 255, 255, .733);
    }

    /* COUNTDOWN */
    .countdown {
      position: absolute;
      bottom: 18px;
      left: 18px;
      font-size: 13px;
      background: rgba(0, 0, 0, .6);
      padding: 6px 10px;
      border-radius: 6px;
      z-index: 4;
    }

    /* CARD */
    .similar {
      padding: 50px;
    }

/* CARD LIST FLEX */
    .card-list {
      display: flex;
      gap: 16px;
      padding-left: 30px;
      padding-top: 25px;
    }

    .card {
      width: 180px;
      height: 260px;
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      transition: 0.3s;
    }

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


    .card:hover {
      transform: scale(1.1);
      transition: 520ms linear;
      box-shadow: 0px 2px 15px rgb(236, 90, 90);
    }


    /* TOAST */
    .toast-container {
      position: fixed;
      bottom: 20px;
      left: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 9999;
    }

    .toast {
      min-width: 280px;
      background: #000000;
      color: #a19e9e;
      border-radius: 6px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
      transform: translateX(120%) skewX(-6deg);
      opacity: 0;
      animation: toastIn .4s ease forwards;
      position: relative;
    }

    .toast i {
      font-size: 20px;
    }

    .toast .close {
      margin-left: auto;
      cursor: pointer;
      color: #888;
    }

    .toast .progress {
      position: absolute;
      top: 0;
      left: 0;
      height: 4px;
      width: 100%;
      border-radius: 6px 6px 0 0;
      animation: progressShrink 3s linear forwards;
    }

    .toast.success .progress {
      background: #22c55e;
    }

    .toast.error .progress {
      background: #ef4444;
    }

    .toast.warning .progress {
      background: #f59e0b;
    }

    @keyframes progressShrink {
      from {
        width: 100%;
      }

      to {
        width: 0%;
      }
    }

    @keyframes toastIn {
      from {
        transform: translateX(-120%);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    @keyframes toastOut {
      from {
        transform: translateX(0);
        opacity: 1;
      }

      to {
        transform: translateX(-120%);
        opacity: 0;
      }
    }

    /* FLY ANIMASI MY LIST */
    .fly-item {
      position: absolute;
      width: 50px;
      height: 70px;
      border-radius: 6px;
      pointer-events: none;
      z-index: 999;
      transition: all 0.8s ease-in-out;
      background-size: cover;
      background-position: center;
    }

    .list {
      font-size: 16px;
      padding: 7px;
    }

    .tls {
      padding-left: 21%;
    }

    .garis {
      background: red;
      width: 75px;
      height: 3px;
      border-radius: 12px;
    }

    @keyframes users {
      to {
        transform: translateX(0);
        opacity: 1;
      }

      from {
        transform: translateX(100px);
        opacity: 0;
      }
    }

    .animasis {
      animation: 1s tutups ease-in-out;
    }

    @keyframes tutups {
      to {
        transform: translateX(100px);
        opacity: 0;
      }

      from {
        transform: translateX(0);
        opacity: 1;
      }
    }
    .nav-right {
      display: flex;
      align-items: center;
      gap: 18px;
      /* jarak antara My List & foto profil */
    }

    .mylist-box {
      position: relative;
    }

    .mylist-panel {
      right: 0;
      top: 45px;
    }

    .modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .6);
      display: none;
      justify-content: center;
      align-items: flex-start;
      padding-top: 80px;
      z-index: 9999;
    }


    .modal-box {
      background: #111;
      padding: 20px;
      border-radius: 12px;
      width: 380px;
      max-height: 70vh;
      overflow-y: auto;
      color: white;
    }


    .modal-box h3 {
      margin-bottom: 10px;
    }
    #onlineCount {
      padding: 6px 12px;
      border-radius: 12px;
      color: white;
      font-weight: 700;
      transition: background 0.4s, box-shadow 0.4s;
    }

    /* KEDAP KEDIP CEPAT */
    .blink-fast {
      animation: blinkFast 0.6s infinite;
    }

    @keyframes blinkFast {
      0% {
        opacity: 1
      }

      50% {
        opacity: .2
      }

      100% {
        opacity: 1
      }
    }

    /* KEDAP KEDIP PELAN */
    .blink-slow {
      animation: blinkSlow 1.6s infinite;
    }

    @keyframes blinkSlow {
      0% {
        opacity: 1
      }

      50% {
        opacity: .4
      }

      100% {
        opacity: 1
      }
    }

    /* GLOW HIJAU RINGAN */
    .glow {
      animation: glow 2s infinite alternate;
    }

    @keyframes glow {
      from {
        box-shadow: 0 0 8px rgba(0, 255, 0, .4);
      }

      to {
        box-shadow: 0 0 25px rgba(0, 255, 0, .9);
      }
    }

    .popup {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, .75);
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    .popup-content {
      background: transparent;
      backdrop-filter: blur(20px);
      color: #fff;
      padding: 18px;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
      position: relative;
      animation: 550ms muncul ease-in-out;
    }

    @keyframes muncul {
      from {
        transform: translateY(100px);
        opacity: 0;
      }
    }

    .popup-body {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    /* Gambar tetap 9:16 */
    .popup-img {
      height: 280px;
      aspect-ratio: 9/16;
      object-fit: cover;
      border-radius: 14px;
    }

    /* Teks di kanan */
    .popup-text {
      max-width: 260px;
    }

    .popup-text h3 {
      text-align: center;
      align-items: center;
      justify-content: center;
      margin: auto;
    }

    .popup-text p {
      opacity: .9;
    }

    /* Tombol close */
    .close {
      position: absolute;
      right: 12px;
      top: 10px;
      font-size: 22px;
      cursor: pointer;
    }

    @keyframes pop {
      from {
        transform: scale(.7);
        opacity: 0
      }

      to {
        transform: scale(1);
        opacity: 1
      }
    }

    .blm-login {
      background: red;
      border: none;
      padding: 8px;
      border-radius: 8px;
      cursor: pointer;
      color: white;
      display: flex;
      align-items: center;
      margin: auto;
    }

    .blm-login:hover {
      box-shadow: 0px 1px 10px white;
    }

    .jdl {
      text-align: center;
      padding: 10px;
    }

    .des-1 {
      padding: 12px;
    }

    footer {
      padding: 2.5rem 1.5rem;
      border-top: 1px solid rgba(255, 255, 255, .08);
      text-align: center;
      color: #9ca3af;
    }
.video-gradient {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.95) 0%,    /* kiri pekat (judul) */
    rgba(0,0,0,0.9) 15%,
    rgba(0,0,0,0.65) 35%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.1) 75%,
    rgba(0,0,0,0) 80%     /* kanan pudar (video) */
  );
}

.show-more-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0 20px;
}

.show-more {
  background: transparent;
  color: #fff;
  border: 3px solid #fff;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 14px;
  width: 65%;
  cursor: pointer;
  transition: all .3s ease;
  backdrop-filter: blur(6px);
}

.show-more:hover {
   border: 3px solid #bebebe;
   color: #bebebe;
}

.show-more i {
  margin-left: 6px;
  transition: transform .3s ease;
}
.show-more.active i {
  transform: rotate(180deg);
}
.card-wrapper {
  max-height: 321px;       /* 1 baris poster */
  overflow: hidden;
  transition: max-height .6s ease;
  position: relative;
   max-width: 1200px; /* ukuran konten maksimal seperti YouTube */
  margin: 0 auto;    /* otomatis di tengah */
  padding-left: 45px;
  padding-right: 40px;
}

.card-wrapper.expanded {
  max-height: 6000px;
}
 @media(max-width:768px) {
      .hero {
        flex-direction: column;
      }

      video {
        width: 100%;
      }
    }

    @media(max-width:480px) {

      .navbar {
        padding: 12px 16px;
      }

      .logo {
        font-size: 18px;
      }

      .hero {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
      }

      .hero-left h1 {
        font-size: 26px;
      }

      .meta {
        font-size: 12px;
      }

      .desc {
        font-size: 13px;
      }

      .actions {
        flex-wrap: wrap;
      }

      .hero-right {
        margin-left: 0;
        height: 220px;
      }

      .card-list {
        flex-wrap: wrap;
        padding-left: 0;
        justify-content: center;
      }

      .card {
        width: 140px;
        height: 200px;
      }

      .user-dropdown {
        width: 200px;
        right: 0;
      }

      .modal-box {
        width: 90%;
      }

      .card-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }

    }

    @media(min-width:481px) and (max-width:768px) {

      .hero {
        flex-direction: column;
        height: auto;
        padding: 30px;
      }

      .hero-left h1 {
        font-size: 32px;
      }

      .hero-right {
        margin-left: 0;
        height: 300px;
      }

      .card-list {
        flex-wrap: wrap;
      }

      .card {
        width: 160px;
        height: 230px;
      }

      .card-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }

    }

    @media(min-width:769px) and (max-width:1200px) {

      .hero {
        height: 65vh;
      }

      .hero-left h1 {
        font-size: 36px;
      }

      .card {
        width: 170px;
        height: 240px;
      }

      .card-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }

    }

    @media(min-width:1400px) {

      .hero-left h1 {
        font-size: 54px;
      }

      .meta {
        font-size: 16px;
      }

      .desc {
        font-size: 18px;
      }

      .card {
        width: 200px;
        height: 280px;
      }

      .card-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }
    }
     @media(max-width:480px) {

      .hero {
        padding: 16px;
      }

      .hero-left h1 {
        font-size: 22px;
      }

      .desc {
        font-size: 13px;
      }

      .hero-right {
        height: auto;
      }

      .card {
        width: 100%;
        height: auto;
        aspect-ratio: 2/3;
      }
    }
    .profile-wrapper {
    position: relative;
    margin-left: 20px;
}

.profile-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 55px;
  width: 280px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  overflow: hidden;

  /* animasi */
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .25s ease;
  z-index: 999;
}

.profile-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/* HEADER */
.dropdown-header {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #222;
}

.dropdown-header img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.dropdown-header p {
    color: #777;
}

/* MENU */
.dropdown-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
}

.menu-item:hover {
  background: #1c1c1c;
}

.menu-item i {
  opacity: .7;
}

.menu-item.toggle {
  justify-content: space-between;
}

.menu-item .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kids-icon {
  width: 22px;
  height: 22px;
}

hr {
  border: none;
  border-top: 1px solid #222;
  margin: 6px 0;
}

.logout {
  color: #ff6b6b;
}

.logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

/* switch */
.switch {
  position: relative;
  width: 36px;
  height: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #333;
  border-radius: 20px;
}

.slider::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: .3s;
}

.switch input:checked + .slider {
  background: #f70d05;
}

.switch input:checked + .slider::before {
  transform: translateX(16px);
}

.copyright {
  display: block;
  padding: 10px 16px;
  font-size: 11px;
  color: #777;
}

.profile-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
/* ===== WELCOME MODAL ===== */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.welcome-box {
  position: relative;
  background: linear-gradient(180deg,#111,#1c1c1c);
  color: #fff;
  max-width: 420px;
  width: 90%;
  padding: 32px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: pop .35s ease;
}

.welcome-box h1 {
  font-size: 26px;
  margin-bottom: 10px;
}

.welcome-box p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 25px;
}

.welcome-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.welcome-actions .btn {
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.btn-primary {
  background: #ff1d1d;
  color: #fff;
}

.btn-primary:hover {
  background: #f00909;
}

.btn-outline {
  border: 1px solid #ff1d1d;
  color: #ff1d1d;
}

.btn-outline:hover {
  background: #f10c0c;
  color: #fff;
}

.close-welcome {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
}

.close-welcome:hover {
  color: #fff;
}

@keyframes pop {
  from { transform: scale(.85); opacity: 0 }
  to { transform: scale(1); opacity: 1 }
}

#logoutModal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}
/* ===== LOGOUT MODAL ===== */
.logout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.logout-box {
  background: #111;
  padding: 28px;
  border-radius: 18px;
  width: 360px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  animation: logoutPop .35s ease;
}

.logout-box h3 {
  margin-bottom: 10px;
}

.logout-box p {
  opacity: .85;
  margin-bottom: 22px;
}

.btn-logout {
  background: #ff2e2e;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  font-weight: 600;
}

.btn-logout:hover {
  background: #ff0000;
}

.btn-cancel {
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  padding: 10px;
  border-radius: 10px;
  color: white;
  width: 100%;
  cursor: pointer;
}

.btn-cancel:hover {
  border-color: white;
}

@keyframes logoutPop {
  from {
    transform: scale(.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* ===== My Library Panel ===== */
.library-panel {
  position: fixed;       /* tetap di layar */
  top: 0;
  right: -380px;         /* awalnya di luar layar */
  width: 290px;
  height: 100%;
  background-color: #111;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.5);
  padding: 20px 25px;
  z-index: 9999;         /* pastikan di atas dropdown lain */
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Tampilkan panel */
.library-panel.show {
  right: 0;
}

/* Header panel */
.library-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.library-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Tombol close */
#closeLibrary {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
.lib{
  font-size: 20px;
  font-family: sans-serif;
  font-weight: bold;
}
.fa-chevron-left{
  font-size: 18px;
  font-weight: bold;
  padding-right: 12px;
}

.help-and {
  position: fixed;       /* tetap di layar */
  top: 0;
  right: -380px;         /* awalnya di luar layar */
  width: 290px;
  height: 100%;
  background-color: #111;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.5);
  padding: 20px 25px;
  z-index: 9999;         /* pastikan di atas dropdown lain */
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Tampilkan panel */
.help-and.show {
  right: 0;
}

/* Header panel */
.help-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.help-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Tombol close */
#closehelp {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.setting-and {
  position: fixed;       /* tetap di layar */
  top: 0;
  right: -380px;         /* awalnya di luar layar */
  width: 290px;
  height: 100%;
  background-color: #111;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.5);
  padding: 20px 25px;
  z-index: 9999;         /* pastikan di atas dropdown lain */
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Tampilkan panel */
.setting-and.show {
  right: 0;
}

/* Header panel */
.setting-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.setting-panel h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Tombol close */
#settinghelp {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.menu-item a{
  text-decoration: none;
  color: white;
}
.profile-avatar,
.dropdown-header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.bahasa-and {
  position: fixed;       /* tetap di layar */
  top: 0;
  right: -380px;         /* awalnya di luar layar */
  width: 290px;
  height: 100%;
  background-color: #111;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0,0,0,0.5);
  padding: 20px 25px;
  z-index: 9999;         /* pastikan di atas dropdown lain */
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Tampilkan panel */
.bahasa-and.show {
  right: 0;
}

/* Header panel */
.bahasa-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.bahasa-panel h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Tombol close */
#closebahasa {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}
#languageSelect{
  display: flex;
  flex-direction: column;
  padding-top: 8%;
}
#languageSelect button{
  border: none;
  margin-top: 1.5%;
  background: transparent;
  color: white;
  text-align: start;
  padding: 8px;
}
#languageSelect button:hover{
  box-shadow: 0px 2px 12px white;
  border-radius: 10px;
  cursor: pointer;
}
/* ===== KIDS MODE STYLES - VERSI LEBIH MINIMALIS ===== */
body.kids-mode {
  background: #0a0a1a; /* Warna gelap dengan sedikit nuansa biru */
}

body.kids-mode::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 118, 210, 0.05) 0%, rgba(76, 175, 80, 0.03) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Navbar untuk Kids Mode */
body.kids-mode .navbar {
  background: linear-gradient(
    to bottom,
    rgba(10, 25, 47, 0.95),
    rgba(10, 25, 47, 0.7),
    rgba(10, 25, 47, 0)
  );
  border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

body.kids-mode .logo {
  color: #4CAF50;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero section untuk Kids Mode */
body.kids-mode .hero-left h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

body.kids-mode .age {
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.kids-mode .meta {
  color: #a8d5ba;
}

body.kids-mode .desc {
  color: #e0e0e0;
}

/* Tombol untuk Kids Mode */
body.kids-mode .btn-play {
  background: linear-gradient(135deg, #FF5722, #E64A19);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

body.kids-mode .btn-play:hover {
  background: linear-gradient(135deg, #FF7043, #F4511E);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
}

body.kids-mode .like-btn,
body.kids-mode .list-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.5);
  color: #4CAF50;
  backdrop-filter: blur(10px);
}

body.kids-mode .like-btn:hover,
body.kids-mode .list-btn:hover {
  background: rgba(76, 175, 80, 0.2);
  border-color: #4CAF50;
}

body.kids-mode .like-btn.active {
  background: rgba(76, 175, 80, 0.3);
  border-color: #4CAF50;
  color: #4CAF50;
}

/* Cards untuk Kids Mode */
body.kids-mode .card {
  border: 2px solid rgba(76, 175, 80, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

body.kids-mode .card:hover {
  transform: scale(1.05);
  border-color: #4CAF50;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

body.kids-mode .card.active {
  border: 3px solid #FF5722;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.6);
}

/* Show More button untuk Kids Mode */
body.kids-mode .show-more {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  border: 2px solid #4CAF50;
  backdrop-filter: blur(10px);
}

body.kids-mode .show-more:hover {
  background: rgba(76, 175, 80, 0.2);
  border-color: #66BB6A;
  color: #66BB6A;
}

/* Footer untuk Kids Mode */
body.kids-mode footer {
  background: rgba(10, 25, 47, 0.8);
  border-top: 1px solid rgba(76, 175, 80, 0.3);
  color: #a8d5ba;
  backdrop-filter: blur(10px);
}

/* Kids Mode Badge - Lebih Minimalis */
.kids-mode-badge {
  position: fixed;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.kids-mode-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
  background: linear-gradient(135deg, #66BB6A, #388E3C);
}

.kids-mode-badge i {
  font-size: 14px;
}

/* Profile Dropdown untuk Kids Mode */
body.kids-mode .profile-dropdown {
  background: rgba(10, 25, 47, 0.95);
  border: 1px solid rgba(76, 175, 80, 0.3);
  backdrop-filter: blur(20px);
}

body.kids-mode .dropdown-header {
  border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

body.kids-mode .menu-item:hover {
  background: rgba(76, 175, 80, 0.1);
}

body.kids-mode .logout {
  color: #FF6B6B;
}

body.kids-mode .logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

/* Switch toggle untuk Kids Mode */
body.kids-mode .slider {
  background: #333;
}

body.kids-mode .switch input:checked + .slider {
  background: #4CAF50;
}

/* Toast untuk Kids Mode */
body.kids-mode .toast {
  background: rgba(10, 25, 47, 0.95);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #e0e0e0;
  backdrop-filter: blur(10px);
}

body.kids-mode .toast.success .progress {
  background: #4CAF50;
}

body.kids-mode .toast.error .progress {
  background: #FF5722;
}

body.kids-mode .toast.warning .progress {
  background: #FFC107;
}

/* Video poster untuk Kids Mode */
body.kids-mode .video-poster {
  filter: brightness(0.9);
}

/* Sound button untuk Kids Mode */
body.kids-mode .sound-btn {
  border: 2px solid rgba(76, 175, 80, 0.5);
  color: rgba(76, 175, 80, 0.8);
}

body.kids-mode .sound-btn:hover {
  border: 2px solid #4CAF50;
  color: #4CAF50;
}

/* Countdown untuk Kids Mode */
body.kids-mode .countdown {
  background: rgba(10, 25, 47, 0.8);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #a8d5ba;
}

/* Modal untuk Kids Mode */
body.kids-mode .modal,
body.kids-mode .popup,
body.kids-mode .logout-modal,
body.kids-mode .welcome-overlay {
  background: rgba(10, 25, 47, 0.9);
}

body.kids-mode .modal-box,
body.kids-mode .popup-content,
body.kids-mode .logout-box,
body.kids-mode .welcome-box {
  background: rgba(10, 25, 47, 0.95);
  border: 1px solid rgba(76, 175, 80, 0.3);
  backdrop-filter: blur(20px);
}

/* Panel (Library, Help, Settings) untuk Kids Mode */
body.kids-mode .library-panel,
body.kids-mode .help-and,
body.kids-mode .setting-and,
body.kids-mode .bahasa-and {
  background: rgba(10, 25, 47, 0.95);
  border-left: 1px solid rgba(76, 175, 80, 0.3);
}

/* Headers panel untuk Kids Mode */
body.kids-mode .library-header,
body.kids-mode .help-header,
body.kids-mode .setting-panel,
body.kids-mode .bahasa-panel {
  border-bottom: 1px solid rgba(76, 175, 80, 0.3);
}

/* Tombol close panel untuk Kids Mode */
body.kids-mode #closeLibrary,
body.kids-mode #closehelp,
body.kids-mode #settinghelp,
body.kids-mode #closebahasa {
  color: #4CAF50;
}

body.kids-mode #closeLibrary:hover,
body.kids-mode #closehelp:hover,
body.kids-mode #settinghelp:hover,
body.kids-mode #closebahasa:hover {
  color: #66BB6A;
}

/* Language selector untuk Kids Mode */
body.kids-mode #languageSelect button {
  color: #e0e0e0;
}

body.kids-mode #languageSelect button:hover {
  background: rgba(76, 175, 80, 0.1);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
  border-radius: 8px;
}

/* Responsif untuk Kids Mode */
@media (max-width: 768px) {
  body.kids-mode .kids-mode-badge {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 12px;
  }
  
  body.kids-mode .navbar {
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  body.kids-mode .kids-mode-badge {
    top: 8px;
    right: 8px;
    padding: 5px 10px;
    font-size: 11px;
  }
  
  body.kids-mode .navbar {
    padding: 6px 12px;
  }
}

/* Animasi subtle untuk Kids Mode */
@keyframes gentlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.95; }
}

body.kids-mode .kids-mode-badge {
  animation: gentlePulse 3s infinite ease-in-out;
}

/* Gradien overlay untuk video di Kids Mode */
body.kids-mode .video-gradient {
  background: linear-gradient(
    to right,
    rgba(10, 25, 47, 0.95) 0%,
    rgba(10, 25, 47, 0.85) 15%,
    rgba(10, 25, 47, 0.7) 35%,
    rgba(10, 25, 47, 0.4) 55%,
    rgba(10, 25, 47, 0.2) 75%,
    rgba(10, 25, 47, 0) 80%
  );
}

/* Subtle highlight untuk elemen penting */
body.kids-mode .hero-left h1::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50, transparent);
  border-radius: 2px;
}

/* Custom scrollbar untuk Kids Mode */
body.kids-mode::-webkit-scrollbar {
  width: 8px;
}

body.kids-mode::-webkit-scrollbar-track {
  background: rgba(10, 25, 47, 0.5);
}

body.kids-mode::-webkit-scrollbar-thumb {
  background: rgba(76, 175, 80, 0.5);
  border-radius: 4px;
}

body.kids-mode::-webkit-scrollbar-thumb:hover {
  background: rgba(76, 175, 80, 0.7);
}/* ================= STYLE UNTUK TAB NAVIGASI ================= */
    .content-tabs {
      margin: 40px auto;
      max-width: 1200px;
      padding: 0 20px;
    }

    .tabs-container {
      background: rgba(0, 0, 0, 0.3);
      border-radius: 10px;
      padding: 20px;
      margin-top: 30px;
    }

    .tabs-nav {
      display: flex;
      position: relative;
      margin-bottom: 30px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 10px;
    }

    .tab-btn {
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.7);
      font-size: 1.2rem;
      font-weight: 600;
      padding: 15px 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
      position: relative;
    }

    .tab-btn:hover {
      color: #fff;
      background: rgba(255, 255, 255, 0.05);
    }

    .tab-btn.active {
      color: #e50914;
    }

    .tab-indicator {
      position: absolute;
      bottom: -1px;
      left: 0;
      height: 3px;
      background: #e50914;
      transition: all 0.3s ease;
      border-radius: 3px 3px 0 0;
    }

    .tab-content {
      display: none;
    }

    .tab-content.active {
      display: block;
      animation: fadeIn 0.5s ease;
    }

    /* Music Player di Tab Music */
    .music-player-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 30px;
      background: rgba(0, 0, 0, 0.2);
      border-radius: 10px;
      margin-top: 20px;
    }

    .music-player {
      width: 100%;
      max-width: 600px;
      background: rgba(30, 30, 30, 0.9);
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .music-info-display {
      text-align: center;
      margin-bottom: 25px;
    }

    .music-album-art {
      width: 200px;
      height: 200px;
      border-radius: 10px;
      overflow: hidden;
      margin: 0 auto 20px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .music-album-art img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .music-title-display {
      color: white;
      font-size: 1.4rem;
      font-weight: 600;
      margin-bottom: 8px;
    }

    .music-artist-display {
      color: #aaa;
      font-size: 1rem;
      margin-bottom: 5px;
    }

    .music-movie-display {
      color: #e50914;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .music-controls {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .music-progress {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .time-display-music {
      color: #aaa;
      font-size: 0.9rem;
      min-width: 45px;
    }

    .progress-bar-music {
      flex: 1;
      height: 6px;
      background: #333;
      border-radius: 3px;
      overflow: hidden;
      cursor: pointer;
    }

    .progress-fill-music {
      height: 100%;
      background: #e50914;
      width: 0%;
      transition: width 0.1s linear;
    }

    .control-buttons {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 25px;
      margin-top: 10px;
    }

    .control-btn {
      background: transparent;
      border: none;
      color: white;
      font-size: 1.2rem;
      cursor: pointer;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .control-btn:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .play-btn {
      width: 60px;
      height: 60px;
      background: #e50914;
      font-size: 1.4rem;
    }

    .play-btn:hover {
      background: #ff0a16;
      transform: scale(1.05);
    }

    /* HAPUS MUSIC SELECTOR DARI TAMPILAN */
    .music-selector {
      display: none !important;
    }

    /* HAPUS STYLE UNTUK CARD MUSIC INDICATOR */
    /*
    .card-music-indicator {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(229, 9, 20, 0.9);
      color: white;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      z-index: 2;
    }
    */

    /* Animasi fade in */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* Responsif */
    @media (max-width: 768px) {
      .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
      }
      
      .tabs-nav {
        justify-content: center;
      }
      
      .music-player {
        padding: 20px;
      }
      
      .music-album-art {
        width: 180px;
        height: 180px;
      }
      
      .control-buttons {
        gap: 15px;
      }
      
      .control-btn {
        width: 45px;
        height: 45px;
      }
      
      .play-btn {
        width: 55px;
        height: 55px;
      }
    }

    @media (max-width: 480px) {
      .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
      }
      
      .music-player {
        padding: 15px;
      }
      
      .music-album-art {
        width: 150px;
        height: 150px;
      }
      
      .music-title-display {
        font-size: 1.2rem;
      }
      
      .control-buttons {
        gap: 10px;
      }
    }

    /* ================= MUSIC TAB STYLES ================= */
.music-player-container {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.171);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-player {
  max-width: 800px;
  margin: 0 auto;
}

.music-info-display {
  text-align: center;
  margin-bottom: 30px;
}

.music-album-art {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.music-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.music-title-display {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.music-artist-display {
  font-size: 1.2rem;
  color: #b3b3b3;
  margin-bottom: 5px;
}

.music-movie-display {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.music-controls {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.music-progress {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.time-display-music {
  font-size: 0.9rem;
  color: #b3b3b3;
  min-width: 45px;
}

.progress-bar-music {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
}

.progress-fill-music {
  height: 100%;
  background: linear-gradient(90deg, #ff0000 0%, #e64100 100%);
  width: 0%;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.control-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.control-btn.play-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff0000 0%, #e64100 100%);
  font-size: 1.5rem;
}

.control-btn.play-btn:hover {
  background: linear-gradient(135deg,  #ff0000 0%, #e64100 100%);
}

.no-music-message {
  text-align: center;
  padding: 40px;
  color: #666;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
  .music-player-container {
    padding: 20px;
    margin-top: 20px;
  }
  
  .music-album-art {
    width: 150px;
    height: 150px;
  }
  
  .music-title-display {
    font-size: 1.5rem;
  }
  
  .control-buttons {
    gap: 20px;
  }
  
  .control-btn {
    width: 45px;
    height: 45px;
  }
  
  .control-btn.play-btn {
    width: 55px;
    height: 55px;
  }
}
/* ======= TABS STYLES ======= */
.content-tabs {
  margin-top: 40px;
  position: relative;
  z-index: 10;
}

.tabs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.tabs-nav {
  position: relative;
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  background: transparent;
  border: none;
  color: #999;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: #f81d1d;
}

.tab-indicator {
  position: absolute;
  bottom: -2px;
  height: 3px;
  background: linear-gradient(90deg, #f81d1d, #ff5e53);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* ======= MUSIC PLAYER STYLES ======= */
.music-player-container {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

#music-tab .music-player-container {
  opacity: 1;
  visibility: visible;
  height: auto;
}

/* Card Music Badge */
.card {
  position: relative;
}

.card-music-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(248, 29, 29, 0.9);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.card:hover .card-music-badge {
  opacity: 1;
  transform: scale(1.1);
}

/* Animation untuk music playing */
@keyframes pulse-music {
  0% { box-shadow: 0 0 0 0 rgba(248, 29, 29, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(248, 29, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(248, 29, 29, 0); }
}

.card.music-playing {
  border: 3px solid #f81d1d !important;
  box-shadow: 0 0 30px rgba(248, 29, 29, 0.5) !important;
  transform: scale(1.02);
  transition: all 0.3s ease;
  animation: pulse-music 2s infinite;
}

/* ======= RESPONSIVE TABS ======= */
@media (max-width: 768px) {
  .tabs-nav {
    gap: 20px;
  }
  
  .tab-btn {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .tabs-nav {
    justify-content: center;
    gap: 15px;
  }
  
  .tab-btn {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* ======= ANIMATIONS ======= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* language-system.css */
/* Logo untuk bahasa Jepang */
.logo-jp {
    animation: logoPulse 1s ease;
    filter: drop-shadow(0 2px 8px rgba(255, 50, 50, 0.4));
}

@keyframes logoPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Tombol bahasa aktif */
#bahasaId.active,
#bahasaEn.active,
#bahasaJp.active {
    background-color: #e50914 !important;
    color: white !important;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

/* Toast notification */
.language-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s;
    max-width: 300px;
}

.language-toast i {
    font-size: 1.2rem;
}

.language-toast.success {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Dropdown bahasa */
#languageSelect {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

#languageSelect button {
    background: #333;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#languageSelect button:hover {
    background: #444;
    transform: translateX(5px);
}

#languageSelect button.active {
    background: #e50914;
    font-weight: bold;
}