body {
  font-family: 'Bai Jamjuree', sans-serif;
  background-image: url('images/background.jpg');
  background-attachment: fixed;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  color: #ffffff;
}

:root {
  --black-color: #000000;
}

html {
  display: block;
}

*,
::after,
::before {
  box-sizing: border-box;
}

header {
  background: #FFEC411A;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  border-radius: 0px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0px 2px 20px 0px #020202;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #FFEC41;
}

.color-title {
  color: #F0BD14;
}

.category-title h1 {
  font-weight: 600;
  font-size: 28px;
  line-height: 40px;
  letter-spacing: 0%;
  text-align: center;
}

.section-18 {
  margin: 0 auto;
  max-width: 340px;
}

.title-18 {
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 600;
  font-size: 24px;
  /* line-height: 100%; */
  letter-spacing: 0;
  text-align: center;
  color: #FFEC41;
  margin: 10px 0;
}

.para-18 {
  font-family: Bai Jamjuree;
  font-weight: 400;
  font-size: 18px;
  /* line-height: 100%; */
  text-align: center;
  line-height: 30px;
  margin: 10px 0;

}

ul.quiz-list {
  padding-left: 25px;
}

li.quiz-list-item {
  font-family: Bai Jamjuree;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.quiz-container .quiz-title-h4 {
  color: #ffde59;
  margin: 0px;
  font-family: Bai Jamjuree;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
}

.container {
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  background: #141414;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.margin-top-30 {
  margin-top: 30px;
}

h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  color: #ffffff;
  text-align: center;
}

.movie-button button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding-top: 23px;
  padding-bottom: 22px;
  border-radius: 20px;
  border: 1px solid #F0BD14;
  background: #000000;
  cursor: pointer;
  font-family: Bai Jamjuree;
  font-size: 20px;
  line-height: 100%;
  text-align: center;

}

.quiz-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: Bai Jamjuree;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
}

.quiz-container .quiz-box {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 10px 0 20px 0;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin-top: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.quiz-container .quiz-title {
  color: #ffde59;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0%;
  margin: 0px;
}

.quiz-container .quiz-box p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0px;
}

.quiz-container .quiz-cta {
  color: #ccc;
}

.quiz-container .highlight {
  color: #ffde59;
  cursor: pointer;
}

.quiz-container p {
  font-size: 14px;
  line-height: 25px;
}

#banner-ad.ads-box {
  width: 100%;
  height: auto;
  border: 2px dashed #434343;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  margin: 15px auto;
  border-radius: 8px;
  overflow: hidden;
  padding: 25px 10px;
  justify-content: center;
  display: flex;
}

.quiz-container .quiz-box {
  padding-left: 10px;
  padding-right: 10px;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.radio-option {
  position: relative;
  padding: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(#000, #000) padding-box,
    /* Inner background (can change) */
    linear-gradient(91.04deg, #d8d6c7 0%, #3F390B 100%) border-box;
  /* Border gradient */
  border: 1px solid transparent;
}



.radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  height: 30px;
  width: 30px;
  border: 2px solid #ffde59;
  border-radius: 50%;
  outline: none;
  background-color: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.radio-option input[type="radio"]:checked {
  background-color: #ffde59;
}

.radio-option input[type="radio"]::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #1a1919;
  display: none;
}

.radio-option input[type="radio"]:checked::before {
  display: block;
}

.radio-option input[type="radio"]:checked~label {
  border-color: #ffde59;
}

.radio-option.active,
.radio-option:hover {
  border: 2px solid #ffde59;
}

p.para-18.verify-para {
  max-width: 191px;
  margin: 0 auto;
}

.robo-verification-container .captcha-box {
  color: #fff;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  line-height: 100%;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(#000, #000) padding-box,
    /* Inner background (can change) */
    linear-gradient(91.04deg, #FFEC41 0%, #3F390B 100%) border-box;
  border: 2px solid transparent;
  padding: 15px 15px;
}

.robo-verification-container .captcha-box h3 {
  font-size: 14px;
  margin-bottom: 20px;
}

.robo-verification-container .captcha-box img {
  width: auto;
  max-width: 60px;
}

.robo-verification-container .robo-verification-container .checkbox-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.robo-verification-container .checkbox-group input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid yellow;
  border-radius: 4px;
  margin-right: 10px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
}

.robo-verification-container .checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid yellow;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-group label {
  font-size: 13px;
}

.robo-verification-container {
  text-align: center;
}

.captcha-box .checkbox-group {
  display: flex;
  align-items: center;
}

.robo-verification-container .verify-button {
  background-color: #ffc107;
  color: #000;
  border: none;
  padding: 15px;
  border-radius: 20px;
  width: 50%;
  font-weight: 600;
  cursor: pointer;
  font-size: 21px;
  line-height: 26px;
}

.robo-verification-container .verify-button:hover {
  background-color: #ffca2c;
}

.movie-title.margin-top-30 {
  margin-bottom: 25px;
}

.category-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: auto;
}

.category-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 10px;
}

.category-item img {
  max-width: 100%;
  height: auto;
  display: block;
}

.category-label {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  line-height: 23px;
  color: white;
  font-size: 14px;
  text-shadow: 1px 1px 2px #000;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  width: auto;
  height: auto;
  padding: 5px;
}

.category-description {
  color: #fff;
  background-color: #111;
  border: 1px solid #333;
  padding: 15px;
  margin-top: 30px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.category-description h3 {
  margin-bottom: 10px;
  color: #ffc107;
}

.category-description ul {
  list-style-type: none;
  padding: 0;
}

.category-description li {
  margin-bottom: 8px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

.movie-card {
  background-color: #111;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease;
}

.movie-card.active {
  border: 2px solid #00aaff;
}

.movie-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.movie-title {
  color: white;
  font-size: 14px;
  padding: 8px 5px;
}

.radio-option.active,
.radio-option:hover {
  animation: fullButtonPulse 1.5s ease-in-out infinite;
  color: #ffffff;
  font-weight: 600;
}

/* Hover Effect */
.movie-button button:hover,
.movie-button button,
/* .radio-option.active, */
/* .radio-option:hover, */
.verify-button,
.category-item:first-child,
.category-item:hover,
.movie-card:hover,
.movie-card:first-child {
  animation: fullButtonPulse 1.5s ease-in-out infinite;
  color: #000000;
  font-weight: 600;

}

@keyframes fullButtonPulse {
  0% {
    transform: scale(1);
    background-color: #ebe97e;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
  }

  50% {
    transform: scale(1.05);
    background-color: #FFE62C;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 12px rgba(255, 182, 193, 0.3);
  }

  100% {
    transform: scale(1);
    background-color: #fce26f;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.2);
  }
}

.captcha-box img {

  animation: rotateCaptcha 2s linear infinite;

}

@keyframes rotateCaptcha {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* End */
/* Popup Ads */

/**/
#popup-container {
  position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 500px;
    height: auto;
    background-color: rgba(0, 0, 0, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

#popup-content {
    position: relative;
    border: 1px solid #fbe2e24a;
    padding: 20px 5px;
    border-radius: 12px;
    /* max-width: max-content; */
    width: 100%;
    text-align: center;
    color: #fff;
    margin: 0 10px;
    overflow: auto;
    padding-top: 3px;
}
#popup-content {
    border: 1px solid #fff;
  
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: auto;
    color: #fff;
}
.close-btn-wrp {
    display: flex
;
    align-items: center;
    justify-content: space-between;
    /* margin: 2px; */
    margin-left: 4px;
    margin-right: 4px;
    margin-bottom: 5px;
}
#close-popup {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: #f44336;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
#ads-txt-pop-up {
    pointer-events: all;
    font-size: 14px;
    font-weight: 600;
    background: transparent;
    color: #fff;
}

@media (max-width: 400px) {
    #popup-content {
        height: 300px;
    }
}
@media (max-width: 768px) {
    #popup-content {
        position: relative;
        border: 1px solid #fbe2e24a;
        padding: 20px 0px !important;
        border-radius: 12px;
        max-width: 100% !important;
        width: 100% !important;
        text-align: center;
        color: #fff;
       
        padding-top: 3px;
        height: auto !important;
        margin: 0px !important;
    }
}
@media (max-width: 600px) {
  .movie-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  body .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }

  .category-list {
    gap: 2px;
  }
}

@media screen and (max-width: 480px) {
  #banner-ad.ads-box {
    width: 100%;
    height: auto;
    padding: 15px 0;
  }
}