.nav-link.active { color:#4b5563 !important; }
.offcanvas .dropdown-item:hover { background: rgba(202,28,28,0.08); color:#ca1c1c; }
.offcanvas a.text-primary:hover { text-decoration: underline; }
.offcanvas-body, .offcanvas-body a, .offcanvas .dropdown-item { color:#0f172a !important; }
.offcanvas .btn { color:#fff !important; }
.mega-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.mega-scroll::-webkit-scrollbar { height: 6px; }
.mega-scroll::-webkit-scrollbar-thumb { background: rgba(202,28,28,0.3); border-radius: 999px; }
.mega-actor-card {
  flex: 0 0 auto;
  width: 120px;
  text-align: center;
  scroll-snap-align: start;
  text-decoration: none;
  perspective: 800px;
}
.mega-actor-flip {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
  will-change: transform;
}
.mega-actor-card.has-fav:hover .mega-actor-flip {
  transform: rotateY(180deg);
}
.mega-actor-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  overflow: hidden;
  backface-visibility: hidden;
  border: 2px solid rgba(202,28,28,0.18);
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  background: #fff;
}
.mega-actor-card:hover .mega-actor-face {
  border-color: #ca1c1c;
}
.mega-actor-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-actor-back {
  transform: rotateY(180deg);
}
.mega-actor-fav {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(202,28,28,0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}
.offcanvas .mega-actor-name {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  line-height: 1.1;
  font-weight: 600;
  color: #0f172a;
}
.offcanvas .mega-actor-card:hover .mega-actor-name {
  color: #ca1c1c;
}
.mega-card {
  width: 120px;
  text-align: center;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.mega-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
  border: 1px solid rgba(0,0,0,0.05);
}
.mega-card span { display: block; font-size: 0.85rem; margin-top: 6px; line-height: 1.2; }
.mega-scroll-wrap {
  position: relative;
}
.mega-scroll-controls {
  display: none;
  position: absolute;
  right: 0;
  top: -34px;
  gap: 6px;
}
.mega-scroll-controls.is-hidden { display: none !important; }
.mega-scroll-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(202,28,28,0.25);
  background: #fff;
  color: #ca1c1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.offcanvas .mega-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ca1c1c !important;
  font-size: 0.85rem;
  text-decoration: none;
}
.offcanvas .mega-more-link:hover {
  color: #8b1111 !important;
  text-decoration: underline;
}
.nav-menu-btn {
  background: #fff;
  color: #ca1c1c;
  border: 1px solid rgba(202,28,28,0.25);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-weight: 600;
  transition: all .2s ease;
}
.nav-menu-btn:hover { background:#ca1c1c; color:#fff; }
.nav-search-btn {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.menu-btn {
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(202,28,28,0.25);
  background: #fff;
  color: #ca1c1c !important;
  transition: all .2s ease;
}
.menu-btn:hover { background:#ca1c1c; color:#fff !important; }
.menu-btn-danger { border-color: rgba(202,28,28,0.35); color:#ca1c1c !important; }
.menu-btn-danger:hover { background:#ca1c1c; color:#fff !important; }
.offcanvas .menu-btn { color:#ca1c1c !important; background:#fff; }
.offcanvas .menu-btn:hover { background:#ca1c1c; color:#fff !important; }
.menu-btn-primary { border-color: rgba(30,64,175,0.3); color:#1d4ed8 !important; }
.menu-btn-primary:hover { background:#1d4ed8; color:#fff !important; }
.menu-referencer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(202,28,28,0.2);
  background: linear-gradient(135deg, rgba(202,28,28,0.08), rgba(202,28,28,0.02));
}
.menu-referencer a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}
.menu-referencer .icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ca1c1c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.menu-referencer .title { font-weight: 700; color:#ca1c1c; }
.menu-referencer .subtitle { font-size: 0.85rem; color:#475569; }
.menu-search {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}
.menu-search input {
  border: none;
  background: transparent;
  box-shadow: none;
}
.menu-search input:focus {
  box-shadow: none;
}
.menu-search-btn {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  background: #ca1c1c;
  border: 1px solid rgba(202,28,28,0.6);
  color: #fff;
}
.menu-search-btn:hover { background:#8b1111; }
.menu-search-lg {
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
}
.menu-search-lg input {
  border: none;
  background: transparent;
  box-shadow: none;
  max-width: 220px;
}
.menu-search-lg input:focus { box-shadow: none; }
@media (min-width: 992px) {
  .mega-scroll { overflow-x: hidden; }
  .mega-scroll-controls { display: inline-flex; }
}
