/* CSS Variables for Theme */
:root {
  /* Light Mode Colors */
  --bg-color-light: #ffffff;
  --text-color-light: #333;
  --secondary-color-light: #666;
  --nav-light: #f7f8fa;
  --footer-shadow-light: 0 -4px 6px rgba(0, 0, 0, 0.1);
  --button-bg-light: #333;
  --button-text-light: #f7f7f7;

  --bg1-light: #ffffff;
  --text1-light: #000;
  --bg2-light: #e6e7eb;
  --text2-light: #000;

  /* Dark Mode Colors */
  --bg-color-dark: #121212;
  --text-color-dark: #ffffff;
  --secondary-color-dark: #cccccc;
  --nav-dark: #1a1a1a;
  --footer-shadow-dark: 0 -4px 6px rgba(255, 255, 255, 0.1);
  --button-bg-dark: #ffffff;
  --button-text-dark: #333;

  --bg1-dark: #121212;
  --text1-dark: #fff;
  --bg2-dark: #1a1a1a;
  --text2-dark: #fff;

  /* Default to Light Mode */
  --bg-color: var(--bg-color-light);
  --text-color: var(--text-color-light);
  --secondary-color: var(--secondary-color-light);
  --nav: var(--nav-light);
  --footer-shadow: var(--footer-shadow-light);
  --button-bg: var(--button-bg-light);
  --button-text: var(--button-text-light);

  --bg1: var(--bg1-light);
  --text1: var(--text1-light);
  --bg2: var(--bg2-light);
  --text2: var(--text2-light);
}

/* Dark Mode Override */
:root.dark-mode {
  --bg-color: var(--bg-color-dark);
  --text-color: var(--text-color-dark);
  --secondary-color: var(--secondary-color-dark);
  --nav: var(--nav-dark);
  --footer-shadow: var(--footer-shadow-dark);
  --button-bg: var(--button-bg-dark);
  --button-text: var(--button-text-dark);

  --bg1: var(--bg1-dark);
  --text1: var(--text1-dark);
  --bg2: var(--bg2-dark);
  --text2: var(--text2-dark);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header Styles */
.nav_inner {
  border-top: 1px solid var(--bg1);
  background-color: var(--nav);
  height: 70px;
}

.nav_bottom {
  scrollbar-gutter: stable; /* Reserves scrollbar space without shifting layout */
  overflow-x: auto;
  display: flex;
  align-items: center;
  gap: 1em;
  margin: auto;
  max-width: 1400px;
  padding: 10px 5px;

  /* Hide scrollbar by default */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.nav_bottom::-webkit-scrollbar {
  display: none; /* Hide for Chrome, Safari, Opera */
}

/* Scrollbar styles on hover */
.nav_bottom:hover {
  scrollbar-width: thin;
  -ms-overflow-style: thin;
}

.nav_bottom:hover::-webkit-scrollbar {
  display: block;
  width: 6px;
  height: 6px;
}

.nav_bottom:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.nav_bottom:hover::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.1);
}

.nav_bottom a {
  word-wrap: break-word;
  white-space: nowrap;
}

.nav {
  background-color: var(--nav);
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0px;
  height: 75px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
   align-items: center;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 30px;
  color: var(--text-color);
}

/* Mobile Menu Styles */
.mobile-menu-icon {
  display: none;
  cursor: pointer;
  position: relative;
  width: 25px;
  height: 20px;
}

.mobile-menu-icon span {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  left: 0;
  transition: 0.4s;
}

.mobile-menu-icon span:nth-child(1) {
  top: 0;
}

.mobile-menu-icon span:nth-child(2) {
  top: 8px;
}

.mobile-menu-icon span:nth-child(3) {
  top: 16px;
}

/* Close Icon Styles */
.mobile-menu-icon.active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.mobile-menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-icon.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.search form {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cta-button {
  width: 50px;
  height: 40px;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s;
}

.search-input {
  height: 40px;
  padding: 0px 10px;
  width: 300px;
  border-radius: 5px;
  border: 1px solid var(--button-bg);
}

.genderlinks{
    display: flex;
  align-items: center;
   
  gap: 1em; 
}
 
 
 .genderlinks a{
     border: 1px solid var(--button-bg);
     border-radius: 50%;
      aspect-ratio: 1 / 1;
      width:40px;
      display: flex;
align-items: center;
justify-content: center;
}
 
 
@media (max-width: 1100px) {
    .search-input {
  
  width: 150px;
   
}
}

.cta-button:hover {
  
   background-color: #5a46ff;
   color:#fff;
}

.isflex {
  display: flex;
  align-items: center;
  justify-content:space-between ;
  padding-right:10px;
  gap: 1em;
}

.likes {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #007bff;
}

.views {
  display: flex;
  align-items: center;
  gap: 2px;
}

.list_tags {
  display: flex;
  overflow: hidden;
  height: 20px;
  gap: 10px;
}

.list_tags a {
  display: flex;
  text-decoration: none;
  font-size: 13px;
}

.list_title {
  font-weight: 600;
   display: flex;
   align-items: center;
   gap:2px;
}

.item_title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item a {
  color: var(--text-color);
  text-decoration: none;
}

.image_container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 10px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.quality {
  font-size: 13px;
  background-color: #ffdd00;
  color: #000;
  padding: 1px 2px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.duration {
  font-size: 13px;
  background-color: #000;
  color: #fff;
  padding: 1px 2px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer Styles */
.footer {
  margin-top: 1em;
  padding: 20px;
  background-color: var(--nav);
  color: var(--text-color);
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px 10px;
}

.related_items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px 10px;
}

.image {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
   background-color: var(--bg2);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  list-style-type: none;
  padding: 0;
}

.pagination a,
.pagination button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px; /* Uniform height */
  margin: 0 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: #5a46ff;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 4px;
  cursor: pointer;
}

.pagination a:hover,
.pagination a:focus {
  background-color: #f1f1f1;
  border-color: #5a46ff;
}

.pagination button {
  color: #ffffff;
  background-color: #5a46ff;
  border: 1px solid #5a46ff;
  cursor: default;
}

.pagination button:disabled {
  color: #999999;
  background-color: #f9f9f9;
  border-color: #dddddd;
  cursor: not-allowed;
  height: 40px; /* Match height */
}

/* Different styles for previous and next buttons */
.pagination a.prev,
.pagination a.next {
  background-color: #ffffff;
  color: #5a46ff;
  font-size: 16px;
  font-weight: bold;
  width: 50px; /* Slightly wider */
}

.pagination a.prev:hover,
.pagination a.next:hover {
  background-color: #5a46ff;
  color: #ffffff;
}

.pagination a svg,
.pagination button svg {
  vertical-align: middle;
}

.flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-block: 0.8em;
}

.list_item {
  display: inline-block;
  font-size: 15px;
  background: var(--bg2);
  color: var(--text2);
  padding: 0 8px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
}

.nav_bottom .list_item {
  background: var(--bg1);
}


.list_item:hover{
    background:#5a46ff;
    color:#fff;
}
.container,
.header {
  max-width: 1400px;
  margin: auto;
}


.container, .header {
 
  margin: auto;
  padding:15px;
}

/* Base responsive layout */
.article {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.main {
  flex: 1;
  width: 100%;
}

.sidebar {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 310px;
}

.list a,
.sticky_list a {
  display: block;
  text-decoration: none;
  color: var(--text1);
  background-color: var(--bg1);
  padding: 5px 10px;
  border-radius: 5px;
  margin: 1px 0px;
}

.list a:nth-child(odd),
.sticky_list a:nth-child(odd) {
  background-color: var(--bg2);
  color: var(--text2);
}



.list a:hover,
.sticky_list a:hover {
   
  color: #5a46ff;
   
}

.sidebar_title {
  font-weight: 600;
  background-color: #caccd1;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  margin-top: 1em;
}

.list,
.sticky_list {
  width: 100%;
}

.sticky_list {
  position: sticky;
  top: 1rem;
}

/* Tablet and Desktop Breakpoint */
@media screen and (min-width: 768px) {
  .article {
    flex-direction: row;
  }

  .main {
    flex: 3;
  }

  .sidebar {
    flex: 1;
  }
}

.search-toggle {
  display: none;
}

.logo img {
  width: 180px;
}



.view_list{
    display: flex; 
    justify-content: space-between;
     align-items: center;
     gap:5px;
     background: var(--bg2);
      padding: 10px;
  border-radius: 5px;
  flex-wrap:wrap;
}

.view_list svg{
   width:20px;
   height:20px;
}

/* Shared styles */
.view_1, .view_2, .view_3, .view_4 {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
}

/* Different backgrounds */
.view_1 {
    background: #ff4c4c; /* Red */
}

.view_2 {
    background: #4caf50; /* Green */
}

.view_3 {
    background: #2196f3; /* Blue */
}

.view_4 {
    background: #fbb034; /* Yellow */
}


.groupBox {

    display: flex;
    
     gap:1em;
     width:100%;
     flex-grow: 1;
     margin-bottom:2em;
  }
  

.group {

    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg2);
    color: var(--text2);
    aspect-ratio: 1/1;
    width: 50px;
   height: 50px;
    border-radius: 10px;
    margin-top:8px;
  }








.ish1{
    font-size:20px;
     display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}





/* Responsive Design */
@media screen and (max-width: 768px) {
  


    /* Shared styles */
.view_1, .view_2, .view_3, .view_4 {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 5px;
    border-radius: 5px;
    color: #fff;
    font-size:14px;
}


.view_list svg{
   width:15px;
   height:15px;
}
    
    .container, .header {
 
  margin: auto;
  padding:1px;
}



  .logo img {
    width: 150px;
  }

  .search-toggle {
    background: none;
    border: none;
    margin-left: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    color: var(--text-color);

    aspect-ratio: 1/1;
    width: 32px;
    border-radius: 50%;
  }

  .search-input {
    width: 100%;
  }

  .search {
    display: none;
  }
  .sidebar {
    display: none;
  }

  .container {
    margin: 0px 10px;
  }
  .header {
    position: relative;

    padding: 10px 15px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .mobile-menu-icon {
    display: block;
  }

  .logo {
    margin: 0 auto;
  }

  .header {
    justify-content: space-between;
  }

  .theme-toggle {
    order: 3;
    font-size: 30px;
  }

  .search-toggle {
    order: 4;
  }
}

.copyright{
    text-align:center;
      border-top: 1px solid var(--bg1);
      padding:15px 2px 0px 2px ;
      margin-top:10px;
}


.footercontainer {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

 .three{
     	display: flex;
    justify-content: end;
 }
 
 .two .links{
     display: flex;
	flex-wrap: wrap;
	justify-content: space-between ;
	align-items: center;
	align-content: center; 
    gap: 10px;
 }
 
 .links a{
     text-decoration:none;
     color:var(--text-color);
 }
 
  .links a:hover{
     text-decoration:none;
     color:#5a46ff;
 }

/* Desktop styles */
@media (min-width: 769px) {
    .footercontainer {
        flex-wrap: nowrap;
    }

    .one, .three {
        flex: 1;
    }

    .two {
        flex: 2;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .one, .three {
        flex: 0 0 calc(50% - 10px);
    }

    .two {
        flex: 0 0 100%;
        order: 1;
    }
}


.page ul{
  list-style-position: inside;
}

.page_404 {
    text-align:center;
    margin-block:2em;
}


.responsive-iframe {
    position: relative;
     background-color: #000;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.responsive-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.sidebar3{
    display:flex;
    align-items:center;
    gap:5px;
     justify-content: space-between;
}


.sidebar3 a{
    display:flex;
    align-items:center;
    flex-direction: column ;
    justify-content: center;
    text-align:center;
    gap:5px;
    border-radius: 5px;
    background:var(--nav);
    padding:5px;
    color:var(--text2);
    text-decoration:none;
    font-size:13px;
}


.sidebar3 a:hover{
    background:#5a46ff;
    color:#fff;
}

.navslide{
    padding:8px 10px;
    font-size:17px;
}

.navslide_active{
       padding:8px 10px;
    font-size:17px;
    background-color:red !important;
    color:#fff;
}


.sidebarViewAll{
    display: flex;
align-items: center;
justify-content: center;
margin-top:0.5em;margin-bottom:2em;
}

.sidebarViewAll a{
     padding:8px 10px;
    font-size:17px;
    background-color:#5a46ff !important;
    color:#fff !important;
    display: flex;
align-items: center;
justify-content: center;
text-align:center;
width:150px;
}

.articles h1{
     display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom:1em;
}

.description{
    margin-block:1em;
}

.chlistbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap:15px;
    flex-wrap: wrap
}

.chlistbox .list_item{
    padding:6px 0px;
    line-height:28px;
}


.chlistbox a {
    min-width:150px;
    max-width:150px;
    text-align:center;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}