/* Tailwind-like essentials to match look exactly */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 16px; /* Tailwind base */
  line-height: 1.5; /* Tailwind base */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
svg {
  display: inline-block;
  vertical-align: middle;
}
:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
} /* for focus-ring replicas */
/* -------------- */

.fb-header-wrapper {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2rem 0rem; /* px-4 py-8 */
}

/* Advertisement Box */
.ad-box {
  background-color: #17202e;
  border: 1px solid #374151; /* gray-700 */
  border-radius: 0.5rem; /* rounded-lg */
  width: 100%;
  max-width: 1080px;
  height: 250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease-in-out;
}

.ad-box:hover {
  border-color: #4b5563; /* gray-600 */
}

/* Content inside box */
.ad-content {
  text-align: center;
}

.ad-content h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  color: #9ca3af; /* text-gray-400 */
  margin-bottom: 0.5rem;
}

.ad-content p {
  font-size: 0.875rem; /* text-sm */
  color: #6b7280; /* text-gray-500 */
}

.ad-content .ad-size {
  margin-top: 1rem;
  font-size: 0.75rem; /* text-xs */
  color: #4b5563; /* text-gray-600 */
}

/* Container */
.breadcrumb-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 20px; /* py-4 with side padding */
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space-x-2 */
  font-size: 0.875rem; /* text-sm */
}

/* Links */
.breadcrumb a {
  color: #9ca3af; /* gray-400 */
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb a.active {
  font-weight: 500; /* font-medium */
  color: #9ca3af;
}

/* Separator Icon */
.breadcrumb-separator {
  color: #6b7280; /* gray-500 */
  flex-shrink: 0;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.auto-max {
  margin: 0 auto;
}
.auto-max-styles {
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
}
.flex {
  display: flex;
}
.flex-styles {
  gap: 40px;
}
.width-740 {
  width: 740px;
}
.w-740 {
  width: 740px;
}

.webseries-container {
  width: 740px;
}

.webseries-box {
  margin-bottom: 1.5rem; /* 24px */
}

.webseries-heading {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.5rem; /* 24px */
  margin-bottom: 1rem; /* 16px */
}

.webseries-description {
  color: #d1d5db; /* gray-300 */
  font-size: 1rem; /* 16px */
  line-height: 1.625; /* relaxed */
  margin-bottom: 1rem; /* 16px */
}

.read-more {
  color: #3b82f6; /* blue-500 */
}

.share-section {
  display: flex;
  align-items: center;
  gap: 1rem; /* 16px */
  margin-top: 1rem; /* 16px */
}

.share-label {
  color: #9ca3af; /* gray-400 */
  font-size: 0.875rem; /* 14px */
  font-weight: 500;
}

.share-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem; /* 12px */
}

.share-btn {
  color: #9ca3af; /* gray-400 */
  padding: 0.5rem; /* 8px */
  border-radius: 0.5rem; /* 8px */
  transition: color 0.2s ease, background-color 0.2s ease;
  background-color: transparent;
  border: none;
}

.share-btn:hover {
  background-color: #17202e;
}

.share-btn.facebook:hover {
  color: #3b82f6; /* blue-500 */
}

.share-btn.twitter:hover {
  color: #60a5fa; /* blue-400 */
}

.share-btn.instagram:hover {
  color: #ec4899; /* pink-500 */
}

.share-btn.linkedin:hover {
  color: #2563eb; /* blue-600 */
}

.share-btn.generic:hover {
  color: #e5e7eb; /* gray-200 */
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.divider {
  margin-top: 2rem; /* my-8 → 32px top */
  margin-bottom: 2rem; /* my-8 → 32px bottom */
  display: flex;
  align-items: center;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #4b5563,
    transparent
  ); /* via-gray-600 */
}
.width-740 {
  width: 740px;
}

.margin-top-8 {
  margin-top: 2rem; /* mt-8 → 32px */
}
.section-padding {
  padding-top: 24px; /* py-6 */
  padding-bottom: 24px;
}

/* Tabs container */
.tabs-container {
  display: flex;
  gap: 4px; /* space-x-1 */
  background-color: #111827;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 16px;
}

.tab-button {
  flex: 1;
  padding: 12px 24px; /* px-6 py-3 */
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #9ca3af; /* text-gray-400 */
  background: transparent;
  cursor: pointer;
  border: none;
}

.tab-button:hover {
  color: #ffffff;
  background-color: #1f2937;
}

.tab-button.active {
  background-color: #e84d67;
  color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Search Box */
.search-box {
  position: relative;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px; /* pl-10 pr-4 py-3 */
  background-color: #111827;
  color: #ffffff;
  border-radius: 8px;
  border: 1px solid #4b5563; /* border-gray-600 */
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #e84d67;
  box-shadow: 0 0 0 2px rgba(232, 77, 103, 0.2);
}
.padding-top-0 {
  padding-top: 0;
}

.padding-y-6 {
  padding-top: 24px; /* py-6 = 1.5rem = 24px */
  padding-bottom: 24px;
}
.text-center {
  text-align: center;
}

.margin-top-8 {
  margin-top: 32px; /* mt-8 = 2rem */
}

.btn-latest-webseries {
  background-color: #e84d67;
  color: #ffffff;
  padding: 12px 32px; /* py-3 = 12px, px-8 = 32px */
  border-radius: 8px; /* rounded-lg */
  font-weight: 500; /* font-medium */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
  cursor: pointer;
  border: none;
}

.btn-latest-webseries:hover {
  background-color: rgba(232, 77, 103, 0.8); /* hover:bg-[#e84d67]/80 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* hover:shadow-xl */
}
/* ----------- */
.text-center {
  text-align: center;
}

.margin-top-8 {
  margin-top: 32px; /* mt-8 */
}

.btn-latest-webseries {
  background-color: #e84d67;
  color: #ffffff;
  padding: 12px 32px; /* py-3 px-8 */
  border-radius: 8px;
  font-weight: 500; /* font-medium */
  font-size: 16px; /* text-base */
  line-height: 1.5rem; /* matches Tailwind text-base line-height */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-lg */
  cursor: pointer;
  border: none;
}

.btn-latest-webseries:hover {
  background-color: rgba(232, 77, 103, 0.8);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); /* shadow-xl */
}

/* ----------- */
.grid {
  display: grid;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 equal columns */
}

.gap-6 {
  gap: 1.5rem; /* 24px */
}
.card {
  position: relative;
  background: #111827;
  border: 1px solid #374151; /* gray-700 */
  border-radius: 0.5rem; /* rounded-lg */
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: #e84d67;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-flex {
  display: flex;
}
.card-thumb {
  flex-shrink: 0;
}
.card-thumb-wrapper {
  position: relative;
}
.card-image {
  width: 8rem; /* w-32 */
  height: 12rem; /* h-48 */
  object-fit: cover;
  aspect-ratio: 9/16;
  transition: transform 0.3s ease;
}
.card:hover .card-image {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #e84d67;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem; /* text-xs */
  font-weight: 500;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-body {
  flex: 1;
  padding: 1.25rem; /* p-5 */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #17202e;
}

.card-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card:hover .card-title {
  color: #e84d67;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.card-text {
  font-size: 1rem; /* text-base */
  color: #d1d5db; /* gray-300 */
}
.line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.icon.text-gray {
  color: #9ca3af;
} /* gray-400 */

.card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.stars {
  display: flex;
  gap: 0.25rem;
}
.star {
  stroke: #facc15;
  fill: #facc15;
} /* yellow-400 */
.star.half {
  opacity: 0.5;
}
.card-score {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.card-hover-overlay {
  position: absolute;
  inset: 0;
  border: 2px solid #e84d67;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.card:hover .card-hover-overlay {
  opacity: 0.2;
}

.sidebar {
  display: none;
  width: 300px;
}

@media (min-width: 1024px) {
  .sidebar {
    display: block;
  }
}

.advertisement {
  background-color: #17202e;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  width: 300px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
  margin-bottom: 1.5rem;
}

.advertisement:hover {
  border-color: #4b5563;
}

.advertisement-content {
  text-align: center;
}

.advertisement-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.advertisement-content p {
  color: #6b7280;
  font-size: 0.875rem;
}

.advertisement-content .dimensions {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #4b5563;
}

.movies-card {
  background-color: #17202e;
  border-radius: 0.5rem;
  border: 1px solid #374151;
  overflow: hidden;
  width: 300px;
}

.movies-header {
  background-color: #242a38;
  padding: 1rem;
}

.movies-header h3 {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.movies-list {
  max-height: 24rem;
  overflow-y: auto;
}

.movie-item {
  position: relative;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.movie-item:last-child {
  border-bottom: 0;
}

.movie-item:hover {
  background-color: #1f2937;
}

.movie-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(232, 77, 103, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-item:hover .movie-overlay {
  opacity: 1;
}

.movie-content {
  position: relative;
  z-index: 10;
}

.movie-content h4 {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.movie-item:hover .movie-content h4 {
  color: #e84d67;
}

.movie-meta {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.movie-item:hover .movie-meta {
  color: #d1d5db;
}

.movie-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 0.25rem;
  height: 0;
  background-color: #e84d67;
  transition: height 0.3s ease;
}

.movie-item:hover .movie-bar {
  height: 100%;
}

.movies-footer {
  padding: 0.75rem;
  background-color: #111827;
  border-top: 1px solid #374151;
  text-align: center;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: #e84d67;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.view-all-btn:hover {
  background-color: rgba(232, 77, 103, 0.8);
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #1f2937;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e84d67;
  border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(232, 77, 103, 0.8);
}
