.page-resources-responsible-gaming {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ nhạt trên nền tối */
  background-color: #0A0A0A;
  line-height: 1.6;
}

.page-resources-responsible-gaming .highlight {
  color: #FFD700;
}

.page-resources-responsible-gaming__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-responsible-gaming__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-resources-responsible-gaming__section:last-of-type {
  border-bottom: none;
}

.page-resources-responsible-gaming__section-title {
  font-size: 38px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-responsible-gaming__subsection-title {
  font-size: 24px;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-responsible-gaming__paragraph {
  font-size: 17px;
  margin-bottom: 20px;
  color: #D0D0D0;
}

.page-resources-responsible-gaming__paragraph--center {
  text-align: center;
  margin-top: 30px;
}

.page-resources-responsible-gaming__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-resources-responsible-gaming__list-item {
  background-color: #1A1A1A;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  color: #D0D0D0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-responsible-gaming__list-item::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  margin-right: 15px;
  font-size: 18px;
  line-height: 1;
  transform: translateY(2px);
}

/* Hero Section */
.page-resources-responsible-gaming__hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background-color: #0A0A0A; /* Fallback */
}

.page-resources-responsible-gaming__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-responsible-gaming__hero-image {
  width: 100%;
  height: 450px; /* Adjusted for better visual */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-resources-responsible-gaming__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-responsible-gaming__hero-title {
  font-size: 52px;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 900;
}

.page-resources-responsible-gaming__hero-description {
  font-size: 20px;
  color: #E0E0E0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-resources-responsible-gaming__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
}

.page-resources-responsible-gaming__cta-button:hover {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Content Grid for images and text */
.page-resources-responsible-gaming__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-resources-responsible-gaming__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-resources-responsible-gaming__image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-resources-responsible-gaming__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-resources-responsible-gaming__text-content {
  flex: 2;
}

/* Card Grid */
.page-resources-responsible-gaming__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-responsible-gaming__card {
  background-color: #1A1A1A;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-resources-responsible-gaming__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.3);
}

.page-resources-responsible-gaming__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-resources-responsible-gaming__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-responsible-gaming__card-description {
  font-size: 16px;
  color: #C0C0C0;
}

/* FAQ Styles */
.page-resources-responsible-gaming__faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1A1A1A;
  border: 1px solid #333;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #2A2A2A;
  border-color: #FFD700;
}

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: #FFFFFF;
  font-weight: 600;
}

.faq-toggle {
  font-size: 28px;
  font-weight: normal;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background-color: #0F0F0F;
  color: #D0D0D0;
}

.faq-answer p {
  padding: 15px 0;
  margin: 0;
  font-size: 16px;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px;
  border-radius: 0 0 8px 8px;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #DC143C;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-responsible-gaming__hero-title {
    font-size: 42px;
  }

  .page-resources-responsible-gaming__hero-description {
    font-size: 18px;
  }

  .page-resources-responsible-gaming__section-title {
    font-size: 32px;
  }

  .page-resources-responsible-gaming__content-grid {
    flex-direction: column;
  }

  .page-resources-responsible-gaming__content-grid--reverse {
    flex-direction: column;
  }

  .page-resources-responsible-gaming__text-content,
  .page-resources-responsible-gaming__image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-resources-responsible-gaming__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-resources-responsible-gaming__hero {
    padding: 60px 15px;
  }
  .page-resources-responsible-gaming__hero-image {
    height: 300px;
  }
  .page-resources-responsible-gaming__hero-title {
    font-size: 36px;
  }
  .page-resources-responsible-gaming__hero-description {
    font-size: 16px;
  }
  .page-resources-responsible-gaming__cta-button {
    padding: 15px 30px;
    font-size: 18px;
  }
  .page-resources-responsible-gaming__section {
    padding: 40px 0;
  }
  .page-resources-responsible-gaming__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-resources-responsible-gaming__paragraph {
    font-size: 15px;
  }
  .page-resources-responsible-gaming__list-item {
    padding: 12px 15px;
    font-size: 14px;
  }
  .page-resources-responsible-gaming__card-title {
    font-size: 20px;
  }
  .page-resources-responsible-gaming__card-description {
    font-size: 14px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 18px;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-answer p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-responsible-gaming__hero-image {
    height: 250px;
  }
  .page-resources-responsible-gaming__hero-title {
    font-size: 28px;
  }
  .page-resources-responsible-gaming__hero-description {
    font-size: 14px;
  }
  .page-resources-responsible-gaming__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-resources-responsible-gaming__section-title {
    font-size: 24px;
  }
  .page-resources-responsible-gaming__card-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
}