/* style/index-core-features.css */

/* Biến CSS */
:root {
  --tf88-primary-color: #0A2342;
  --tf88-secondary-color: #F0A500;
  --tf88-light-grey: #f5f5f5;
  --tf88-dark-text: #333;
  --tf88-light-text: #ffffff;
}

.page-index-core-features {
  font-family: 'Arial', sans-serif;
  color: var(--tf88-dark-text);
  line-height: 1.6;
}

.page-index-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-core-features__hero-section {
  background: linear-gradient(135deg, var(--tf88-primary-color) 0%, #204060 100%);
  color: var(--tf88-light-text);
  padding: 80px 0;
  text-align: center;
}

.page-index-core-features__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--tf88-secondary-color);
  line-height: 1.2;
}

.page-index-core-features__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  opacity: 0.9;
}

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

.page-index-core-features__button--primary {
  background-color: var(--tf88-secondary-color);
  color: var(--tf88-primary-color);
}

.page-index-core-features__button--primary:hover {
  background-color: #e69d00;
  transform: translateY(-2px);
}

.page-index-core-features__button--secondary {
  background-color: var(--tf88-primary-color);
  color: var(--tf88-secondary-color);
  border: 2px solid var(--tf88-secondary-color);
}

.page-index-core-features__button--secondary:hover {
  background-color: #1a3a5a;
  transform: translateY(-2px);
}

.page-index-core-features__section {
  padding: 60px 0;
}

.page-index-core-features__section--light-bg {
  background-color: var(--tf88-light-grey);
}

.page-index-core-features__section-title {
  font-size: 2.5em;
  color: var(--tf88-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-core-features__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--tf88-secondary-color);
  border-radius: 2px;
}

.page-index-core-features__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-index-core-features__feature-item {
  background-color: var(--tf88-light-text);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-core-features__feature-item:hover {
  transform: translateY(-10px);
}

.page-index-core-features__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1));
}

.page-index-core-features__feature-title {
  font-size: 1.5em;
  color: var(--tf88-primary-color);
  margin-bottom: 15px;
}

.page-index-core-features__feature-description {
  font-size: 1em;
  color: var(--tf88-dark-text);
  text-align: left;
}

.page-index-core-features__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-index-core-features__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-index-core-features__promotion-list li {
  background-color: var(--tf88-light-text);
  border-left: 5px solid var(--tf88-secondary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-index-core-features__promotion-title {
  color: var(--tf88-primary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-index-core-features__registration-steps {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 30px;
}

.page-index-core-features__registration-steps li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 70px;
}

.page-index-core-features__registration-steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--tf88-secondary-color);
  color: var(--tf88-primary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index-core-features__step-title {
  color: var(--tf88-primary-color);
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 8px;
}

.page-index-core-features__responsible-gaming {
  list-style: disc;
  padding-left: 20px;
  margin-top: 30px;
}

.page-index-core-features__responsible-gaming li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index-core-features__faq-section {
  margin-top: 40px;
}

.page-index-core-features__faq-item {
  background-color: var(--tf88-light-text);
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px 25px;
}

.page-index-core-features__faq-question {
  font-size: 1.3em;
  color: var(--tf88-primary-color);
  margin-top: 0;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-index-core-features__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: var(--tf88-secondary-color);
  transition: transform 0.3s ease;
}

.page-index-core-features__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-core-features__faq-answer {
  font-size: 1.05em;
  color: var(--tf88-dark-text);
  display: none;
  margin-top: 15px;
}

.page-index-core-features__faq-answer.active {
  display: block;
}

.page-index-core-features__faq-answer a {
  color: var(--tf88-primary-color);
  text-decoration: underline;
}

.page-index-core-features__faq-answer a:hover {
  color: var(--tf88-secondary-color);
}

.page-index-core-features__call-to-action-footer {
  background: var(--tf88-primary-color);
  color: var(--tf88-light-text);
  text-align: center;
}

.page-index-core-features__call-to-action-footer .page-index-core-features__section-title {
  color: var(--tf88-secondary-color);
}

.page-index-core-features__call-to-action-footer .page-index-core-features__text-content {
  color: var(--tf88-light-text);
  opacity: 0.9;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

  .page-index-core-features__hero-description {
    font-size: 1em;
  }

  .page-index-core-features__section-title {
    font-size: 2em;
  }

  .page-index-core-features__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-index-core-features__registration-steps li {
    padding-left: 60px;
  }

  .page-index-core-features__registration-steps li::before {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-index-core-features__faq-question {
    font-size: 1.1em;
  }

  .page-index-core-features__faq-answer {
    font-size: 0.95em;
  }
}

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

  .page-index-core-features__button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-index-core-features__section {
    padding: 40px 0;
  }

  .page-index-core-features__section-title {
    font-size: 1.8em;
  }

  .page-index-core-features__feature-item {
    padding: 20px;
  }

  .page-index-core-features__feature-title {
    font-size: 1.3em;
  }
}