/* =========================================================================
   CINEMA CLEAN & MINIMALIST - MAIN STYLESHEET
   Thiết kế tối giản, tốc độ tải siêu tốc, hỗ trợ 100% Mobile & Desktop
   ========================================================================= */

:root {
  --bg-body: #161616;
  --bg-surface: #222222;
  --bg-surface-elevated: #1a1d24;
  --bg-glass: rgba(18, 20, 26, 0.85);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(229, 9, 20, 0.5);
  
  --primary: #e50914;
  --primary-hover: #ff1e2b;
  --primary-glow: rgba(229, 9, 20, 0.35);
  
  --accent-gold: #f59e0b;
  --accent-blue: #0ea5e9;
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px var(--primary-glow);
  
  --container-max: 1380px;
  --header-height: 54px;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  background-color: var(--bg-body);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* ================= HEADER ================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.branding-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #fff;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.branding-logo:hover {
  transform: scale(1.03);
}

.logo-badge {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), #b91c1c);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 0 14px var(--primary-glow);
}

.logo-highlight {
  color: var(--primary);
}

.logo-domain {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

/* Header Search */
.header-search-wrap {
  flex: 1;
  max-width: 480px;
  margin: 0 16px;
}

.search-box-form {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: all 0.25s ease;
}

.search-box-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg-surface-elevated);
}

.search-box-input {
  width: 100%;
  padding: 6px 0;
  color: #fff;
  font-size: 13.5px;
}

.search-box-input::placeholder {
  color: var(--text-muted);
}

.search-box-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-box-btn:hover {
  background: var(--primary-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-tg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #38bdf8;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.btn-header-tg:hover {
  background: #0ea5e9;
  color: #fff;
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.4);
}

@media (max-width: 640px) {
  .branding-logo {
    font-size: 16px;
    gap: 6px;
  }
  .logo-badge {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .logo-domain {
    display: none;
  }
  .header-search-wrap {
    margin: 0 6px;
  }
  .search-box-form {
    padding: 2px 4px 2px 10px;
  }
  .search-box-input {
    font-size: 12px;
  }
  .search-box-btn {
    width: 28px;
    height: 28px;
    font-size: 11px;
  }
  .btn-header-tg {
    padding: 6px 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 440px) {
  .btn-header-tg span {
    display: none;
  }
  .btn-header-tg {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

/* ================= CATEGORY SCROLL BAR ================= */
.category-nav-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  overflow: hidden;
}

.cat-scroll-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}

.cat-scroll-container::-webkit-scrollbar {
  display: none;
}

.cat-chip-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cat-chip-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.cat-chip-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
  box-shadow: 0 0 12px var(--primary-glow);
}

/* ================= MAIN LAYOUT ================= */
.main-wrapper {
  flex: 1;
  padding: 20px 0 40px;
}

.layout-cols {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .layout-cols {
    grid-template-columns: 1fr;
  }
}

.content-left {
  min-width: 0;
}

/* Section Header Bar */
.section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.section-title i {
  color: var(--primary);
}

.sort-tabs-group {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}

.btn-sort-opt {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-sort-opt.active {
  background: var(--bg-surface-elevated);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* ================= VIDEO GRID ================= */
.video-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1200px) {
  .video-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .video-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .video-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* VIDEO CARD */
.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.05);
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.video-hd-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, var(--primary), #991b1b);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.video-hover-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-card:hover .video-hover-play-icon {
  opacity: 1;
}

.play-circle-sm {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  padding-left: 2px;
  box-shadow: 0 0 18px var(--primary-glow);
}

.video-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.video-card-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.video-card:hover .video-card-title {
  color: var(--primary);
}

.video-card-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
}

.video-meta-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-meta-cat {
  color: var(--accent-gold);
  font-weight: 500;
}

/* ================= PAGINATION ================= */
.pagination-wrapper {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-page {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-page:hover:not(:disabled) {
  background: var(--bg-surface-elevated);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-page.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 12px var(--primary-glow);
}

.btn-page:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ================= SIDEBAR ================= */
.sidebar-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
}

.trending-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trending-rank.top-1 { background: var(--primary); color: #fff; }
.trending-rank.top-2 { background: #ea580c; color: #fff; }
.trending-rank.top-3 { background: #ca8a04; color: #fff; }

.trending-thumb {
  width: 72px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #000;
}

.trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trending-info {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.trending-title:hover {
  color: var(--primary);
}

.trending-views {
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= FOOTER ================= */
#site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 30px 0 20px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* TOAST NOTIFICATION */
#global-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  gap: 10px;
  animation: toastSlideIn 0.3s ease;
}

@keyframes toastSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* TOP TRENDING TAG PILLS */
.trending-tags-top-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(18, 19, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .trending-tags-top-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px;
  }
  .trending-tags-top-bar::-webkit-scrollbar {
    display: none;
  }
}

.top-tag-pill {
  color: #ff3b30;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.25);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-tag-pill:hover {
  background: #ff3b30;
  color: #ffffff !important;
  border-color: #ff3b30;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
}

/* ================= CATEGORY & TAG SEO CONTENT BOX ================= */
.category-seo-box {
  background: rgba(18, 19, 31, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.3s ease;
}

.category-seo-box strong {
  color: #f1f5f9;
  font-weight: 600;
}

.category-seo-box a {
  color: var(--primary);
  text-decoration: none;
}

.category-seo-box a:hover {
  text-decoration: underline;
}

/* ================= RELATED TAGS CLOUD (INTERNAL LINKING) ================= */
.category-related-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: rgba(18, 19, 31, 0.65);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.related-tags-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.cat-tag-pill {
  font-size: 12px;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.cat-tag-pill:hover {
  background: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
}





/* ================= CUSTOM VIET69FZ THEME & LAYOUT ================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: #181818;
  border-bottom: 1px solid #282828;
}

.branding-logo {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.2s ease;
  line-height: 1;
  text-decoration: none;
}

.branding-logo:hover {
  opacity: 0.9;
}

.logo-main-text {
  color: #ffffff;
}

.logo-accent-text {
  color: #e50914;
  margin-left: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-tg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #38bdf8;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.btn-header-tg:hover {
  background: #0ea5e9;
  color: #fff;
}

/* 2 ROWS NAVIGATION */
.category-nav-bar {
  background: #181818;
  border-bottom: 1px solid #282828;
  padding: 8px 0 10px 0;
}

.nav-rows-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.nav-row {
  display: flex;
  align-items: center;
}

.nav-row-1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nav-row-2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-row-2-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.cat-nav-btn {
  background: #232323;
  border: 1px solid #363636;
  border-radius: 4px;
  color: #cfcfcf;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-nav-btn:hover {
  background: #333333;
  color: #ffffff;
  border-color: #4a4a4a;
}

.cat-nav-btn.active {
  background: #333333;
  color: #ffffff;
  border-color: #e50914;
}

.cat-nav-btn .flag-icon {
  font-size: 14px;
  line-height: 1;
}

/* Row 2 Search Form */
.site-search-form {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-left {
  position: absolute;
  left: 8px;
  color: #777777;
  font-size: 12px;
  pointer-events: none;
}

.site-search-input {
  background: #1e1e1e;
  border: 1px solid #3d3d3d;
  border-right: none;
  border-radius: 3px 0 0 3px;
  color: #ffffff;
  font-size: 12.5px;
  height: 31px;
  padding: 0 10px 0 28px;
  width: 195px;
  outline: none;
  transition: border-color 0.15s;
}

.site-search-input::placeholder {
  color: #777777;
}

.site-search-input:focus {
  border-color: #666666;
}

.site-search-btn {
  background: #c62828;
  border: 1px solid #c62828;
  border-radius: 0 3px 3px 0;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  height: 31px;
  padding: 0 14px;
  cursor: pointer;
  transition: background 0.15s;
  outline: none;
  white-space: nowrap;
}

.site-search-btn:hover {
  background: #d32f2f;
  border-color: #d32f2f;
}

/* MAIN LAYOUT & FULL WIDTH HOME */
.main-wrapper {
  flex: 1;
  padding: 12px 0 40px;
}

#home-view .home-layout-cols {
  display: block;
  width: 100%;
}

#home-view .home-layout-cols > .content-left {
  width: 100%;
}

#home-view .home-layout-cols > .sidebar-wrapper {
  display: none;
}

.section-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 0 12px 0;
}

.section-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  color: #e6e6e6;
  letter-spacing: 0.3px;
}

/* 5 COLUMNS VIDEO GRID */
.video-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 14px 10px !important;
  width: 100%;
}

@media (max-width: 1200px) {
  .video-grid-container {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 880px) {
  .video-grid-container {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px 8px !important;
  }
}

@media (max-width: 560px) {
  .video-grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 6px !important;
  }
  .branding-logo {
    font-size: 24px;
  }
  .site-search-form {
    width: 100%;
    margin-top: 4px;
  }
  .search-input-wrap {
    flex: 1;
  }
  .site-search-input {
    width: 100%;
  }
}

/* VIDEO CARD */
.video-card {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  width: 100%;
}

.video-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 3px;
  overflow: hidden;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.03);
}

.video-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  background: rgba(22, 22, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 2px;
  line-height: 1.3;
  pointer-events: none;
}

.video-badge.badge-vn {
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
}

.video-badge.badge-cn {
  border-color: rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

.video-badge.badge-us {
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

.video-card-body {
  padding: 6px 2px 0 2px;
  text-align: center;
}

.video-card-title {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  color: #dfdfdf;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 35px;
  margin: 0;
  transition: color 0.15s;
}

.video-card:hover .video-card-title,
.video-card-title a:hover {
  color: #ff3344;
}

