/* ========================================================
   Sultan Mehmed: Fetihler Sultanı — Royal Showcase Styling
   ======================================================== */

.fb-mehmed-section {
  position: relative;
  max-width: 1800px;
  margin: 2rem auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .fb-mehmed-section {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }
}

.fb-mehmed-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0d0f14;
  border: 1px solid rgba(255, 215, 0, 0.28);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 215, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.fb-mehmed-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);
  transform: scale(1.02);
  transition: transform 6s ease, opacity 0.5s ease;
  pointer-events: none;
}

.fb-mehmed-hero:hover .fb-mehmed-bg {
  transform: scale(1.05);
}

.fb-mehmed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 15, 20, 0.98) 0%, rgba(13, 15, 20, 0.88) 45%, rgba(13, 15, 20, 0.45) 80%, rgba(13, 15, 20, 0.85) 100%),
              radial-gradient(circle at 15% 20%, rgba(229, 9, 20, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 85% 85%, rgba(255, 215, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

@media (max-width: 991px) {
  .fb-mehmed-overlay {
    background: linear-gradient(180deg, rgba(13, 15, 20, 0.85) 0%, rgba(13, 15, 20, 0.96) 55%, #0d0f14 100%);
  }
}

.fb-mehmed-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 2.5rem;
  padding: 3rem 3.5rem 2.5rem;
  align-items: center;
}

@media (max-width: 1100px) {
  .fb-mehmed-body {
    padding: 2.2rem 2rem;
    gap: 1.8rem;
  }
}

@media (max-width: 991px) {
  .fb-mehmed-body {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.25rem;
  }
}

/* Badges */
.fb-mehmed-kicker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

@media (max-width: 991px) {
  .fb-mehmed-kicker-wrap {
    justify-content: center;
  }
}

.fb-mehmed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(229, 9, 20, 0.3));
  border: 1px solid rgba(255, 215, 0, 0.45);
  color: #ffd700;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.fb-mehmed-badge-hd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 206, 201, 0.18);
  border: 1px solid rgba(0, 206, 201, 0.45);
  color: #00cec9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.fb-mehmed-title-lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0.6rem 0 1rem;
}

.fb-mehmed-title-logo {
  max-width: 440px;
  width: 90%;
  height: auto;
  max-height: 125px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(255, 215, 0, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
  user-select: none;
  pointer-events: none;
  margin-bottom: 0.4rem;
}

.fb-mehmed-hero:hover .fb-mehmed-title-logo {
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.98)) drop-shadow(0 0 45px rgba(255, 215, 0, 0.65));
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .fb-mehmed-title-lockup {
    align-items: center;
    margin: 0.4rem 0 0.8rem;
  }
  .fb-mehmed-title-logo {
    max-width: 320px;
    width: 88%;
    max-height: 95px;
    object-position: center;
  }
}

@media (max-width: 600px) {
  .fb-mehmed-title-logo {
    max-width: 270px;
    width: 92%;
    max-height: 80px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 22px rgba(255, 215, 0, 0.5));
  }
}

.fb-mehmed-title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #ffeaa7 70%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-family: 'Poppins', sans-serif;
}

.fb-mehmed-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.fb-mehmed-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #bdc3c7;
}

@media (max-width: 991px) {
  .fb-mehmed-meta {
    justify-content: center;
  }
}

.fb-mehmed-rating {
  color: #ffd700;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.fb-mehmed-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  max-width: 680px;
}

@media (max-width: 991px) {
  .fb-mehmed-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Season Selectors */
.fb-mehmed-seasons-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd700;
  margin-bottom: 0.6rem;
}

.fb-mehmed-season-tabs {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 5px;
  border-radius: 999px;
  gap: 6px;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .fb-mehmed-season-tabs {
    justify-content: center;
  }
}

.fb-mehmed-tab-btn {
  padding: 0.55rem 1.4rem;
  border: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fb-mehmed-tab-btn:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.fb-mehmed-tab-btn.active {
  background: linear-gradient(135deg, #ffd700, #ffb300);
  color: #0b0c10;
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.45);
}

/* Actions */
.fb-mehmed-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .fb-mehmed-actions {
    justify-content: center;
  }
}

.fb-mehmed-play-btn {
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff3d3d, #e50914);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.fb-mehmed-play-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(229, 9, 20, 0.65);
}

.fb-mehmed-scroll-btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: rgba(255, 215, 0, 0.08);
  color: #ffd700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.fb-mehmed-scroll-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: translateY(-3px);
  color: #fff;
}

/* Right Poster Card */
.fb-mehmed-poster-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fb-mehmed-poster-card {
  position: relative;
  width: 280px;
  aspect-ratio: 2/3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 215, 0, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (max-width: 991px) {
  .fb-mehmed-poster-card {
    width: 220px;
  }
}

.fb-mehmed-poster-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 215, 0, 0.4);
}

.fb-mehmed-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.fb-mehmed-poster-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 215, 0, 0.5);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffd700;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* Episodes Drawer / Grid */
.fb-mehmed-episodes-wrap {
  position: relative;
  z-index: 2;
  padding: 1.5rem 3.5rem 3rem;
  border-top: 1px solid rgba(255, 215, 0, 0.15);
  background: rgba(10, 12, 16, 0.65);
}

@media (max-width: 1100px) {
  .fb-mehmed-episodes-wrap {
    padding: 1.5rem 2rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .fb-mehmed-episodes-wrap {
    padding: 1.25rem 1rem 2rem;
  }
}

.fb-mehmed-episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-mehmed-ep-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fb-mehmed-ep-title i {
  color: #ffd700;
}

.fb-mehmed-ep-count {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.fb-mehmed-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ffd700 rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
  .fb-mehmed-episodes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.fb-mehmed-episodes-grid::-webkit-scrollbar {
  width: 6px;
}
.fb-mehmed-episodes-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.fb-mehmed-episodes-grid::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 10px;
}

.fb-mehmed-ep-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fb-mehmed-ep-card:hover {
  background: rgba(255, 215, 0, 0.08);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.15);
}

.fb-mehmed-ep-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #111;
}

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

.fb-mehmed-ep-card:hover .fb-mehmed-ep-thumb {
  transform: scale(1.08);
}

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

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

.fb-mehmed-ep-play-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
}

.fb-mehmed-ep-num-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(13, 15, 20, 0.85);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #ffd700;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.fb-mehmed-ep-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fb-mehmed-ep-card:hover .fb-mehmed-ep-name {
  color: #ffd700;
}

.fb-mehmed-ep-sub {
  font-size: 0.76rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fb-mehmed-ep-card.fb-mehmed-ep-active-stream {
  border-color: rgba(0, 206, 201, 0.45);
  background: rgba(0, 206, 201, 0.06);
}
.fb-mehmed-ep-card.fb-mehmed-ep-active-stream:hover {
  border-color: #00cec9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 206, 201, 0.35);
}
