/* Custom 6-column layout */
.product__item__text .adl a:hover{
  color: grey !important;
}
.col-6th {
  width: 16.66%; /* 100% / 6 = 16.66% */
  float: left;
  padding: 15px;
  box-sizing: border-box;
}

/* Responsive fallback */
@media (max-width: 1199.98px) {
  .col-6th { width: 25%; }  /* 4 per row */
}

@media (max-width: 991.98px) {
  .col-6th { width: 33.33%; }       /* 3 per row */
}

@media (max-width: 767.98px) {
  .col-6th { width: 50%; }       /* 2 per row */
}

@media (max-width: 575.98px) {
  .col-6th { width: 100%; }      /* 1 per row */
}
.product__item__pic {
  height: 220px; /* reduce this value as needed */
  background-size: cover; /* keep image aspect */
  background-position: center center;
}
.timestamp {
  display: inline-block;
  font-size: 11px;
  color: #bbb;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 5px;
}

/* Center the button container on the page */
/* Center the button container on the page */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Remove full height */
  height: auto; 
  margin-top: 20px; /* Adjust as needed */
  margin-bottom: 20px; /* Optional spacing below */
}

/* Boxy button */
.load-more-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 14px 30px;
  border-radius: 4px; /* small border radius for slightly rounded corners */
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 117, 252, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

/* Arrow styling */
.load-more-btn .arrow {
  margin-left: 10px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

/* Hover effect */
.load-more-btn:hover {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
  transform: translateY(-3px);
}

.load-more-btn:hover .arrow {
  transform: translateX(5px);
}
/* search bar */
.header{
  padding: .8rem !important;
}
.header__logo {
  flex: 0 0 160px; /* a bit bigger width */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px; /* tiny gap */
  
 /* background-color: rgb(90, 89, 89); */
  padding: 1px 0;
  border-radius: 8px; /* rounded corners */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* subtle shadow */
}

.header__logo img {
  max-height: 90px; /* slightly bigger logo */
  width: auto;
  display: block;
  object-fit: contain;
}

.header__search {
  flex: 1; /* take all remaining space */
  display: flex;
  align-items: center;
}

.search-form {
  display: flex;
  width: 100%;
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.search-form input[type="text"] {
  flex-grow: 1;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  outline: none;
  background: transparent;
  min-width: 0;
}

.search-form button {
  background: #0b0c2a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
}

.search-form button i {
  font-size: 18px;
}

/* Responsive: keep logo and search on one line */
@media (max-width: 767.98px) {
  .header__logo {
    flex: 0 0 140px; /* bigger on mobile but smaller than desktop */
    margin-right: 6px;
  }

  .header__logo img {
    max-height: 55px; /* smaller logo on mobile */
  }

  .header__search {
    flex: 1;
  }

  /* Hide input text on small screen, keep search icon only */
  .search-form input[type="text"] {
    display: none;
  }

  .search-form button {
    padding: 12px 16px;
    gap: 0;
  }

  .search-text {
    display: none;
  }
}

/* genre */
/* Container for the whole genre item */
li > span {
  font-weight: 600;
  margin-right: 12px;
  color: #eee;
}

/* Remove default list styles and make horizontal */
.anime__details__title > ul {
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

/* Style each genre link box */
.anime__details__title > ul > li > a {
  display: inline-block;
  padding: 6px 14px;
  background-color: #2c2c2c;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
}

.anime__details__title > ul > li > a:hover {
  background-color: #6a11cb;
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.6);
}
/* trailers */
.trailers {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px; /* optional for nicer corners */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-bottom: 4rem;
}

.trailers iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* seasons */
.season-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0;
}

.season-label {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding-top: 6px; /* Align to first row of boxes */
}

.season-list-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;  /* horizontal space */
  row-gap: 10px;     /* vertical space */
}

.season-box {
  background-color: #444;
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.season-box:hover {
  background-color: #6a11cb;
}
/* EPISODES */
.episode-section {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 20px 0;
  margin-bottom: 4rem;
}

.episode-label {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  padding-top: 6px; /* aligns with first row of episode boxes */
}

.episode-list-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
}

.episode-box {
  background-color: #444;
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.episode-box:hover {
  background-color: #6a11cb;
}
.season-label,
.episode-label {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  width: 80px; /* Ensures both labels align */
  padding-top: 6px;
  flex-shrink: 0;
}
/* ep t */
.meta-grid {
  padding-left: 40px; /* adjust as needed */
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 12px;
  row-gap: 8px;
  font-size: 19px;
  color: #ddd;
  align-items: center;
}

.meta-grid .label {
  font-weight: 600;
  color: #fff;
  text-align: right; /* Align labels right for cleaner separation */
  white-space: nowrap; /* Prevent label wrapping */
}

.meta-grid .value {
  /* value styles if needed */
}
.latest-ep {
    margin-bottom: 2rem;
}
.downloads-s{
    margin-bottom: 3rem;
}
@media (max-width: 540px) {
  .season-section,
  .episode-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .season-label,
  .episode-label {
    padding-top: 0;
  }

  .season-list-wrap,
  .episode-list-wrap {
    margin-left: 0;
  }
}
/* DOWNLOAD BTNS */
.video-section, .subtitle-section {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  /* padding-left: 40px; */
}

.video-label, .subtitle {
  display: inline-block;
  width: 120px; /* fixed width to align labels */
  font-weight: 600;
  color: #eee;
  font-size: 16px;
  padding-right: 20px; /* consistent gap */
  white-space: nowrap;
}

.video-button-wrap, .subtitle-button-wrap {
  display: flex;
  align-items: center;
}

.download-btn {
  background: #444;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 6px;
  box-shadow: #444;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  height: 45px;
  line-height: 21px;
}

.download-btn i {
  margin-right: 10px;
  font-size: 20px;
}

.download-btn:hover {
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  box-shadow: 0 6px 20px rgba(101, 51, 255, 0.6);
}
.subtitle-section{
  margin-bottom: 3rem;
}
/* COMMENT FORM */
.comment-form {
  width: 100%;  /* fill parent width */
  padding: 15px 20px;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: transparent; /* no background */
}

.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 1.8px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.3s ease;
  color: #333;
  background-color: #fff;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
  border-color: #6a11cb;
  outline: none;
}

.comment-form button {
  background: #444; /* darker blues/purples */
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: #444;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  display: block;
}

.comment-form button:hover {
  background: linear-gradient(45deg, #4b0f81, #1a3fb8); /* reverse gradient on hover */
  box-shadow: 0 7px 20px rgba(75, 15, 129, 0.8);
}

/* COMMENT REPLY */
.comments-section {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ddd;
}

.comment {
  background: #2e2e2e; /* darker background */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4);
  position: relative;
  color: #eee;
}

.comment.reply {
  margin-left: 40px;
  background: #393939; /* slightly lighter than main comment */
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #bbb;
}

.comment-username {
  color: #69a1ff;
}

.comment-date {
  color: #888;
  font-style: italic;
}

.comment-text {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #eee;
}

.reply-btn {
  background: transparent;
  color: #bbb; /* lighter gray text */
  border: none;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700; /* bolder */
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Add curved arrow before Reply text */
.reply-btn::before {
  content: '↷'; /* Unicode curved arrow */
  font-weight: 700;
  font-size: 18px;
  color: #69a1ff;
  transform: rotate(-20deg);
  display: inline-block;
}

.reply-btn:hover {
  color: #69a1ff;
}
/* Recommend */
.card-tab-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 10px;
  margin-bottom: 2rem;
}

.card-tab {
  /* background-color: #1e1e1e; */
  border-radius: 2px;
  overflow: hidden;
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.4); */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto; /* Allow height to grow */
}

.card-tab:hover {
  transform: translateY(-4px);
  background-color: #1e1e1e;
}

.card-tab img {
  width: 100%;
  height: 190px; /* Increased image height */
  object-fit: cover;
  flex-shrink: 0;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.card-content {
  padding: 6px 8px; /* Reduced padding */
  flex: 1;
  overflow: hidden;
}

.card-content h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #69a1ff;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.card-content p {
  margin: 0;
  font-size: 12px;
  color: #aaa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* small recommend date */
.card-content small {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  color: #ccc;
  opacity: 0.8;
}

.card-content small i {
  margin-right: 3px;
  color: #aaa;
  font-size: 11px;
}
.card-content h4 a {
  color: #69a1ff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.card-content h4 a:hover {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 992px) {
  .card-tab-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .card-tab-container {
    grid-template-columns: 1fr;
  }
}



/* footer */
.footer {
    background-color: #111;
    padding: 15px 0;
    color: #bbb;
    font-size: 0.9rem;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer__logo img {
    max-height: 40px;
}

.footer__copy a {
    color: #bbb;
    text-decoration: underline;
}

.footer__copy a:hover {
    color: #fff;
}

/* .page-up {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
} */

.page-up a {
    background-color: #ff4b2b;
    color: white;
    padding: 10px 12px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s;
}

.page-up a:hover {
    background-color: #e63c1a;
}
/* ✅ Media query to center on small screens */
@media (max-width: 576px) {
    .footer__content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .footer__copy {
        text-align: center;
    }
}

/* quick links */
.link-group-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
  margin-bottom: 2rem;
}

.group-link {
  display: inline-block;
  background-color: #1e1e1e;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.group-link:hover {
  background-color: #69a1ff;
  color: #fff;
}

/* hover genre a */
.product__item__text h5 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s, text-decoration 0.3s;
}

.product__item__text h5 a:hover {
    color: grey; /* Change to your desired hover color */
    /* text-decoration: underline; */
}
/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;      /* Optional: vertically center items */
    gap: 10px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 12px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.pagination button:hover {
    background-color: #0056b3;
}

.pagination button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}
/* japan */
.country-box {
    border: 1px solid rgb(59, 59, 59) !important;
    padding: .7px 10px;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    /* margin-left: 5px; */
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s;
    background-color: transparent;
}

.country-box:hover {
    background-color: #e0e0e0;
    color: grey;
}

.country-box img {
    height: 16px;
}
/* banner */
.social-banner-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.social-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 300px;
    max-width: 400px;
}

.social-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.telegram-banner {
    background-color: #0088cc;
}

.whatsapp-banner {
    background-color: #25D366;
}

.social-banner i {
    font-size: 1.5rem;
}
/* banner for in ads */
.advert__box {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.advert__box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.advert__pic {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.advert__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff4b2b;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
}

.advert__text {
    padding: 16px;
}

.advert__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.advert__subtitle {
    color: #666;
    font-size: 0.9rem;
}

/* comment latest */
.comment {
  background: #222;
  color: white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}
.comment.reply {
  margin-left: 30px;
  background: #333;
}
.comment-header {
  font-weight: bold;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}
.comment-text {
  margin-bottom: 5px;
}
.vote-btn {
  background: #444;
  border: none;
  color: white;
  margin-right: 5px;
  cursor: pointer;
  border-radius: 3px;
  padding: 3px 6px;
}
.reply-btn {
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
  margin-top: 5px;
  font-size: 0.9em;
}
.form-com input, .form-com textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 6px;
  border-radius: 4px;
  border: 1px solid #555;
  background: #111;
  color: white;
}
.form-com button {
  background: #444;
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
}
/* commmmm new */
/* Main container for comments */
/* General Comment Container */
/* Base Comment Box */
/* Root Comment Container */
/* Main Comment Container */
/* Main comment container */
/* Main comment block */
/* Comment container */
/* Container for all comments */
/* Container holding all comments */
.comment {
  background-color: #1f1f1f;
  color: #f0f0f0;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.7);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.comment.reply {
  margin-left: 40px;
  background-color: #292929;
}

.comment-header {
  font-weight: 600;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #ddd;
}

.comment p {
  margin: 8px 0 16px;
  font-size: 15px;
  line-height: 1.4;
  color: #ddd;
}

button.reply-btn {
  background-color: transparent;
  border: none;
  color: #5b8def;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

button.reply-btn:hover {
  background-color: #5b8def33;
}

button.vote-btn {
  background-color: #333;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-weight: 600;
  padding: 6px 14px;
  margin-left: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
}

button.vote-btn[data-type="like"]:hover {
  background-color: #3a7bd5;
  color: white;
}

button.vote-btn[data-type="dislike"]:hover {
  background-color: #d33a3a;
  color: white;
}

.reply-form {
  margin-top: 12px;
  display: none; /* Hidden by default, toggled by JS */
}

.reply-form input[type="text"],
.reply-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  resize: vertical;
  margin-bottom: 8px;
  font-size: 14px;
  background-color: #2a2a2a;
  color: white;
  box-sizing: border-box;
}

.reply-form input[type="text"]::placeholder,
.reply-form textarea::placeholder {
  color: #888;
}

.reply-submit,
.reply-cancel {
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}

.reply-submit {
  background-color: #3a7bd5;
  color: white;
}

.reply-submit:hover {
  background-color: #2b61b8;
}

.reply-cancel {
  background-color: #555;
  color: #ccc;
}

.reply-cancel:hover {
  background-color: #777;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .comment {
    padding: 12px 14px;
  }
  button.vote-btn {
    margin-left: 4px;
    padding: 6px 10px;
    font-size: 13px;
  }
  button.reply-btn {
    padding: 5px 10px;
    font-size: 13px;
  }
}


/* ff */









