

:root {
  --border: 1px solid rgba(0, 195, 254, 0.25);
}


/* =========================
   CONTROLS
========================= */

.category-controls {
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

/* FILTERS */

.language-filters {
  margin-top: 90px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.download-filters {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.lang-btn {
  padding: 8px 14px;
  border-radius: 6px;
  border: none;
  color: white;
  cursor: pointer;
  background:
    rgba(255, 255, 255, .06);
  border: var(--border);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover,
.lang-btn.active {

  background:
    rgba(168, 85, 247, .18);

  border-color:
    rgba(168, 85, 247, .45);

  box-shadow:
    0 0 20px rgba(168, 85, 247, .18);

}

/* SEARCH */

.category-search {
  width: 100%;
  max-width: 800px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 12px;
  background:
    rgba(0, 6, 34, 0.7);
  border: var(--border);
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.category-search:focus-within {
  border-color: rgba(0, 195, 254, 0.6);
  background: rgba(0, 6, 34, 0.85);
}

.category-search input {
  width: 100%;
  background: none;
  outline: none;
  border: none;
  padding: 5px;
  border-radius: 5px;
  color: white;
  font-size: 15px;
}

.category-search input::placeholder {
  color: rgba(200, 225, 255, 0.3);
}

/* SEARCH POPUP */

.cine-search-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: none;
}

.cine-popup-box {
  background:
    linear-gradient(145deg,
      rgba(18, 24, 48, .98),
      rgba(8, 12, 28, .98));
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 26px;
  border-radius: 26px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation:
    popupAnim .25s ease;
}

.cine-popup-box h3 {
  margin-bottom: 10px;
  color: #93c5fd;
}

.cine-popup-box p {
  color: #dbeafe;
  line-height: 1.7;
}

@keyframes popupAnim {
  from {
    transform:
      scale(.9);
    opacity: 0;
  }

  to {
    transform:
      scale(1);
    opacity: 1;
  }

}

/* CONTENT SEARCH */

.content-search {
  width: 100%;
  height: 58px;
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 8px 0 16px;
  border-radius: 16px;
  background:
    linear-gradient(145deg,
      rgb(0, 12, 36),
      rgba(13, 0, 39, 0.642));
  border:  var(--border);
  margin-top: -20px;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.content-search:focus-within {
  border-color: #a855f7;
  transform: translateY(-2px);
  box-shadow: none;
}

.content-search i {
  font-size: 18px;
  color: #ffffffdc;
}

.content-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  font-size: 16px;
  padding: 12px;
  border-radius: 5px;
  width: 100%;

}

.content-search input::placeholder {
  color: #ffffff29;
}

#contentSearchBtn {
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  background: linear-gradient(135deg, #7033fe, #a855f7);
  margin-left: -5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#contentSearchBtn:hover {
  transform: scale(1.04);
  background: linear-gradient(135deg, #814eff, #b56fff); /* Color change instead of brightness filter */
  box-shadow: none;
}

@media(max-width:400px) {
  .content-search input {
    max-width: 280px;
  }
}

/* =========================
   FEATURED
========================= */

.featured-section {
  margin: -10px;
}
.cards-section{
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-container {
  width: 100%;
  margin-top: -1px;
  border: var(--border);
  max-width: 1300px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(5, 5, 18, 0.85); /* More opaque background, less reliance on blur */
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.156);
}

.featured-section h1 {
  text-align: center;
  margin-top: 20px;
  margin-bottom: -28px;
  font-weight: 900;
  font-size: 20px;
  color: rgb(240, 240, 240);
}

/* =========================
   MOBILE
========================= */

@media(max-width:1024px) {
  .category-search,
  .content-search {
    max-width: 92%;
  }
}

@media(max-width:768px) {
  .category-search,
  .content-search {
    max-width: 95%;
    height: 52px;
  }

  #contentSearchBtn {
    padding: 10px 18px;
    font-size: 13px;
  }

  .featured-section h1 {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .category-hero {
    padding: 150px 5% 60px;
  }

  .category-hero h1 {
    font-size: 52px;
  }

  .category-hero p {
    font-size: 16px;
  }

  .category-controls {
    padding: 0 5% 40px;
  }

  .lang-btn {
    font-size: 14px;
    padding: 4px 12px;
  }

}


html,
body{
    overflow-x:hidden;
    width:100%;
}

