.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-responsible-gaming__section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

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

.page-responsible-gaming__section h2 {
  font-size: 36px;
  color: #8B0000; /* Dark Red */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-responsible-gaming__section h3 {
  font-size: 24px;
  color: #FFD700; /* Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  background-color: #8B0000; /* Dark Red background for contrast */
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-responsible-gaming__section p {
  margin-bottom: 20px;
  text-align: justify;
}

.page-responsible-gaming__section ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-responsible-gaming__section ul li {
  margin-bottom: 10px;
}

.page-responsible-gaming__hero {
  background: linear-gradient(135deg, #FFD700 0%, #8B0000 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-responsible-gaming__hero-content {
  max-width: 800px;
}

.page-responsible-gaming__hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff; /* White text on dark gradient */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-responsible-gaming__hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  max-width: 800px; /* Adjust max-width for image */
}

.page-responsible-gaming__hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  object-fit: cover;
}

.page-responsible-gaming__cta-button,
.page-responsible-gaming__button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Dark Red text for contrast */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: none;
  cursor: pointer;
}

.page-responsible-gaming__cta-button:hover,
.page-responsible-gaming__button:hover {
  background-color: #e6c200; /* Slightly darker gold */
  color: #5a0000; /* Slightly darker red */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

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

.page-responsible-gaming__card,
.page-responsible-gaming__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.page-responsible-gaming__card h3 {
  color: #8B0000; /* Dark Red */
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  margin-bottom: 15px;
  text-align: left;
  display: block;
}

.page-responsible-gaming__feature-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  align-self: center;
}

.page-responsible-gaming__feature-card h3 {
  color: #8B0000; /* Dark Red */
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  margin-bottom: 15px;
  text-align: center;
  display: block;
  width: 100%;
}

.page-responsible-gaming__feature-card p {
  text-align: center;
}

.page-responsible-gaming__note {
  font-style: italic;
  color: #555555;
  margin-top: 40px;
  text-align: center;
  padding: 15px;
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
}

.page-responsible-gaming__faq .faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: #333333;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
  display: inline;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Gold */
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #8B0000; /* Dark Red */
}

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

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px 25px 25px;
  border-top: 1px solid #e0e0e0;
}

.page-responsible-gaming__contact ul {
  list-style: none;
  padding-left: 0;
}

.page-responsible-gaming__contact ul li {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gaming__hero h1 {
    font-size: 38px;
  }
  .page-responsible-gaming__section h2 {
    font-size: 30px;
  }
  .page-responsible-gaming__section h3 {
    font-size: 20px;
  }
  .page-responsible-gaming__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero {
    padding: 60px 15px;
  }
  .page-responsible-gaming__hero h1 {
    font-size: 32px;
  }
  .page-responsible-gaming__hero p {
    font-size: 16px;
  }
  .page-responsible-gaming__section {
    padding: 40px 0;
  }
  .page-responsible-gaming__section h2 {
    font-size: 26px;
  }
  .page-responsible-gaming__section h3 {
    font-size: 18px;
  }
  .page-responsible-gaming__cta-button, .page-responsible-gaming__button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 18px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px 20px 20px 20px;
  }
  .page-responsible-gaming__hero-image img {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__hero h1 {
    font-size: 28px;
  }
  .page-responsible-gaming__hero p {
    font-size: 15px;
  }
  .page-responsible-gaming__section h2 {
    font-size: 22px;
  }
  .page-responsible-gaming__section h3 {
    font-size: 16px;
  }
  .page-responsible-gaming__grid {
    grid-template-columns: 1fr;
  }
  .page-responsible-gaming__card, .page-responsible-gaming__feature-card {
    padding: 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
}