/* ==========================================================================
   THEME ARCHETYPE: VIRAL BENTO STREAM
   Palette: Dark Onyx (#0b0c10) + Fire Amber (#ff5722 / #ff8a00)
   Zero External Dependencies - 100% Native CSS Tokens
   ========================================================================== */

:root {
  --container: 1200px;
  --bg-body: #07080c;
  --bg-surface: #12141c;
  --bg-card: #181a24;
  --bg-card-hover: #202331;
  --accent: #ff5722;
  --accent-hover: #ff7043;
  --accent-gradient: linear-gradient(135deg, #ff5722 0%, #ff9100 100%);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 87, 34, 0.4);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-bento: 0 4px 20px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.bento-theme {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.bento-container,
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* 1. BENTO HEADER */
.bento-header {
  width: 100%;
  background: #141721;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}
.bento-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  min-height: 56px;
}
@media (max-width: 768px) {
  .bento-topbar { flex-wrap: wrap; gap: 10px; padding: 8px 12px; }
  .bento-search-box { order: 3; width: 100%; flex: 1 1 100% !important; }
}

.bento-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.bento-logo__icon {
  width: 34px;
  height: 34px;
  background: var(--accent-gradient);
  color: #fff;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 87, 34, 0.4);
}
.bento-logo__text {
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}
.bento-logo__badge {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.bento-search-box {
  flex: 1;
  max-width: 520px;
}
.bento-search-form {
  display: flex;
  position: relative;
}
.bento-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.bento-search__input {
  width: 100%;
  height: 38px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0 100px 0 38px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}
.bento-search__input:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.7);
}
.bento-search__btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  padding: 0 14px;
  height: 30px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.bento-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.bento-btn-fav, .bento-btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  height: 32px;
}
.bento-btn-fav {
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid var(--border-accent);
  color: #fff;
}
.bento-btn-tg {
  background: linear-gradient(135deg, #0088cc 0%, #00b0ff 100%);
  color: #fff;
}

/* Bento Nav Strip — Chuẩn Nút Điều Hướng vlxxhd.vip */
.bento-nav-strip {
  background: #181a24;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.bento-nav-list {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.bento-nav-item {
  list-style: none;
}
.bento-nav-item a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--surface-2, #202331);
  color: var(--text, #dadada);
  border-radius: var(--radius, 4px);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  border: none;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.bento-nav-item a:hover {
  color: var(--accent, #ff5722);
  background: var(--surface-2, #202331);
  border-color: transparent;
}
.bento-nav-item a.active,
.bento-nav-item a[aria-current="page"] {
  color: var(--accent, #ff5722);
  background: var(--surface-2, #202331);
  font-weight: 600;
  border-color: transparent;
}

@media (max-width: 767px) {
  .bento-nav-strip {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 4px 0;
  }
  .bento-nav-strip::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .bento-nav-list {
    flex-wrap: nowrap;
    display: inline-flex;
    gap: 5px;
    padding: 0 10px;
  }
  .bento-nav-item a {
    padding: 5px 10px;
    font-size: 13px;
  }
}

/* 2. BENTO MAIN & BREADCRUMB */
.bento-main {
  padding: 16px 0 40px;
}
.bento-breadcrumb {
  margin-bottom: 14px;
}
.bento-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 12.5px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.bento-breadcrumb__link {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bento-breadcrumb__link:hover { color: var(--accent); }
.bento-breadcrumb__sep { color: rgba(255, 255, 255, 0.3); }
.bento-breadcrumb__current { color: #fff; font-weight: 600; }

/* 3. BENTO GRID & CARD */
.bento-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.bento-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.bento-section-title__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.bento-section-count {
  font-size: 12px;
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
}
.bento-section-desc {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 18px;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) { .bento-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .bento-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.15);
}
.bento-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.bento-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.bento-card:hover .bento-card__img { transform: scale(1.06); }

.bento-badge {
  position: absolute;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.bento-badge--duration {
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
}
.bento-badge--hot {
  top: 8px;
  left: 8px;
  background: var(--accent-gradient);
}

.bento-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.bento-card:hover .bento-card__overlay { opacity: 1; }
.bento-card__play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.5);
}

.bento-card__body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bento-card__title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bento-card__title a {
  color: #f1f5f9;
  text-decoration: none;
}
.bento-card:hover .bento-card__title a { color: var(--accent); }
.bento-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}
.bento-card__category { color: var(--accent); font-weight: 600; }

/* 4. BENTO WATCH PAGE */
.bento-watch-page {
  max-width: 1080px;
  margin: 0 auto;
}
.bento-player-container {
  margin-bottom: 20px;
}
.bento-screen-wrap {
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 87, 34, 0.15);
  margin-bottom: 12px;
}
.bento-responsive-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.bento-responsive-player iframe,
.bento-responsive-player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.bento-action-dock {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.bento-dock-left {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.bento-dock-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.bento-dock-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent);
}
.bento-dock-btn--fav {
  background: rgba(255, 87, 34, 0.15);
  border-color: var(--border-accent);
  color: #fff;
}
.bento-dock-btn--tg {
  background: linear-gradient(135deg, #0088cc 0%, #00b0ff 100%);
  border: none;
  color: #fff;
}

.bento-meta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 28px;
}
.bento-film-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}
.bento-meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.bento-meta-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.bento-meta-pill--cat {
  background: rgba(255, 87, 34, 0.12);
  border-color: var(--border-accent);
  color: var(--accent);
  font-weight: 700;
}
.bento-tags-cloud {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.bento-tag-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  text-decoration: none;
}
.bento-tag-badge:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* 4.1 BENTO ARTICLE & SYNOPSIS BOX */
.bento-article-box {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.bento-article-head {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bento-article-body {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.7;
}
.bento-article-body p {
  margin: 0 0 10px 0;
}
.bento-article-body p:last-child {
  margin-bottom: 0;
}
.bento-article-body strong {
  color: #fff;
}
.bento-article-wrap {
  position: relative;
}
.bento-article-fade {
  position: absolute;
  bottom: 38px;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
  pointer-events: none;
  transition: opacity 0.25s;
}
.bento-toggle-article-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  margin-top: 8px;
}
.bento-toggle-article-btn:hover {
  background: rgba(255, 87, 34, 0.15);
  border-color: var(--border-accent);
}

/* 4.2 BENTO QUICK FACTS GRID */
.bento-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 10px;
  margin-top: 14px;
  margin-bottom: 14px;
}
@media (min-width: 768px) {
  .bento-facts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 14px;
  }
}
.bento-fact-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bento-fact-lbl {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bento-fact-val {
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4.3 BENTO HOME SEO CONTENT BOX */
.bento-home-seo-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  margin-top: 36px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.bento-home-seo-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}
.bento-home-seo-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.75;
  margin: 0 0 12px 0;
}
.bento-home-seo-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.bento-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.5;
}
.bento-highlight-icon {
  font-size: 18px;
  line-height: 1;
}
.bento-highlight-text strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
}

/* 5. PAGINATION & TOP SEARCHES */
.bento-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.bento-page-btn, .bento-page-num {
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s;
}
.bento-page-btn:hover, .bento-page-num:hover, .bento-page-num.active {
  background: var(--accent);
  border-color: var(--accent);
}

.bento-topsearches {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
}
.bento-topsearches__header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  font-size: 14px;
}
.bento-topsearches__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-search-pill {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.2s;
}
.bento-search-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 6. STATIC / IDOLS / TAGS DIRECTORY */
.bento-static-page {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}
.bento-page-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}
.bento-page-content {
  color: #cbd5e1;
  line-height: 1.7;
}

.bento-idols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.bento-idol-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}
.bento-idol-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}
.bento-idol-card__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  border: 2px solid var(--accent);
}
.bento-idol-card__name {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.bento-idol-card__count {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}

.bento-tags-directory {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: #ddd;
  text-decoration: none;
  font-size: 13px;
}
.bento-tag-item:hover {
  border-color: var(--accent);
  color: #fff;
}
.bento-tag-item__count {
  font-size: 10px;
  background: rgba(255, 87, 34, 0.15);
  color: var(--accent);
  padding: 1px 5px;
  border-radius: 4px;
}

/* 7. BENTO FOOTER UI/UX PRO MAX */
.bento-footer {
  width: 100%;
  background: #090a10;
  border-top: 1px solid rgba(255, 87, 34, 0.25);
  padding: 36px 0 24px;
  margin-top: auto;
  box-sizing: border-box;
}

/* Feature Ribbon */
.bento-footer__ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 20px;
  background: rgba(18, 20, 28, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
@media (max-width: 992px) {
  .bento-footer__ribbon { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bento-footer__ribbon { grid-template-columns: 1fr; gap: 12px; }
}

.bento-footer__ribbon-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bento-footer__ribbon-item .ribbon-icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: 10px;
  flex-shrink: 0;
}
.bento-footer__ribbon-item .ribbon-text {
  display: flex;
  flex-direction: column;
}
.bento-footer__ribbon-item .ribbon-text strong {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}
.bento-footer__ribbon-item .ribbon-text small {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* 4-Col Grid */
.bento-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 1024px) {
  .bento-footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .bento-footer__inner { grid-template-columns: 1fr; gap: 22px; }
}

/* Brand Col */
.bento-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-bottom: 12px;
}
.bento-footer__logo .logo-accent {
  background: var(--accent-gradient);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(255, 87, 34, 0.35);
}
.bento-footer__logo .logo-main {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.bento-footer__desc {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.bento-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.footer-badge {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.bento-footer__devices {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.device-tag {
  font-size: 10px;
  background: rgba(255, 87, 34, 0.12);
  color: #ff7043;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 700;
}

/* Titles & Lists */
.bento-footer__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-left: 3px solid var(--accent);
  padding-left: 8px;
}
.bento-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bento-footer__list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
  display: inline-block;
}
.bento-footer__list a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Tags Cloud */
.bento-footer__tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.footer-chip {
  display: inline-block;
  font-size: 11px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.3;
}
.footer-chip:hover {
  background: rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.45);
  color: #ff8a00;
  transform: translateY(-1px);
}

/* SEO Entity Bar */
.bento-footer__entity {
  margin: 10px 0 20px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* Bottom Bar */
.bento-footer__bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}
.bento-footer__copy strong {
  color: #cbd5e1;
}
.bento-footer__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #94a3b8;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.bento-footer__disclaimer {
  width: 100%;
  font-size: 11px;
  color: #475569;
  text-align: center;
  margin-top: 4px;
}

/* --- Server Selection Dock --- */
.bento-server-dock {
  margin: 14px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bento-server-label {
  font-size: 13px;
  font-weight: 700;
  color: #a1a1aa;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bento-server-label-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.server-list {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.btn-server {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  color: #d4d4d8;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.btn-server:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent, #f97316);
  color: #fff;
  transform: translateY(-1px);
}
.btn-server.active,
.btn-server.is-active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  color: #fff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

/* ===== BENTO ADAPTER: bridge legacy tube classes to bento tokens ===== */
:root {
  --muted: var(--text-muted);
  --text: var(--text-main);
  --text-base: var(--text-main);
  --surface: var(--bg-card);
  --surface-2: var(--bg-surface);
  --bg: var(--bg-body);
}
body {
  background-color: var(--bg-body);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  max-width: var(--container, 1200px);
  margin: 0 auto;
  background-color: var(--bg-surface, #12141c);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
  position: relative;
  box-sizing: border-box;
}
main#main {
  flex: 1;
  width: 100%;
  padding-top: 18px;
  padding-bottom: 36px;
  box-sizing: border-box;
}

/* Home Section Blocks — Khung phân chia rõ ràng */
.home-block {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.home-block:last-of-type {
  border-bottom: none;
  margin-bottom: 16px;
  padding-bottom: 0;
}
.video-grid, .tube-grid, .grid, .related-videos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 1100px) { .video-grid, .tube-grid, .grid, .related-videos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .video-grid, .tube-grid, .grid, .related-videos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.video-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.video-item:hover { transform: translateY(-3px); border-color: var(--border-accent); box-shadow: var(--shadow-bento); }
.video-item > a { display: block; text-decoration: none; }
.video-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-surface); }
.video-item .ribbon {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  background: var(--accent-gradient); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 3px 8px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: .3px; pointer-events: none;
}
.video-name { padding: 9px 10px 11px; }
.video-name a {
  color: var(--text-main); font-size: 13px; font-weight: 600; line-height: 1.4;
  text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-name a:hover { color: var(--accent); }
.section-title a { color: var(--text-main); text-decoration: none; }
.section-title a:hover { color: var(--accent); }
.page-title { color: var(--text-main); }
.empty { color: var(--text-muted); }
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 24px 0; }
.pagination a, .pagination span, .pagination button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-main);
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.pagination .active, .pagination a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== VIDEO PAGE ADAPTER: tube/legacy classes -> bento tokens ===== */
#main-contents, main.col-xs-12 { width: 100%; max-width: 100%; padding: 0; margin: 0; }
.clearfix::before, .clearfix::after { content: ""; display: table; clear: both; }
.video-detail-container { width: 100%; max-width: 100%; margin: 0 auto; box-sizing: border-box; }
.video-wrap-box { width: 100%; }
.video-player { width: 100%; position: relative; }
.player__poster { border-radius: var(--radius-md); }
.player__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--accent-gradient); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 34px rgba(255, 87, 34, .45);
  transition: transform .15s ease, box-shadow .15s ease; z-index: 3; pointer-events: none;
}
.player__poster:hover .player__play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 14px 40px rgba(255, 87, 34, .6); }
.video-meta-content { width: 100%; }
.video-action-bar { width: 100%; }
.btn { text-decoration: none; user-select: none; }
.btn-server {
  background: var(--bg-card-hover); border: 1px solid var(--border);
  color: var(--text-main); transition: all .18s ease;
}
.btn-server:hover { border-color: var(--border-accent); color: var(--accent); }
.btn-server.active {
  background: var(--accent-gradient); border-color: transparent; color: #fff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, .35);
}
.btn-fav:hover, .btn-copy-link:hover, .btn-random:hover, .btn-pwa:hover { filter: brightness(1.25); }
.movie-title { line-height: 1.45; }
.movie-desc-wrap { width: 100%; }
.entry-content { width: 100%; }
.entry-content p { margin: 0 0 10px; }
.entry-content h2, .entry-content h3 { color: var(--text-main); margin: 14px 0 8px; font-size: 15px; }
.entry-content a { color: var(--accent); text-decoration: none; }
.entry-content a:hover { text-decoration: underline; }
.entry-content ul, .entry-content ol { margin: 8px 0 10px 18px; }
.the_tag_list { width: 100%; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tag-row-items { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-row-items a {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-main); font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; text-decoration: none;
  transition: all .18s ease;
}
.tag-row-items a:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-card-hover); }
.tag-row-categories a { background: var(--accent-gradient); border-color: transparent; color: #fff; font-weight: 700; }
.tag-row-categories a:hover { filter: brightness(1.12); color: #fff; }
.section-bar { width: 100%; }
.section-link { text-decoration: none; }
.section-link:hover { text-decoration: underline; }
.badge { text-decoration: none; }

/* ===== NETWORK WIDGET ADAPTER: cross-network circulation widget ===== */
.network-circulation-widget {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px; margin: 28px 0;
}
.network-circulation-widget h3, .network-circulation-widget .widget-title {
  font-size: 14px; font-weight: 800; color: var(--text-main);
  text-transform: uppercase; margin: 0 0 14px; display: flex; align-items: center; gap: 8px;
}
.network-circulation-widget .fa-network-wired { color: var(--accent); }
.network-sites-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.network-site-card {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 12px;
  color: var(--text-main); font-size: 12.5px; font-weight: 600;
  text-decoration: none; transition: all .18s ease;
}
.network-site-card:hover { border-color: var(--border-accent); transform: translateY(-2px); color: var(--accent); }
.network-site-card .fa-globe { color: var(--accent); font-size: 13px; }

/* Unified Boxed Layout Responsive Adapter */
@media (max-width: 1220px) {
  #wrapper {
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .container,
  .bento-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .bento-topbar {
    padding: 8px 10px !important;
  }
  main#main {
    padding-top: 12px !important;
    padding-bottom: 24px !important;
  }
  .bento-footer {
    padding: 24px 0 16px !important;
  }
  .home-block {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }
}

/* Modern Glassy Pill Breadcrumb — Chuẩn vlxxhd.vip */
.breadcrumb,
.tube-breadcrumb,
.bento-breadcrumb {
  margin: 10px 0 16px;
  position: relative;
  z-index: 2;
  font-size: 13px;
  line-height: 1.4;
}
.breadcrumb ol,
.tube-breadcrumb ol,
.bento-breadcrumb ol,
.breadcrumb-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 5px 12px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.breadcrumb ol::-webkit-scrollbar,
.tube-breadcrumb ol::-webkit-scrollbar,
.bento-breadcrumb ol::-webkit-scrollbar,
.breadcrumb-list::-webkit-scrollbar {
  display: none;
}
.breadcrumb li,
.tube-breadcrumb li,
.bento-breadcrumb li,
.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 12.5px;
  line-height: 1.2;
}
.breadcrumb li:first-child a::before,
.tube-breadcrumb li:first-child a::before,
.bento-breadcrumb li:first-child a::before,
.breadcrumb-item:first-child a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  vertical-align: -1px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E") no-repeat center / contain;
}
.breadcrumb a,
.tube-breadcrumb a,
.bento-breadcrumb a,
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted, #9ca3af);
  font-weight: 500;
  text-decoration: none;
  padding: 3px 8px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}
.breadcrumb a:hover,
.tube-breadcrumb a:hover,
.bento-breadcrumb a:hover,
.breadcrumb-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.breadcrumb li + li::before,
.tube-breadcrumb li + li::before,
.bento-breadcrumb li + li::before,
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 2px;
  user-select: none;
}
.breadcrumb [aria-current],
.tube-breadcrumb [aria-current],
.bento-breadcrumb [aria-current],
.breadcrumb-current {
  display: inline-flex;
  align-items: center;
  color: var(--accent, #ff5722) !important;
  font-weight: 600;
  background: rgba(255, 87, 34, 0.12);
  border: 1px solid var(--border-accent, rgba(255, 87, 34, 0.35));
  padding: 3px 10px;
  border-radius: 9999px;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


/* ==========================================================================
   UI/UX PRO MAX - KHUNG ANH TY LE VANG 16:10 CHUAN THAM CHIEU (320x200)
   ========================================================================== */
.thumb-wrap,
.movie-thumb-box,
.video-card__thumb-wrap,
.thumb-wrap.movie-thumb-box {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  overflow: hidden !important;
  background: #0a080e !important;
  border-radius: 6px 6px 0 0 !important;
}

.thumb-wrap a,
.movie-thumb-box a,
.video-card__thumb-wrap a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

.video-card__thumb,
.video-image,
.movie-thumb-box img,
.thumb-wrap img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.video-item:hover .video-image,
.video-card:hover .video-card__thumb,
.movie-thumb-box:hover img,
.thumb-wrap:hover img {
  transform: scale(1.06) !important;
}

/* ==========================================================================
   Screen Reader Only (Accessibility Standard - Googlebot & W3C Compliant)
   ========================================================================== */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   STANDARD RED GLOW PLAY BUTTON (100% PURE CSS TRIANGLE - ZERO DEPENDENCY)
   ========================================================================== */
.player__play, #mainPlayBtn, .main-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  background: rgba(183, 28, 28, 0.92) !important;
  border: 2.5px solid #ffc107 !important;
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.65), 0 8px 30px rgba(0, 0, 0, 0.7) !important;
  z-index: 10 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  pointer-events: auto !important;
}

.player__play:hover, #mainPlayBtn:hover, .main-play-btn:hover,
.player__poster:hover .player__play, .player__poster:hover #mainPlayBtn, .player__poster:hover .main-play-btn {
  transform: translate(-50%, -50%) scale(1.1) !important;
  background: rgba(211, 47, 47, 0.95) !important;
  box-shadow: 0 0 35px rgba(255, 193, 7, 0.9), 0 10px 35px rgba(0, 0, 0, 0.8) !important;
}

.player__play::before, #mainPlayBtn::before, .main-play-btn::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-top: 13px solid transparent !important;
  border-bottom: 13px solid transparent !important;
  border-left: 22px solid #ffffff !important;
  margin-left: 5px !important;
}

.player__play i, #mainPlayBtn i, .main-play-btn i,
.player__play svg, #mainPlayBtn svg, .main-play-btn svg {
  display: none !important;
}


/* ===== movie-desc spacing fix 16/11 ===== */
#movie-desc-content p { margin: 0 0 10px; }
#movie-desc-content p:last-child { margin-bottom: 0; }
/* descfix-h3 21/11/2026: tieu de duoc tach thanh <h3> rieng trong khung noi dung.
   CSS chung co "h1,h2,h3{margin:0}" nen phai ghi de, neu khong tieu de dinh sat chu. */
#movie-desc-content h3 {
  margin: 18px 0 8px !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 600;
}
#movie-desc-content h3:first-child { margin-top: 0 !important; }