/* ========================================================
   FilmyBazaar — Master Ottoman Epics Showcase Styling
   ======================================================== */

.fb-ottoman-section {
  position: relative;
  max-width: 1800px;
  margin: 2rem auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fb-ottoman-section {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }
}

/* Master Switcher Navigation */
.fb-ottoman-switcher-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px;
}
.fb-ottoman-switcher-bar::-webkit-scrollbar {
  display: none;
}

.fb-ottoman-title-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fb-ottoman-title-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.fb-ottoman-title-tab.active {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(255, 215, 0, 0.2));
  color: #ffffff;
  border-color: #ffd700;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25), inset 0 0 12px rgba(255, 215, 0, 0.15);
}

.fb-ottoman-title-tab.active i {
  color: #ffd700;
  filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.6));
}

/* Showcase Hero Box */
.fb-ottoman-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0d0f14;
  border: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}

.fb-ottoman-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.38;
  filter: saturate(1.2) contrast(1.1);
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

.fb-ottoman-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 45%, rgba(0, 0, 0, 0.15), rgba(9, 11, 16, 0.94) 80%),
              linear-gradient(90deg, #090b10 0%, rgba(9, 11, 16, 0.85) 45%, rgba(9, 11, 16, 0.4) 100%);
  pointer-events: none;
}

.fb-ottoman-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem;
  min-height: inherit;
}

@media (max-width: 1024px) {
  .fb-ottoman-body {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

.fb-ottoman-content {
  flex: 1;
  max-width: 820px;
}

.fb-ottoman-kicker-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.fb-ottoman-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #ffd700;
  text-transform: uppercase;
}

.fb-ottoman-badge-hd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.fb-ottoman-title-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}

.fb-ottoman-title-logo {
  max-height: 72px;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.8));
}

.fb-ottoman-title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  display: none;
}

.fb-ottoman-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-ottoman-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.fb-ottoman-rating {
  color: #ffd700;
  font-weight: 800;
}

.fb-ottoman-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 18px;
  max-width: 720px;
}

.fb-ottoman-seasons-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fb-ottoman-season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.fb-ottoman-season-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fb-ottoman-season-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.fb-ottoman-season-btn.active {
  background: rgba(255, 215, 0, 0.18);
  border-color: #ffd700;
  color: #ffd700;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.2);
}

.fb-ottoman-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.fb-ottoman-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e50914, #ff3d3d);
  border: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fb-ottoman-play-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.6);
}

.fb-ottoman-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}

.fb-ottoman-scroll-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

/* Poster Column */
.fb-ottoman-poster-col {
  flex-shrink: 0;
}

.fb-ottoman-poster-card {
  position: relative;
  width: 220px;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.fb-ottoman-poster-card:hover {
  transform: scale(1.04) translateY(-4px);
  border-color: #ffd700;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 215, 0, 0.3);
}

.fb-ottoman-poster-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(13, 15, 20, 0.92);
  color: #ffd700;
  border: 1px solid rgba(255, 215, 0, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.fb-ottoman-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .fb-ottoman-hero {
    min-height: auto;
    border-radius: 18px;
  }
  .fb-ottoman-body {
    padding: 1.5rem 1rem;
    gap: 1.2rem;
  }
  .fb-ottoman-title-logo {
    max-height: 52px;
  }
  .fb-ottoman-desc {
    font-size: 0.88rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .fb-ottoman-poster-col {
    display: none;
  }
}
