@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    color: #e2e2e2;
    background-color: #171717;
    font-family: "Noto Sans JP", "Roboto", sans-serif;
    font-size: 13px;
    font-weight: normal;
  }
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    filter: blur(80px) brightness(0.2); 
    z-index: -1;
}
  body::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, #171717, transparent);
    z-index: -1;
  }
  h1,
  h2 {
    font-family: "Ubuntu", "Roboto", sans-serif;
    font-size: 22px;
    font-weight: bold;
    color: #e2e2e2;
  }
  
  h1 {
    margin-bottom: 50px;
  }
  
  p,
  ul,
  li {
    font-family: "Noto Sans JP", "Roboto", sans-serif;
    font-size: 13px;
    font-weight: normal;
    color: #c5c5c5;
  }
  a {
    text-decoration: none;
    color: inherit;
    color: #c5c5c5;
  }
  a:hover {
    text-decoration: underline;
  }

  /* header-video-pre */
  
  .header-video-pre {
    margin: 25px 130px 0 130px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-video-pre .logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  
  .header-video-pre .logo h1 a {
    text-decoration: none;
    color: #fff;
  }
  
  .header-video-pre .logo h1 {
    font-size: 40px;
    font-family: "Ubuntu", "Roboto", sans-serif;
    font-weight: 700;
    user-select: none;
    margin: 0;
    color: #fff;
  }
  
  .header-video-pre .nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
  }
  
  .header-video-pre .nav .nav-list li {
    list-style: none;
    display: inline-block;
    font-size: 15px;
    font-family: "Ubuntu", "Roboto", sans-serif;
    font-weight: 400;
  }
  
  .header-video-pre .nav .nav-list li:nth-child(1) {
    margin-left: 15px;
  }
  
  .header-video-pre .nav .nav-list li a {
    margin-left: 10px;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.1s;
  }
  
  .header-video-pre .nav .nav-list li a:hover {
    background-color: rgba(232, 232, 232, 0.1);
    color: #fff;
  }
  
  .search {
    position: relative;
    width: 40px;
    height: 40px;
    background: #e2e2e2;
    border-radius: 40px;
    transition: 0.5s;
    overflow: hidden;
  }
  
  .search.active {
    width: 300px;
  }
  
  .search .icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #e2e2e2;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
  }
  
  .search .icon::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 50%;
    transform: translate(-2px, -2px);
  }
  
  .search .icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 7px;
    background: #000;
    transform: translate(6px, 6px) rotate(315deg);
  }
  
  .search .input {
    position: relative;
    width: 300px;
    height: 40px;
    left: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .search .input input {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 0 80px 0 0;
    background: #e2e2e2;
    color: #171717;
    font-family: "Noto Sans JP", "Roboto", sans-serif;
  }
  
  .clear {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    right: 15px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .clear::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 15px;
    background: #171717;
    transform: rotate(45deg);
  }
  
  .clear::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 15px;
    background: #171717;
    transform: rotate(315deg);
  }

  /* VIDEO SECTION */

.video {
  margin: 30px 130px 0 130px;
  /* margin: 0; */
}


.video h1 {
  margin: 0 0 25px 0;
  font-size: 30px;
  font-weight: bold;
  font-family: "Ubuntu", "Roboto", sans-serif;
  color: #E2E2E2;
}

.video h1 a {
  text-decoration: none;
  color: #E2E2E2;
}

.video .box {
  background-color: #000;
  text-align: center;
}

.video .ab {
  margin: 20px 0;
}

.video .ab ul.single-button {
  justify-content: flex-end; /* Posisi tombol di kanan */
}

.video .ab ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  list-style: none;
}

.video .ab ul.only-prev {
  justify-content: flex-start; /* Posisi tombol di kiri */
}

.video .ab ul.only-next {
  justify-content: flex-end; /* Posisi tombol di kanan */
}

.video .ab ul li {
  opacity: 0.5;
}

.video .ab ul li:hover {
  opacity: 0.8;
}

.video .ab ul li:active {
  opacity: 1;
}

.video .ab ul li a {
  font-size: 20px;
  font-weight: 400;
  font-family: "Ubuntu", "Roboto", sans-serif;
  color: #E2E2E2;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}


.video .ab ul li a img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.video .ab ul li:nth-child(1) a img {
  margin-right: 10px;
}

.video .ab ul li:nth-child(2) a img {
  margin-left: 10px;
}

/*  FOOTER  */
.footer-basic {
  padding:40px 0;
  background-color:#ffffff;
  color:#4b4c4d;
}

.footer-basic ul {
  padding:0;
  list-style:none;
  text-align:center;
  font-size:18px;
  line-height:1.6;
  margin-bottom:0;
}

.footer-basic li {
  padding:0 10px;
}

.footer-basic ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-basic ul a:hover {
  opacity:1;
}

.footer-basic .social {
  text-align:center;
  padding-bottom:25px;
}

.footer-basic .social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin:0 8px;
  color:inherit;
  opacity:0.75;
}

.footer-basic .social > a:hover {
  opacity:0.9;
}

.footer-basic .copyright {
  margin-top:15px;
  text-align:center;
  font-size:13px;
  color:#aaa;
  margin-bottom:0;
}
:root {
  --primary-neon: #ac11e9;
  --dark-bg: #0f0f0f;
  --card-bg: rgba(255, 255, 255, 0.05);
}

body {
  background-color: var(--dark-bg);
  background-attachment: fixed;
}

/* Theater Layout */
.theater-section {
  padding: 60px 0;
  background: linear-gradient(to bottom, #000, var(--dark-bg));
}

.theater-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-primary-neon {
  color: var(--primary-neon);
  text-shadow: 0 0 15px rgba(172, 17, 233, 0.6);
}

.video-player-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

#video-player {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16/9;
}

.video-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #444;
}

/* Navigation Buttons */
.video-nav-controls {
  display: flex;
  justify-content: center;
}

.nav-btn-group {
  display: flex;
  gap: 20px;
  width: 100%;
  justify-content: space-between;
}

.nav-btn {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 12px 25px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}

.nav-btn:hover {
  background: var(--primary-neon);
  box-shadow: 0 0 20px rgba(172, 17, 233, 0.4);
  transform: translateY(-2px);
}

/* Episode Grid  */
.episode-list-section { padding: 50px 0; }

.episode-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.episode-card-modern {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid transparent;
}

.episode-card-modern:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.03);
}

.episode-card-modern.active {
  border-color: var(--primary-neon);
  box-shadow: 0 0 15px rgba(172, 17, 233, 0.2);
}

.ep-img-wrapper {
  position: relative;
  aspect-ratio: 16/9;
}

.ep-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watching-badge {
  position: absolute;
  inset: 0;
  background: rgba(172, 17, 233, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  backdrop-filter: blur(2px);
}

.ep-info {
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ep-num { font-weight: 700; color: #fff; font-size: 14px; }
.ep-views { font-size: 11px; color: #888; }

@media (max-width: 768px) {
  .episode-title { font-size: 1.2rem; }
  .nav-btn span { display: none; }
  .episode-grid-modern { grid-template-columns: repeat(2, 1fr); }
}

.badge-new-episode {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ff00ea, #ac11e9); /* Warna neon purple/pink */
  color: white;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  z-index: 5;
  box-shadow: 0 0 15px rgba(172, 17, 233, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: pulseNew 2s infinite; /* Animasi berkedip pelan */
}

/* Animasi sederhana agar mata user langsung melirik ke episode baru */
@keyframes pulseNew {
  0% { transform: scale(1); box-shadow: 0 0 10px rgba(172, 17, 233, 0.5); }
  50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(172, 17, 233, 0.8); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(172, 17, 233, 0.5); }
}

/* Style Link Breadcrumb Judul Anime */
.breadcrumb-link {
  color: #bbb; /* Warna abu-abu agar menyatu dengan text-muted */
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.breadcrumb-link:hover {
  color: var(--primary-neon); /* Berubah menjadi ungu neon saat hover */
  text-decoration: none;
  text-shadow: 0 0 8px rgba(172, 17, 233, 0.5);
}

/* Opsional: Tambahkan garis bawah tipis yang muncul saat hover */
.breadcrumb-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-neon);
  transition: width 0.3s ease;
}

.breadcrumb-link:hover::after {
  width: 100%;
}
