/* ==========================================================================
   BK Stream - Modern Cinema Home Page Redesign
   ========================================================================== */

/* --------------------------------------------------
   1. Hero Billboard Carousel
   -------------------------------------------------- */
.bk-hero-billboard {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background: #0b0c0f;
  overflow: hidden;
}

.bk-hero-slide {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.bk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 12, 15, 0.98) 0%,
    rgba(11, 12, 15, 0.88) 35%,
    rgba(11, 12, 15, 0.45) 70%,
    rgba(11, 12, 15, 0.15) 100%
  ),
  linear-gradient(
    0deg,
    rgba(11, 12, 15, 1) 0%,
    rgba(11, 12, 15, 0.3) 25%,
    transparent 60%
  );
  pointer-events: none;
}

.bk-hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: 3.5rem 0 4rem;
}

.bk-hero-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.18);
  border: 1px solid rgba(229, 9, 20, 0.5);
  color: #ff333a;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.25);
}

.bk-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.bk-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.bk-rating-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
}

.bk-quality-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.bk-genre-tag {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.bk-genre-tag::after {
  content: "•";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.35);
}

.bk-genre-tag:last-child::after {
  content: "";
}

.bk-hero-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.bk-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bk-btn-watch {
  background: #e50914;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  box-shadow: 0 6px 24px rgba(229, 9, 20, 0.5);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.bk-btn-watch:hover {
  background: #ff1e27;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.7);
}

.bk-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.bk-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Hero Carousel Controls */
.bk-hero-nav {
  position: absolute;
  right: 2rem;
  bottom: 2.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bk-hero-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bk-hero-arrow:hover {
  background: #e50914;
  border-color: #e50914;
  transform: scale(1.08);
}

/* --------------------------------------------------
   2. Category & Quick Access Strip
   -------------------------------------------------- */
.bk-category-strip {
  position: relative;
  z-index: 6;
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
}

.bk-category-pills-wrap {
  background: rgba(20, 22, 28, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.bk-category-pills-wrap::-webkit-scrollbar {
  display: none;
}

.bk-cat-pill {
  white-space: nowrap;
  padding: 8px 18px;
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s ease;
  background: transparent;
}

.bk-cat-pill:hover,
.bk-cat-pill.active {
  color: #ffffff;
  background: rgba(229, 9, 20, 0.9);
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

.bk-cat-pill i {
  font-size: 1.05rem;
}

/* --------------------------------------------------
   3. Top 10 Leaderboard (Netflix-Style Giant Numbers)
   -------------------------------------------------- */
.bk-top10-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  padding-left: 3.5rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bk-top10-item:hover {
  transform: translateY(-8px) scale(1.03);
}

.bk-top10-rank {
  position: absolute;
  left: -0.4rem;
  bottom: -0.8rem;
  font-size: clamp(5.5rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.8;
  color: #12141a;
  -webkit-text-stroke: 4px #e50914;
  text-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
  user-select: none;
  z-index: 1;
  pointer-events: none;
  font-family: impact, sans-serif;
}

.bk-top10-poster-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 10px;
  overflow: hidden;
  background: #181a20;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.bk-top10-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bk-top10-hover-badge {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bk-top10-item:hover .bk-top10-hover-badge {
  opacity: 1;
}

.bk-top10-item-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

/* --------------------------------------------------
   4. Movie & Show Cinema Cards
   -------------------------------------------------- */
.bk-cinema-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #16181f;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bk-cinema-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 14px 34px rgba(229, 9, 20, 0.25);
}

.bk-card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #000;
}

.bk-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bk-cinema-card:hover .bk-card-thumb-wrap img {
  transform: scale(1.06);
}

.bk-card-top-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}

.bk-card-rating {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  color: #f59e0b;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.bk-card-res {
  background: rgba(229, 9, 20, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.bk-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(11, 12, 15, 0.95) 0%,
    rgba(11, 12, 15, 0.5) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 4;
}

.bk-cinema-card:hover .bk-card-hover-overlay {
  opacity: 1;
}

.bk-card-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.bk-card-btn-play {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e50914;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
  text-decoration: none;
}

.bk-card-btn-play:hover {
  transform: scale(1.12);
  background: #ff1e27;
}

.bk-card-btn-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.bk-card-btn-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.bk-card-info {
  padding: 10px 12px 12px;
}

.bk-card-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-card-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --------------------------------------------------
   5. Spotlight Cinema Showcase Banner
   -------------------------------------------------- */
.bk-spotlight-banner {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  margin: 3.5rem 0 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.bk-spotlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 12, 15, 0.98) 0%,
    rgba(11, 12, 15, 0.85) 45%,
    rgba(11, 12, 15, 0.3) 100%
  );
}

.bk-spotlight-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  padding: 3rem 2.5rem;
}

/* --------------------------------------------------
   6. Graphical Genre Cards
   -------------------------------------------------- */
.bk-genre-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 1.5rem 1.25rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bk-genre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.bk-genre-icon-bg {
  position: absolute;
  right: -5px;
  top: -5px;
  font-size: 4.8rem;
  opacity: 0.18;
  color: #fff;
  pointer-events: none;
  transform: rotate(12deg);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bk-genre-card:hover .bk-genre-icon-bg {
  transform: rotate(0deg) scale(1.15);
  opacity: 0.3;
}

.bk-genre-title {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 2px;
  position: relative;
  z-index: 2;
}

.bk-genre-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

/* Vibrant Palette Gradients */
.bk-genre-action { background: linear-gradient(135deg, #b91c1c, #ea580c); }
.bk-genre-scifi  { background: linear-gradient(135deg, #1e3a8a, #06b6d4); }
.bk-genre-drama  { background: linear-gradient(135deg, #581c87, #a855f7); }
.bk-genre-comedy { background: linear-gradient(135deg, #b45309, #f59e0b); }
.bk-genre-horror { background: linear-gradient(135deg, #3f1010, #7f1d1d); }
.bk-genre-anime  { background: linear-gradient(135deg, #047857, #10b981); }
.bk-genre-doc    { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.bk-genre-default{ background: linear-gradient(135deg, #1f2937, #374151); }

/* --------------------------------------------------
   7. Value Proposition Features Grid
   -------------------------------------------------- */
.bk-feature-box {
  background: rgba(20, 22, 28, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  height: 100%;
  transition: all 0.22s ease;
}

.bk-feature-box:hover {
  background: rgba(26, 29, 38, 0.9);
  border-color: rgba(229, 9, 20, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.bk-feature-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff333a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

/* --------------------------------------------------
   8. Call-to-Action Membership Banner
   -------------------------------------------------- */
.bk-cta-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.2) 0%, rgba(20, 22, 28, 0.95) 60%),
              radial-gradient(circle at top right, rgba(229, 9, 20, 0.4) 0%, transparent 60%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: 18px;
  padding: 3rem 2.5rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------
   9. Cinema Catalog Header & Search Filter Bar
   -------------------------------------------------- */
.bk-catalog-header {
  position: relative;
  padding: 2.5rem 0 1.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(229, 9, 20, 0.12) 0%, transparent 40%),
              linear-gradient(180deg, rgba(16, 18, 24, 0.8) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.bk-catalog-search-input {
  background: rgba(20, 22, 28, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 30px !important;
  padding: 10px 20px 10px 42px !important;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.bk-catalog-search-input:focus {
  border-color: #e50914 !important;
  box-shadow: 0 0 15px rgba(229, 9, 20, 0.35) !important;
}

.bk-search-icon-wrap {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  font-size: 1.1rem;
}

.bk-filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bk-pill-filter {
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bk-pill-filter:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.bk-pill-filter.active {
  background: #e50914;
  border-color: #e50914;
  color: #fff;
  box-shadow: 0 4px 14px rgba(229, 9, 20, 0.4);
}

/* --------------------------------------------------
   10. Immersive Cinema Detail Hero
   -------------------------------------------------- */
.bk-detail-hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  padding: 4rem 0 3.5rem;
}

.bk-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 12, 15, 0.98) 0%, rgba(11, 12, 15, 0.9) 45%, rgba(11, 12, 15, 0.6) 80%, rgba(11, 12, 15, 0.4) 100%),
              linear-gradient(0deg, #0b0c0f 0%, transparent 60%);
  pointer-events: none;
}

.bk-detail-poster-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 2/3;
  background: #111;
}

.bk-detail-poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bk-detail-info-col {
  position: relative;
  z-index: 5;
}

/* --------------------------------------------------
   11. TV Show Episode Cinema Cards
   -------------------------------------------------- */
.bk-ep-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #161820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bk-ep-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

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

.bk-ep-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.bk-ep-card:hover .bk-ep-thumb-wrap img {
  transform: scale(1.05);
}

.bk-ep-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.bk-ep-card:hover .bk-ep-play-overlay {
  opacity: 1;
}

.bk-ep-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e50914;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(229, 9, 20, 0.6);
  text-decoration: none;
}

.bk-ep-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------
   12. Glassmorphism Auth & Profile Cards
   -------------------------------------------------- */
.bk-auth-box {
  background: rgba(18, 20, 26, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

.bk-auth-input {
  background: rgba(10, 11, 15, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
}

.bk-auth-input:focus {
  border-color: #e50914 !important;
  box-shadow: 0 0 14px rgba(229, 9, 20, 0.35) !important;
}

/* --------------------------------------------------
   13. Empty State Card
   -------------------------------------------------- */
.bk-empty-state-box {
  background: rgba(18, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
}

