/* style/responsible-gambling.css */
:root {
  --primary-color: #002B49;
  --secondary-color: #FFD700;
  --text-color-dark-bg: #ffffff;
  --text-color-light-bg: #333333;
  --background-dark: #121212; /* From shared.css body background */
  --background-light: #f8f8f8;
  --border-color: #333333;
  --card-bg-dark-mode: rgba(255, 255, 255, 0.08);
}

.page-responsible-gambling {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

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

/* Fixed Header Spacing */
.page-responsible-gambling__hero-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
}

.page-responsible-gambling__section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-responsible-gambling__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-color-dark-bg);
  text-align: justify;
}

.page-responsible-gambling__text-block--centered {
  text-align: center;
}

.page-responsible-gambling__link {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-responsible-gambling__link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Section Backgrounds */
.page-responsible-gambling__dark-section {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-responsible-gambling__light-section {
  background-color: var(--background-light);
  color: var(--text-color-light-bg);
}

/* Hero Section */
.page-responsible-gambling__hero-section {
  background: var(--primary-color) url('[GALLERY:bg:sin88 me,co bac co trach nhiem,nen anh mo,hieu ung anh sang]') no-repeat center center / cover;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  color: var(--text-color-dark-bg);
}

.page-responsible-gambling__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-responsible-gambling__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-responsible-gambling__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-responsible-gambling__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-responsible-gambling__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-responsible-gambling__cta-buttons--center {
  justify-content: center;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-responsible-gambling__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-responsible-gambling__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__btn-wide {
  display: block;
  width: fit-content;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
}

/* Principles Section */
.page-responsible-gambling__principles-section .page-responsible-gambling__section-title {
  color: var(--primary-color);
}

.page-responsible-gambling__principles-section .page-responsible-gambling__text-block {
  color: var(--text-color-light-bg);
}

.page-responsible-gambling__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-responsible-gambling__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-responsible-gambling__feature-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling__feature-item p {
  font-size: 16px;
  color: #555555;
}

/* Tools Section */
.page-responsible-gambling__tools-section .page-responsible-gambling__section-title {
  color: var(--secondary-color);
}

.page-responsible-gambling__tools-section .page-responsible-gambling__text-block {
  color: var(--text-color-dark-bg);
}

.page-responsible-gambling__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-responsible-gambling__tool-card {
  background-color: var(--card-bg-dark-mode);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-color-dark-bg);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-responsible-gambling__tool-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-responsible-gambling__tool-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px auto;
  object-fit: contain;
}

.page-responsible-gambling__tool-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-responsible-gambling__tool-card p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Signs Section */
.page-responsible-gambling__signs-section .page-responsible-gambling__section-title {
  color: var(--primary-color);
}

.page-responsible-gambling__signs-section .page-responsible-gambling__text-block {
  color: var(--text-color-light-bg);
}

.page-responsible-gambling__bullet-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-responsible-gambling__bullet-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-color-light-bg);
}

.page-responsible-gambling__bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 24px;
  line-height: 1;
  top: 0;
}

/* Tips Section */
.page-responsible-gambling__tips-section .page-responsible-gambling__section-title {
  color: var(--secondary-color);
}

.page-responsible-gambling__tips-section .page-responsible-gambling__text-block {
  color: var(--text-color-dark-bg);
}

.page-responsible-gambling__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-responsible-gambling__tip-item {
  background-color: var(--card-bg-dark-mode);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-color-dark-bg);
}

.page-responsible-gambling__tip-image {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-responsible-gambling__tip-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-responsible-gambling__tip-item p {
  font-size: 15px;
  color: #e0e0e0;
}

/* FAQ Section */
.page-responsible-gambling__faq-section .page-responsible-gambling__section-title {
  color: var(--primary-color);
}

.page-responsible-gambling__faq-list {
  margin-top: 40px;
}

.page-responsible-gambling__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-responsible-gambling__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-color-light-bg);
}

.page-responsible-gambling__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-responsible-gambling__faq-question:active {
  background: #eeeeee;
}

.page-responsible-gambling__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-responsible-gambling__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

.page-responsible-gambling__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-color-light-bg);
}

.page-responsible-gambling__faq-item.active .page-responsible-gambling__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-responsible-gambling__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #555555;
}

/* Brand Section */
.page-responsible-gambling__brand-section .page-responsible-gambling__section-title {
  color: var(--secondary-color);
}