.page-prediction-tools-tutorials {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

.page-prediction-tools-tutorials__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-prediction-tools-tutorials__hero-section {
  position: relative;
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-prediction-tools-tutorials__hero-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin-top: 40px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-prediction-tools-tutorials__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-prediction-tools-tutorials__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.8;
}

.page-prediction-tools-tutorials__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.page-prediction-tools-tutorials__btn-primary,
.page-prediction-tools-tutorials__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-prediction-tools-tutorials__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-prediction-tools-tutorials__btn-primary:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-prediction-tools-tutorials__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border: 2px solid #017439;
}

.page-prediction-tools-tutorials__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-prediction-tools-tutorials__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-prediction-tools-tutorials__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #C30808;
  border-radius: 2px;
}

.page-prediction-tools-tutorials__section-title--white {
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__section-title--white::after {
  background-color: #FFFF00;
}

.page-prediction-tools-tutorials__content-section {
  padding: 60px 0;
}

.page-prediction-tools-tutorials__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-prediction-tools-tutorials__dark-bg {
  background-color: #017439;
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-prediction-tools-tutorials__text-block--white {
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__text-block a {
  color: #C30808;
  text-decoration: underline;
}

.page-prediction-tools-tutorials__text-block--white a {
  color: #FFFF00;
}

.page-prediction-tools-tutorials__highlight {
  font-weight: bold;
  color: #C30808;
}

.page-prediction-tools-tutorials__dark-bg .page-prediction-tools-tutorials__highlight {
  color: #FFFF00;
}

.page-prediction-tools-tutorials__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-prediction-tools-tutorials__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-prediction-tools-tutorials__list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-prediction-tools-tutorials__numbered-list {
  list-style: none;
  counter-reset: tutorial-step;
  padding: 0;
  margin-top: 40px;
}

.page-prediction-tools-tutorials__numbered-list .page-prediction-tools-tutorials__list-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.page-prediction-tools-tutorials__numbered-list .page-prediction-tools-tutorials__list-item::before {
  counter-increment: tutorial-step;
  content: "Bước " counter(tutorial-step);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #C30808;
  color: #FFFF00;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: bold;
  font-size: 0.9em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-prediction-tools-tutorials__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-prediction-tools-tutorials__bullet-list .page-prediction-tools-tutorials__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 25px;
}

.page-prediction-tools-tutorials__bullet-list .page-prediction-tools-tutorials__list-item::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFFF00;
  font-size: 1.5em;
  line-height: 1;
}

.page-prediction-tools-tutorials__list-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
}

.page-prediction-tools-tutorials__list-title--white {
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__list-description {
  font-size: 1em;
  line-height: 1.7;
}

.page-prediction-tools-tutorials__list-description--white {
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

.page-prediction-tools-tutorials__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-prediction-tools-tutorials__faq-list {
  margin-top: 40px;
}

.page-prediction-tools-tutorials__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-prediction-tools-tutorials__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439;
  cursor: pointer;
  background-color: #e8f5e9;
  transition: background-color 0.3s ease;
}

.page-prediction-tools-tutorials__faq-question:hover {
  background-color: #dcedc8;
}

.page-prediction-tools-tutorials__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-prediction-tools-tutorials__faq-item.active .page-prediction-tools-tutorials__faq-toggle {
  transform: rotate(45deg);
}

.page-prediction-tools-tutorials__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-prediction-tools-tutorials__faq-item.active .page-prediction-tools-tutorials__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-prediction-tools-tutorials__faq-text {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #333333;
}

.page-prediction-tools-tutorials__faq-text a {
  color: #017439;
  text-decoration: underline;
}

.page-prediction-tools-tutorials__cta-section {
  background-color: #017439;
  color: #FFFFFF;
  padding: 80px 0;
  text-align: center;
}

.page-prediction-tools-tutorials__cta-section .page-prediction-tools-tutorials__section-title {
  color: #FFFFFF;
}

.page-prediction-tools-tutorials__cta-section .page-prediction-tools-tutorials__section-title::after {
  background-color: #FFFF00;
}

.page-prediction-tools-tutorials__btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-prediction-tools-tutorials__hero-title {
    font-size: 2.2em;
  }
  .page-prediction-tools-tutorials__hero-description {
    font-size: 1.1em;
  }
  .page-prediction-tools-tutorials__section-title {
    font-size: 1.8em;
  }
  .page-prediction-tools-tutorials__list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-prediction-tools-tutorials__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-prediction-tools-tutorials__hero-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-prediction-tools-tutorials__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-prediction-tools-tutorials__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
  }
  .page-prediction-tools-tutorials__btn-primary,
  .page-prediction-tools-tutorials__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }
  .page-prediction-tools-tutorials__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }
  .page-prediction-tools-tutorials__text-block {
    font-size: 0.95em;
  }
  .page-prediction-tools-tutorials__list-title {
    font-size: 1.3em;
  }
  .page-prediction-tools-tutorials__list-description {
    font-size: 0.9em;
  }
  .page-prediction-tools-tutorials__numbered-list .page-prediction-tools-tutorials__list-item {
    padding-left: 50px;
  }
  .page-prediction-tools-tutorials__numbered-list .page-prediction-tools-tutorials__list-item::before {
    width: 40px;
    height: 40px;
    font-size: 0.8em;
  }
  .page-prediction-tools-tutorials__video-wrapper,
  .page-prediction-tools-tutorials__image-wrapper {
    padding: 0 15px;
    box-sizing: border-box;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .page-prediction-tools-tutorials__video,
  .page-prediction-tools-tutorials__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-prediction-tools-tutorials__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-prediction-tools-tutorials__faq-item.active .page-prediction-tools-tutorials__faq-answer {
    padding: 10px 20px;
  }
  .page-prediction-tools-tutorials__cta-section {
    padding: 60px 0;
  }
  .page-prediction-tools-tutorials__btn-large {
    padding: 15px 30px;
    font-size: 1em;
  }
  .page-prediction-tools-tutorials p,
  .page-prediction-tools-tutorials li {
    font-size: 16px;
    line-height: 1.6;
  }
}