@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");


/* ================================
   RESET & BASE
   ================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}


:root {
  --bg-dark: #060d17;
  --text-light: #ffffff;
  --text-muted: #9ca3af;
}

html body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: var(--bg-dark) !important;
  color: var(--text-light) !important;
  min-height: 100vh;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
}

/* ================================
   CONTAINER UTILS
   ================================ */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.container-hero-section {
  max-width: 1140px;
  margin: 0;
  padding: 1rem;
}

.button-container {
  display: none;
}

/* Header */
/* Header and Navbar Responsive Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-dark);
  z-index: 1000;
  padding: 10px 0;
  transition: all 0.3s ease;
  height: 50px;
  z-index: 1;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0;
  padding: 0 45px;
}

/* Logo Styling */
.logo {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo span {
  color: #e53935;
}

/* Search Bar */
.search-bar {
  /* display: flex; */
  align-items: center;
  position: relative;
}

.search-bar input {
  padding: 6px 15px;
  padding-right: 40px;
  border: 0 solid transparent;
  border-radius: 3px;
  background-color: #ffffff;
  color: #888;
  transition: all 0.3s ease;
  width: 240px;
  padding-left: 5px;
  font-weight: bolder;
  font-size: 16px;
  margin-left: 15px;
  margin-top: 14px;
}

.search-bar input:focus {
  outline: none;
  /* border-color: #33c3a5; */
  border-color: #fb2c36;
  box-shadow: 0 0 10px rgba(51, 195, 165, 0.3);
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 32px;
  transform: translateY(-50%);
  background-color: #cc0001;
  border: none;
  border-radius: 50%;
  color: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-right: -3px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.close-btn-nav {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: var(--bg-dark);
  border: none;
  cursor: pointer;
  padding: 4px 12px;
  border: 1px solid #777;
  border-radius: 5px;
  z-index: 10;
  transition: all 0.3s ease;
}

.arrow-icon {
  display: none;
  font-size: 17px;
  transition: all 0.3s ease;
  float: right;
  border: 1px solid var(--bg-dark);
  border-radius: 15px;
  padding: 4px 15px;
  color: #777;
  margin-right: 10px;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  /* font-size: 14px; */
  /* font-weight: 700; */
  /* font-family: "Asap Condensed",'Oswald', 'sans-serif'; */
}

dropdown-section li > a {
  color: #f5f5f5;
  font-size: 14px;
  padding: 5px 0px 5px 20px;
  font-weight: 600;
}

.nav-links a:hover {
  /* color: #33c3a5; */
  color: #fb2c36 !important;
}

/* Adding the arrow after specific list items */
/* .nav-links li.has-arrow::after {
  content: "▼";
  font-size: 10px;
  color: rgb(255, 255, 255);
  margin-left: 5px;
  transition: transform 0.3s;
} */

.nav-links li.has-right-arrow {
  position: relative;
}

.nav-links li.has-right-arrow::after {
  content: "►";
  font-size: 10px;
  color: #ffffff;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.nav-links li.has-right-arrow:hover::after {
  transform: translateY(-50%) rotate(90deg); /* تأكد من أن السهم لا ينزل عند التحويل */
}
/* ============================================= */
/* on-demand-dropdown */
/* ============================================= */
.nav-links li .on-demand-dropdown {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 0;
  background-color: var(--bg-dark);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 750px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 10;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Layout of the dropdown items */
.dropdown-section {
  display: flex;
  flex-wrap: wrap;
  /* gap: 15px;
  padding: 10px; */
}

.dropdown-section li {
  width: 25%;
  font-weight: normal;
  padding: 3px 0px 3px 10px;
}

.on-demand-dropdown a {
  color: #ffffff;
  font-size: 14px;
  /* padding: 5px 0px 5px 20px; */
  font-weight: 600;
}

.on-demand-dropdown a:hover {
  /* color: #33c3a5; */
  color: #fb2c36;
}


/* ============================================= */
/* About Us Dropdown */
/* ============================================= */
.about-us {
  position: relative;
}

.about-us-dropdown {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 0;
  background-color: var(--bg-dark);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 180px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-us-dropdown li {
  padding: 1.5px 15px;
}

.about-us-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.about-us-dropdown a:hover {
  /* color: #33c3a5; */
  color: #fb2c36;
}

/* ============================================= */
/* TV Channels Dropdown */
/* ============================================= */
.nav-links li .tv-channels-dropdown {
  display: none;
  position: absolute;
  top: 1.5rem;
  left: 0;
  background-color: var(--bg-dark);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 180px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tv-channels-dropdown li {
  padding: 1.5px 15px;
}

.tv-channels-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.tv-channels-dropdown a:hover {
  /* color: #33c3a5; */
  color: #fb2c36;
}
/* Base styles for the dropdown (hidden by default) */
.tv-channels-dropdown {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Show dropdown when the parent has 'open' class (used for mobile) */
.has-arrow.open .on-demand-dropdown,
.has-arrow.open .podcasts-dropdown,
.has-arrow.open .tv-channels-dropdown,
.has-arrow.open .about-us-dropdown {
  display: block !important;
  opacity: 1;
}


/* ============================================= */
/* Podcasts Dropdown */
/* ============================================= */
.nav-links li .podcasts-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--bg-dark);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 180px;
  max-height: 400px;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.podcasts-dropdown li {
  padding: 1.5px 15px;
}

.podcasts-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.podcasts-dropdown a:hover {
  /* color: #33c3a5; */
  color: #fb2c36;
}

/* ============================================= */
/* Vertizontal Dropdown (sub-sub menus) */
/* ============================================= */
.vertizontal {
  position: relative;
}

.vertizontal .vertizontal-dropdown {
  display: none;
  left: 0;

  list-style: none;
  margin: 0;
  width: 180px;
  opacity: 1;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  border: 1px solid #222;
  padding-left: 0;
}
.vertizontal .vertizontal-dropdown li {
  width: 70%;
}

.vertizontal-dropdown a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.vertizontal-dropdown a:hover {
  /* color: #33c3a5; */
  color: #fb2c36;
}



/* drop menu 1 */
.vertizontal .vertizontal-dropdown-mune {
  visibility: hidden;
  position: absolute;
  left: -10px;
  background-color: #1c1c1c;
  list-style: none;
  margin: 0;
  width: 180px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
  border: 1px solid #222;
  padding-left: 0;
}

.vertizontal-dropdown-mune li {
  width: 70%;
}
.deep:hover .vertizontal-dropdown-mune {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  top: -2px;
}

/* drop menu1 */

header .cta-button {
  color: #fff;
  background-color: #1bbc9b;
  border-color: #1bbc9b;
  border-radius: 30px;
  font-size: 18px;
  padding: 5px 15px;
  font-weight: bold;
  letter-spacing: 0.5px;
  border: 0;
}

header .cta-button a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-weight: 500;
  text-decoration: none;
  font-family: "Asap Condensed", "Oswald", "sans-serif";
}

.donate-btn {
  display: none;
}




.search-bar {
  display: flex;
}


/* after nav */

/* main */
/* main */
/* main */
/* main */
/* main */

/* Modal Styles */
.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.hidden {
  display: none;
}

.modal-container.hidden {
  display: none;
  opacity: 0;
}

.modal-container:not(.hidden) {
  opacity: 1;
}

.modal-container .modal-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  height: 90%;
  max-height: 95vh;
  width: 90%;
  max-width: 1400px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Close Button Styles */
.close-btn-vid {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #4a5568;
  color: white;
  padding: 0.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.close-btn-vid:hover {
  background-color: #2d3748;
}

.close-btn-vid i {
  font-size: 1.2rem;
}

.left-content {
  width: 30%;
  min-width: 300px;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #a0aec0;
}

.platform-btn:hover {
  background-color: #2d3748;
}

.video-container {
  width: 70%;
  flex-grow: 1;
  height: auto;
  min-height: 400px;
  position: relative;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  border: none;
  border-top-right-radius: 10px;
}

/* Estilos para a seção de recomendações no modal */
.recommendations-section {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 1.5rem 1.5rem 1.5rem;
  margin-top: 20px;
}

.recommendations-section h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f1f1f1;
}

/* Grid para os cards de recomendação */
.recommendations-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 15px;
}

/* Scrollbar customizada para melhor aparência (opcional, mas recomendado) */
.recommendations-grid::-webkit-scrollbar {
  height: 8px;
}
.recommendations-grid::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}
.recommendations-grid::-webkit-scrollbar-track {
  background: #2a2a2a;
}

/*
 * Ajuste de tamanho dos cards QUANDO ESTÃO DENTRO DO MODAL.
 * Usamos seletores mais específicos para não afetar os cards da página principal.
*/
.modal-container .channel-card,
.modal-container .movie-card {
  flex-shrink: 0; /* Impede que os cards encolham */
  width: 200px; /* Largura fixa para os cards de recomendação */
  cursor: pointer; /* Garante que o cursor seja de ponteiro */
}

.modal-container .channel-card h3,
.modal-container .movie-card h3 {
  font-size: 0.9rem; /* Fonte um pouco menor para o título */
}

.modal-container .channel-card .channel-details {
  padding: 8px; /* Menos preenchimento interno */
}



.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  list-style: none;
  padding: 0;
  margin-top: 5px;
}

/* Links dentro do dropdown */
.dropdown-content a {
  color: black;
  padding: 8px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content li {
  padding: 0 !important;
  margin: 0 !important;
}

.dropdown-content a:hover {
  background-color: #262d3b;
}

.dropdown-content.show {
  display: block;
}

#side_menu li {
  width: 100% !important;
}

.menuButton {
  background: #f00;
  padding: 10px 24px !important;
  border-radius: 8px;
  font-weight: 700;
  width: min-content !important;
  transition: all 0.5s ease;
}

.menuButton:hover {
  background: #de0000 !important;
}

/* Added css */
/* ─────────────────────────────
   SEARCH DROPDOWN
   ───────────────────────────── */
.search-container {
  position: relative !important;
  width: 500px !important;
  max-width: 500px !important;
  margin: 0px 6px 0px 0px !important;
}

.search-container input {
  width: 100% !important;
  padding: 10px 40px 10px 14px !important;
  border: none !important;
  border-radius: 20px !important;
  background: #13212e !important;
  color: #ccc !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 0.95rem !important;
}

.search-container input::placeholder {
  color: #888 !important;
}

.search-container .bi-search {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #888 !important;
  font-size: 1rem !important;
}

#search-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  width: 100% !important;
  background: #161d25 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5) !important;
  padding: 16px !important;
  z-index: 1000 !important;
  display: none;
  overflow-y: auto;
  max-height: calc(100vh - 8rem);
}

.dropdown-section {
  margin-bottom: 16px;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.section-label {
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ccc;
}

.history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-item {
  padding: 6px 8px;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.empty-text {
  color: #888;
  font-size: 0.9rem;
  margin: 0;
}

/* Chips */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 12px;
  font-size: 0.9rem;
  color: #ccc;
  background: transparent;
  border: 1px solid #444;
  border-radius: 20px;
  cursor: pointer;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Media items */
.media-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.media-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 8px 0 !important;
}

.media-item-link {
  display: flex !important;
  align-content: center !important;
  gap: 12px !important;
  padding: 8px 0 !important;
}

.media-item-link > .media-info > .media-title {
  font-size: 1rem !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.1rem !important;
  min-height: calc(1.1em * 2) !important;
}

.media-item:not(:last-child) {
  border-bottom: 1px solid #223344 !important;
}

.media-item img {
  height: 72px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  aspect-ratio: 16 / 9 !important;
}

.media-info {
  display: flex !important;
  flex-direction: column !important;
}

.media-title {
  margin: 0 !important;
  font-size: 1rem !important;
  color: #fff !important;
}

.media-meta {
  margin: 2px 0 0 !important;
  font-size: 0.85rem !important;
  color: #888 !important;
}



.search-dropdown .media-item .media-info {
  position: relative !important;
  /* Garante que o div pai tenha um contexto de posicionamento */
}

.search-dropdown .media-item .media-type-label-dropdown {
  position: absolute !important;
  bottom: 5px !important; /* Posição na parte inferior do contêiner de informações */
  right: 5px !important; /* Posição na parte direita */
  background-color: #4caf50 !important; /* Cor de fundo (ex: verde) */
  color: white !important;
  padding: 3px 7px !important;
  border-radius: 3px !important;
  font-size: 0.7em !important;
  font-weight: bold !important;
  z-index: 10 !important;
  text-transform: capitalize !important;
}

.search-dropdown-section {
  margin-bottom: 16px !important;
}

.search-dropdown-section:last-child {
  margin-bottom: 0 !important;
}

/* Footer link */
.search-footer {
  text-align: right;
}

.search-footer a {
  color: #14e6b7 !important;
  text-decoration: none;
  font-size: 0.95rem;
}

.search-footer a:hover {
  text-decoration: underline;
}

/* ================================
   DISCOVER CONTENT STYLES
   ================================ */
.discover-section {
  background: var(--bg-dark);
  padding: 50px 0;
}

.discover-section .container {
  text-align: center;
  padding: 0;
}

.section-title {
  font-size: 2.5rem;
  margin: 0 auto 8px;
  display: inline-block;
  position: relative;
  font-weight: 700;
}

.discover-section .container .section-title {
  margin-bottom: 32px;
}

.section-subtitle {
  opacity: 0.7;
  margin-bottom: 40px;
}

/* Top Row – five gradient cards, exact radial gradients */
.discover-grid.top-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: left;
  margin-bottom: 40px;
  overflow-x: unset;
}

/* Base Card Styling */
.eternity-card.gradient {
  height: 140px;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

/* Transparent Text Effect */
.eternity-card.gradient h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  z-index: 100;
  position: relative;
}

.eternity-card.gradient.purple h3 {
  background: linear-gradient(135deg, #e3c1ff 0%, #b277e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.eternity-card.gradient.green h3 {
  background: linear-gradient(135deg, #eaff8c 0%, #8cbe00 100%);
  background-clip: text !important;
  -webkit-background-clip: text !important;
}

.eternity-card.gradient.gold h3 {
  background: linear-gradient(135deg, #950505 0%, #ffd744 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.eternity-card.gradient.blue h3 {
  background: linear-gradient(135deg, #8edfff 0%, #227fde 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.eternity-card.gradient.teal h3 {
  background: linear-gradient(135deg, #62ffdd 0%, #00cdb5 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

/* Optional soft overlay for improved readability 
.eternity-card.gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}*/

/* =========================
   Gradient Variants (Refined)
   ========================= */

/* — Feature Films (Purple) — */
.eternity-card.gradient.purple {
  background: radial-gradient(
    circle at top right,
    #a87ccf 0%,
    #7b4faa 45%,
    #3c1f5c 75%,
    #0e0012 100%
  );
}

/* — Nonfiction Films & Series (Green) — */
.eternity-card.gradient.green {
  background: radial-gradient(
    circle at top right,
    #c1f832 0%,
    #6eaa10 45%,
    #264900 75%,
    #091700 100%
  );
}

/* — Kids & Family (Gold → Red) — */
.eternity-card.gradient.gold {
  background: radial-gradient(
    circle at top right,
    #781f00 0%,
    #c25802 45%,
    #fac75c 85%,
    #fde396 100%
  );
}

/* — Drama Series (Blue) — */
.eternity-card.gradient.blue {
  background: radial-gradient(
    circle at top right,
    #6ac7f0 0%,
    #1483c9 45%,
    #004061 75%,
    #00162d 100%
  );
}

/* — Comedy Series (Teal) — */
.eternity-card.gradient.teal {
  background: radial-gradient(
    circle at top right,
    #2affb0 0%,
    #00a07a 45%,
    #00353f 80%,
    #001e26 100%
  );
}

/* Bottom Row – centered strip of 4 media cards with red icons */
.discover-grid.bottom-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: auto;
  margin: 0 auto;
}

.eternity-card.media {
  position: relative;
  width: 240px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.eternity-card.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
}

.eternity-card.media * {
  position: relative;
  z-index: 1;
}

.eternity-card.media i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #d32f2f;
}

.eternity-card.media h4 {
  margin: 4px 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.eternity-card.media p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Placeholder backgrounds – swap in your actual assets */
/*
.eternity-card.media.tv {
  background: url("/images/index.jpg") center/cover no-repeat;
}

.eternity-card.media.radio {
  background: url("/images/3.webp") center/cover no-repeat;
}

.eternity-card.media.podcast {
  background: url("/images/6.webp") center/cover no-repeat;
}

.eternity-card.media.movies {
  background: url("/images/2.webp") center/cover no-repeat;
}
*/

.eternity-card.media img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: fill;
}

.eternity-card.media:hover img {
  transform: scale(1.1);
}



/* ====================================
   THIRD SECTION: MEDIA CAROUSELS
   ==================================== */
.media-section {
  background: var(--bg-dark);
  padding: 60px 0;
}

.media-section .section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.media-section .section-header:hover > * {
  color: #d32f2f;
}

.media-section .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.media-section .section-link {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}

.media-section .section-link:hover {
  color: #d32f2f;
}

.media-separator {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 24px 0;
  opacity: 1 !important;
}

/* 5-column grid */
.media-section .media-grid {
  display: flex;
  gap: 24px;
  overflow: hidden;
}

/* CARD LAYOUT */
.media-section .media-card {
  display: flex;
  flex-direction: column;
}

/* THUMBNAIL + OVERLAYS */
.media-section .media-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.media-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

.youtube-player-embed {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.youtube-player-embed iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 220px);
  height: calc(100% + 220px);
  transform: translate(-50%, -50%);
}

.media-card .youtube-player-embed {
  opacity: 0;
}

.media-card:hover .media-thumbnail {
  opacity: 0;
}

.media-card:hover .youtube-player-embed {
  opacity: 1;
}

.media-section .media-thumb img {
  width: 100%;
  display: block;
}

.media-section .media-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 2px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
}

.media-section .media-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #d32f2f;
  color: #fff;
  padding: 2px 6px;
  font-size: 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.media-section .media-grid.top10 {
  display: flex !important;
  flex-direction: row;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  /* hide scrollbar by default */
  scrollbar-width: none;
  /* Firefox */
}

.media-section .media-grid.top10::-webkit-scrollbar {
  display: none;
  /* WebKit */
}

.media-section .media-grid.top10:hover::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.media-section .media-grid.top10:hover::-webkit-scrollbar-track {
  background: transparent;
  /* fully transparent track */
}

.media-section .media-grid.top10:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.media-section .media-grid.top10 .media-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 265px;
}

.media-section .media-grid.top10 .media-info {
  display: flex;
  align-items: flex-start;
  margin-top: 8px;
  /* reduced from 12px */
  flex-direction: row;
  gap: 8px;
  /* added for more consistent spacing */
  line-height: 1;
}

.media-section .media-grid.top10 .media-rank {
  font-size: 2.1rem;
  /* reduced from 2.5rem */
  color: #d32f2f;
  font-weight: 700;
  /* increased from 600 */
  line-height: 1;
  margin-right: 5px;
  /* reduced for tighter layout */
  font-family: "Roboto", sans-serif;
  /* ensure consistent font */
}

.media-section .media-grid.top10 .media-text {
  display: flex;
  flex-direction: column;
  margin-top: 3px;
}

.media-section .media-grid.top10 .media-title {
  margin: 0;
  font-size: 0.8rem;
  /* increased from 0.9rem */
  font-weight: 300;
  /* increased from 500 */
  color: #ededed;
  /* ensure good contrast */
}

.media-section .media-grid.top10 .media-genre {
  margin: 2px 0 0;
  /* tightened spacing */
  font-size: 0.7rem;
  /* increased from 0.7rem */
  color: rgba(255, 255, 255, 0.7);
  /* slightly lighter for subtleness */
}

/* NEWEST STUFF META */
.newest-section {
  padding: 60px 0;
}

.bible-section,
.television-section,
.radio-section {
  padding: 60px 0;
}

/* hide by default */
.media-section .media-grid.newest,
.media-section .media-grid.television,
.media-section .media-grid.radio,
.media-section .media-grid.bible {
  display: flex !important;
  flex-direction: row;
  overflow-x: auto;
  gap: 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
  scrollbar-width: none;
  /* Firefox hide */
}

.media-section .media-grid::-webkit-scrollbar {
  display: none;
  /* WebKit hide */
}

.media-section .media-grid:hover::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.media-section .media-grid:hover::-webkit-scrollbar-track {
  background: transparent;
}

.media-section .media-grid:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.media-section .media-grid .media-card {
  flex: 0 0 auto;
  width: 265px;
  /* Match card width with layout */
  scroll-snap-align: start;
}

.media-section .media-grid .media-info-col {
  margin-top: 12px;
}

.media-section .media-subinfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.media-section .media-grid .media-title {
  margin: 0;
  font-size: 0.785rem;
  font-weight: 200;
  font-family: "Roboto";

  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1rem;
/*  min-height: calc(1.4em * 2); */
}

.media-section .media-grid .media-genre {
  margin: 0;
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.8);
}

.media-card-link {
  cursor: pointer;
}

.category-tag {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.67rem;
}

.category-tag:hover {
  color: #fff;
  text-decoration: underline;
}

.media-section .media-grid .media-by {
  margin: 0;
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.6);
}

.media-section .media-grid .media-author {
  color: #d32f2f;
  font-weight: 600;
}

/* ==========================================================================
   Estilos para a Seção de Grid e Filtros de Conteúdo Local
   ========================================================================== */

/* Container da seção para garantir espaçamento adequado */
#local-content-section {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* Container dos filtros */
.filters-container {
  display: flex;
  flex-wrap: wrap; /* Permite que os filtros quebrem para a linha de baixo em telas menores */
  gap: 1rem; /* Espaçamento entre os filtros */
  margin-block: 1.5rem 2rem; /* Espaçamento vertical (acima e abaixo) */
  align-items: center;
}

/* Estilo base para os campos de input e select */
.filters-container input[type="text"],
.filters-container select {
  font-family: "Poppins", sans-serif;
  background-color: #1f2937; /* Fundo escuro, similar à barra de busca */
  color: #e0e0e0;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none; /* Remove a borda padrão do navegador ao focar */
  margin-bottom: 0px !important;
}

/* Estilo para o campo de texto do nome */
.filters-container input[type="text"] {
  flex: 1 1 300px; /* Permite que o campo cresça, com uma base de 300px */
}

/* Estilo para os menus suspensos (select) */
.filters-container select {
  flex: 1 1 200px; /* Permite que cresçam, com uma base de 200px */
  -webkit-appearance: none; /* Remove a aparência padrão no Chrome/Safari */
  appearance: none; /* Remove a aparência padrão */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2em;
  cursor: pointer;
}

/* Efeito de foco para todos os filtros */
.filters-container input[type="text"]:focus,
.filters-container select:focus {
  border-color: #ff3c3c;
  box-shadow: 0 0 0 3px rgba(246, 59, 59, 0.3);
}

/* Estilo para o texto de placeholder */
#filters-container input[type="text"]::placeholder {
  color: #9ca3af;
}

/* Estilos para o grid de conteúdo */
#content-grid {
  display: grid;
  /* Cria colunas responsivas: elas terão no mínimo 240px e no máximo 1 fração do espaço */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  min-height: 250px; /* Evita que a seção "pule" quando não há resultados */
}

/* Garante que os cards dentro do novo grid se comportem como os dos sliders */
#content-grid .media-card {
  width: 100%;
}

/* Progress Slider */
/* ─── Slider Wrapper & Arrows ─── */
.slider-wrapper {
  position: relative;
}

/* Base arrow button */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(22, 29, 37, 0.8);
  /* dark theme */
  color: #d32f2f;
  /* your red accent */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(22, 29, 37, 1);
}

/* Position them */
.slider-arrow.prev {
  left: 8px;
}

.slider-arrow.next {
  right: 8px;
}


.control-progress {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(124, 117, 255, 0.5);
  border-radius: 2px;
  cursor: pointer;
}

.control-progress::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #7c75ff;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -4px;
  /* vertically center the thumb */
}

/* Settings & Fullscreen */
.control-actions {
  display: flex;
  gap: 8px;
}

.control-actions button {
  background: rgba(0, 0, 0, 0.6);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}

.control-actions svg {
  width: 18px;
  height: 18px;
}




.media-card .media-type-label {
  position: absolute;
  top: 10px; /* Distância do topo */
  left: 0; /* Alinhado à esquerda */
  background-color: #f33a6a; /* Cor de fundo escura */
  color: white; /* Cor do texto */
  padding: 5px 10px;
  border-radius: 0 5px 5px 0; /* Bordas arredondadas apenas na direita */
  font-size: 0.8em;
  font-weight: bold;
  z-index: 10; /* Garante que fique acima da imagem */
  text-transform: capitalize; /* Garante que a primeira letra seja maiúscula */
}

.media-thumb {
  position: relative;
  overflow: hidden; /* Garante que o player não vaze para fora */
}

/* Container do player do YouTube */
.youtube-player-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Impede que o player bloqueie o mouse */
  z-index: 5;
}

/* O iframe que o YouTube cria dentro do container */
.youtube-player-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* A imagem thumbnail original */
.media-thumbnail {
  transition: opacity 0.3s ease-in-out;
}

/* Efeito ao passar o mouse */
.media-card[data-youtube-id]:hover .media-thumbnail {
  opacity: 0; /* Esconde a imagem para revelar o vídeo que está por baixo */
}

.btn-load-more {
  display: block;
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #1f2937;
  color: #e0e0e0;
  border: 1px solid #4b5563;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.btn-load-more:hover {
  border-color: #ff3c3c;
  box-shadow: 0 0 0 3px rgba(246, 59, 59, 0.3);
}

/* ====================================
   FOURTH SECTION: BROWSE BY SERVICE
   ==================================== */
.browse-section {
  background: var(--bg-dark);
}

.browse-section .section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.browse-section .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.browse-section .section-link {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}

.browse-section .section-link:hover {
  color: #d32f2f;
}

/* Horizontal snapping slider */
.browse-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* hide in Firefox */
  scrollbar-width: none;
}

/* hide in WebKit */
.browse-slider::-webkit-scrollbar {
  display: none;
}

.browse-slider:hover::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.browse-slider:hover::-webkit-scrollbar-track {
  background: transparent;
}

.browse-slider:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Individual Service Card */
.service-card {
  flex: 0 0 auto;
  width: 280px;
  background: #161d25;
  border-radius: 12px;
  padding: 16px;
  scroll-snap-align: start;
}

/* — Header row: label + title — */
.service-card .service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

/* Label styles */
.service-label {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-label.free {
  background: linear-gradient(135deg, #7332bf, #44208c);
  color: #fff;
}

.service-label.netflix {
  background: #fff;
  color: var(--bg-dark);
}

.service-label.netflix img {
  height: 16px;
  margin-right: 6px;
}

.service-label.hulu {
  background: #1ce783;
  color: var(--bg-dark);
}

.service-label.hulu img {
  height: 16px;
  margin-right: 6px;
}

.service-label.primevideo {
  background: #0073e6;
  color: #fff;
}

.service-label.primevideo img {
  height: 16px;
  margin-right: 6px;
}

.service-label.directv {
  background: #fff;
  color: var(--bg-dark);
}

.service-label.directv img {
  height: 16px;
  margin-right: 6px;
}

/* Title sits on the right of the header row */
.service-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: #fff;
  text-align: right;
}

/* Thumbnails row */
.service-thumbs {
  display: flex;
  gap: 8px;
}

.service-thumbs .thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}

.service-thumbs .thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.service-thumbs .tv-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 4px;
  font-size: 0.7rem;
  border-radius: 3px;
}

/* ====================================
   FIFTH SECTION: POPULAR ACTORS & DIRECTORS
   ==================================== */
.people-section {
  background: var(--bg-dark);
  padding: 80px 0;
}

.people-section .section-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.people-section .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.people-section .section-link {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}

.people-section .section-link:hover {
  color: #d32f2f;
}

/* GRID‐BASED SLIDER: 2 rows, horizontal scroll */
/* Hide scrollbar by default */
.people-slider {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 300px;
  gap: 20px 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  /* Firefox */
  scrollbar-width: none;
}

/* WebKit */
.people-slider::-webkit-scrollbar {
  display: none;
}

.people-slider:hover::-webkit-scrollbar {
  display: block;
  height: 6px;
}

.people-slider:hover::-webkit-scrollbar-track {
  background: transparent;
}

.people-slider:hover::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Person Card */
.person-card {
  scroll-snap-align: start;
  background: #161d25;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  min-height: 64px;
}

/* Avatar */
.person-card .avatar {
  flex-shrink: 0;
  width: 44px;
  /* bigger circle */
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  /* bigger initials */
  font-weight: 500;
  color: #fff;
  margin-right: 16px;
  text-transform: uppercase;
  background: linear-gradient(135deg, #6e00ff, #9e00ff);
  /* fallback */
}

/* Name */
.person-card .name {
  margin: 0;
  font-size: 0.9rem;
  /* slightly larger text */
  font-weight: 400;
  color: #fff;
  white-space: normal;
  overflow: visible;
  line-height: 1.3;
}


.verse-section {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.verse {
  border-left: 4px solid #ff3c3c;
  text-align: left;
  background-color: #161d25;
  padding: 0.8rem 1rem;
  border-radius: 4px 16px 16px 4px;
}

#verse-text {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: left;
  padding: 0;
  font-style: italic;
}

#verse-ref {
  font-size: 1rem;
  padding-top: 0.8rem;
  text-align: left;
  color: #ff3c3c;
  font-weight: 600;
  border-bottom: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================= */
/* Mobile Styles (Mobile & Tablet View) */
/* ============================================= */
@media (max-width: 1024px) {
  .spaceing {
    width: 100%;
  }
  .nav-links {
    flex-direction: column;
    justify-content: center;
    width: 84%;
    margin: 0;

    display: none;
    flex-direction: column;
    position: fixed;
    width: 90%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #ffffff;
    padding: 20px 0;
  }

  .nav-links li {
    margin: 7px 0;
    padding: 0;
  }

  .nav-links a {
    font-size: 16px;
    color: #777777;
    margin-left: 20px;
  }

  .arrow-icon {
    display: block;
  }

  .nav-links li .on-demand-dropdown {
    position: static;
    background-color: #ffffff;
    list-style: none;
    margin: 0;
    width: 100%;
    overflow-y: auto;
    z-index: 10;
  }

  /* Layout of the dropdown items */

  .dropdown-section li {
    font-weight: normal;
    padding: 3px 0px 3px 10px;
    width: 100%;
  }

  .on-demand-dropdown a {
    color: #777;
    font-size: 14px !important;
    padding: 5px 0px 5px 20px;
    font-weight: 600;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
  }

  .nav-links li .podcasts-dropdown {
    position: static;
    background-color: #ffffff;
    list-style: none;
    margin: 0;
    width: 100%;
    overflow-y: auto;
    z-index: 10;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.3s ease;
  }

  .nav-links li .tv-channels-dropdown {
    position: static;
    background-color: #ffffff;
    list-style: none;
    margin: 0;
    width: 100%;
    overflow-y: auto;
    z-index: 10;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.3s ease;
  }
  .about-us .about-us-dropdown {
    position: static;
    background-color: #ffffff;
    z-index: 10;
  }

  .about-us-dropdown a {
    color: #8d8d8d;
    font-size: 14px;
    padding: 5px 0px 5px 20px;
    font-weight: 600;
  }

  .podcasts-dropdown a {
    color: #8d8d8d;
    font-size: 14px;
    padding: 5px 0px 5px 20px;
    font-weight: 600;
  }

  .tv-channels-dropdown a {
    color: #8d8d8d;
    font-size: 14px;
    padding: 5px 0px 5px 20px;
    font-weight: 600;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 85px 30px 0 0;
    z-index: 3;
  }

  .mobile-menu-toggle {
    display: block;
    color: #bf1e2e;
    border: 1px solid #bf1e2e;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 21px;
    margin-top: 0px;
    margin-right: 0;
    line-height: 1.4;
  }

  .close-btn-nav {
    display: block;
  }

  .vertizontal .vertizontal-dropdown {
    left: 0;
    background-color: #fff;
    list-style: none;
    margin: 0;
    width: 200px;
    z-index: 9999;
    position: relative;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    border: 0;
  }

  .vertizontal-dropdown a {
    margin-left: 50px;
  }

  .podcasts-dropdown li {
    width: 40%;
  }
  /* /* .nav-links li.has-right-arrow {
    position: static; 
  } */

  .nav-links li.has-right-arrow::after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -7px;
  }
  */ .dropdown-section {
    display: flex;
    flex-wrap: wrap;
    /* width: 50%; */
    /* gap: 15px; */
    /* padding: 10px; */
  }

  .dropdown-section li {
    width: 40%;
    white-space: nowrap;
    display: block;
    padding: 0;
  }
  .dropdown-section a {
    font-size: 12px;
  }

  /* drop menu 1 */
  .vertizontal .vertizontal-dropdown-mune {
    visibility: hidden;
    position: absolute;
    left: 0;
    background-color: #d7d7d7;
    list-style: none;
    margin: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    border: 0;
    padding-left: 0;
  }

  .vertizontal-dropdown-mune li a {
    width: 100%;
  }
  .deep:hover .vertizontal-dropdown-mune {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    top: -2px;
  }

  .vertizontal-dropdown-mune a {
    margin-left: 0;
  }

  /* drop menu1 */

  .vertizontal .vertizontal-dropdown li {
    width: 90%;
  }
}


@media (max-width: 991px) {
  .close-btn-nav {
    position: absolute;
    top: 0;
    right: 9%;
    margin: 12px 0 0 0;
    padding: 5px 10px;
    border: 1px solid #777 !important;
    background: transparent !important;
    line-height: 1.5em;
  }
  span.closex {
    color: var(--bg-dark);
    font-size: 20px;
    padding: 5px;
  }
}

@media (max-width: 768px) {
  .modal-container .modal-content {
    width: 90%;
    flex-direction: column-reverse;
    justify-content: space-between;
  }
  .video-container {
    width: 100%;
    min-height: unset;
    height: auto;
  }
  
  .recommendations-section{
      display: none !important;
  }

  .left-content {
    width: 100%;
    padding: 1rem;
    height: 30%;
  }

  .title {
    font-size: 1.3rem;
  }

  .platform-btn {
    padding: 0.8rem 1.4rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /*
  #filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  */

  #content-grid {
    /* Ajusta o tamanho mínimo dos cards para telas menores */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

/* Mobile responsiveness for dropdown */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
  }

  .nav-links li {
    margin: 10px 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .button-container {
    display: flex;
    gap: 6px;
    background: var(--bg-dark);
    margin-top: -3px;
    justify-content: center;
    padding: 10px 0;
    min-width: 360px;
    position: fixed;
    width: 100%;
    top: 60px;
  }

  .button-container a {
    width: 30%;
    text-align: center;
  }
  .button {
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
  .button.on-demand,
  .button.podcasts {
    background-color: #00aeef;
    text-decoration: none;
    padding: 11px;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    font-weight: 700;
  }
  .button.on-demand:hover,
  .button.podcasts:hover {
    background-color: #00acc1;
  }
  .button.listen {
    background: linear-gradient(135deg, #c63663, #ed6430 50%, #ffdf63);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }
  .button.listen:hover {
    opacity: 0.9;
  }
  .icon {
    display: inline-block;
    width: 10px;
    height: 13px;
    fill: white;
  }

  header .cta-button {
    display: none;
  }

  .donate-btn {
    display: block;
    width: 90%;
    margin: 20px auto;
    border: none;
    padding: 10px 0;
    border-radius: 30px;
    background-color: #00aeef;
  }
  .nav-links .donate-btn a {
    color: #fff;
    font-weight: normal;
    font-size: 17px;
    font-family: inherit;
  }
}

@media (max-width: 768px) {
  .nav-links {
  }

  .nav-links.active {
  }

  .mobile-menu-toggle {
    display: block;
    color: #bf1e2e;
    border: 1px solid #bf1e2e;
    padding: 0 8px;
    border-radius: 5px;
    font-size: 21px;
    margin-top: 0px;
    margin-right: 0;
    line-height: 1.4;
  }

  /*  */

  /* Search Bar */
  .search-bar {
    /* display: flex; */
    align-items: center;
    position: relative;
  }

  .search-bar input {
    padding: 6px 15px;
    padding-right: 40px;
    border: 0 solid transparent;
    border-radius: 15px;
    background-color: #060404;
    color: #888;
    transition: all 0.3s ease;
    width: 90%;
    padding-left: 5px;
    font-weight: bolder;
    font-size: 16px;
    margin-left: 15px;
    margin-top: 14px;
  }

  .search-bar input:focus {
    outline: none;
    /* border-color: #33c3a5; */
    border-color: #fb2c36;
    box-shadow: 0 0 10px rgba(51, 195, 165, 0.3);
  }

  .search-bar button {
    position: absolute;
    right: 5px;
    top: 32px;
    transform: translateY(-50%);
    background-color: #cc000000;
    border: none;
    border-radius: 50%;
    color: #fff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: -3px;
  }

}



/* Hide arrows on small screens if you prefer */
@media (max-width: 700px) {
  .slider-arrow {
    display: flex !important;
  }
}

@media (max-width: 700px) {
  .container {
    width: 98%;
    padding: 0 6px;
  }

  .search-container {
    margin: 0 6px 0 4px !important;
    min-width: 0 !important;
    max-width: 100vw !important;
  }

  #search-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: -60px !important;
    width: 80vw !important;
    background: #161d25 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5) !important;
    padding: 16px !important;
    z-index: 1000 !important;
    display: none;
  }


  .discover-section {
    padding: 22px 0;
  }

  .section-title {
    font-size: 1.45rem;
    text-align: center;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .discover-grid.top-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    /* FORCE no wrapping */
    overflow-x: auto !important;
    overflow-y: hidden;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .eternity-card.gradient {
    flex: 0 0 auto !important;
    width: 50vw !important;
    min-width: 120px;
    max-width: 90vw;
    scroll-snap-align: start;
    margin-bottom: 20px !important;
  }

  .discover-grid.top-row::-webkit-scrollbar {
    display: none;
  }

  .eternity-card.gradient h3 {
    font-size: 1rem;
  }

  .discover-grid.bottom-row {
    gap: 12px;
    flex-wrap: wrap;
  }

  .eternity-card.media {
    width: 45vw;
    min-width: 134px;
    max-width: 99vw;
    padding: 10px;
    font-size: 0.91rem;
  }

  /* Media Section: Carousels */
  .media-section {
    padding: 20px 0 10px 0;
  }

  .media-section .section-title {
    font-size: 1.1rem;
  }

  .media-section .media-grid.top10,
  .media-section .media-grid.newest {
    gap: 14px;
    padding-bottom: 7px;
  }

  .media-section .media-card,
  .media-section .media-grid.top10 .media-card,
  .media-section .media-grid.newest .media-card {
    width: 72vw;
    min-width: 142px;
    max-width: 96vw;
    padding: 0;
  }

  .media-section .media-thumb img {
    border-radius: 10px;
  }

  .media-section .media-info-col,
  .media-section .media-info {
    padding: 6px 2px;
    font-size: 0.98rem;
  }


  /* Browse Slider: Service Cards */
  .browse-slider {
    gap: 12px;
    padding-bottom: 7px;
  }

  .service-card {
    width: 68vw;
    min-width: 120px;
    padding: 10px;
  }

  .service-title {
    font-size: 1rem;
  }

  .service-thumbs .thumb img {
    border-radius: 7px;
  }

  /* People Section */
  .people-section {
    padding: 50px 0;
  }

  .people-slider {
    grid-auto-columns: 54vw;
    gap: 8px 12px;
    padding-bottom: 6px;
  }

  .person-card {
    padding: 8px 10px;
    min-height: 48px;
    font-size: 0.8rem;
  }

  .person-card .avatar {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
    margin-right: 6px;
  }

  .person-card .name {
    font-size: 0.85rem;
  }
}


/* Extra small devices (phones, 480px and up) */
@media (max-width: 480px) {
  .modal-container .modal-content {
    width: 95%;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }

  .left-content {
    width: 100%;
    padding: 0.5rem;
    height: 40%;
    gap: 0;
  }

  #channel-desc{
     display: -webkit-box;
     -webkit-line-clamp: 7; /* O número de linhas que você quer exibir */
     -webkit-box-orient: vertical;  
     overflow: hidden;
     text-overflow: ellipsis;
  }

  .video-container {
    width: 100%;
    min-height: unset;
    height: auto;
  }

  .title {
    font-size: 1.2rem;
  }

  .platform-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}


@media (max-width: 480px) {
  #content-grid {
    /* Em telas muito pequenas, talvez 2 colunas seja o ideal */
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 480px) {
  header .container {
    padding: 0;
    width: 90%;
  }

  .search-bar {
    width: 50%;
  }

  .cta-button {
    display: none;
  }

  .dropdown-section {
    display: block;
    flex-wrap: nowrap;
    /* gap: 15px;
    padding: 10px; */
  }
}

/* Super-narrow phones: 400px and below */
@media (max-width: 400px) {
  .eternity-card.gradient {
    padding: 7px;
    font-size: 0.79rem;
  }
}

/* Media query for desktop screens (>1025px) */
@media (min-width: 1026px) {
  /* Use hover to show dropdowns on desktop */
  .has-arrow:hover .on-demand-dropdown,
  .has-arrow:hover .podcasts-dropdown,
  .has-arrow:hover .tv-channels-dropdown,
  .has-arrow:hover .about-us-dropdown {
    display: block;
  }
  .nav-links li:hover .on-demand-dropdown,
  .nav-links li:hover .podcasts-dropdown,
  .nav-links li:hover .tv-channels-dropdown,
  .nav-links li:hover .about-us-dropdown {
    opacity: 1;
    transform: scale(1);
  }
  .vertizontal-dropdown {
    background-color: var(--bg-dark);
    position: absolute !important;
    opacity: 0;
  }
  .vertizontal:hover .vertizontal-dropdown {
    display: block;
    opacity: 1;
    transform: scale(1);
    top: -2px;
  }
}

#verse-of-the-day .container {
  width: 85%;
}

#verse-of-the-day {  
  padding-top: 60px;
}

#userProfileLink {
  width: 2.5rem;
  height: 2.5rem;
  max-width: 2.5rem;
  max-height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}


#userProfileImage {
  object-fit: cover;
  border-radius: 100%;
  max-width: 2.5rem;
  max-height: 2.5rem;
  width: 100%;
  height: 100%;
}

#userProfileImage:hover {
  cursor: pointer;
}

#userProfileLink > div {
  position: absolute;
  top: 2.5rem;
  left: -4rem;
  width: 16rem;
  display: none;
  padding: 1rem;
  flex-direction: column;
  gap: 1rem;
  z-index: 1337;
  background-color: #1f2937;
  border-radius: 0.5rem;
}

#userProfileLink > div > hr {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
}

#userProfileLink > div > a,
#userProfileLink > div > div
{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}


#userProfileLink > div > a:hover {
  background-color: var(--bg-dark);
  cursor: pointer;
}

#userProfileLink > div > a > img,
#userProfileLink > div > div > img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
}

#userProfileLink > div > a > .material-icons {
  font-family: 'Material Icons';
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  color: #1f2937;
  display: flex;
  background-color: red;
  border-radius: 100%;
  justify-content: center;
  align-items: center;
}

#userProfileLink > div > div > h1,
#userProfileLink > div > a > h2 {
  font-size: 1rem;
}

#userProfileLink > div > div > h1 {
  font-weight: bold;
}

/**/


/* -------------------------
   Customize Homepage Button
-------------------------- */

#customize-homepage {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#customize-homepage > button {
  margin: 0;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e53935, #b71c1c);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#customize-homepage > button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35);
}

/* -------------------------
   Customize Modal
-------------------------- */

#customize-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1234;
  background-color: var(--bg-dark);
  padding: 2.5rem 2rem;
  overflow-y: auto;
}

#customize-modal h1 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #f5f5f5;
}

/* Close button */
#customize-modal > button {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  background-color: #d32f2f;
  color: white;
  padding: 0.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

#customize-modal > button:hover {
  background-color: #b71c1c;
  transform: rotate(90deg);
}

/* -------------------------
   Reorder Sections
-------------------------- */

#reorder-sections-customize-modal {
  display: flex;
  flex-direction: column;
  row-gap: 0.75rem;
  margin-bottom: 3rem;
}

#reorder-sections-customize-modal span {
  background: linear-gradient(135deg, #1a1f26, #24191b);
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  cursor: grab;
  font-weight: 600;
  color: #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
  border-left: 4px solid #d32f2f;
}

#reorder-sections-customize-modal span:hover {
  background: #2a1d20;
}

#reorder-sections-customize-modal span.draggable.dragging {
  background: #3a1f22;
  transform: scale(1.03);
  cursor: grabbing;
  opacity: 0.9;
  border-left-color: #b71c1c;
}

/* -------------------------
   Create Section Area
-------------------------- */

#create-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(211, 47, 47, 0.25);
}

#create-section input {
  width: 100%;
  max-width: 420px;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #3a1f22;
  background-color: #161214;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

#create-section input::placeholder {
  color: #cbd5e0;
}

#create-section input:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.25);
}

/* Create button */
#create-section > button {
  padding: 0.7rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  background-color: #d32f2f;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#create-section > button:hover {
  background-color: #b71c1c;
}

/* -------------------------
   Filters
-------------------------- */

#customize-modal .filters-container input,
#customize-modal .filters-container select {
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid #3a1f22;
  background-color: #161214;
  color: #f5f5f5;
}

#customize-modal .filters-container input::placeholder {
  color: #cbd5e0;
}

#customize-modal .filters-container input:focus,
#customize-modal .filters-container select:focus {
  outline: none;
  border-color: #d32f2f;
  box-shadow: 0 0 0 2px rgba(211, 47, 47, 0.25);
}

/* -------------------------
   Media Section in Modal
-------------------------- */

#create-section .media-section {
  margin-top: 1.5rem;
  border-radius: 1rem;
  padding: 1rem;
  background-color: rgba(30, 18, 20, 0.7);
  border: 1px solid rgba(211, 47, 47, 0.25);
}

/* -------------------------
   Responsive tweaks
-------------------------- */

@media (max-width: 768px) {
  #customize-modal {
    padding: 1.5rem 1rem;
  }

  #customize-modal h1 {
    font-size: 1.2rem;
  }
}
