.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  pointer-events: none; }
.navbar-container {
  pointer-events: all;
  width: 90%;
  max-width: 1100px;
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 20px;
  gap: 16px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 38px;
  width: auto;
}
.navbar-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  color: #2ed573;
  font-family: 'Be Vietnam Pro', sans-serif;
  white-space: nowrap;
  line-height: 1;
  cursor: default;
}
.online-dot {
  width: 6px;
  height: 6px;
  background: #2ed573;
  border-radius: 50%;
  flex-shrink: 0;
  animation: online-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(46, 213, 115, 0.6);
}
@keyframes online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.navbar-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.nav-link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-dynamic);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.btn-nav-flat {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}
.nav-link:hover,
.btn-nav-flat:hover {
  background: rgba(253, 171, 27, 0.12);
  transform: translateY(-3px);
  color: var(--color-primary-dark);
}
.nav-link.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(253, 171, 27, 0.35);
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.admin-error-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4757;
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(255, 71, 87, 0.4);
  animation: pulse-error 2s infinite;
}
@keyframes pulse-error {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 4px rgba(255, 71, 87, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
}
.logout-btn {
  padding: 8px 12px;
  color: #d63031;
}
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 10px;
    gap: 4px;
    height: 52px;
  }
  .navbar-links {
    gap: 2px;
  }
  .nav-link, .btn-nav-flat {
    padding: 6px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }
  .nav-link svg, .btn-nav-flat svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
    .nav-text {
    display: inline;
    font-size: 0.78rem;
  }
    .admin-mobile-hide {
    display: none !important;
  }
  .nav-logo-img {
    height: 26px;
  }
  .lang-toggle {
    padding: 6px 10px;
    gap: 4px;
    font-size: 0.8rem;
  }
  .lang-toggle svg {
    width: 14px;
    height: 14px;
  }
  .logout-btn {
    padding: 6px 8px;
  }
  .navbar-right {
    gap: 4px;
  }
  .navbar-logo-area {
    gap: 5px;
  }
  .online-badge {
    padding: 2px 6px 2px 5px;
    font-size: 0.65rem;
    gap: 3px;
  }
  .online-badge svg {
    display: none;
  }
  .online-dot {
    width: 5px;
    height: 5px;
  }
}
.footer-container {
  padding: 48px 32px;
  border-radius: 40px 40px 0 0;
  margin-top: 60px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-left {
  flex: 1;
  min-width: 280px;
}
.footer-left h3 {
  margin-bottom: 8px;
}
.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 280px;
}
.footer-right {
  flex: 1;
  text-align: right;
  min-width: 200px;
}
.premium-btn {
  background: linear-gradient(135deg, #166b5c, #0a493e);
  border: 2px solid #fdab1b;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(253, 171, 27, 0.2);
  color: #fdab1b;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: inherit;
  letter-spacing: 0.5px;
  transition: var(--transition-dynamic);
}
.crown-icon {
  margin-top: -2px;
}
.premium-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
/* =========================================
   VIP PREMIUM MODAL ELEGANT REDESIGN
========================================= */

.premium-modal {
  background: linear-gradient(145deg, #ffffff, #fefcf7);
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 32px;
  position: relative;
  box-shadow: 
    0 0 0 1px rgba(253, 171, 27, 0.15),
    0 40px 100px rgba(0, 0, 0, 0.25),
    0 0 60px rgba(253, 171, 27, 0.08);
  display: flex;
  flex-direction: column;
  color: var(--color-dark);
  font-family: 'Be Vietnam Pro', sans-serif !important;
}
.premium-modal::-webkit-scrollbar {
  width: 6px;
}
.premium-modal::-webkit-scrollbar-thumb {
  background: rgba(10, 73, 62, 0.2);
  border-radius: 10px;
}
.close-premium {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dark-light);
  z-index: 10;
  transition: var(--transition-smooth);
}
.close-premium:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--color-dark);
  transform: scale(1.1);
}
.premium-fake-pricing {
  width: 100%;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(253, 171, 27, 0.12), rgba(10, 73, 62, 0.04));
  padding: 40px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}
.premium-badge.prominent {
  background: linear-gradient(135deg, #166b5c, #0a493e);
  padding: 12px 36px;
  border-radius: 50px;
  border: 3px solid #fdab1b;
  box-shadow: 0 8px 25px rgba(253, 171, 27, 0.4);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: scale(1.05);
}
.fake-title {
  color: #fdab1b !important; 
  font-weight: 800;
  font-size: 1.25rem !important;
  letter-spacing: 2px;
  margin: 0;
}
.premium-compliment {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  text-align: center;
  margin: 0 0 32px;
  line-height: 1.4;
}
.centered-features {
  display: flex;
  justify-content: center;
  width: 100%;
}
.features-inner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.feat-item.align-left {
  justify-content: flex-start;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.feat-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdab1b, #e59300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(253, 171, 27, 0.3);
}
.feat-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-dark);
}
.premium-truth {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 28px 32px;
  gap: 20px;
  position: relative;
}
.truth-content {
  background: rgba(10, 73, 62, 0.04);
  padding: 24px 20px 18px;
  border-radius: 20px;
  position: relative;
  margin-top: 12px;
}
.truth-icon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 4px;
  border-radius: 50%;
  border: 1.5px dashed rgba(10, 73, 62, 0.2);
}
.truth-desc {
  line-height: 1.6;
  font-size: 0.9rem;
  color: var(--color-dark);
  text-align: center;
  font-weight: 500;
}
.qr-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-box {
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(10, 73, 62, 0.1);
  border: 1px solid rgba(10, 73, 62, 0.05);
}
.qr-coming-soon {
  font-size: 0.85rem;
  color: var(--color-dark-light);
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .footer-right {
    text-align: center;
  }
}
.home-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.hero-banner {
  width: 100%;
  aspect-ratio: 21/8;
  height: auto;
  border-radius: 64px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10, 73, 62, 0.18);
}
.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.banner-content {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.banner-floating-tags {
  position: relative;
  width: 100%;
  height: 100%;
}
.floating-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  animation: float-tag 6s ease-in-out infinite alternate;
  color: white;
  pointer-events: auto;
}
.tag-1 { top: 15%; left: 8%; animation-delay: 0s; }
.tag-2 { bottom: 15%; left: 12%; animation-delay: -2s; }
.tag-3 { bottom: 20%; right: 10%; animation-delay: -4s; }
@keyframes float-tag {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}
.search-filter-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.search-bar-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
}
.search-input {
  width: 100%;
  padding: 18px 52px;
  font-size: 1.1rem;
  font-family: inherit;
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(10, 73, 62, 0.15);
  box-shadow: 0 12px 32px rgba(10, 73, 62, 0.12);
  transition: var(--transition-smooth);
}
.search-input:hover, .search-input:focus {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(253, 171, 27, 0.2);
}
.search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;
  color: var(--color-dark-light); }
.search-clear {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark-light);
  display: flex;
  align-items: center;
  z-index: 5;
}
.filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.filter-sep {
  color: var(--color-dark-light);
  opacity: 0.4;
  font-size: 1.2rem;
  padding: 0 4px;
}
.filter-pill {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition-dynamic);
}
.filter-pill:hover {
  background: rgba(253, 171, 27, 0.12);
  transform: translateY(-2px);
}
.filter-pill.active {
  background: var(--color-dark);
  color: white;
  border-color: var(--color-dark);
}
.no-result {
  text-align: center;
  padding: 48px;
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark-light);
}
.movie-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section-title {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-icon {
  opacity: 0.9;
}
.count-badge {
  background: var(--color-primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.history-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: -10px;
}
.history-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.history-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px; }
.history-scroll::-webkit-scrollbar {
  height: 6px;
}
.history-scroll::-webkit-scrollbar-thumb {
  background: rgba(10, 73, 62, 0.15);
  border-radius: 10px;
}
.hist-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.75);
  padding: 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  position: relative;
}
.hist-poster {
  width: 50px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}
.hist-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  gap: 4px;
}
.hist-title {
  font-size: 0.95rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-dark);
}
.hist-ep {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
}
.hist-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.3);
}
.watch-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  overflow: hidden;
}
.watch-progress-fill {
  height: 100%;
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
}
.movie-card {
  border-radius: 28px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.4);
}
.spotlight-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
}
.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
}
.spotlight-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle 250px at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.6),
    transparent 80%
  );
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}
.spotlight-card:hover .spotlight-overlay {
  opacity: 1;
}
.relative-z {
  position: relative;
  z-index: 2;
}
.poster-area {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 20px;
  overflow: hidden;
  background: #eee;
}
.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card:hover .poster-img {
  transform: scale(1.06);
}
.tags-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px;
  z-index: 2;
}
.tags-bottom {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.tag {
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.tag-eps {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  color: var(--color-dark);
}
.tag-new {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.4);
}
.tag-new-ep {
  background: #ff4757;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}
.movie-card .tag-status {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(10, 73, 62, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.movie-card .tag-status.ongoing {
  color: #ff4757;
  background: rgba(255, 255, 255, 0.75);
}
.movie-card .tag-status.completed {
  color: var(--color-dark);
  background: rgba(255, 255, 255, 0.75);
}
.movie-info {
  padding: 4px 4px 2px;
}
.movie-title {
  font-size: 1rem;
  margin-bottom: 2px;
  line-height: 1.3;
}
.movie-subtitle {
  font-size: 0.82rem;
  opacity: 0.7;
}
.movie-meta {
  font-size: 0.78rem;
  margin-top: 4px;
  opacity: 0.6;
}
.tag-new {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.4);
  animation: pulse-glow 2s infinite alternate;
}
.tag-hot {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
  animation: pulse-glow-hot 2s infinite alternate;
}
.tag-duration {
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.3);
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(253, 171, 27, 0.4); }
  100% { box-shadow: 0 0 0 6px rgba(253, 171, 27, 0); }
}
@keyframes pulse-glow-hot {
  0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.4); }
  100% { box-shadow: 0 0 0 6px rgba(255, 71, 87, 0); }
}
@media (max-width: 768px) {
  .home-container {
    gap: 20px;
  }
    .hero-banner {
    border-radius: 24px;
  }
  .search-input {
    min-width: unset;
    width: 100%;
    padding: 12px 24px 12px 42px;
    font-size: 0.95rem;
  }
  .search-icon {
    left: 16px;
    width: 18px;
  }
  .filter-pill {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
  .search-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .filter-pills {
    justify-content: center;
    overflow-x: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .filter-pills::-webkit-scrollbar {
    height: 0;
  }
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .movie-card {
    border-radius: 18px;
    padding: 7px;
    gap: 6px;
  }
  .poster-area {
    border-radius: 12px;
  }
  .movie-title {
    font-size: 0.82rem;
  }
  .movie-subtitle {
    font-size: 0.7rem;
  }
    .hist-card {
    min-width: 180px;
    max-width: 200px;
    padding: 10px;
    gap: 10px;
  }
  .hist-poster {
    width: 40px;
    height: 56px;
    border-radius: 8px;
  }
  .hist-title {
    font-size: 0.82rem;
  }
  .hist-ep {
    font-size: 0.75rem;
  }
  .hist-play {
    width: 26px;
    height: 26px;
  }
    .tags-bottom {
    bottom: 6px;
    left: 6px;
    right: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .tags-top {
    top: 6px; left: 6px; right: 6px;
  }
  .tag {
    padding: 4px 8px;
    font-size: 0.65rem;
    white-space: normal;
    text-align: center;
  }
  .tag-status {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
    .section-title {
    font-size: 1.4rem;
  }
}
.idol-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 40px;
  border-radius: var(--radius-lg);
}
.avatar-huge {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-pill);   overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 73, 62, 0.2);
  background: linear-gradient(135deg, #ffd782, #ffb433);
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}
.idol-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.bio {
  padding: 24px;
  margin-top: 16px;
  max-width: 600px;
}
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .avatar-huge {
    width: 200px;
    height: 200px;
  }
}
.watch-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  margin-top: -16px; }
.dark-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 5;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 600;
  padding: 10px 20px;
  font-size: 0.9rem;
  align-self: flex-start;
  transition: var(--transition-dynamic);
}
.back-btn:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.85);
}
.watch-back-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 50;
}
.back-btn-float {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--color-dark);
  text-decoration: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: var(--transition-dynamic);
}
.back-btn-float:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}
.video-player {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 36px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 32px 64px rgba(10, 73, 62, 0.3);
}
.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.vp-root {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  cursor: pointer;
  border-radius: inherit;
  overflow: hidden;
  user-select: none;
}
.vp-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.vp-root.fixed-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 99999 !important;
  border-radius: 0 !important;
  background: #000 !important;
}
.vp-root.fixed-fullscreen iframe.vp-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100vw !important;
  height: 56.25vw !important; /* 100vw * 9/16 */
  max-height: 100dvh !important;
  max-width: 177.78dvh !important; /* 100dvh * 16/9 */
  aspect-ratio: 16/9 !important;
}
.vp-big-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  z-index: 5;
}
.vp-big-play > * {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.vp-big-play > *:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}
.vp-controls-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 18px;
  background: linear-gradient(to top, rgba(10, 73, 62, 0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: all;
  cursor: default;
  z-index: 10;
}
.vp-seek {
  width: 100%;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.vp-seek-track {
  position: relative;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: visible;
  transition: height 0.18s ease;
}
.vp-seek:hover .vp-seek-track,
.vp-seek.dragging .vp-seek-track {
  height: 7px;
}
.vp-seek-buffer {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: rgba(255, 255, 255, 0.32);
  border-radius: inherit;
  pointer-events: none;
  transition: width 0.15s linear;
}
.vp-seek-progress {
  position: absolute;
  top: 0; left: 0; height: 100%;
  background: linear-gradient(90deg, #fdab1b, #ff9f43);
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(253, 171, 27, 0.6);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: none;
}
.vp-seek-thumb {
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  transform: translateX(50%) scale(0);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.vp-seek:hover .vp-seek-thumb,
.vp-seek.dragging .vp-seek-thumb {
  transform: translateX(50%) scale(1);
}
.vp-seek.dragging .vp-seek-thumb {
  transform: translateX(50%) scale(1.25);
  box-shadow: 0 0 0 4px rgba(253, 171, 27, 0.25), 0 2px 8px rgba(0,0,0,0.5);
}
/* Hover time tooltip */
.vp-seek-hover-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Be Vietnam Pro', sans-serif;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 20;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.vp-seek-hover-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.85);
}
/* Skip animation badge */
.vp-skip-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.vp-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: nowrap; }
.vp-group {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  padding: 7px 13px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
  line-height: 1;
}
.vp-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06) translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
.vp-btn-play {
  background: rgba(253, 171, 27, 0.25);
  border-color: rgba(253, 171, 27, 0.45);
  padding: 8px 16px;
}
.vp-btn-play:hover {
  background: rgba(253, 171, 27, 0.45);
  border-color: rgba(253, 171, 27, 0.7);
  box-shadow: 0 4px 20px rgba(253, 171, 27, 0.4);
}
.vp-skip-label {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.75;
  margin-left: -2px;
}
.vp-time {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0 6px;
  font-variant-numeric: tabular-nums;
}
.vp-volume-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.vp-volume-slider-pop {
  display: flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.15);
  overflow: hidden;
  transform-origin: left center;
  z-index: 10;
}
.vp-volume-range {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 20px;
  background: transparent;
  outline: none;
  cursor: pointer;
  margin: 0;
}
.vp-volume-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fdab1b var(--vol, 100%), rgba(255,255,255,0.25) var(--vol, 100%));
  border-radius: 99px;
  cursor: pointer;
}
.vp-volume-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: white;
  margin-top: -4.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.15s;
}
.vp-volume-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.vp-speed-wrap {
  position: relative;
}
.vp-speed-btn {
  gap: 5px;
}
.vp-speed-menu {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: rgba(15, 18, 28, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 82px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  z-index: 20;
}
.vp-speed-item {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.vp-speed-item:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}
.vp-speed-item.active {
  background: linear-gradient(135deg, rgba(253, 171, 27, 0.35), rgba(255, 159, 67, 0.25));
  color: #fdab1b;
  border: 1px solid rgba(253, 171, 27, 0.4);
}
.player-controls-single-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.ep-nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: var(--glass-border);
  box-shadow: 0 8px 24px rgba(10, 73, 62, 0.06);
}
.btn-ep {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-dark) !important;
  min-width: 110px;   justify-content: center;
  text-align: center;
}
.btn-ep:hover:not(:disabled) {
  background: rgba(10, 73, 62, 0.08) !important;
  transform: scale(1) !important; }
.ep-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: transparent;
  border-radius: var(--radius-pill);
  min-width: 110px;
  justify-content: center;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.ep-picker-btn:hover {
  background: rgba(10, 73, 62, 0.08);
}
.ep-picker-chevron {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}
.ep-picker-chevron.open {
  transform: rotate(180deg);
}
.ep-picker-menu {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(10, 73, 62, 0.18), 0 4px 16px rgba(0,0,0,0.08);
  z-index: 100;
  scrollbar-width: thin;
  scrollbar-color: rgba(10,73,62,0.18) transparent;
}
.ep-picker-menu::-webkit-scrollbar {
  width: 4px;
}
.ep-picker-menu::-webkit-scrollbar-thumb {
  background: rgba(10,73,62,0.18);
  border-radius: 99px;
}
.ep-picker-item {
  padding: 8px 14px;
  border-radius: 12px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-dark);
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: center;
  transition: all 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.ep-picker-item:hover:not(.no-link) {
  background: rgba(10, 73, 62, 0.07);
  color: var(--color-dark);
}
.ep-picker-item.no-link {
  opacity: 0.45;
  cursor: not-allowed;
}
.ep-picker-item.no-link:hover {
  background: transparent;
}
.ep-picker-item.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.35);
}
.ep-picker-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ep-indicator {
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  text-align: center;
}
.action-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.icon-only-btn {
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  justify-content: center;
}
.btn-error {
  background: #ff4757;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-dynamic);
  box-shadow: 0 4px 16px rgba(255, 71, 87, 0.35);
}
.btn-error:hover {
  transform: scale(1.05);
  background: #ff2742;
  box-shadow: 0 8px 24px rgba(255, 71, 87, 0.5);
}
.fav-active-btn {
  color: #ff6b6b !important;
  border-color: rgba(255, 107, 107, 0.4) !important;
}
.btn-subscribe {
  padding: 0 18px !important;
  height: 44px;
  border-radius: 22px !important;
  gap: 8px !important;
  font-weight: 700 !important;
  color: var(--color-primary) !important;
  background: rgba(253, 171, 27, 0.08) !important;
  border: 1px solid rgba(253, 171, 27, 0.2) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.btn-subscribe:hover {
  background: rgba(253, 171, 27, 0.15) !important;
  transform: translateY(-2px) scale(1.02);
}
@keyframes sub-pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 171, 27, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(253, 171, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 171, 27, 0); }
}
.pulsing {
  animation: sub-pulse 1.5s infinite !important;
  opacity: 0.8;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.modal-card {
  padding: 40px;
  border-radius: 32px;
  max-width: 440px;
  width: 100%;
}
.info-episodes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: start;
  gap: 28px;
  width: 100%;
}
.movie-details {
  padding: 32px;
  border-radius: 32px;
  width: 100%; }
.movie-showcase-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
}
.showcase-poster {
  width: 160px;
  height: 240px;
  object-fit: cover;
  aspect-ratio: 2/3;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(10, 73, 62, 0.25);
  flex-shrink: 0;
}
.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  text-align: left;
}
.showcase-info .title-text {
  font-size: 2rem;
  line-height: 1.25;
}
.showcase-info .subtitle-text {
  font-size: 1.05rem;
  opacity: 0.8;
  margin-top: -6px;
}
.showcase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.glass-tag {
  background: rgba(10, 73, 62, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  border: 1px solid rgba(10, 73, 62, 0.25);
  box-shadow: 0 2px 8px rgba(10, 73, 62, 0.05); }
.tag-status.ongoing {
  background: rgba(255, 50, 50, 0.12);
  color: #c0392b;
  border-color: rgba(255, 50, 50, 0.2);
}
.tag-status.completed {
  background: rgba(10, 73, 62, 0.15);
  color: var(--color-dark);
}
.showcase-desc {
  line-height: 1.7;
  font-size: 1rem;
  margin-top: 8px;
  color: var(--color-dark);
}
.showcase-cast {
  font-size: 0.95rem;
  color: var(--color-dark);
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.4);
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-block;
  align-self: flex-start;
}
.episodes-sidebar {
  padding: 32px;
  border-radius: 32px;
  width: 100%;
}
.episodes-pill-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ep-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid rgba(10, 73, 62, 0.15);
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  color: var(--color-dark);
}
.ep-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 16px rgba(10, 73, 62, 0.15);
}
.ep-pill.active {
  background: var(--color-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(253, 171, 27, 0.45);
}
.ep-pill.has-error {
  border-color: rgba(255, 71, 87, 0.5);
  background: rgba(255, 71, 87, 0.08);
}
.ep-pill.no-link {
  opacity: 0.45;
  border-style: dashed;
  border-color: rgba(10, 73, 62, 0.2);
  background: rgba(200, 200, 200, 0.15);
  cursor: default;
}
.ep-pill.no-link:hover {
  transform: none;
  box-shadow: none;
}
.error-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: #ff4757;
  color: white;
  font-size: 0.6rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.watch-not-found {
  padding: 60px;
  text-align: center;
  border-radius: 32px;
  margin: 40px auto;
  max-width: 480px;
}
.btn-glass:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .watch-container {
    gap: 14px;
  }
    .vp-volume-slider-pop {
        display: none !important;
  }
  .vp-buttons {
    gap: 3px;
    overflow-x: visible;
    padding-bottom: 0px;
    justify-content: space-between;
  }
  .vp-skip-label {
    display: none;
  }
  .vp-speed-btn span {
    display: none;
  }
  .vp-btn {
    padding: 5px 8px;
  }
  .vp-btn svg {
    width: 14px !important;
    height: 14px !important;
  }
  .vp-time {
    font-size: 0.7rem;
    padding: 0 2px;
    white-space: nowrap;
  }
  .vp-controls-wrap {
    padding: 20px 6px 6px;
    gap: 6px;
  }
    .vp-speed-menu {
    min-width: 68px;
    border-radius: 12px;
    padding: 4px;
  }
  .vp-speed-item {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
    .info-episodes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
    .player-controls-single-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 2px;
  }
  .ep-nav-pill {
    width: 100%;
    justify-content: space-between;
    padding: 3px;
    gap: 2px;
  }
  .btn-ep {
    min-width: unset;
    flex: 1;
    padding: 7px 4px;
    font-size: 0.8rem;
  }
  .ep-picker-btn {
    min-width: unset;
    flex: 1.5;
    padding: 7px 10px;
    font-size: 0.8rem;
  }
  .ep-picker-menu {
    min-width: 110px;
    max-height: 200px;
    bottom: calc(100% + 8px);
  }
  .action-nav {
    justify-content: center;
    width: 100%;
    gap: 8px;
  }
  .action-nav .btn-error {
    font-size: 0.78rem;
    padding: 8px 12px;
    gap: 5px;
  }
  .action-nav .btn-error svg {
    width: 14px !important;
    height: 14px !important;
  }
    .movie-details {
    padding: 18px 16px;
  }
  .movie-showcase-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
  }
  .showcase-poster {
    width: 90px;
    height: 135px;
    border-radius: 14px;
  }
  .showcase-info {
    text-align: left;
    gap: 8px;
  }
  .showcase-info .title-text {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .showcase-info .subtitle-text {
    font-size: 0.82rem;
  }
  .showcase-tags {
    justify-content: flex-start;
    gap: 5px;
  }
  .glass-tag {
    font-size: 0.72rem;
    padding: 3px 10px;
  }
  .showcase-desc {
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 4px;
  }
  .showcase-cast {
    font-size: 0.78rem;
    padding: 6px 12px;
    align-self: flex-start;
  }
    .episodes-sidebar {
    padding: 18px 16px;
  }
  .episodes-pill-layout {
    gap: 6px;
    justify-content: flex-start;
  }
  .ep-pill {
    padding: 5px 10px;
    font-size: 0.8rem;
  }
    .modal-card {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

.ios-prompt-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 24px;
  max-width: 320px;
  width: 95%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(10, 73, 62, 0.04);
}
.lights-off .ios-prompt-card {
  background: rgba(25, 25, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

/* Liquid Switch */
.liquid-switch-wrap {
  width: 52px;
  height: 32px;
  border-radius: 32px;
  background: rgba(10, 73, 62, 0.15);
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.lights-off .liquid-switch-wrap {
  background: rgba(255, 255, 255, 0.15);
}
.liquid-switch-wrap.active {
  background: var(--color-primary);
}
.liquid-switch-knob {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
}

.ios-prompt-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(253, 171, 27, 0.35);
}
.ios-prompt-title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
}
.lights-off .ios-prompt-title { color: white; }
.ios-prompt-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin: 4px 0;
}
.ios-step {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 0.88rem;
  color: var(--color-dark);
  font-family: 'Be Vietnam Pro', sans-serif;
}
.lights-off .ios-step { color: rgba(255,255,255,0.85); }
.ios-step b {
  color: var(--color-primary-dark);
}
.lights-off .ios-step b { color: var(--color-primary); }
.ios-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(253, 171, 27, 0.15);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lights-off .ios-step-num { color: var(--color-primary); }
.ios-prompt-btn {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(253, 171, 27, 0.3);
}
.ios-prompt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(253, 171, 27, 0.4);
}
.ios-prompt-btn-alt {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: var(--radius-pill);
  background: #24A1DE;
  color: white !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(36, 161, 222, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ios-prompt-btn-alt:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(36, 161, 222, 0.4);
  background: #2090C7;
}
.ios-prompt-btn-error {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: var(--radius-pill);
  background: #ff4757;
  color: white !important;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.ios-prompt-btn-error:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 71, 87, 0.4);
  background: #ff2742;
}
.lights-off .ios-prompt-btn-alt {
  box-shadow: 0 8px 20px rgba(36,161,222,0.2);
}

/* Report User Message Textarea */
.report-message-wrap {
  width: 100%;
  margin-top: 8px;
}
.report-message-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  opacity: 0.75;
  margin-bottom: 6px;
  text-align: left;
}
.lights-off .report-message-label {
  color: rgba(255, 255, 255, 0.7);
}
.report-message-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(10, 73, 62, 0.15);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  resize: none;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  line-height: 1.5;
}
.report-message-input::placeholder {
  color: rgba(10, 73, 62, 0.35);
  font-style: italic;
}
.report-message-input:focus {
  border-color: rgba(255, 71, 87, 0.4);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.08);
}
.lights-off .report-message-input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: white;
}
.lights-off .report-message-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.lights-off .report-message-input:focus {
  border-color: rgba(255, 71, 87, 0.5);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}
.report-message-counter {
  text-align: right;
  font-size: 0.72rem;
  color: var(--color-dark);
  opacity: 0.4;
  margin-top: 4px;
  font-weight: 500;
}
.lights-off .report-message-counter {
  color: rgba(255, 255, 255, 0.35);
}

/* Buffering spinner overlay */
.vp-buffering-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.15);
}
.vp-buffering-spinner {
  width: 48px;
  height: 48px;
  border: 3.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(253, 171, 27, 0.9);
  border-radius: 50%;
  animation: vp-spin 0.8s linear infinite;
  box-shadow: 0 0 20px rgba(253, 171, 27, 0.15);
}
@keyframes vp-spin {
  to { transform: rotate(360deg); }
}
.admin-layout {
  display: flex;
  gap: 28px;
  min-height: 75vh;
  align-items: flex-start;
}
.sidebar {
  width: 260px;
  flex-shrink: 0;
  padding: 28px 20px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 110px;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.sidebar-btn {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-dark-light);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}
.sidebar-btn:hover {
  background: rgba(253, 171, 27, 0.10);
  color: var(--color-primary-dark);
}
.sidebar-btn.active {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(253, 171, 27, 0.3);
}
.logout-sidebar {
  margin-top: auto;
  color: #d63031;
}
.admin-main {
  flex: 1;
  min-width: 0;
}
.admin-section {
  padding: 36px;
  border-radius: 28px;
  min-height: 400px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.movies-table-wrap {
  border-radius: 24px;
  overflow: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.admin-table thead tr {
  background: rgba(10, 73, 62, 0.05);
}
.admin-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-dark-light);
  white-space: nowrap;
}
.admin-table td {
  padding: 14px 16px;
  vertical-align: middle;
  border-top: 1px solid rgba(10, 73, 62, 0.06);
}
.row-even {
  background: rgba(255, 255, 255, 0.3);
}
.table-movie-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.table-poster {
  width: 36px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.fw-600 { font-weight: 600; }
.meta-muted {
  color: var(--color-dark-light);
  opacity: 0.7;
}
.small { font-size: 0.8rem; }
.type-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.77rem;
  font-weight: 700;
}
.type-badge.idol {
  background: rgba(253, 171, 27, 0.15);
  color: #9f6800;
}
.type-badge.side {
  background: rgba(10, 73, 62, 0.1);
  color: var(--color-dark);
}
.status-dot {
  font-size: 0.82rem;
  font-weight: 600;
}
.action-btns {
  display: flex;
  gap: 8px;
}
.icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-family: inherit;
}
.edit-btn {
  background: rgba(253, 171, 27, 0.12);
  color: #9f6800;
}
.edit-btn:hover {
  background: rgba(253, 171, 27, 0.25);
  transform: scale(1.1);
}
.del-btn {
  background: rgba(255, 71, 87, 0.1);
  color: #d63031;
}
.del-btn:hover {
  background: rgba(255, 71, 87, 0.2);
  transform: scale(1.1);
}
.movie-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.input-glass {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 18px;
  border-radius: 18px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: var(--transition-smooth);
  width: 100%;
}
.input-glass:focus {
  background: white;
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(253, 171, 27, 0.12);
}
textarea.input-glass {
  resize: vertical;
  min-height: 80px;
}
select.input-glass {
  cursor: pointer;
}
.type-radio-group {
  display: flex;
  gap: 14px;
}
.type-radio-btn {
  flex: 1;
  padding: 14px 16px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.type-radio-btn input { display: none; }
.type-radio-btn:hover {
  background: rgba(253, 171, 27, 0.1);
}
.type-radio-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(253, 171, 27, 0.3);
}
.save-btn {
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 1rem;
  display: flex;
  gap: 10px;
}
.ep-links-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}
.ep-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.5);
  padding: 8px 12px;
  border-radius: 14px;
}
.ep-link-label {
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 55px;
  color: var(--color-dark);
}
.ep-link-url {
  flex: 1;
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.report-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-item {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.report-info {
  display: flex;
  align-items: center;
  gap: 14px;
}
.error-badge {
  font-size: 1.4rem;
}
.fix-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}
.no-errors {
  padding: 60px;
  text-align: center;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mobile-admin-block {
  display: none;
}
@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
    gap: 16px;
  }
  .sidebar {
    width: 100%;
    position: static;
    padding: 16px;
  }
  .sidebar-header {
    margin-bottom: 12px;
  }
  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    gap: 8px;
  }
  .sidebar-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .logout-sidebar {
    margin-top: 12px;
  }
  .admin-section {
    padding: 16px;
    min-height: auto;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .mobile-admin-block {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
  }
}
.admin-split-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.admin-form-col {
  flex: 1;
  min-width: 0;
}
.admin-preview-col {
  width: 260px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .admin-split-layout {
    flex-direction: column-reverse;
  }
  .admin-preview-col {
    width: 100%;
    margin-bottom: 24px;
  }
}
.genre-pill-toggle {
  padding: 8px 16px;
  background: var(--color-surface, rgba(0, 0, 0, 0.05));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  color: var(--text-color, inherit);
}
.genre-pill-toggle:hover {
  background: var(--color-surface, rgba(0, 0, 0, 0.1));
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.genre-pill-toggle.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}
.type-pill-group {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.type-pill {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: var(--color-surface, rgba(0, 0, 0, 0.05));
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color, inherit);
}
.type-pill:hover {
  background: var(--color-surface, rgba(0, 0, 0, 0.1));
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.type-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--color-primary-rgb), 0.3);
}
.tags-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  min-height: 48px;
}
.tag-input-field {
  flex: 1;
  min-width: 120px;
  border: none;
  background: transparent;
  outline: none;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
}

/* ─── Analytics Dashboard ─── */
.analytics-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark-light);
  opacity: 0.7;
}

/* Online Activity Details */
.analytics-live {
  padding: 24px;
  border-radius: 20px;
}
.live-users-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}
.live-user-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  transition: var(--transition-smooth);
}
.live-user-row:hover {
  background: white;
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(10, 73, 62, 0.08);
}
.live-user-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary, linear-gradient(135deg, #fdab1b, #e59300));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(253, 171, 27, 0.2);
}
.live-user-badge {
  font-size: 0.75rem;
  padding: 2px 10px;
  background: rgba(10, 73, 62, 0.08);
  border-radius: 10px;
  color: var(--color-dark-light);
  font-weight: 600;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 8px #2ed573;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.live-user-admin {
  border-left: 4px solid var(--color-primary);
  background: rgba(253, 171, 27, 0.05);
  box-shadow: 0 4px 15px rgba(253, 171, 27, 0.1);
}
.live-user-admin:hover {
  background: rgba(253, 171, 27, 0.08);
}
.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--color-primary);
  color: white;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(253, 171, 27, 0.3);
}



/* Bar Chart */
.analytics-chart {
  padding: 24px;
  border-radius: 20px;
}
.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding-top: 24px;
}
.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.chart-bar-value {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-dark);
  opacity: 0.6;
  margin-bottom: 4px;
  min-height: 14px;
}
.chart-bar {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 6px 6px 2px 2px;
  transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  min-height: 2px;
}
.chart-bar-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-dark-light);
  opacity: 0.5;
  margin-top: 6px;
  white-space: nowrap;
}
.chart-bar-movie {
  background: linear-gradient(180deg, #24A1DE, #0a493e);
}

/* Movie Rankings */
.analytics-ranking {
  padding: 24px;
  border-radius: 20px;
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.rank-row:hover {
  background: rgba(253, 171, 27, 0.06);
}
.rank-row-active {
  background: rgba(36, 161, 222, 0.08);
  outline: 1.5px solid rgba(36, 161, 222, 0.25);
}
.rank-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  min-width: 28px;
}
.rank-poster {
  width: 32px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.rank-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.rank-bar-bg {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.rank-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 10px;
  transition: width 0.8s ease;
  min-width: 2px;
}
.rank-views {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  min-width: 50px;
  text-align: right;
}

/* Resolved Error History */
.analytics-history {
  padding: 24px;
  border-radius: 20px;
}
.history-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  font-size: 0.85rem;
}
.history-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--color-dark-light);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .analytics-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .chart-container {
    height: 120px;
  }
}
.login-page {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -100px;
  left: -100px;
}
.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--color-dark);
  bottom: -80px;
  right: -80px;
}
.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  border-radius: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.login-logo {
  display: flex;
  justify-content: center;
}
.login-logo-img {
  height: 64px;
  width: auto;
}
.login-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.login-title {
  font-size: 1.8rem;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.input-label {
  font-weight: 600;
  font-size: 0.95rem;
}
.input-glass {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-dark);
  transition: var(--transition-smooth);
  width: 100%;
}
.input-glass:focus {
  background: white;
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(253, 171, 27, 0.15);
}
.pw-wrapper {
  position: relative;
}
.pw-input {
  padding-right: 52px;
}
.pw-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-dark-light);
  display: flex;
  align-items: center;
  padding: 4px;
}
.login-btn {
  padding: 16px;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.error-msg {
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.3);
  color: #d63031;
  padding: 12px 16px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}
.login-hint {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}
.login-hint code {
  background: rgba(10, 73, 62, 0.1);
  padding: 2px 8px;
  border-radius: 8px;
  font-family: monospace;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(8px); }
}
.shake {
  animation: shake 0.5s ease;
}
.mobile-admin-block {
  display: none;
}
@media (max-width: 768px) {
  .mobile-admin-block {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
  }
}
.fix-notif-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.fix-notif-toast {
  background: rgba(20, 20, 25, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  pointer-events: auto;
}

.fix-notif-icon {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.fix-notif-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fix-notif-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
}

.fix-notif-movie {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 6px 0;
}

.fix-notif-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px 0;
  font-style: italic;
  line-height: 1.4;
}

.fix-notif-btn {
  background: rgba(253, 171, 27, 0.15);
  color: var(--color-primary);
  border: 1px solid rgba(253, 171, 27, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.fix-notif-btn:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.3);
}

.fix-notif-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px;
  position: absolute;
  top: 12px;
  right: 12px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fix-notif-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .fix-notif-container {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 40px);
    max-width: 400px;
  }
}
.feature-req-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--color-primary);
  color: #1a1a1a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 16px rgba(253, 171, 27, 0.4);
  animation: breathing 3s infinite ease-in-out;
}

@keyframes breathing {
  0% { transform: scale(1); box-shadow: 0 4px 16px rgba(253, 171, 27, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(253, 171, 27, 0.6); }
  100% { transform: scale(1); box-shadow: 0 4px 16px rgba(253, 171, 27, 0.4); }
}

.feature-req-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.feature-req-modal {
  width: 100%;
  max-width: 400px;
  position: relative;
  border-radius: 24px;
}

.feature-req-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  padding: 6px;
}

.feature-req-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-req-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-req-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.5;
}

.feature-req-textarea {
  width: 100%;
  border-radius: 16px;
  padding: 16px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  resize: vertical;
  min-height: 100px;
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-req-textarea:focus {
  border-color: var(--color-primary);
  background: rgba(255,255,255,0.08);
  outline: none;
}

.feature-req-contact {
  margin-bottom: 24px;
}

.feature-req-contact label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.feature-req-contact input {
  width: 100%;
  border-radius: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.feature-req-submit {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.feature-req-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.feature-req-success {
  text-align: center;
  padding: 24px 0;
}

.heart-pulse {
  animation: pulse 1.5s infinite;
  margin-bottom: 16px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.feature-req-success h3 {
  margin: 0 0 8px 0;
  color: #fff;
}

.feature-req-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
}
.app-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
    padding-top: 85px; 
  padding-left: 24px;
  padding-right: 24px;
}
:root {
    --color-white: #ffffff;
  --color-primary: #fdab1b;     --color-dark: #0a493e;        
  --color-primary-light: #ffd782;
  --color-primary-dark: #e59300;
  --color-dark-light: #166b5c;
    --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(10, 73, 62, 0.08);
    --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 9999px;
    --transition-dynamic: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--color-dark);
  min-height: 100vh;
    background: 
    radial-gradient(circle at 10% 20%, rgba(253, 171, 27, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(10, 73, 62, 0.1) 0%, transparent 40%),
    linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}
.glass-pill {
  background: var(--glass-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: var(--glass-border);
  box-shadow: 0 4px 16px rgba(10, 73, 62, 0.05);
  border-radius: var(--radius-pill);
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.title-text {
  font-weight: 700;
  color: var(--color-dark);
}
.subtitle-text {
  font-weight: 500;
  color: var(--color-dark-light);
}
.hover-float {
  transition: var(--transition-dynamic);
}
.hover-float:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(253, 171, 27, 0.2);
}
.hover-spring {
  transition: var(--transition-dynamic);
}
.hover-spring:hover {
  transform: scale(1.05);
}
.hover-glow:focus, .hover-glow:hover {
  box-shadow: 0 0 16px var(--color-primary-light);
  border-color: var(--color-primary);
  outline: none;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-dynamic);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(253, 171, 27, 0.3);
}
.btn-primary:hover {
  transform: scale(1.05);
  background: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(253, 171, 27, 0.4);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  color: var(--color-dark);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition-dynamic);
  box-shadow: 0 4px 12px rgba(10, 73, 62, 0.05);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.2);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}
@media (max-width: 768px) {
  html {
    font-size: 13px;   }
  .btn-primary {
    padding: 10px 18px;
    gap: 6px;
  }
  .btn-glass {
    padding: 8px 16px;
  }
  .glass-panel {
    border-radius: var(--radius-md) !important;
  }
}
body.ios-fullscreen-lock {
    overflow: hidden !important;
}
body.ios-fullscreen-lock #root > .app-layout > .main-content > .watch-main {
    transform: none !important;
    position: static !important;
    z-index: auto !important;
}
