/* style/responsible-gaming.css */
:root {
  --primary-color: #0A192F;
  --secondary-color: #E0B400;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f7f6;
  --bg-dark: #1a2a44;
  --border-color: #e0e0e0;
}

.page-responsible-gaming {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

/* Banner Section */
.page-responsible-gaming .banner-section {
  position: relative;
  width: 100%;
  height: 450px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.page-responsible-gaming .banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-responsible-gaming .banner-overlay {
  position: absolute;
  top: 0;
   left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

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

.page-responsible-gaming .banner-overlay p {
  font-size: 1.2em;
  max-width: 800px;
  margin-bottom: 30px;
  color: var(--text-light);
}

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

.page-responsible-gaming .cta-button:hover {
  background-color: #ffc800;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-responsible-gaming .intro-section, 
.page-responsible-gaming .tools-section, 
.page-responsible-gaming .support-section, 
.page-responsible-gaming .protection-section, 
.page-responsible-gaming .faq-section, 
.page-responsible-gaming .conclusion-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-responsible-gaming .intro-section h2, 
.page-responsible-gaming .tools-section h2, 
.page-responsible-gaming .support-section h2, 
.page-responsible-gaming .protection-section h2, 
.page-responsible-gaming .faq-section h2, 
.page-responsible-gaming .conclusion-section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

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

.page-responsible-gaming p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-dark);
}

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

.page-responsible-gaming ul li {
  font-size: 1.05em;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-responsible-gaming a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Tool Cards Section */
.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: 12px;
  box-shadow: 0 6px 20px 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;
  align-items: center;
}

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

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

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

.page-responsible-gaming .tool-card p {
  font-size: 1em;
  color: var(--text-dark);
  flex-grow: 1;
}

.page-responsible-gaming .tool-card ul {
  text-align: left;
  width: 100%;
  margin-left: 0;
  padding-left: 20px;
}

/* FAQ Section */
.page-responsible-gaming .faq-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-responsible-gaming .faq-section h2 {
  color: var(--secondary-color);
}

.page-responsible-gaming .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-responsible-gaming .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--primary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gaming .faq-question:hover {
  background-color: #1c365b;
  border-color: #ffc800;
}

.page-responsible-gaming .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-light);
}

.page-responsible-gaming .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  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;
  background-color: #2a3d5b;
  padding: 0 25px;
  color: var(--text-light);
}

.page-responsible-gaming .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-radius: 0 0 8px 8px;
}

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

.page-responsible-gaming .faq-answer p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Conclusion Section */
.page-responsible-gaming .conclusion-section {
  text-align: center;
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-responsible-gaming .conclusion-section h2 {
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-responsible-gaming .conclusion-section p {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

.page-responsible-gaming .primary-cta {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-size: 1.2em;
  padding: 18px 45px;
}

.page-responsible-gaming .primary-cta:hover {
  background-color: #ffc800;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming .banner-overlay h1 {
    font-size: 2.8em;
  }
  .page-responsible-gaming .banner-overlay p {
    font-size: 1.1em;
  }
  .page-responsible-gaming .intro-section h2, 
  .page-responsible-gaming .tools-section h2, 
  .page-responsible-gaming .support-section h2, 
  .page-responsible-gaming .protection-section h2, 
  .page-responsible-gaming .faq-section h2, 
  .page-responsible-gaming .conclusion-section h2 {
    font-size: 2.2em;
  }
  .page-responsible-gaming h3 {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming .banner-section {
    height: 400px;
  }
  .page-responsible-gaming .banner-overlay h1 {
    font-size: 2.2em;
  }
  .page-responsible-gaming .banner-overlay p {
    font-size: 1em;
  }
  .page-responsible-gaming .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-responsible-gaming .intro-section, 
  .page-responsible-gaming .tools-section, 
  .page-responsible-gaming .support-section, 
  .page-responsible-gaming .protection-section, 
  .page-responsible-gaming .faq-section, 
  .page-responsible-gaming .conclusion-section {
    padding: 40px 0;
  }
  .page-responsible-gaming .intro-section h2, 
  .page-responsible-gaming .tools-section h2, 
  .page-responsible-gaming .support-section h2, 
  .page-responsible-gaming .protection-section h2, 
  .page-responsible-gaming .faq-section h2, 
  .page-responsible-gaming .conclusion-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-responsible-gaming h3 {
    font-size: 1.4em;
  }
  .page-responsible-gaming p, .page-responsible-gaming 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-answer {
    padding: 0 20px;
  }
  .page-responsible-gaming .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming .banner-section {
    height: 350px;
  }
  .page-responsible-gaming .banner-overlay h1 {
    font-size: 1.8em;
  }
  .page-responsible-gaming .banner-overlay p {
    font-size: 0.9em;
  }
  .page-responsible-gaming .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-responsible-gaming .intro-section h2, 
  .page-responsible-gaming .tools-section h2, 
  .page-responsible-gaming .support-section h2, 
  .page-responsible-gaming .protection-section h2, 
  .page-responsible-gaming .faq-section h2, 
.page-responsible-gaming .conclusion-section h2 {
    font-size: 1.8em;
  }
  .page-responsible-gaming h3 {
    font-size: 1.2em;
  }
  .page-responsible-gaming .tool-card .card-icon {
    width: 80px;
    height: 80px;
  }
}