.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 .responsible-gaming-hero {
  background: linear-gradient(135deg, var(--primary-color), #0A2463);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-responsible-gaming .hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-responsible-gaming .hero-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-responsible-gaming .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-responsible-gaming .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-responsible-gaming .cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming .cta-button:hover {
  background-color: #ffcc00;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-responsible-gaming .section-content:last-of-type {
  border-bottom: none;
}

.page-responsible-gaming .section-content h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.page-responsible-gaming .section-content h2::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-gaming .section-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-responsible-gaming .section-content ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

.page-responsible-gaming .section-content ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-responsible-gaming .section-content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-responsible-gaming .section-content a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-responsible-gaming .content-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gaming .right-aligned {
  float: right;
  margin-left: 30px;
}

.page-responsible-gaming .left-aligned {
  float: left;
  margin-right: 30px;
}

.page-responsible-gaming .understanding-section .container,
.page-responsible-gaming .signs-section .container,
.page-responsible-gaming .minors-protection-section .container,
.page-responsible-gaming .help-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.page-responsible-gaming .understanding-section .container > *,
.page-responsible-gaming .signs-section .container > *,
.page-responsible-gaming .minors-protection-section .container > *,
.page-responsible-gaming .help-section .container > * {
  flex: 1;
  min-width: 300px;
}

.page-responsible-gaming .understanding-section .container img,
.page-responsible-gaming .signs-section .container img,
.page-responsible-gaming .minors-protection-section .container img,
.page-responsible-gaming .help-section .container img {
  flex: 0 0 auto;
}

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

.page-responsible-gaming .tool-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-responsible-gaming .tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming .tool-card h3 {
  color: var(--primary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-responsible-gaming .tool-card .card-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming .tool-card p {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-responsible-gaming .tool-card .card-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming .tool-card .card-button:hover {
  background-color: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-responsible-gaming .faq-section {
  background-color: #f0f4f7;
}

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

.page-responsible-gaming .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

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

.page-responsible-gaming .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
  flex-grow: 1;
  text-align: left;
}

.page-responsible-gaming .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-responsible-gaming .faq-answer p {
  margin: 0 0 15px 0;
  padding-top: 15px;
}

.page-responsible-gaming .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
  padding-bottom: 25px;
  border-top: 1px solid #e9e9e9;
}

.page-responsible-gaming .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-responsible-gaming .commitment-section {
  background-color: #ffffff;
  text-align: center;
}

.page-responsible-gaming .commitment-section p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gaming .hero-content h1 {
    font-size: 2.8em;
  }
  .page-responsible-gaming .hero-content p {
    font-size: 1.1em;
  }
  .page-responsible-gaming .section-content h2 {
    font-size: 2em;
  }
  .page-responsible-gaming .right-aligned,
  .page-responsible-gaming .left-aligned {
    float: none;
    margin: 0 auto 30px auto;
  }
  .page-responsible-gaming .understanding-section .container,
  .page-responsible-gaming .signs-section .container,
  .page-responsible-gaming .minors-protection-section .container,
  .page-responsible-gaming .help-section .container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming .responsible-gaming-hero {
    padding: 60px 0;
  }
  .page-responsible-gaming .hero-content h1 {
    font-size: 2.2em;
  }
  .page-responsible-gaming .hero-content p {
    font-size: 1em;
  }
  .page-responsible-gaming .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gaming .section-content {
    padding: 40px 0;
  }
  .page-responsible-gaming .section-content h2 {
    font-size: 1.8em;
  }
  .page-responsible-gaming .section-content p,
  .page-responsible-gaming .section-content ul li {
    font-size: 0.95em;
  }
  .page-responsible-gaming .tool-cards {
    grid-template-columns: 1fr;
  }
  .page-responsible-gaming .faq-question {
    padding: 15px 20px;
  }
  .page-responsible-gaming .faq-question h3 {
    font-size: 1.1em;
  }
  .page-responsible-gaming .faq-toggle {
    font-size: 1.8em;
  }
  .page-responsible-gaming .faq-answer {
    padding: 0 20px;
  }
  .page-responsible-gaming .faq-item.active .faq-answer {
    padding: 15px 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming .hero-content h1 {
    font-size: 1.8em;
  }
  .page-responsible-gaming .hero-image {
    margin-bottom: 20px;
  }
  .page-responsible-gaming .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-responsible-gaming .section-content h2 {
    font-size: 1.6em;
  }
  .page-responsible-gaming .tool-card h3 {
    font-size: 1.5em;
  }
  .page-responsible-gaming .tool-card .card-button {
    font-size: 0.85em;
  }
}