@font-face{
font-family:'f1';
src: url('/fonts/f1.woff') format('woff');}
@font-face {
font-family: 'f2';
src: url('/fonts/f2.woff') format('woff');}
@font-face {
font-family: 'f3';
src: url('/fonts/f3.woff') format('woff');}
  
html, body{
  padding: 0;margin: 0;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
  background: var(--bg-clr);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body::-webkit-scrollbar {display: none;}
/*#topSection {
  background: linear-gradient(to top, #000F1E 0%, #000F1E 40%, #000F1E 100%);
}*/

[id^="container"] {
  background: var(--bg-clr);
  display: grid;
  place-items: center;
  gap: 35px 0;
  padding: 12px; margin: 0 0 20px 0;
  box-sizing: border-box;
}
#cards {
  aspect-ratio: 0.7030303030303;
  border-radius: var(--br);
  transition: 100ms;
}
#cards:active {
  transform: scale(0.96);
}
@media (orientation: portrait) {
    [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(118px, 15vw, 180px), 1fr));}
    #cards {
    width: clamp(118px, 18vw, 150px);
    }
}
@media (orientation: landscape) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(126px, 19vw, 180px), 1fr));}
  #cards {
    width: clamp(126px, 19vw, 150px);
  }
}

/* 📱 Extra small devices (phones under 480px) */
@media (max-width: 480px) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(118px, 15vw, 180px), 1fr));}
    #cards {
    width: clamp(118px, 18vw, 150px);
    }
}

/* 📲 Small devices (phones 481px–768px) */
@media (min-width: 481px) and (max-width: 768px) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(118px, 28vw, 180px), 1fr));
  }
  #cards {
    width: clamp(118px, 28vw, 180px);
  }
}

/* 💻 Medium devices (tablets 769px–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(140px, 22vw, 260px), 1fr));
  }
  #cards {
    width: clamp(140px, 22vw, 200px);
  }
}

/* 🖥️ Large devices (laptops 1025px–1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(160px, 18vw, 220px), 1fr));
  }
  #cards {
    width: clamp(160px, 18vw, 220px);
  }
}

/* 🖥️💎 Extra large devices (desktops & 4K screens 1441px+) */
@media (min-width: 1441px) {
  [id^="container"] {
    grid-template-columns: repeat(auto-fit, minmax(clamp(180px, 15vw, 260px), 1fr));
  }
  #cards {
    width: clamp(180px, 15vw, 260px);
  }
}
#images:active {
  outline-offset: 1.5px;
  outline: 2px solid #fff;
}
 #images {
  background: rgba(255, 255, 255, 0.07);
  border-radius: inherit;
  display: block;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-orientation: from-image;
  will-change: transform;
 -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: 100ms;
  backface-visibility: hidden;
  perspective: 1000;
  filter: saturate(1.2);
  object-fit: cover;
  height: 100%;width: 100%;
 }
#picTitlePlaceholder{
  background: rgba(255, 255, 255, 0.07);
  height: 18px;width: 85px;
  margin: 10px 0 0 0;border-radius: 5px;
}
#picTitle {
  color: #fff;
  font-family: "f2";
  font-size: 12px;
  width: inherit;
  margin: 7px 0 0 0;
  overflow-x: hidden;
  scrollbar-width: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  user-select: none;
  transition: 100ms;
}
#picTitle:active {
  color: rgba(255, 255, 255, 0.7);
}

#chevronLeft {
  fill: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, 0.1);
  height: 20px;
  padding: 10px 14px;
  margin: 0;
  border-radius: 20px;
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
  position: absolute;
  left: 10px;
  transition: 100ms;
  stroke: rgba(255, 255, 255, .6);
  stroke-width: 3px;
}
#chevronLeft:active {
  fill: var(--theme-clr);
  stroke: var(--theme-clr);
}

#topGenre {
  display: flex;
  align-items: center;
  z-index: 999;
  color: #FFFFFF;
  font-family: "f1";
  font-weight: 700;
  font-style: normal;
  font-size: 25px;
  letter-spacing: 0px;
  margin: 15px;
  padding: 0;
  text-decoration: none;
  cursor: none;
  user-select: none;
  pointer-events: none;
}
#nextGenre {
  display: flex;
  align-items: center;
  z-index: 999;
  color: #FFFFFF;
  font-family: "myCustomFont";
  font-weight: 700;
  font-style: normal;
  font-size: 25px;
  letter-spacing: 0px;
  margin: 10px 15px 0 15px;
  padding: 0;
  text-decoration: none;
  cursor: none;
  user-select: none;
  pointer-events: none;
}
#topGenreTitle{
  color: rgba(255, 255, 255, 0.6);
  font-family: "f2";
  font-size: 14px;
  width: fit-content;
  margin: 10px 15px;
  user-select: none;
  pointer-events: none;
}

#topContainer {
  display: flex;
  align-items: center;
  height: 60px;
}
#searchBtn {
  -webkit-tap-highlight-color: transparent;
  z-index: 999;
  object-fit: cover;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  padding: 0;
  background: none;
  font-family: "f2";
  caret-color: var(--theme-clr);
  color: #FFFFFF;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 0 5px 0 43px;
}
#searchBtn::placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
 
  #searchIcon {
  filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
  margin: 0 0 0 10px;
  padding: 0 0 0 0;
  height: 20px;
  position: absolute;
  fill: rgba(255, 255, 255, 0.8);
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 0.6px;
}

#searchContainer {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  height: 42px;
  width: 42px;
  border-radius: 20px;
  margin: 0 7px 0 0;
  position: absolute;
  right: 5px;
  transition: 100ms;
}
#searchContainer:hover {
  width: 230px;
  height: 38px;
  border-radius: 18px;
  outline: 1.1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
}
#hrContainer {
  display: flex;align-items: center;
  justify-content: center;}#hr{
  background: rgba(233, 255, 255, 0.2);
  height: 1.3px; width: 100vw;
  margin: 20px 15px;}
  
#bottomInfoContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 70px 0 0 0;
}
#bottomInfo {
  height: auto;width: 100%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255, 255, 255, 0.04);
  padding: 10px;
  text-align: center;
}
.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 12px 0;
}
.footerLinks a {
  font-family: "f2";
  color: rgba(255,255,255,0.8);
  font-size: 13.8px;
  text-decoration: none;
}
.footerLinks a:not(:first-child)::before {
  content: "|";
  margin: 0 10px 0 0;
  color: rgba(255,255,255,0.4);
}
#footerHr{
  background: rgba(255,255,255,0.2);
  width: 100%;height: 1px;
  margin: 10px 0 5px 0;
}
.footerLinks a:hover {
  color: #fff;
  text-decoration: underline;
}
.footerText {
  font-family: "f2";
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin: 25px 0;
}
.footerText2 {
  font-family: "f2";
  font-size: 14px;
  color: #999;
  margin: 20px 0;
}
.footerCopy {
  font-family: "f2";
  font-size: 14px;
  color: #999;
  margin: 0 0 20px 0;
}