/* ==========================================================================
   HOMEPAGE BOTTOM — Production CSS
   All sections below the main video grid: Top Rated, Just Added, Stats,
   Actress Battles/Duels, Explore (categories, tags, actress list)
   Prefix: .hb-  (homepage bottom)
   ========================================================================== */


/* --- Local variables (rating ring + colors) --- */
.hb-ring-wrap {
  --ring-size: 68px;
}
/* Rating colors */


/* ==========================================================================
   BLOCK LAYOUT
   ========================================================================== */

.hb-section { padding: 15px 0; }
.hb-section + .hb-section { border-top: none; }
.hb-section.hb-alt {
  background: rgba(20,20,20,0.92);
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-radius: 16px;
  margin: 20px 0;
}


/* --- Section title --- */
.hb-stitle {
  font-size: 17px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.hb-stitle .fa { color: var(--accent); font-size: 18px; }
.hb-stitle .fa.hb-ico-muted { color: #666; }
.hb-stitle small {
  font-size: 12px;
  color: #777;
  font-weight: 400;
  margin-left: 4px;
}
.hb-stitle .hb-view-all {
  font-size: 13px;
  color: #777;
  text-decoration: none;
  margin-left: auto;
  font-weight: 400;
  transition: color 0.2s;
}
.hb-stitle .hb-view-all .fa { color: #999; font-size: 13px; }
@media (hover: hover) {
  .hb-stitle .hb-view-all:hover { color: #ccc; }
  .hb-stitle .hb-view-all:hover .fa { color: #ddd; }
}

/* Live dot (animated) */
.hb-stitle .hb-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b3b;
  display: inline-block;
  animation: hbLivePulse 1.5s ease-in-out infinite;
}
.hb-stitle .hb-live-dot--green {
  background: #4caf50;
  animation: hbLivePulseGreen 1.5s ease-in-out infinite;
}
@keyframes hbLivePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,59,59,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 5px rgba(255,59,59,0); }
}
@keyframes hbLivePulseGreen {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}

/* --- Sub heading --- */
.hb-sub-heading {
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hb-sub-heading .fa { color: var(--accent); font-size: 11px; }
.hb-sub-heading .hb-view-all {
  font-size: 12px;
  margin-left: auto;
  color: #777;
  text-decoration: none;
  font-weight: 400;
}
.hb-sub-heading .hb-view-all .fa { color: #999; font-size: 12px; }
@media (hover: hover) {
  .hb-sub-heading .hb-view-all:hover { color: #ccc; }
  .hb-sub-heading .hb-view-all:hover .fa { color: #ddd; }
}



/* ==========================================================================
   JUST ADDED (.hb-ja-*)
   ========================================================================== */

.hb-ja-wrap {
  position: relative;
  overflow: hidden;
}

.hb-ja-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 4px;
  -webkit-overflow-scrolling: touch;
}
.hb-ja-scroll::-webkit-scrollbar { display: none; }

/* Just Added cards — clean video loop style */
.hb-ja-card.video-block.new-vcard {
  flex: 0 0 180px;
  width: 180px;
  margin: 0;
  height: auto;
}
.hb-ja-card.new-vcard .thumb {
  width: 100%;
}
.hb-ja-card.new-vcard .video-img {
  width: 100%;
  height: auto;
}
.hb-ja-card.new-vcard .infos {
  padding: 6px 4px 2px;
}
.hb-ja-card.new-vcard .title.title-link {
  font-size: 13px;
  min-height: 32px;
  line-height: 16px;
}
.hb-ja-card.new-vcard .video-datas {
  font-size: 11px;
  gap: 6px;
  padding: 2px 0 0;
}
.hb-ja-card.new-vcard .infos-row {
  gap: 0;
}
.hb-ja-card.new-vcard .infos-body {
  width: 100%;
}
/* NEW badge — matches TOP icon style */
.hb-ja-card .hb-ja-new {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, #fff) 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* Time chip — bottom right in thumb */
.hb-ja-card .hb-ja-time {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,0.75);
  color: #ddd;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
}
.hb-ja-card .hb-ja-time .fa {
  font-size: 8px;
}
/* Hide default duration on Just Added cards */
.hb-ja-card .duration { display: none; }

/* Nav arrows */
.hb-ja-nav {
  position: absolute;
  top: 0;
  bottom: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, rgba(17,17,17,0.95), transparent);
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.2s;
}
.hb-ja-nav.right {
  right: 0;
  left: auto;
  background: linear-gradient(to left, rgba(17,17,17,0.95), transparent);
}
.hb-ja-nav.left { left: 0; }

@media (hover: hover) {
  .hb-ja-wrap:hover .hb-ja-nav { opacity: 1; }
  .hb-ja-nav:hover { color: #fff; }
}
.hb-ja-nav.hidden { display: none; }

/* "View all" end card — matches card height */
.hb-ja-end {
  flex: 0 0 120px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px;
  transition: all 0.2s;
}
.hb-ja-end i { font-size: 22px; margin-bottom: 6px; }

@media (hover: hover) {
  .hb-ja-end:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    color: #ccc;
  }
}



/* ==========================================================================
   ACTRESS BATTLES / DUELS (.hb-duel-*)
   ========================================================================== */

/* Duel info tooltip */
.hb-duel-info-wrap {
  position: relative;
  margin-left: 6px;
}
.hb-duel-info-btn,
.hb-stitle .hb-duel-info-btn .fa {
  background: none;
  border: none;
  color: #555;
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
@media (hover: hover) {
  .hb-duel-info-btn:hover { color: #999; }
}
.hb-duel-info-tip {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 8px);
  min-width: 280px;
  padding: 14px 16px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  z-index: 20;
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  line-height: 1.5;
}
.hb-duel-info-tip strong { color: #ddd; }
.hb-duel-info-tip em { color: #ccc; font-style: normal; }
.hb-duel-info-tip p { margin: 6px 0; }
.hb-duel-info-tip ul {
  margin: 6px 0;
  padding-left: 0;
  list-style: none;
}
.hb-duel-info-tip ul li {
  padding: 3px 0;
}
.hb-duel-info-tip ul li .fa {
  color: #777;
  width: 16px;
  text-align: center;
  margin-right: 4px;
}
.hb-duel-info-wrap.open .hb-duel-info-tip { display: block; }
@media (hover: hover) {
  .hb-duel-info-wrap:hover .hb-duel-info-tip { display: block; }
}

.hb-duel-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 1100px) {
  .hb-duel-row { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1500px) {
  .hb-duel-row { grid-template-columns: repeat(4, 1fr); }
  .hb-duel-card { padding: 14px 12px; }
  .hb-duel-row .hb-ring-wrap { --ring-size: 62px; }
  .hb-duel-row .hb-fname { font-size: 12px; }
}

.hb-duel-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hb-duel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, var(--accent), transparent 60%);
  transition: opacity 0.5s ease;
}
.hb-duel-card.right-wins::before {
  background: linear-gradient(225deg, var(--accent), transparent 60%);
}
.hb-duel-card.left-wins::before,
.hb-duel-card.right-wins::before {
  opacity: 0.06;
}


/* --- Battle animations --- */


/* Phase 2: clash — fighters slam toward center */
@keyframes hbClashLeft {
  0%   { transform: translateX(0); }
  35%  { transform: translateX(18px) scale(1.05); }
  55%  { transform: translateX(-6px) scale(0.97); }
  100% { transform: translateX(0) scale(1); }
}
@keyframes hbClashRight {
  0%   { transform: translateX(0); }
  35%  { transform: translateX(-18px) scale(1.05); }
  55%  { transform: translateX(6px) scale(0.97); }
  100% { transform: translateX(0) scale(1); }
}

/* VS explodes on clash */
@keyframes hbVsBurst {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  20%  { transform: translate(-50%, -50%) scale(1.8); opacity: 1; color: var(--accent); border-color: var(--accent); box-shadow: 0 0 20px rgba(237,40,181,0.5); }
  50%  { transform: translate(-50%, -50%) scale(0.6); opacity: 0.4; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; color: #666; border-color: rgba(255,255,255,0.1); box-shadow: none; }
}

/* Winner celebration */
@keyframes hbWinnerPop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.1); }
  50%  { transform: scale(0.95); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}
@keyframes hbWinnerGlow {
  0%   { box-shadow: 0 0 0 0 rgba(237,40,181,0); }
  40%  { box-shadow: 0 0 24px 6px rgba(237,40,181,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(237,40,181,0); }
}


/* Apply clash — VS bursts first, fighters follow 100ms later */
.hb-duel-card.battle-clash .hb-duel-vs {
  animation: hbVsBurst 0.6s ease-out;
}
.hb-duel-card.battle-clash .hb-duel-fighter:first-child {
  animation: hbClashLeft 0.5s cubic-bezier(.25,.46,.45,.94) 0.1s;
}
.hb-duel-card.battle-clash .hb-duel-fighter:last-child {
  animation: hbClashRight 0.5s cubic-bezier(.25,.46,.45,.94) 0.1s;
}

/* Apply winner/loser after clash */
.hb-duel-card.battle-end .hb-duel-fighter.winning {
  animation: hbWinnerPop 0.5s ease-out;
}
.hb-duel-card.battle-end .hb-duel-fighter.winning .hb-ring-wrap {
  animation: hbWinnerGlow 1s ease-out;
  border-radius: 50%;
}
.hb-duel-card.battle-end .hb-duel-fighter:not(.winning) {
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
}
@media (hover: hover) {
  .hb-duel-card.battle-end .hb-duel-fighter:not(.winning):hover {
    opacity: 1;
    filter: none;
  }
}

.hb-duel-vs {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  background: #1a1a1a;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.hb-duel-vs .fa-bolt {
  background: linear-gradient(135deg, #d0d0d0, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hb-duel-fighters {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hb-duel-fighter {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: opacity 0.3s;
}

/* --- Rating Ring --- */
.hb-ring-wrap {
  position: relative;
  width: var(--ring-size);
  height: var(--ring-size);
}
.hb-ring-wrap .hb-ava-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(var(--ring-size) - 10px);
  height: calc(var(--ring-size) - 10px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: #555;
}
.hb-ring-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.hb-ring-wrap .ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 3;
}
.hb-ring-wrap .hb-ring-fill {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke 0.5s, filter 0.3s;
}
@media (hover: hover) {
  .hb-duel-fighter:hover .hb-ring-wrap svg {
    overflow: visible;
  }
  .hb-duel-fighter:hover .hb-ring-wrap .hb-ring-fill {
    stroke-width: 4;
    filter: brightness(1.3) drop-shadow(0 0 6px currentColor);
  }
  .hb-duel-fighter:hover .hb-ring-wrap .ring-bg {
    stroke: rgba(255,255,255,0.12);
  }
}
.hb-ring-wrap .hb-ring-pct {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 1px 5px;
  border-radius: 6px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.07);
  color: #555;
  white-space: nowrap;
  z-index: 3;
}

/* Fighter info */
.hb-duel-fighter .hb-fname {
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
  text-align: center;
  line-height: 1.2;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.hb-fname-flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hb-duel-fighter .hb-fviews {
  font-size: 12px;
  color: #777;
}
/* Duel progress bar */
.hb-duel-bar-wrap {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
  background: #252525;
  position: relative;
}
.hb-duel-bar-l {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-radius: 4px 0 0 4px;
  transition: background 0.3s;
  position: relative;
}
.hb-duel-bar-r {
  height: 100%;
  flex: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border-radius: 0 4px 4px 0;
  transition: background 0.3s;
  position: relative;
}
/* Accent bar follows the winner — bar-l is always the winner's bar */
.hb-duel-bar-wrap.left-wins .hb-duel-bar-l,
.hb-duel-bar-wrap.right-wins .hb-duel-bar-l {
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #ff6b35));
}
.hb-duel-bar-wrap.left-wins .hb-duel-bar-l::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.6;
}
/* Right wins — flip bar direction so fill grows from right to left */
.hb-duel-bar-wrap.right-wins {
  flex-direction: row-reverse;
}
.hb-duel-bar-wrap.right-wins .hb-duel-bar-l {
  border-radius: 0 4px 4px 0;
}
.hb-duel-bar-wrap.right-wins .hb-duel-bar-r {
  border-radius: 4px 0 0 4px;
}
.hb-duel-bar-wrap.right-wins .hb-duel-bar-l::after {
  content: '';
  position: absolute;
  left: -1px;
  right: auto;
  top: -2px;
  bottom: -2px;
  width: 6px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(3px);
  opacity: 0.6;
}

.hb-duel-pcts {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}
.hb-duel-pcts .leading  { color: var(--accent); }
.hb-duel-pcts .trailing { color: #555; }

/* Hidden duels (show more) */
.hb-duel-row.hb-duel-hidden { display: none; }
.hb-duel-row.hb-duel-hidden.show { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
@media (min-width: 1100px) {
  .hb-duel-row.hb-duel-hidden.show { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1500px) {
  .hb-duel-row.hb-duel-hidden.show { grid-template-columns: repeat(4, 1fr); }
}


/* ==========================================================================
   SHOW MORE BUTTON (shared)
   ========================================================================== */

.hb-show-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 20px auto 6px;
  padding: 10px 48px;
  width: auto;
  max-width: 320px;
  box-sizing: border-box;
  border-radius: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: #aaa;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
@media (hover: hover) {
  .hb-show-more-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    color: #ddd;
  }
}
.hb-show-more-btn .fa {
  font-size: 11px;
  transition: transform 0.2s;
}
.hb-show-more-btn.expanded .fa { transform: rotate(180deg); }


/* ==========================================================================
   SPLIT PANEL — Just Added + Blog (.hb-split, .hb-panel, .hb-vid-*, .hb-blog-*)
   ========================================================================== */

.hb-split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 16px;
}
.hb-panel {
  overflow: hidden;
}
#hb-blog-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hb-blog-hidden {
  display: none;
}
.hb-blog-hidden.show {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Inner separator between sub-sections within one hb-alt block */
.hb-inner-sep {
  height: 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 16px 0;
}

.hb-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin-bottom: 14px;
  position: relative;
}
.hb-panel-title {
  font-size: 17px;
  font-weight: 600;
  color: #f0f0f0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.hb-panel-title .fa { color: var(--accent); font-size: 18px; }

.hb-panel-body { padding: 0; }

/* --- Video grid --- */
.hb-vid-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px 15px;
}
.hb-vid-grid .new-vcard {
  margin: 0;
  height: auto;
}

/* Video card inherits from .video-block in theme — only overrides needed here */
.hb-vid-card {
  margin: 0;
  height: auto;
  background: transparent;
  border: none;
  border-radius: 0;
}

.hb-vid-card .hb-vid-thumb {
  position: relative;
  border-radius: var(--vc-radius, 12px);
  overflow: hidden;
}
.hb-vid-img {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a1a, #222);
}
.hb-vid-ph {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #222, #181818);
}
.hb-vid-dur {
  position: absolute;
  bottom: 5px;
  right: 5px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,0.65);
  color: #ddd;
  font-size: 11px;
  font-weight: 500;
  z-index: 4;
}
.hb-vid-time {
  position: absolute;
  top: 5px;
  left: 5px;
  max-width: calc(100% - 70px);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,0.65);
  color: #ddd;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 4;
}
.hb-vid-time .fa { font-size: 12px; }

.hb-vid-info { padding: 6px 2px 6px; }
.hb-vid-title {
  font-size: 14px;
  color: #ececec;
  font-weight: 400;
  line-height: 20px;
  height: auto;
  min-height: 36px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.hb-vid-card .hrefthumb { display: block; text-decoration: none; color: inherit; }

@media (hover: hover) {
  .hb-vid-card .hb-vid-title:hover,
  .hb-vid-card:hover .hb-vid-title { color: #bbb; }
}

/* --- Hide overlays on hover (synced with add-to-playlist appearing) --- */
.hb-vid-dur,
.hb-vid-time {
  transition: opacity 0.3s ease;
}
@media (hover: hover) {
  .hb-vid-card:hover .hb-vid-dur,
  .hb-vid-card:hover .hb-vid-time {
    opacity: 0;
    pointer-events: none;
  }
}

/* --- Blog panel (Magazine layout) --- */
.hb-blog-mag {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hb-blog-main {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  background: #181818;
  transition: background 0.2s;
}
@media (hover: hover) {
  .hb-blog-main:hover { background: #1e1e1e; }
  .hb-blog-main:hover .hb-blog-title { color: #fff; }
}
.hb-blog-main-img {
  position: relative;
  overflow: hidden;
}
.hb-blog-hero-img {
  width: 100%;
  max-height: 150px;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a1a, #222);
}
.hb-blog-overlay {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 6px;
}
.hb-blog-badge {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.65);
  color: #ccc;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.hb-blog-main-body {
  padding: 10px 12px 12px;
}
.hb-blog-title {
  font-size: 15px;
  font-weight: 600;
  color: #e8e8e8;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hb-blog-excerpt {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Small article cards */
.hb-blog-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hb-blog-sm {
  display: flex;
  gap: 10px;
  flex: 1;
  text-decoration: none;
  color: inherit;
  padding: 8px;
  border-radius: 10px;
  background: #181818;
  transition: background 0.2s;
}
@media (hover: hover) {
  .hb-blog-sm:hover { background: #1e1e1e; }
  .hb-blog-sm:hover .hb-blog-sm-title { color: #fff; }
}
.hb-blog-sm-img {
  flex-shrink: 0;
  width: 100px;
  border-radius: 8px;
  overflow: hidden;
}
.hb-blog-sm-img img {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, #1a1a1a, #222);
}
.hb-blog-sm-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hb-blog-sm-title {
  font-size: 13px;
  font-weight: 500;
  color: #ccc;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
.hb-blog-sm-date {
  font-size: 11px;
  color: #555;
}


/* ==========================================================================
   EXPLORE — Netflix Categories (.hb-nf-*)
   ========================================================================== */

.hb-nf-row-wrap {
  position: relative;
}
.hb-nf-row-wrap::before,
.hb-nf-row-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.25s;
}
.hb-nf-row-wrap::before {
  left: 0;
  background: linear-gradient(to right, #0f0f0f, transparent);
}
.hb-nf-row-wrap::after {
  right: 0;
  background: linear-gradient(to left, #0f0f0f, transparent);
}
.hb-nf-row-wrap.at-start::before { opacity: 0; }
.hb-nf-row-wrap.at-end::after { opacity: 0; }

.hb-nf-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 6px 0 14px;
}
.hb-nf-row::-webkit-scrollbar { display: none; }

.hb-nf-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.hb-nf-card .hb-nf-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #222, #181818);
  transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
}

/* Cinematic gradient overlay */
.hb-nf-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.85) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Label */
.hb-nf-card .hb-nf-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
}
.hb-nf-card .hb-nf-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hb-nf-card .hb-nf-count {
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.7);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.45);
  padding: 3px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hb-nf-card .hb-nf-count .fa { font-size: 11px; line-height: 1; }

/* Border overlay */
.hb-nf-card .hb-nf-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.08);
  z-index: 3;
  pointer-events: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Shine sweep on hover */
.hb-nf-card .hb-nf-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.06) 45%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.06) 55%,
    transparent 60%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  transition: background-position 0s;
}

@media (hover: hover) {
  .hb-nf-card:hover .hb-nf-img {
    transform: scale(1.08);
  }
  .hb-nf-card:hover .hb-nf-overlay {
    border-color: rgba(255,255,255,0.35);
    box-shadow: inset 0 0 18px rgba(255,255,255,0.06), 0 4px 20px rgba(0,0,0,0.5);
  }
  .hb-nf-card:hover .hb-nf-shine {
    background-position: -100% 0;
    transition: background-position 0.6s ease;
  }
}

/* Nav arrows — fade must match page background */
.hb-nf-nav {
  position: absolute;
  top: 6px;
  bottom: 14px;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #0f0f0f 30%, transparent);
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.25s;
}
.hb-nf-nav.right {
  right: 0;
  left: auto;
  background: linear-gradient(to left, #0f0f0f 30%, transparent);
}
.hb-nf-nav.left { left: 0; }

@media (hover: hover) {
  .hb-nf-row-wrap:hover .hb-nf-nav { opacity: 1; }
  .hb-nf-nav:hover { color: #fff; }
}
.hb-nf-nav.hidden { display: none; }

/* "All Categories" end card */
.hb-nf-end {
  flex: 0 0 130px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-decoration: none;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px;
  transition: all 0.2s;
}
.hb-nf-end i { font-size: 22px; margin-bottom: 6px; }
@media (hover: hover) {
  .hb-nf-end:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.12);
    color: #ccc;
  }
}


/* ==========================================================================
   EXPLORE — Tag Pills (reuses header .new-tag-chip)
   ========================================================================== */

.hb-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}


/* ==========================================================================
   EXPLORE — Actress List (.hb-ai-*)
   ========================================================================== */

.hb-ai-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.hb-ai-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.hb-ai-item .hb-ai-rank {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  min-width: 18px;
  text-align: center;
}

.hb-ai-item .hb-ai-ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  flex-shrink: 0;
  object-fit: cover;
  transform: scale(1.6);
  transform-origin: 50% 10%;
  border: 2px solid rgba(0,0,0,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hb-ai-item .hb-ai-ava-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.hb-ai-item .hb-ai-ava.noimage {
  transform: none;
  transform-origin: unset;
}

.hb-ai-item .hb-ai-info {
  flex: 1;
  min-width: 0;
}

.hb-ai-item .hb-ai-name {
  font-size: 13px;
  font-weight: 600;
  color: #ececec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-ai-item .hb-ai-flag {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: -2px;
  margin-right: 4px;
}

.hb-ai-item .hb-ai-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}
.hb-ai-item .hb-ai-meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.hb-ai-item .hb-ai-meta i { font-size: 10px; }

.hb-ai-item .hb-ai-rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 2;
}
.hb-ai-rating.great { background: rgba(76,175,80,0.15);  color: #4caf50; }
.hb-ai-rating.good  { background: rgba(139,195,74,0.15); color: #8bc34a; }
.hb-ai-rating.ok    { background: rgba(255,193,7,0.15);  color: #ffc107; }
.hb-ai-rating.poor  { background: rgba(255,87,34,0.15);  color: #ff5722; }

@media (hover: hover) {
  .hb-ai-item:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
  }
}


/* ==========================================================================
   FOOTER BLOCK — Ads + SEO Text (.hb-footer-block)
   ========================================================================== */

.hb-footer-block #after-boxes-ver2 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 10px 0;
  height: auto;
  overflow: hidden;
  background: none;
}
.hb-footer-block #after-box-1,
.hb-footer-block #after-box-2,
.hb-footer-block #after-box-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  width: 312px;
  height: 262px;
  overflow: hidden;
}
.hb-footer-block #after-box-1 > *,
.hb-footer-block #after-box-2 > *,
.hb-footer-block #after-box-3 > * {
  border-radius: 12px;
  overflow: hidden;
}
.hb-footer-block #after-box-1 iframe,
.hb-footer-block #after-box-2 iframe,
.hb-footer-block #after-box-3 iframe,
.hb-footer-block #after-box-1 img,
.hb-footer-block #after-box-2 img,
.hb-footer-block #after-box-3 img {
  border-radius: 12px;
}

/* --- Footer links (inside footer block) --- */
.hb-footer-links {
  text-align: center;
  padding: 4px 0 6px;
}
.hb-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
}
.hb-footer-links ul li a {
  color: #888;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
@media (hover: hover) {
  .hb-footer-links ul li a:hover { color: #ddd; }
}
.hb-footer-copy {
  color: #555;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* Hide default footer on homepage */
.home #wrapper-footer { display: none; }

.hb-seo-text {
  padding: 10px 14px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.3px;
}
.hb-seo-text p {
  margin: 0 0 12px;
  padding: 0;
  color: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}
.hb-seo-text p:last-child { margin-bottom: 0; }
.hb-seo-text a {
  color: #bbb;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s, border-color 0.2s;
}
@media (hover: hover) {
  .hb-seo-text a:hover {
    color: #eee;
    border-color: rgba(255,255,255,0.3);
  }
}
.hb-seo-text strong,
.hb-seo-text b {
  color: #bbb;
  font-weight: 600;
}
.hb-seo-text h2,
.hb-seo-text h3 {
  color: #ddd;
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 8px;
}
.hb-seo-text h2:first-child,
.hb-seo-text h3:first-child { margin-top: 0; }


/* ==========================================================================
   RESPONSIVE — Mobile (max-width: 767.98px)
   ========================================================================== */

@media (max-width: 767.98px) {

  .hb-stitle { font-size: 16px; }

/* Just Added */
  .hb-ja-nav { display: none; }
  .hb-ja-card.video-block.new-vcard { flex: 0 0 150px; width: 150px; }
  .hb-ja-card.new-vcard .video-img { width: 100%; }
  .hb-ja-card.new-vcard .title.title-link { font-size: 12px; min-height: 28px; line-height: 14px; }
  .hb-ja-card.new-vcard .video-datas { font-size: 10px; }
  .hb-ja-card .hb-ja-new { font-size: 8px; padding: 3px 5px; top: 4px; left: 4px; }
  .hb-ja-card .hb-ja-time { font-size: 9px; bottom: 4px; right: 4px; }
  .hb-ja-end { flex: 0 0 100px; font-size: 12px; }
  .hb-ja-end i { font-size: 18px; margin-bottom: 4px; }

  /* Duels — mobile 1 col */
  .hb-duel-row { grid-template-columns: 1fr; }
  .hb-duel-hidden.show { grid-template-columns: 1fr; }
  .hb-duel-card { padding: 16px; }
  .hb-duel-row .hb-ring-wrap { --ring-size: 60px; }

  /* Rating ring */
  .hb-ring-wrap { --ring-size: 60px; }

  /* Netflix categories */
  .hb-nf-card { flex: 0 0 155px; }
  .hb-nf-card .hb-nf-name { font-size: 12px; }
  .hb-nf-card .hb-nf-count { font-size: 10px; padding: 1px 6px; }
  .hb-nf-card .hb-nf-label { padding: 8px 8px; }
  .hb-nf-end { flex: 0 0 100px; font-size: 12px; }
  .hb-nf-end i { font-size: 18px; margin-bottom: 4px; }
  .hb-nf-nav { display: none; }

  /* Actress list */
  .hb-ai-list { grid-template-columns: 1fr; }

  /* Split panel mobile — stack, blog below videos */
  .hb-split { grid-template-columns: 1fr; }
  .hb-vid-grid { grid-template-columns: repeat(2, 1fr); }
  #hb-blog-panel { margin-top: 12px; }
  .hb-blog-sm-img { width: 80px; }
  .hb-panel-title { font-size: 16px; line-height: 1.1; }
  .hb-panel-title .fa { font-size: 14px; }
  .hb-vid-info { padding: 6px 2px 10px; }
  .hb-vid-title { font-size: 13px; min-height: 32px; line-height: 16px; }

  /* Footer block (ads + SEO) */
  .hb-footer-block #after-boxes-ver2 {
    padding: 6px 0;
    gap: 10px;
  }
  .hb-footer-block #after-box-1,
  .hb-footer-block #after-box-2,
  .hb-footer-block #after-box-3 {
    width: 100%;
    max-width: 312px;
    height: auto;
    min-height: 120px;
  }
  .hb-seo-text {
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.6;
  }
}
