/* style/xn88-academy.css */
.page-xn88-academy {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF;
  background-color: #0A192F;
  line-height: 1.6;
}

.page-xn88-academy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-xn88-academy__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1A3050 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-xn88-academy__hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  opacity: 0.3;
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-xn88-academy__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-xn88-academy__hero-subtitle {
  font-size: 1.4em;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-xn88-academy__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  border: none;
}

.page-xn88-academy__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
}

.page-xn88-academy__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-xn88-academy__btn--secondary {
  background-color: #FFD700;
  color: #0A192F;
  margin-right: 15px;
}

.page-xn88-academy__btn--secondary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-xn88-academy__btn--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-xn88-academy__btn--outline:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
}

.page-xn88-academy__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  background-color: #FFD700;
  color: #0A192F;
  text-decoration: none;
  border-radius: 5px;
}

.page-xn88-academy__btn--small:hover {
  background-color: #e6c200;
}

.page-xn88-academy__intro,
.page-xn88-academy__pillars,
.page-xn88-academy__benefits,
.page-xn88-academy__cta-bottom,
.page-xn88-academy__detailed-courses,
.page-xn88-academy__faq {
  padding: 60px 0;
}

.page-xn88-academy__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-xn88-academy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-xn88-academy__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 900px;
  margin: -20px auto 50px;
}

.page-xn88-academy__intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-xn88-academy__intro-content p {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
  color: #E0E0E0;
}

.page-xn88-academy__image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-xn88-academy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-xn88-academy__card {
  background-color: #1A3050;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xn88-academy__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.page-xn88-academy__card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-xn88-academy__card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-xn88-academy__card-text {
  font-size: 1em;
  color: #B0B0B0;
}

.page-xn88-academy__benefits-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-xn88-academy__benefit-list {
  flex: 1;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-xn88-academy__benefit-list li {
  background-color: #1A3050;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #E0E0E0;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-xn88-academy__benefit-list li .icon-check {
  color: #FFD700;
  margin-right: 15px;
  font-size: 1.2em;
  /* Placeholder for icon, assuming a checkmark icon font or SVG */
  content: '✔';
  display: inline-block;
}

.page-xn88-academy__image--right {
  order: 2;
  margin-left: auto;
}

.page-xn88-academy__cta-bottom {
  background-color: #1A3050;
  text-align: center;
  padding: 80px 0;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-xn88-academy__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-xn88-academy__cta-text {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-xn88-academy__detailed-courses {
  background-color: #0A192F;
}

.page-xn88-academy__course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-xn88-academy__course-item {
  background-color: #1A3050;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-xn88-academy__course-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-xn88-academy__course-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-xn88-academy__course-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-xn88-academy__course-title a:hover {
  text-decoration: underline;
}

.page-xn88-academy__course-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-xn88-academy__faq-list {
  margin-top: 40px;
}

.page-xn88-academy__faq-item {
  background-color: #1A3050;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-xn88-academy__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1A3050;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  margin: 0;
}

.page-xn88-academy__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-xn88-academy__faq-question.active::after {
  transform: rotate(45deg);
}

.page-xn88-academy__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-xn88-academy__faq-answer p {
  color: #E0E0E0;
  padding-bottom: 20px;
  margin: 0;
}

.page-xn88-academy__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-xn88-academy__hero-title {
    font-size: 2.5em;
  }

  .page-xn88-academy__hero-subtitle,
  .page-xn88-academy__section-description,
  .page-xn88-academy__cta-text {
    font-size: 1em;
  }

  .page-xn88-academy__section-title {
    font-size: 2em;
  }

  .page-xn88-academy__intro-content,
  .page-xn88-academy__benefits-content {
    flex-direction: column;
  }

  .page-xn88-academy__image,
  .page-xn88-academy__image--right {
    order: unset;
    margin: 0 auto;
  }

  .page-xn88-academy__btn--secondary,
  .page-xn88-academy__btn--outline {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-xn88-academy__cta-bottom .page-xn88-academy__btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .page-xn88-academy__hero-title {
    font-size: 2em;
  }

  .page-xn88-academy__hero {
    padding: 60px 0;
  }

  .page-xn88-academy__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-xn88-academy__section-title {
    font-size: 1.8em;
  }

  .page-xn88-academy__card,
  .page-xn88-academy__course-item {
    padding: 20px;
  }

  .page-xn88-academy__card-title {
    font-size: 1.4em;
  }
  .page-xn88-academy__cta-title {
    font-size: 2em;
  }
}