/* ─── HERO ────────────────────────────────── */
.bv-hero { background: linear-gradient(89deg, rgb(255 218 185 / 35%) 9.8%, rgb(199 184 234 / 20%) 97.5%); padding: 110px 0 52px; }
.bv-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 26px; }
.bv-breadcrumb a { color: var(--secondary); transition: var(--ease); }
.bv-breadcrumb a:hover { text-decoration: underline; }
.bv-breadcrumb i { font-size: 9px; }
.bv-hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.bv-nl-card form { width: 100%; }
/* Pill badge */
.bv-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 30px; background: var(--text); color: var(--white); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }

.bv-hero-left h1 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 800; color: var(--text); line-height: 1.15; margin-bottom: 14px; }
.bv-hero-left h1 span { background: linear-gradient(135deg, var(--secondary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bv-hero-left > p { font-size: 15px; line-height: 1.5; color: var(--text-light); margin-bottom: 26px; max-width: 480px; font-weight:500; }

/* Stats row */
.bv-hero-stats { display: flex; align-items: center; gap: 20px; }
.bv-stat strong { display: block; font-size: 22px; font-weight: 800; color: var(--text); }
.bv-stat span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.bv-stat-div { width: 1px; height: 36px; background: rgba(24,24,27,.12); }

/* Hero chart */
.bv-hero-chart { background: var(--white); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.bv-chart-title { font-size: 13px; font-weight: 800; color: var(--text); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .4px; }
.bv-chart-bars { display: flex; flex-direction: column; gap: 12px; }
.bv-chart-row { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; }
.bv-chart-label { font-size: 12px; font-weight: 700; color: var(--muted); text-align: right; }
.bv-bar-wrap { background: #7c4dff21; border-radius: 30px; overflow: hidden; height: 28px; }
.bv-bar { height: 100%; width: var(--w, 0%); background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 30px; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; font-size: 11px; font-weight: 700; color: #fff; white-space: nowrap; animation: barGrow 1s var(--ease) forwards; }
.bv-bar-2 { background: linear-gradient(135deg, #E86A00, #f59e0b); }
.bv-bar-3 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bv-bar-4 { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.bv-bar-5 { background: linear-gradient(135deg, #ef4444, #f97316); }
@keyframes barGrow { from { width: 0; } to { width: var(--w, 0%); } }

/* ─── TIME FILTER BAR ─────────────────────── */
.bv-time-bar { 
	background: var(--white); 
	box-shadow: 0 4px 20px rgba(0,0,0,.05); 
/* 	position:sticky; 
	top: 74px;  */
	z-index: 99; 
}
.bv-time-wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow-x: auto; }
.bv-time-wrap::-webkit-scrollbar { display: none; }
.bv-time-tabs { display: flex; gap: 6px; flex-shrink: 0; }
.bv-time-btn { height: 34px; padding: 0 18px; border: none; background: var(--light); border-radius: 30px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; transition: var(--ease); white-space: nowrap; }
.bv-time-btn:hover { color: var(--secondary); background: rgba(192,38,211,.08); }
.bv-time-btn.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.bv-time-right { flex-shrink: 0; }
.bv-update-tag { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bv-live-dot { font-size: 8px; color: var(--success); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ─── MAIN LAYOUT ─────────────────────────── */
.bv-main { padding: 50px 0; }
.bv-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }

/* ─── SECTION ─────────────────────────────── */
.bv-section { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-sm); margin-bottom: 28px; scroll-margin-top: 130px;}
.bv-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.bv-section-head h2 { font-size: 20px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.bv-section-head h2 i { color: var(--text); }
.bv-section-sub { font-size: 13px; color: var(--muted); font-weight: 500; }
.bv-view-all { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text); white-space: nowrap; flex-shrink: 0; }

/* ─── RANK CARDS (all films list) ─────────── */
.bv-rank-list { display: flex; flex-direction: column; gap: 12px; }
.bv-rank-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--light); transition: .3s ease; }
.bv-rank-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }

/* Medal variants — reuse border-left only */
.bv-rank-gold  { border-left: 4px solid var(--gold); }
.bv-rank-silver { border-left: 4px solid var(--silver); }
.bv-rank-bronze { border-left: 4px solid var(--bronze); }

.bv-rank-num { font-size: 22px; font-weight: 800; color: #7c4dff57; min-width: 36px; text-align: center; }
.bv-rank-gold .bv-rank-num { color: var(--gold); font-size: 18px; }
.bv-rank-thumb { width: 60px; height: 52px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.bv-rank-thumb img {height:100%; object-fit: cover;}
.bv-rank-body { flex: 1; min-width: 0; }
.bv-rank-body h3 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 5px; }
.bv-rank-body h3 a { transition: var(--ease); }
.bv-rank-body h3 a:hover { color: var(--secondary); }
.bv-rank-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); font-weight: 600; }
.bv-rank-meta i { color: var(--secondary); margin-right: 3px; font-size: 10px; }
.bv-rank-right { text-align: right; flex-shrink: 0; min-width: 120px; }

/* ─── SHARED: collection display ─────────── */
.bv-collection { font-size: 20px; font-weight: 800; color: var(--text); }
.bv-collection-label { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }

/* ─── SHARED: progress bar ─────────────── */
.bv-progress-bar { height: 5px; background: #ddd; border-radius: 30px; overflow: hidden; margin: 6px 0; }
.bv-progress { height: 100%; width: var(--p, 0%); background: var(--text); border-radius: 30px; }

/* ─── SHARED: change badge ─────────────── */
.bv-change { font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 30px; }
.bv-up   { color: #22c55e; background: rgba(34,197,94,.1); }
.bv-down { color: var(--primary);  background: rgba(239,68,68,.1);  }
.bv-neutral { color: var(--muted); background: rgba(24,24,27,.06); }

/* ─── PERSON GRID (actor / actress) ───────── */
.bv-person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.bv-person-card { background: var(--light); border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); transition: .3s ease; }
.bv-person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
/* Rank medal colours reuse gold/silver/bronze vars */
/* .bv-gold-rank   { background: #f59e0b !important; color: #1a1a1a !important; } */
/* .bv-silver-rank { background: var(--silver) !important; color: #1a1a1a !important; } */
/* .bv-bronze-rank { background: #3038411c !important; color: var(--text)    !important; } */

.bv-person-img-wrap { height: 180px; position: relative; }
.bv-person-img-wrap img { width: 100%; height: 100%; object-fit: cover;}
.bv-person-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,0,26,.7) 0%, transparent 55%); }
.bv-person-body { padding: 14px; }
.bv-person-body h3 { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.bv-person-label { font-size: 10px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .4px; }
.bv-person-total { font-size: 18px; font-weight: 800; color: var(--text); margin: 8px 0 2px; }
.bv-person-films { font-size: 11px; color: var(--muted); margin-bottom: 8px; }

/* ─── SHARED: mini progress bar ─────────── */
.bv-mini-bar-wrap { height: 4px; background: #ddd; border-radius: 30px; overflow: hidden; }
.bv-mini-bar { height: 100%; width: var(--w, 0%); background: var(--text); border-radius: 30px; }

/* ─── TABLE ───────────────────────────────── */
.bv-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.bv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bv-table thead { background: var(--light); }
.bv-table th { padding: 12px 14px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; text-align: left; white-space: nowrap; }
.bv-table td { padding: 12px 14px; border-top: 1px solid rgba(192,38,211,.06); vertical-align: middle; white-space: nowrap; }
.bv-table tr:hover td { background: rgba(248,244,255,.6); }
.bv-tr-gold td   { background: rgba(245,158,11,.04); }
.bv-tr-silver td { background: rgba(148,163,184,.04); }
.bv-tbl-rank { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 800; background: #3038411c; color: var(--muted); }
.bv-tbl-person { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.bv-tbl-person img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
caption.bv-visually-hidden { font-size: 20px; font-weight: 800; margin-bottom: 20px; color: var(--text);}

/* ─── DIRECTOR LIST ───────────────────────── */
.bv-director-list { display: flex; flex-direction: column; gap: 12px; }
.bv-director-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: var(--radius); background: var(--light); transition: .3s ease; }
.bv-director-card:hover { transform: translateX(4px); box-shadow: var(--shadow); }
/* .bv-dir-rank { font-size: 22px; font-weight: 800; color: #7c4dff57; min-width: 36px; text-align: center; } */
.bv-dir-img { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.bv-dir-body { flex: 1; min-width: 0; }
.bv-dir-body h3 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.bv-dir-films { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.bv-dir-bar-wrap { height: 5px; background: #ddd; border-radius: 30px; overflow: hidden; }
.bv-dir-bar { height: 100%; width: var(--w, 0%); background: var(--text); border-radius: 30px; }
.bv-dir-right { text-align: right; flex-shrink: 0; min-width: 100px; }
.bv-dir-films-count { font-size: 11px; color: var(--muted); }

/* ─── SIDEBAR ─────────────────────────────── */
.bv-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 138px; }
.bv-sidebar-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); transition: var(--ease); border: 1px solid #eee;}
.bv-sidebar-card:hover { box-shadow: var(--shadow); }
.bv-sidebar-title { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 16px; padding-left: 10px; border-left: 3px solid var(--secondary); }

/* Jump nav */
.bv-jump-nav { display: flex; flex-direction: column; gap: 4px; }
.bv-jump-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--muted); transition: .3s ease; }
.bv-jump-link i { color: var(--text); width: 16px; text-align: center; }
.bv-jump-link:hover { color: var(--secondary); background: rgba(192,38,211,.07); padding-left: 16px; }
.bv-jump-link.active { color: var(--text); padding-left: 14px; border-left: 3px solid var(--text); background: rgba(124,58,237,.06); border-radius: 0 10px 10px 0; }

/* Weekly chart */
.bv-week-list { display: flex; flex-direction: column; gap: 10px; }
.bv-week-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--light); transition: var(--ease); }
.bv-week-item:hover { background: rgba(192,38,211,.06); }
.bv-week-rank { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: #3038411c; color: var(--text); flex-shrink: 0; }
.bv-week-info { flex: 1; }
.bv-week-info strong { display: block; font-size: 12px; font-weight: 800; color: var(--text); }
.bv-week-info span { font-size: 11px; color: var(--muted); }

/* Newsletter sidebar card */
.bv-nl-card { text-align: center; background: linear-gradient(89deg, rgb(255 218 185 / 35%) 9.8%, rgb(199 184 234 / 20%) 97.5%); }
.bv-nl-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--text); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0 auto 12px; }
.bv-nl-card h3 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.bv-nl-card p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }
.bv-nl-input {     width: 100%;height: 42px;border: none;outline: none; border-radius: 12px; padding: 0 14px; margin-bottom: 10px; background: rgba(255, 255, 255, .8); font-size: 13px; color: var(--text); }
.bv-nl-input::placeholder { color: var(--text-light); }

.bv-nl-btn{padding:15px 45px;text-align:center;transition:all 0.5s ease-in-out;background-size:200% auto;color:var(--white);border-radius:16px;display:block;outline:0;border:none;background-image:linear-gradient(to right,#ff005c 0,#7c4dff 51%,#ff005c 100%);font-family:var(--font);cursor:pointer;font-size:15px;font-weight:600;width:100%}
.bv-nl-btn:hover {  background-position: right center;color: #fff;  text-decoration: none; }
.bv-nl-btn i {  margin-left: 5px;}

/* Milestones */
.bv-milestone-list { display: flex; flex-direction: column; gap: 12px; }
.bv-milestone { display: flex; align-items: flex-start; gap: 12px; }
.bv-milestone-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.bv-ms-gold   { background: rgba(245,158,11,.15); color: var(--gold); }
.bv-ms-purple { background: rgba(124,58,237,.1);  color: var(--secondary); }
.bv-ms-blue   { background: rgba(59,130,246,.1);  color: #3b82f6; }
.bv-ms-green  { background: rgba(34,197,94,.1);   color: var(--success); }
.bv-milestone strong { display: block; font-size: 12px; font-weight: 800; color: var(--text); }
.bv-milestone span { font-size: 11px; color: var(--muted); }

/* ─── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) {
    /* .bv-hero-inner { grid-template-columns: 1fr; } */
    /* .bv-hero-right { display: none; } */
    .bv-person-grid { grid-template-columns: repeat(3, 1fr); }
    .bv-layout{grid-template-columns:1fr 1fr}
}
@media (max-width: 1024px) {
    /* .bv-layout { grid-template-columns: 1fr; } */
    /* .bv-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; } */
     .bv-nl-btn{font-size: 13px;}
    .cat-newsletter-card { display: flex;flex-direction: column; justify-content: center; align-items: center;}
}
@media (max-width: 768px) {
    .bv-hero { padding: 94px 0 36px; }
    .bv-section { padding: 20px 16px; }
    .bv-person-grid { grid-template-columns: repeat(2, 1fr); }
    .bv-rank-card { flex-wrap: wrap; }
    .bv-rank-right { min-width: auto; width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-direction: row; }
    .bv-progress-bar { display: none; }
    /* .bv-sidebar { grid-template-columns: 1fr; } */
    .bv-layout { grid-template-columns: 1fr; }
    .bv-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
    .bv-hero-right { display: none; } 
    .bv-hero-inner{grid-template-columns:1fr}
    .bv-hero-left > p{max-width: 100%;}
    
   
}

@media (max-width: 767px) {
    .bv-hero h1 { font-size: 28px; }
    .bv-person-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bv-rank-meta { gap: 8px; }
    .bv-director-card { flex-wrap: wrap; display: block; }
    .bv-sidebar{ width: 100%; }
    .bv-content-col{ width: 100%;}
    .bv-layout{display: flex; flex-wrap: wrap; }
    .bv-section-head h2{font-size: 16px;}
    .bv-section-sub{font-size: 12px;}
    .bv-dir-rank {display: inline-block; margin-bottom: 10px;font-size: 14px; border-radius: 50%;width: 30px;height: 30px;min-width: auto; display: flex; align-items: center;justify-content: center;}
    .bv-collection { font-size: 16px;}
    .bv-director-card:nth-child(6), .bv-director-card:nth-child(5), .bv-director-card:nth-child(4) {display: none;}
    .bv-dir-body h3{display: inline-block;vertical-align: middle; margin-bottom: 10px;margin-right: 10px;}
    .bv-dir-films{display: inline-block;vertical-align: middle;margin-bottom: 10px;}
    .bv-nl-btn { font-size: 14px;}
    .bv-sidebar{grid-template-columns: 1fr;}
    .bv-nl-card { display: flex;align-items: center; justify-content: center; flex-direction: column;}
    .bv-main{padding: 30px 0;}
}
