/**
 * CineLink - Homepage Version 2 Stylesheet (OPT2 Layout)
 * File: public/assets/css/home_v2.css
 */

/* ==========================================================================
   GLOBAL VIEWPORT & OVERFLOW PROTECTION
   ========================================================================== */
html {
  overflow-x: clip;
}
@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
}
body {
  width: 100%;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   GLOBAL SECTION HEADERS & BADGES (Căn đều middle tâm trục ngang & Spacing icon-text)
   ========================================================================== */
.sec-hdr,
.section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 24px !important;
  gap: 16px;
}
.sec-hdr-left,
.section-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  line-height: 1 !important;
}
.sec-hdr-left .sec-title,
.section-header-left .section-title,
.sec-title,
.section-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
}
.sec-badge,
.section-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  height: 24px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.sec-badge i,
.section-label i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 11px !important;
  position: relative;
  top: 0px;
}
.sec-badge span,
.section-label span {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

/* ==========================================================================
   GLOBAL SECTION SPACING (ĐỒNG ĐỀU VÀ NHỎ LẠI GIỮA CÁC SECTION)
   ========================================================================== */
.cinenews-section,
.insight-section,
.cta-stats-section,
.movies-section-v2,
#featured-actors,
#featured-services,
#jobs-section,
#cineshop-section,
#wardrobe-section,
#props-section,
section.section {
  padding-top: 36px !important;
  padding-bottom: 36px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .cinenews-section,
  .insight-section,
  .cta-stats-section,
  .movies-section-v2,
  #featured-actors,
  #featured-services,
  #jobs-section,
  #cineshop-section,
  #wardrobe-section,
  #props-section,
  section.section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* ==========================================================================
   1. TOP FILM BANNER (#film-banner) - HÌNH 1
   ========================================================================== */
#film-banner {
  background: linear-gradient(135deg, #080f1a 0%, #0d1a2e 60%, #0a1020 100%);
  border-bottom: 1px solid rgba(24, 226, 153, 0.15);
  position: relative;
  z-index: 100;
  overflow: hidden;
}
.fb-inner {
  display: flex;
  align-items: center;
  padding: 0 32px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .fb-inner {
    padding: 0 20px;
  }
}
.fb-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(24, 226, 153, 0.12);
  border: 1px solid rgba(24, 226, 153, 0.3);
  color: #18E299;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-shrink: 0;
}
.fb-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  flex: 1;
  padding: 10px 0;
  position: relative;
}
.fb-track {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
/* Hiệu ứng chạy lặp lại từ trái sang phải khi > 5 phim */
.fb-track.is-marquee {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: fbScrollLeftToRight 45s linear infinite;
}
.fb-strip:hover .fb-track.is-marquee {
  animation-play-state: paused;
}
@keyframes fbScrollLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
.fb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.fb-item:hover {
  transform: translateY(-2px);
}
.fb-thumb {
  width: 40px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(24, 226, 153, 0.25);
  background: #1a2540;
  flex-shrink: 0;
}
.fb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fb-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fb-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  line-height: 1.3;
}
.fb-date {
  font-size: 10px;
  color: #18E299;
  font-weight: 500;
  margin-top: 2px;
}
.fb-sep {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.fb-close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  margin-left: auto;
  line-height: 1;
}
.fb-close:hover {
  background: rgba(24, 226, 153, 0.2);
  color: #18E299;
  border-color: rgba(24, 226, 153, 0.4);
}

/* ==========================================================================
   2. THIN HERO STRIP (.hero-strip) - HÌNH 2
   ========================================================================== */
.hero-strip {
  background: linear-gradient(135deg, #f8fffe 0%, #f0faf6 100%);
  border-bottom: 1px solid rgba(24, 226, 153, 0.15);
  padding: 22px 0;
  position: relative;
  z-index: 20;
  overflow: visible;
}
.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: visible;
}
.hero-strip-left {
  flex: 1;
}
.hero-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d4fae8;
  color: #0fa76e;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(24, 226, 153, 0.3);
  margin-bottom: 8px;
}
.hero-strip-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0fa76e;
  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.75); }
}
.hero-strip-title {
  font-size: 24px;
  font-weight: 800;
  color: #0d0d0d;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero-strip-sub {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}
.hero-strip-search {
  flex: 0 1 560px;
  width: 560px;
  max-width: 100%;
  position: relative;
  z-index: 20;
  overflow: visible;
}
.hero-search-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 5px 6px 5px 18px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 20;
  overflow: visible;
}
.hero-search-box:focus-within {
  box-shadow: 0 4px 20px rgba(24, 226, 153, 0.25);
  border-color: rgba(24, 226, 153, 0.5);
}
.hero-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.hero-search-icon {
  color: #94a3b8;
  font-size: 15px;
  flex-shrink: 0;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: transparent;
  min-width: 0;
}
.hero-search-input::placeholder {
  color: #94a3b8;
}
.hero-search-divider {
  width: 1px;
  height: 22px;
  background: #e2e8f0;
  margin: 0 6px;
  flex-shrink: 0;
}
/* Custom Dropdown Component */
.hero-custom-select {
  position: relative;
  flex-shrink: 0;
  z-index: 25;
}
.hero-custom-select.is-open {
  z-index: 100;
}
.hero-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  border-radius: 9999px;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
  white-space: nowrap;
}
.hero-select-trigger:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #0f172a;
}
.hero-select-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.select-label-icon {
  font-size: 13.5px;
  color: #10b981;
}
.hero-select-chevron {
  font-size: 11px;
  color: #94a3b8;
  transition: transform 0.2s ease, color 0.2s ease;
}
.hero-custom-select.is-open .hero-select-chevron {
  transform: rotate(180deg);
  color: #10b981;
}
.hero-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 1050;
  display: none;
  transform-origin: top right;
  animation: heroSelectFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes heroSelectFade {
  from { opacity: 0; transform: scale(0.95) translateY(-4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-custom-select.is-open .hero-select-dropdown {
  display: block;
}
.hero-select-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
}
.hero-select-option i {
  font-size: 14px;
  color: #64748b;
  transition: color 0.15s ease;
}
.hero-select-option:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.hero-select-option:hover i {
  color: #0f172a;
}
.hero-select-option.active {
  background: #e6fcf3;
  color: #059669;
  font-weight: 600;
}
.hero-select-option.active i {
  color: #059669;
}
.hero-search-btn {
  background: #18E299;
  color: #0d0d0d;
  border: none;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 22px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-search-btn:hover {
  background: #12c882;
  box-shadow: 0 2px 10px rgba(24, 226, 153, 0.4);
}

/* ==========================================================================
   3. CINENEWS FULL-WIDTH SECTION (.cinenews-section) - HÌNH 3
   ========================================================================== */
.cinenews-section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cinenews-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cn-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  background: #ffffff;
  color: #64748b;
  text-decoration: none !important;
}
.cn-tab.active,
.cn-tab:hover {
  background: #0d0d0d;
  color: #ffffff;
  border-color: #0d0d0d;
  text-decoration: none !important;
}
.cinenews-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: start;
}
/* Lead Article */
.lead-article {
  text-decoration: none;
  color: inherit;
  display: block;
}
.lead-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f5f9;
  margin-bottom: 14px;
  position: relative;
}
.lead-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.lead-article:hover .lead-img img {
  transform: scale(1.04);
}
.lead-cat {
  position: absolute;
  top: 12px;
  left: 12px;
}
.lead-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.lead-time {
  font-size: 12px;
  color: #94a3b8;
}
.lead-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.lead-article:hover .lead-title {
  color: #1D9E75;
}
.lead-excerpt {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Secondary Articles */
.sec-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sec-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.sec-article {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}
.sec-article:first-child {
  padding-top: 0;
}
.sec-article:last-child {
  border-bottom: none;
}
.sec-article:hover .sec-title-text {
  color: #1D9E75;
}
.sec-thumb {
  width: 84px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
}
.sec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sec-article:hover .sec-thumb img {
  transform: scale(1.06);
}
.sec-body {
  flex: 1;
  min-width: 0;
}
.sec-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.sec-cat-badge {
  background: #f3e8ff !important;
  color: #7c3aed !important;
  border: 1px solid rgba(124, 58, 237, 0.2) !important;
  font-size: 9.5px !important;
  font-weight: 600 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.25 !important;
  letter-spacing: 0.1px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}
.sec-article:hover .sec-cat-badge {
  background: #ede9fe !important;
  border-color: rgba(124, 58, 237, 0.35) !important;
}
.sec-time {
  font-size: 11px;
  color: #94a3b8;
}
.sec-title-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.4;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   4. CINEINSIGHT SOCIAL LISTENING SECTION (.insight-section) - HÌNH 4
   ========================================================================== */
.insight-section {
  padding: 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}
.insight-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  height: auto;
  display: flex;
  flex-direction: column;
}
.insight-rankings-box {
  display: flex;
  flex-direction: column;
}
.insight-disclaimer {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  line-height: 1.45;
}
.insight-disclaimer i {
  color: #18E299;
  flex-shrink: 0;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.bar-row:last-child {
  border-bottom: none;
}
.bar-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
}
.bar-rank.top1 {
  background: #ffd700;
  color: #7a5800;
}
.bar-rank.top2 {
  background: #e2e8f0;
  color: #334155;
}
.bar-rank.top3 {
  background: #cd7f32;
  color: #ffffff;
}
.bar-movie-thumb {
  width: 34px;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}
.bar-movie-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bar-title {
  flex: 1;
  min-width: 0;
}
.bar-movie-name {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px;
}
.bar-track {
  height: 8px;
  background: #f1f5f9;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1s ease;
  background: linear-gradient(90deg, #18E299, #0fa76e);
}
.bar-fill.r2 {
  background: linear-gradient(90deg, #6366f1, #4f46e5);
}
.bar-fill.r3 {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}
.bar-fill.r4 {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}
.bar-fill.r5 {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}
.bar-mentions {
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  flex-shrink: 0;
  min-width: 68px;
  text-align: right;
}
.bar-sub {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 400;
}
.insight-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.insight-right {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.insight-hot-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  height: auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}
.insight-notify-box {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border-radius: 16px;
  padding: 20px;
  color: #ffffff;
  margin-top: auto;
}
.insight-summary-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.insight-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.insight-stat-row:last-child {
  border-bottom: none;
}
.insight-stat-label {
  font-size: 12.5px;
  color: #64748b;
}
.insight-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}

/* ==========================================================================
   5. COMBINED CTA & STATS BAR (.cta-stats-strip) - HÌNH 5
   ========================================================================== */
.cta-stats-section {
  background: linear-gradient(180deg, #11141c 0%, #0c0e14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: 36px 0 !important;
  margin: 0 !important;
  color: #ffffff;
  text-align: center;
  width: 100%;
  border-radius: 0;
}
.cta-stats-inner,
.cta-stats-box {
  max-width: 1050px;
  margin: 0 auto;
  color: #ffffff;
  text-align: center;
}
.cta-top-tag {
  display: inline-block;
  color: #18E299;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cta-heading {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.cta-subtext {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 100%;
  width: 100%;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* Compact Stats Strip (Nằm gọn gàng ngay trên 3 button CTA) */
.cta-stats-compact {
  max-width: 580px;
  margin: 0 auto 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  backdrop-filter: blur(8px);
}
.stat-compact-item {
  position: relative;
  padding: 2px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-compact-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-compact-num {
  font-size: 15.5px;
  font-weight: 800;
  color: #18E299;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.stat-compact-lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
}

.cta-buttons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.cta-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transition: all 0.25s ease;
}
.cta-pill-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-stats-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}
.stats-grid-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-col-item {
  position: relative;
  padding: 0 12px;
}
.stat-col-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-number-text {
  font-size: 24px;
  font-weight: 800;
  color: #18E299;
  line-height: 1.2;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.stat-label-text {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ==========================================================================
   6. SECTION LỊCH CHIẾU PHIM NỔI BẬT (#movies-section) - HÌNH 6
   ========================================================================== */
.movies-section-v2 {
  padding: 36px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
/* Container bọc marquee khi > 4 phim */
.movies-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 8px 0;
}
.movies-track {
  display: flex;
  gap: 16px;
  width: max-content;
}
.movies-track.is-marquee-loop {
  animation: movieLoopRightToLeft 45s linear infinite;
}
.movies-marquee-wrapper:hover .movies-track.is-marquee-loop {
  animation-play-state: paused;
}
@keyframes movieLoopRightToLeft {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Card phim V2 */
.movie-card-v2 {
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.movies-track.is-marquee-loop .movie-card-v2 {
  width: 260px;
  flex-shrink: 0;
}
.movies-track.movies-grid-static {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
}
.movies-track.movies-grid-static .movie-card-v2 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}
@media (max-width: 1024px) {
  .movies-track.movies-grid-static {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 640px) {
  .movies-track.movies-grid-static {
    grid-template-columns: 1fr !important;
  }
}
.movie-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}
.movie-poster-v2 {
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}
.movie-poster-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.movie-card-v2:hover .movie-poster-v2 img {
  transform: scale(1.05);
}
.movie-status-tag {
  position: absolute;
  top: 10px;
  left: 10px;
}
.movie-body-v2 {
  padding: 12px 14px 14px;
}
.movie-title-v2 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.movie-meta-v2 {
  font-size: 11.5px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   7. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-strip-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero-strip-left {
    flex: 0 0 auto;
    width: 100%;
  }
  .hero-strip-search {
    flex: 0 0 auto !important; /* QUAN TRỌNG: Triệt tiêu flex-basis: 560px thành chiều cao dọc! */
    min-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .cinenews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insight-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  /* CONTAINER & SECTION HEADERS CHỐNG TRÀN */
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sec-hdr,
  .section-header {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sec-hdr-left,
  .section-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .sec-title,
  .section-title {
    font-size: 17px !important;
    word-break: break-word !important;
  }
  .sec-link,
  .section-more {
    font-size: 12px !important;
    white-space: nowrap !important;
    margin-left: auto !important;
  }

  .fb-inner {
    padding: 0 14px;
    gap: 10px;
  }
  .fb-title {
    max-width: 90px;
    font-size: 10.5px;
  }
  .hero-strip {
    padding: 16px 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
  }
  .hero-strip-search {
    flex: 0 0 auto !important;
    height: auto !important;
    width: 100% !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 20 !important;
  }
  .hero-strip-title {
    font-size: 20px;
  }
  .cta-stats-compact {
    max-width: 100% !important;
  }
  .stats-grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stat-col-item:not(:last-child)::after {
    display: none;
  }

  /* SECTION LỊCH CHIẾU PHIM NỔI BẬT: MỖI ITEM 1 DÒNG FULL-WIDTH TRÊN MOBILE */
  .movies-marquee-wrapper {
    overflow: hidden !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .movies-track {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
    animation: none !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  .movies-track.is-marquee-loop {
    animation: none !important;
    transform: none !important;
  }
  .marquee-dup-item {
    display: none !important; /* Ẩn các card nhân đôi của marquee trên mobile */
  }
  .movie-card-v2 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
    box-sizing: border-box !important;
  }
  .movie-poster-v2 {
    width: 100% !important;
    aspect-ratio: 2/3 !important;
  }
  .movie-poster-v2 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .movie-body-v2 {
    padding: 14px 16px !important;
  }
  .movie-title-v2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
  }
  .movie-meta-v2 {
    font-size: 12.5px !important;
  }

  /* SECTION CINEINSIGHT: CHỐNG CẮT CẠNH PHẢI */
  .insight-section {
    padding: 24px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .insight-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .insight-card,
  .insight-right,
  .insight-hot-card,
  .insight-notify-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .insight-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    height: auto !important;
  }
  .insight-card-hdr {
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .insight-hdr-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .insight-chart-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    min-width: 0 !important;
  }
  .insight-chart-subtitle {
    font-size: 11.5px !important;
    color: #64748b !important;
    margin-top: 3px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    width: 100% !important;
  }
  .insight-realtime-badge {
    padding: 3px 8px !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }
  .insight-rankings-box {
    gap: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .bar-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .bar-rank {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
    flex-shrink: 0 !important;
  }
  .bar-movie-thumb {
    width: 30px !important;
    height: 42px !important;
    border-radius: 5px !important;
    flex-shrink: 0 !important;
  }
  .bar-title {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .bar-movie-name {
    font-size: 12.5px !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }
  .bar-track {
    height: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .bar-mentions {
    font-size: 11px !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    padding-left: 4px !important;
    min-width: auto !important;
  }
  .insight-right {
    height: auto !important;
    gap: 14px !important;
  }
  .insight-hot-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .insight-stat-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 7px 0 !important;
    width: 100% !important;
  }
  .insight-stat-label {
    font-size: 12px !important;
  }
  .insight-stat-val {
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
  .insight-notify-box {
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .insight-notify-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 640px) {
  /* ==========================================
     BOX TÌM KIẾM HERO 3 DÒNG TRÊN MOBILE
     ========================================== */
  .hero-search-box {
    flex-direction: column !important;
    align-items: stretch !important;
    border-radius: 16px !important;
    padding: 12px !important;
    gap: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    position: relative !important;
    overflow: visible !important;
    z-index: 20 !important;
  }
  .hero-search-divider {
    display: none !important;
  }

  /* DÒNG 1: Textbox Nhập Từ Khóa */
  .hero-search-input-wrap {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }
  .hero-search-input-wrap:focus-within {
    border-color: #18E299 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(24, 226, 153, 0.15) !important;
  }
  .hero-search-icon {
    margin-right: 0 !important;
    color: #64748b !important;
    font-size: 15px !important;
    flex-shrink: 0 !important;
  }
  .hero-search-input {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 14px !important;
    color: #0f172a !important;
  }

  /* DÒNG 2: Custom Dropdown */
  .hero-custom-select {
    width: 100% !important;
    position: relative !important;
    z-index: 30 !important;
  }
  .hero-custom-select.is-open {
    z-index: 100 !important;
  }
  .hero-select-trigger {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #334155 !important;
    box-sizing: border-box !important;
  }
  .hero-select-trigger:hover,
  .hero-select-trigger:focus,
  .hero-custom-select.is-open .hero-select-trigger {
    border-color: #18E299 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(24, 226, 153, 0.15) !important;
  }
  .hero-select-dropdown {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 14px 35px -4px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.08) !important;
    box-sizing: border-box !important;
    z-index: 1050 !important;
    background: #ffffff !important;
  }
  .hero-select-option {
    padding: 10px 14px !important;
    font-size: 14px !important;
  }

  /* DÒNG 3: Button Tìm */
  .hero-search-btn {
    width: 100% !important;
    border-radius: 10px !important;
    padding: 12px 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    text-align: center !important;
    justify-content: center !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px !important;
  }
  .fb-label {
    display: none;
  }
  .cta-heading {
    font-size: 20px;
  }
  .cta-stats-compact {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 6px;
    padding: 10px 8px;
  }
  .stat-compact-item:nth-child(2)::after {
    display: none;
  }
  .cta-buttons-row {
    flex-direction: column;
    width: 100%;
  }
  .cta-pill-btn {
    width: 100%;
    justify-content: center;
  }
  /* CineInsight trên màn hình mobile hẹp */
  .insight-card {
    padding: 14px 10px !important;
  }
  .bar-row {
    gap: 6px !important;
  }
  .bar-rank {
    width: 18px !important;
    height: 18px !important;
    font-size: 9px !important;
  }
  .bar-movie-thumb {
    width: 26px !important;
    height: 36px !important;
    border-radius: 4px !important;
  }
  .bar-movie-name {
    font-size: 12px !important;
  }
  .bar-mentions {
    font-size: 10.5px !important;
    min-width: auto !important;
    padding-left: 2px !important;
  }
  .insight-hot-card {
    padding: 14px 10px !important;
  }
  .insight-notify-box {
    padding: 14px 10px !important;
  }
}

/* ==========================================================================
   FEATURED ACTORS & SERVICES: AVATAR PORTRAIT 2:3 ASPECT RATIO (GIỐNG LỊCH CHIẾU PHIM)
   ========================================================================== */
#featured-actors .acard-top,
#featured-services .acard-top {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3 !important;
  overflow: hidden !important;
}

#featured-actors .acard-avatar,
#featured-services .acard-avatar {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

#featured-actors .acard-avatar-img,
#featured-services .acard-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  transition: transform 0.3s ease !important;
}

#featured-services .acard-avatar-img {
  object-position: center center !important;
}

#featured-actors .acard-avatar-placeholder,
#featured-services .acard-avatar-placeholder {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 2 / 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
