:root {
  --primary-color: #0056B3; /* Deep Tech Blue */
  --secondary-color: #FFD700; /* Brilliant Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f9f9f9;
  --border-color: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming this is the body background from shared.css */
}

.page-responsible-gaming {
  padding-top: 120px; /* Desktop padding for fixed header */
  background-color: var(--dark-bg-1); /* Body background from shared.css */
  color: var(--text-light); /* Light text for dark background */
  min-height: 100vh;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-responsible-gaming {
    padding-top: 100px; /* Mobile padding for fixed header */
  }
}

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

.page-responsible-gaming__main-title {
  font-size: 3em;
  color: var(--secondary-color); /* Use gold for main title for prominence */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-responsible-gaming__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-responsible-gaming__section-title {
  font-size: 2.2em;
  color: var(--secondary-color); /* Use gold for section titles */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-responsible-gaming__intro-section,
.page-responsible-gaming__what-is-section,
.page-responsible-gaming__why-important-section,
.page-responsible-gaming__tools-section,
.page-responsible-gaming__signs-section,
.page-responsible-gaming__help-section,
.page-responsible-gaming__tips-section,
.page-responsible-gaming__commitment-section,
.page-responsible-gaming__faq-section {
  padding: 40px 0;
}

.page-responsible-gaming__intro-section {
  background: linear-gradient(135deg, var(--primary-color), #0a2a4c); /* Darker blue gradient for intro */
  padding: 60px 0;
}

.page-responsible-gaming__intro-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__content-image--small {
  display: block;
  max-width: 60%; /* Smaller image for specific content */
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.page-responsible-gaming__link {
  color: var(--secondary-color); /* Gold for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-responsible-gaming__link:hover {
  color: #fff; /* White on hover */
  text-decoration: underline;
}

.page-responsible-gaming__what-is-section p,
.page-responsible-gaming__why-important-section p,
.page-responsible-gaming__tips-section p,
.page-responsible-gaming__commitment-section p,
.page-responsible-gaming__faq-answer p {
  color: var(--text-light);
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-responsible-gaming__keyword {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-responsible-gaming__tool-card,
.page-responsible-gaming__help-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.page-responsible-gaming__tool-title,
.page-responsible-gaming__sign-title,
.page-responsible-gaming__help-title {
  font-size: 1.6em;
  color: var(--secondary-color); /* Gold for sub-titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gaming__tool-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

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

.page-responsible-gaming__sign-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gaming__sign-item ul {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: var(--text-light);
}

.page-responsible-gaming__sign-item li {
  margin-bottom: 8px;
  font-size: 1.0em;
}

.page-responsible-gaming__tips-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
}

.page-responsible-gaming__tips-section li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  font-size: 1.05em;
}

.page-responsible-gaming__tips-section li strong {
  color: var(--secondary-color);
}

.page-responsible-gaming__commitment-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 800px;
}

.page-responsible-gaming__commitment-section li {
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  color: var(--text-light);
  font-size: 1.05em;
}

.page-responsible-gaming__commitment-section li:last-child {
  border-bottom: none;
}

.page-responsible-gaming__commitment-section li strong {
  color: var(--secondary-color);
}

/* Buttons */
.page-responsible-gaming__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color); /* Gold background */
  color: var(--text-dark); /* Dark text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__btn-primary:hover {
  background: #fff; /* White on hover */
  color: var(--primary-color); /* Blue text on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section Styles */
.page-responsible-gaming__faq-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for FAQ */
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-responsible-gaming__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-responsible-gaming__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: #2a2a2a; /* Darker background for answer */
  color: var(--text-light);
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px 15px !important; /* Ensure padding is applied */
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--primary-color); /* Blue background for question */
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-responsible-gaming__faq-question:hover {
  background: #004a9e; /* Darker blue on hover */
  border-color: #004a9e;
}

.page-responsible-gaming__faq-question:active {
  background: #003e85;
}

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

.page-responsible-gaming__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--text-light);
  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-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
  color: var(--secondary-color); /* Gold when active */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming__main-title {
    font-size: 2.5em;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.8em;
  }
  .page-responsible-gaming__tool-title,
  .page-responsible-gaming__sign-title,
  .page-responsible-gaming__help-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-responsible-gaming__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-responsible-gaming__section-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-responsible-gaming__container {
    padding: 15px;
  }
  .page-responsible-gaming__tool-card,
  .page-responsible-gaming__help-card,
  .page-responsible-gaming__sign-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-responsible-gaming__tool-title,
  .page-responsible-gaming__sign-title,
  .page-responsible-gaming__help-title {
    font-size: 1.2em;
  }
  .page-responsible-gaming__intro-section,
  .page-responsible-gaming__what-is-section,
  .page-responsible-gaming__why-important-section,
  .page-responsible-gaming__tools-section,
  .page-responsible-gaming__signs-section,
  .page-responsible-gaming__help-section,
  .page-responsible-gaming__tips-section,
  .page-responsible-gaming__commitment-section,
  .page-responsible-gaming__faq-section {
    padding: 30px 0;
  }

  .page-responsible-gaming__tips-section li,
  .page-responsible-gaming__commitment-section li {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-responsible-gaming__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-responsible-gaming__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-responsible-gaming__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-responsible-gaming__faq-answer {
    padding: 0 15px;
  }
  
  .page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-answer {
    padding: 15px !important;
  }

  .page-responsible-gaming__content-image--small {
    max-width: 80%;
  }
}