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

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

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
}

.container {
  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: #000;
  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: #000;
  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 #000;
  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: 0;
  left: -260px;
  background-color: #000;
  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;
}

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

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

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

.about-us-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  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: 0;
  left: 0;
  background-color: #000;
  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;
}

/* 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: #000;
    position: absolute !important;
    opacity: 0;
  }
  .vertizontal:hover .vertizontal-dropdown {
    display: block;
    opacity: 1;
    transform: scale(1);
    top: -2px;
  }
}

/* ============================================= */
/* Podcasts Dropdown */
/* ============================================= */
.nav-links li .podcasts-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000;
  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;
}
@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: #000;
    font-size: 20px;
    padding: 5px;
  }
}

/* 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;
}
/* 3 btns */
@media (max-width: 768px) {
  .button-container {
    display: flex;
    gap: 6px;
    background: #000;
    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;
  }
}
/* 3 btns */

/* ============================================= */
/* 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;
  }
  
  #close {
    font-size: 2rem;
  }

  .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%;
  }
}

.search-bar {
  display: flex;
}

@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;
  }

  /*  */
}

@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; */
  }
}

/* after nav */

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

/* Modal Styles */
.hidden {
  display: none;
}

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

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

.modal-container {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  display: flex;
  flex-direction: column;
  background-color: #1e1e1e;
  border-radius: 1rem;
  overflow: hidden;
  width: 90%;
  max-width: 900px;
}

#channel-desc {
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 480px){
    #channel-desc {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  aspect-ratio: 16 / 9;
}

.left-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

#modal-categories {
  margin-top: 16px;
}

#closeBtn {
  background-color: #1e1e1e;
  padding: 0.2rem;
  color: white;
  font-size: 2rem;
  transition: all 0.3s ease;
}

#closeBtn:hover {
  color: rgb(255, 106, 106);
}

/* Music Player */
#player-bar {
  font-family: "Montserrat", sans-serif;
  position: fixed; /* Fixa a barra na tela */
  z-index: 999;
  margin-bottom: -90px;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: #181818;
  border-top: 1px solid #282828;
  display: flex;
  justify-content: space-between; /* Alinha as 3 seções principais */
  align-items: center;
  padding: 0 20px;
  transition: margin 0.3s ease;
}

#player-bar.ativo {
  margin-bottom: 0;
}

/* === Seção Esquerda: Detalhes da Música === */
.song-details {
  display: flex;
  align-items: center;
  flex: 1; /* Ocupa 1/3 do espaço */
  min-width: 180px;
}

.album-art-bar {
  width: 56px;
  height: 56px;
  border-radius: 4px;
  margin-right: 15px;
  object-fit: cover;
}

.song-info-bar h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.song-info-bar p {
  font-size: 0.75rem;
  color: #b3b3b3;
  margin: 0;
  
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* === Seção Central: Controles Principais === */
.player-core-controls {
  display: flex;
  flex-direction: column; /* Botões em cima, progresso embaixo */
  align-items: center;
  justify-content: center;
  flex: 2; /* Ocupa 2/3 do espaço, é a área principal */
}

.controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.control-btn {
  background: none;
  border: none;
  color: #b3b3b3;
  font-size: 1.1rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.control-btn:hover{
    transform: scale(1.1);
}

.play-btn {
  background-color: #fff;
  color: #121212;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.play-btn:hover {
  transform: scale(1.05);
}

.progress-section {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 500px;
  gap: 10px;
}

.progress-section span {
  font-size: 0.7rem;
  color: #b3b3b3;
  min-width: 30px;
  text-align: center;
}

.progress-container {
  background-color: #535353;
  border-radius: 5px;
  height: 4px;
  width: 100%; /* Ocupa todo o espaço disponível */
  cursor: pointer;
}
.progress-bar {
  background-color: #ff3c3c;
  height: 100%;
  border-radius: 5px;
  transition: width 0.1s linear;
}

/* === Seção Direita: Controles Extras === */
.extra-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1; /* Ocupa 1/3 do espaço */
  min-width: 180px;
  color: #b3b3b3;
  gap: 1rem
}

@media (max-width: 480px){
    .extra-controls {
        display: none !important;
    }
}

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

/* O conteúdo do dropdown - ESCONDIDO POR PADRÃO */
.dropdown-content {
  display: none; /* Continua escondido por padrão */
  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;
}

/* NOVA CLASSE: Esta classe será adicionada/removida pelo JavaScript para mostrar o menu */
.dropdown-content.show {
  display: block !important;
  background-color: #101828;
}


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

.menuButton:hover{
  background: #de0000 !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;   
}

/**/

.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;
}

.media-section {
  background: var(--bg-dark);
  padding: 1.25rem 4rem 0rem 4rem;
}

.media-section a {
  text-decoration: none;
}

.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;
  position: relative;
  display: inline-block;
}

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

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

/* 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;
}


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


.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::-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-size: 1rem;
  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-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;
}


@media (max-width: 700px) {

  .slider-arrow {
    display: flex !important;
  }


  /* 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;
  }
}
