*{margin:0;padding:0;box-sizing:border-box;}

body { font-family: "Chakra Petch", sans-serif; background:#f8f9fa;color:#222;line-height:1.6;}
 a{text-decoration:none;transition:0.3s;}
 header{background:linear-gradient(120deg,#2d6a4f,#40916c);color:#fff;text-align:center;padding:10px; }
header .sitetitle { font-family: "Chakra Petch", sans-serif;
  font-weight: 700; font-size:26px;margin-bottom:2px;}
header small{font-size:13px;color:#bff0d8;}

    .searchbox{ font-family: "Chakra Petch", sans-serif; text-align:center;margin:20px;}
    .searchbox input[type=text]{
      width:85%;max-width:480px;padding:12px;border:1px solid #bbb;
      border-radius:6px;font-size:15px; font-family: "Chakra Petch", sans-serif;
    }
    .searchbox input[type=submit]{
      margin-top:10px;padding:10px 20px;background:#2d6a4f;
      border:none;border-radius:6px;color:#fff;font-weight:bold;cursor:pointer; font-family: "Chakra Petch", sans-serif;
    }
    .searchbox input[type=submit]:hover{background:#1b4332;}

    .catTitle{
      background:#40916c;color:#fff;text-align:center;
      padding:10px;font-weight:bold;font-size:16px;margin:5px 0;border-radius:4px;
    }

    ul.list{list-style:none;padding:0;margin:0;}
    ul.list li{border-bottom:1px solid #e0e0e0;padding:10px 14px;font-size:14px;}
    ul.list li a{color:#2d6a4f;font-weight:600;  position: relative;}
    .purple{background:#6a0572;color:#fff;padding:2px 6px;border-radius:3px;font-size:12px;margin:0 5px;}
    .green{background:#2d6a4f;color:#fff;padding:3px 7px;border-radius:3px;font-size:12px;margin-left:8px;}


ul.list li.folder::before {
  content: "» ";
  color: #c0392b;
  font-weight: 700;
  margin-right: 6px;
  display: inline-block;
}

ul.list li.announcment::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px; 
  height: 18px;
  margin-right: 8px;
  background-image: url('./image/update.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


    .tags{margin:15px;padding:12px;background:#e9fbe7;border-left:4px solid #52b788;border-radius:4px;font-size:14px;color:#1b4332;}

    footer{background:#222;color:#ddd;text-align:center;padding:20px;margin-top:20px;font-size:13px;}
    footer a{color:#a8dadc;margin:0 6px;}
    footer a:hover{color:#fff;}

    @media(max-width:600px){
      .searchbox input[type=text]{width:95%;}
      ul.list li{font-size:13px;padding:8px;}
    }


.pagination {
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 2rem;
    font-weight: 600;
    font-size: 14px;
    user-select: none;
    border: 1px solid #dcdcdc;
    padding: 15px;
    border-radius: 4px;
}

    .pagination a,
    .pagination span {
      display: inline-block;
      padding: 4px;
      margin: 0 4px 5px 4px;
      border: 1px solid #2d6a4f;
      text-decoration: none;
      color: #2d6a4f;
      cursor: pointer;
      min-width: 26px;
      text-align: center;
      font-size: 13px;
      transition: background-color 0.3s, color 0.3s, border-color 0.3s;
      box-sizing: border-box;
    }

    .pagination a:hover {
      background-color: #2d6a4f;
      color: white;
      border-color: #2d6a4f;
    }

    .pagination .pagination_current {
      background-color: #2d6a4f;
      color: white;
      cursor: default;
      border: 1px solid #2d6a4f;
    }

    .pagination .pagination_last,
    .pagination .pagination_next {
      font-weight: bold;
      color: #2d6a4f;
    }

    @media (max-width: 480px) {
      .pagination a,
      .pagination span {
        padding: 4px;
        margin: 0 2px 4px 2px;
        font-size: 12px;
        min-width: 22px;
      }
    }


.announcements {
  background: #f5fef6;
  border: 1px solid #def0e1;
  border-radius: 2px;
  margin: 5px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(44,107,66,0.04);
}

.announcement-keywords {
  color: #416f4b;
  font-size: 15px;
  margin-bottom: 13px;
  line-height: 1.5;
  text-align: left;
}
.announcements h1, .announcements h2 {
  font-size: 19px;
  margin: 16px 0 6px 0;
  color: #238650;
  font-weight: 700;
  letter-spacing: 0.015em;
  text-align: left;
}
.announcement-desc {
  color: #36564c;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.announcement-about {
  background: #e9fbe7;
  border-left: 4px solid #52b788;
  border-radius: 4px;
  margin-top: 13px;
  padding: 13px 20px;
  color: #34542b;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
}
@media (max-width: 540px) {
  .announcements {
    padding: 12px 4px 10px 4px;
    border-radius: 6px;
  }
  .catTitle { font-size: 16px; }
  .announcements h1, .announcements h2 { font-size: 18px; }
  .announcement-keywords,
  .announcement-desc,
  .announcement-about { font-size: 14px; }
}


.domain-about {
    background: #e9fbe7;
    border-left: 4px solid #e71a5b;
    border-right: 4px solid #e71a5b;
    border-radius: 10px;
    margin: 5px 20px;
    padding: 16px 20px;
    color: #e71a5b;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.domain-name-main { color: #009688; font-weight: bold; }
.domain-name-alt1 { color: #237c3c; font-weight: bold; }
.domain-name-alt2 { color: #d42828; font-weight: bold; }

    .movie-container {
        margin: auto;
        border: 1px solid #d8d8d8;
        padding: 10px;
        background: #fff;
        text-align: center;
    }
    
    .poster {
        text-align: center;
        margin-bottom: 10px;
    }

    .poster img {
        max-width: 150px;
        height: auto;
        border-radius: 5px;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    }

    .movie-info {
        padding: 10px;
        border-top: 1px dashed #d8d8d8;
    }

    .movie-info div {
        margin-bottom: 5px;
    }

    .movie-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        text-align: center;
        margin-bottom: 10px;
    }

    .info-label {
        font-weight: bold;
        color: #000;
    }

.center{text-align:center;align-items:center}

.catList {
padding: 10px;
    border-top: 1px dashed #d8d8d8;
}


.catList h2 {
    color: #2a7d2e;
    font-size: 18px;
    margin-bottom: 10px;
}

.catList h2 a{
    color: #0000cc;
}

.screenshot img {
    display: block;
    margin: 10px auto;
    border-radius: 5px;
    max-width: 100%;
    height: auto;
}

.file-info {
    margin-top: 10px;
}

.file-info p {
    margin: 5px 0;
    font-size: 14px;
}

.download-btn {
    display: inline-block;
    padding: 8px 15px;
    margin-top: 10px;
    background: #e5267a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background: #0e060a;
}

.about-quality {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px 0;
}

.about-quality span {
  border: 1px solid #dcdcdc;
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 10px;
  color: #444;
  background-color: #f8f9fa;
  user-select: none;
  min-width: 60px;
  text-align: center;
}

/* Each span with a unique subtle color text and border - user-friendly soft colors */
.about-quality span:nth-child(1) {
  color: #2c7a7b;      /* soft teal */
  border-color: #b2f5ea;
  background-color: #e6fffa;
}
.about-quality span:nth-child(2) {
  color: #4a5568;      /* slate gray */
  border-color: #a0aec0;
  background-color: #f7fafc;
}
.about-quality span:nth-child(3) {
  color: #d69e2e;      /* warm amber */
  border-color: #f6e05e;
  background-color: #fffbea;
}
.about-quality span:nth-child(4) {
  color: #dd6b20;      /* soft orange */
  border-color: #fbd38d;
  background-color: #fff7ed;
}
.about-quality span:nth-child(5) {
  color: #3182ce;      /* gentle blue */
  border-color: #bee3f8;
  background-color: #ebf8ff;
}
.about-quality span:nth-child(6) {
  color: #38a169;      /* fresh green */
  border-color: #c6f6d5;
  background-color: #f0fff4;
}
.about-quality span:nth-child(7) {
  color: #6b46c1;      /* soft purple */
  border-color: #d6bcfa;
  background-color: #faf5ff;
}
.about-quality span:nth-child(8) {
  color: #e53e3e;      /* mild red */
  border-color: #fed7d7;
  background-color: #fff5f5;
}

.download-info__header {
  color: #2d6a4f;
  padding: 12px 0;
  border-bottom: 2px solid #2d6a4f;
  margin-bottom: 5px;
}

.download-info {
  border: 1px solid #dcecdc;
  border-radius: 4px;
  padding: 15px 25px;
  box-shadow: 0 3px 10px rgba(45, 106, 79, 0.1);
}

.download-info__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.download-info__cover img {
  width: 280px;
  height: auto;
  border-radius: 6px;
  border: 1px solid #c3d6c4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  object-fit: cover;
}

.download-info__detail {
  width: 90%;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid #bdd8bf;
}

.download-info__action {
  margin-top: 25px;
  width: 100%;
  text-align: center;
}

.download-info__button {
  background-color: #2d6a4f;
  color: white;
  padding: 12px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(45, 106, 79, 0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.download-info__button:hover,
.download-info__button:focus {
  background-color: #1f4d36;
  box-shadow: 0 6px 14px rgba(31, 77, 54, 0.6);
  outline: none;
  text-decoration: none;
}

@media (max-width: 520px) {
  .download-info {
    max-width: 95%;
    padding: 15px;
  }

  .download-info__content {
    gap: 14px;
  }

  .download-info__cover img {
    width: 100%;
    height: auto;
  }

  .download-info__detail {
    font-size: 14px;
    padding: 8px 10px;
  }

  .download-info__button {
    padding: 12px 20px;
    font-size: 14px;
  }
}
