@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Text:ital,wght@0,300..700;1,300..700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  font-family: "Asap Condensed", sans-serif;
  font-weight: 300;
  font-style: normal;
}

body {
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background:linear-gradient(black,rgb(24, 22, 22));
  color: #f0f0f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navigation {
  width: 100%;
  height: 12vh;
  max-height: 80px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  display: flex;
  align-items: center;
  padding: 0 3rem;
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background-color 0.3s ease;
}

.navigation:hover {
  background: rgba(255, 255, 255, 0.1);
}

#logo {
  width: 160px;
  max-width: 100%;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  animation: anim 2s ease-in-out;
}

@keyframes anim {
  0% {
    opacity: 100%;
    scale: 1;
  }

  ;

  25% {
    opacity: 0%;
    scale: 1.1;
  }

  50% {
    opacity: 100%;
    scale: 1;
  }

  75% {
    opacity: 0%;
    scale: 1.1;
  }

  100% {
    opacity: 100%;
  }
}

#logo:hover {
  transform: scale(1.1);
  filter: brightness(1.2) invert(1);
}

#categories {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-grow: 1;
  gap: 2.5rem;
  margin-left: 3rem;
  padding: 0;
  font-weight: 600;
  font-size: 1.15rem;
  width: 100%;

}

#categories li {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 12px;
  color: #cfd8dc;
  user-select: none;
  position: relative;
  transition: color 0.3s ease;
}

#categories li::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 3px;
  bottom: 0;
  left: 0;
  background: #3f51b5;
  transition: width 0.3s ease;
  border-radius: 4px;
}

#categories li:hover {
  color: #fff;
}

#categories li:hover::after {
  width: 100%;
}

/* Search box */
#ssss {
  margin: 2rem auto;
  display: block;
  width: 320px;
  max-width: 90vw;
  padding: 14px 24px;
  border-radius: 50px;
  border: none;
  font-size: 1.1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #eee;
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.15),
    0 8px 24px rgba(63, 81, 181, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
}

#ssss::placeholder {
  color: #bbb;
  font-weight: 400;
}

#ssss:focus {
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 10px #3f51b5,
    0 10px 30px #3f51b5aa;
}

/* Container */
.container {
  width: 100%;
  max-width: 1600px;
  padding: 0 1.5rem 4rem;
  margin: 0 auto;
  flex-grow: 1;
}

/* Cards container */
.no-items{
  font-size: 16px !important;
}
#cards {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  justify-items: center;
  align-items: center;
}

/* Each card */
.card {
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  user-select: none;
  grid-column: span 2 / span 2;
  border: 0.2px solid rgba(222, 177, 80, 0.15);
  overflow: hidden;
  box-shadow:
    inset 0 0 4px rgba(255, 255, 255, 0.15),
    0 4px 18px rgba(63, 81, 181, 0.3);
}

#cats {
  margin-left: 2rem;
}
.page-btn{
  font-size: 15px !important;
}
.card:hover {
  transform: translateY(-10px) scale(1.03);
  /* box-shadow:
    0 12px 40px 0 rgba(63, 81, 181, 0.7); */
}

.card h3 {
  position: relative;
  margin-top: 10px !important;
  margin: 0 0 1rem;
  font-size: 15px;
  font-weight: 700;
  color: #e1e1e8;
  text-align: center;
  letter-spacing: 0.02em;
  user-select: text;
  font-size: 16px !important;
}
.card-thumbnail{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.card a {
  display: block;               /* ensures it takes only its content height */
  flex-shrink: 0;               /* don’t shrink */
}
.card p {
  color: #a0a0a0;
  font-size: 0.9rem;
  word-break: break-word;
  text-align: center;
  line-height: 1.4;
  user-select: text;
}

/* iframe inside card */
iframe {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  margin-top: 1.5rem;
  aspect-ratio: 16 / 9;
  border: none;
  /* box-shadow:
    0 8px 24px rgba(31, 38, 135, 0.5);
  transition: box-shadow 0.3s ease; */
}

iframe:hover {
  box-shadow:
    0 12px 40px rgba(63, 81, 181, 0.7);
}

/* Pagination styles */
#pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#pagination button {
  background-color:rgba(222, 177, 80);
  border: none;
  padding: 14px 18px;
  color: white;
  font-weight: 700;
  border-radius: 25%;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  user-select: none;
}

#pagination button:hover:not(:disabled) {
  background-color: #6573c3;
  transform: scale(1.15);
  box-shadow:
    0 10px 28px rgba(101, 115, 195, 0.9);
}

#pagination button:disabled {
  background-color: transparent;
  cursor: default;
  box-shadow: none;
  color: #666;
}

.searchbox {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto; /* center on page if needed */
}

.searchbox ion-icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 22px;
  color: #888;
  pointer-events: none;
}

/* Search input */
#ssss {
  width: 100%;
  padding: 10px 12px 10px 40px; /* padding-left for icon space */
  font-size: 16px;
  border-radius: 8px;
  outline: none;
  color: white;
}
#ageGate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #1e293b, #334155);
  /* Dark blue gradient */
  color: #f1f5f9;
  /* Light text */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem;
  text-align: center;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  line-height: 1.5;
  user-select: none;
  box-sizing: border-box;
  animation: fadeIn 0.5s ease forwards;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
  border-radius: 8px;
}

#ageGate h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fbbf24;
  /* Amber accent */
  text-shadow: 0 0 8px #fbbf24aa;
}

#ageGate p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  font-size: 1.125rem;
  color: #e0e7ff;
}

#ageGate button {
  margin: 0.5rem 1rem;
  padding: 0.75rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  /* Pill shape */
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(251, 191, 36, 0.3);
  color: #1e293b;
  background: #fbbf24;
  /* Amber button */
  user-select: none;
}

#ageGate button:hover,
#ageGate button:focus {
  background: #f59e0b;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  outline: none;
  transform: translateY(-2px);
}

#ageGate button:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

#ageGate button#exitBtn {
  background: transparent;
  color: #fbbf24;
  border: 2px solid #fbbf24;
  box-shadow: none;
}

#ageGate button#exitBtn:hover,
#ageGate button#exitBtn:focus {
  background: #fbbf24;
  color: #1e293b;
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
  transform: translateY(-2px);
}

/* Responsive styles for Age Gate on tablets and phones */
@media (max-width: 768px) {
  #logo {
    width: 130px;
  }
  #ageGate {
    padding: 2rem;
    border-radius: 0;
  }

  #ageGate h2 {
    font-size: 2.8rem;
  }

  #ageGate p {
    font-size: 2rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  #ageGate button {
    width: 100%;
    max-width: 280px;
    font-size: 2rem;
    padding: 0.65rem 1.5rem;
  }
  .searchbox ion-icon {
    left: 10px;
    font-size: 20px;
  }

  #ssss {
    font-size: 15px;
    padding: 10px 12px 10px 38px;
  }
}

/* Further adjustments for small mobile devices */

/* Responsive tweaks */
@media (max-width: 900px) {
  
  .navigation {
    height: auto;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.8rem;
  }

  #categories {
    justify-content: center;
    gap: 1.2rem;
    margin-left: 0;
    font-size: 1rem;
  }

  #cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding-bottom: 2rem;
  }

  #ssss {
    width: 90vw;
  }
  #ageGate {
    padding: 1rem;
    border-radius: 0;
  }

  #ageGate h2 {
    font-size: 1.8rem;
  }

  #ageGate p {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  #ageGate button {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
  }
  .searchbox {
    max-width: 90%;
  }

  .searchbox ion-icon {
    font-size: 20px;
    left: 8px;
  }

  #ssss {
    font-size: 14px;
    padding: 10px 12px 10px 36px;
  }
  #ageGate button#exitBtn {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #logo {
    width: 130px;
  }
  #categories {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  #listCategories {
    overflow-x: auto;
  }
  .searchbox ion-icon {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  font-size: 30px;
  color: #888;
  pointer-events: none;
}

  #ssss {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .card {
    max-width: 100%;
    padding: 1rem 1.2rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.85rem;
  }
  #ageGate {
    padding: 1rem;
    border-radius: 0;
  }

  #ageGate h2 {
    font-size: 1.8rem;
  }

  #ageGate p {
    font-size: 1rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  #ageGate button {
    width: 100%;
    max-width: 280px;
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
  }
  .searchbox {
    max-width: 90%;
  }

  .searchbox ion-icon {
    font-size: 20px;
    left: 8px;
  }

  #ssss {
    font-size: 14px;
    padding: 10px 12px 10px 36px;
  }
  #ageGate button#exitBtn {
    font-size: 1rem;
  }
}
#cats{
  font-size: 20px !important;
}
/* Preloader container */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  /* black background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid white;
  border-radius: 50%;
  background: url(image.png);
}

/* Spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Fade out class */
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Scrollbar styling for #listCategories */
/*#listCategories {*/
/*  display: flex;*/
/*  overflow-x: auto;*/
/*  white-space: nowrap;*/
/*  max-width: 100%;*/
/*  margin-top: 30px;*/
/*  padding-bottom: 20px;*/
/*  gap: 10px;*/
  /* Enable smooth scrolling on iOS */
/*  -webkit-overflow-scrolling: touch;*/
/*  scroll-snap-type: x mandatory;*/
/*  scrollbar-width: thin;*/
  /* Firefox fallback */
/*  scrollbar-color: #6573c3 transparent;*/
  /* Firefox fallback */
/*}*/

/*#listCategories li {*/
/*  flex: 0 0 auto;*/
/*  list-style: none;*/
/*  scroll-snap-align: start;*/
/*}*/

/* WebKit scrollbar styles */
/*#listCategories::-webkit-scrollbar {*/
/*  height: 8px;*/
/*  background: transparent;*/
/*}*/

/*#listCategories::-webkit-scrollbar-thumb {*/
/*  background: linear-gradient(180deg, #deb150, #b69959);*/
/*  border-radius: 10px;*/
/*  border: 2px solid transparent;*/
/*  background-clip: content-box;*/
/*  transition: background-color 0.3s ease;*/
/*}*/

/*#listCategories::-webkit-scrollbar-thumb:hover {*/
/*  background: linear-gradient(180deg, #deb150, #b69959);*/
/*}*/

/*#listCategories::-webkit-scrollbar-track {*/
/*  background: rgba(222, 177, 80, 0.5);*/
/*  border-radius: 10px;*/
/*}*/

/* Buttons inside list */
/*#listCategories .btn {*/
/*  padding: 8px 16px;*/
/*  border: none;*/
/*  background-color: transparent;*/
/*  color: white;*/
/*  border-radius: 5px;*/
/*  cursor: pointer;*/
/*  transition: background-color 0.2s ease, color 0.2s ease;*/
/*  font-size: 16px;*/
/*  user-select: none;*/
/*}*/

/* Active button style */
/*#listCategories .btn#active {*/
/*  background-color: rgb(222, 177, 80);*/
/*  color: black;*/
/*  font-weight: 700;*/
/*  font-size: 16px;*/
/*}*/

/* Optional: hover effect on buttons */
/*#listCategories .btn:hover:not(#active) {*/
/*  background-color: rgba(255, 255, 255, 0.1);*/
/*}*/

.categories {
  background: transparent !important;
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

html,
body {
  overflow-x: hidden;
}

.length{
    font-size: 28px;
    color: gray;
}
 
/* Hide other page content when age gate active */
body.ageGateActive>*:not(#ageGate) {
  display: none !important;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}


.spinnerz {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #333;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin2 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin2 {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.card-thumbnail{
  height: 200px;
}
a{
    text-decoration: none;
    color: white;
}

.listCategories {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%;
  margin-top: 30px;
  padding-bottom: 20px;
  gap: 10px;
  /* Enable smooth scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  /* Firefox fallback */
  scrollbar-color: #6573c3 transparent;
  /* Firefox fallback */
}
.listCategories li {
  flex: 0 0 auto;
  list-style: none;
  scroll-snap-align: start;
}

/* WebKit scrollbar styles */
.listCategories::-webkit-scrollbar {
  height: 8px;
  background: transparent;
}

.listCategories::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #deb150, #b69959);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background-color 0.3s ease;
}

.listCategories::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #deb150, #b69959);
}

.listCategories::-webkit-scrollbar-track {
  background: rgba(222, 177, 80, 0.5);
  border-radius: 10px;
}

/* Buttons inside list */
.listCategories .btn {
  padding: 8px 16px;
  border: none;
  background-color: transparent;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 16px;
  user-select: none;
}

/* Active button style */
.listCategories .btn#active {
  background-color: rgb(222, 177, 80);
  color: black;
  font-weight: 700;
  font-size: 16px;
}

/* Optional: hover effect on buttons */
.listCategories .btn:hover:not(#active) {
  background-color: rgba(255, 255, 255, 0.1);
}
.imagecat{
    object-fit: contain; /* scale image to fit without cropping */
  object-position: center; /* center the image */
  display: block;  
  width: 365px;
  height: 220px;
}
}
