/* style/responsible-gaming.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A2463;
  --border-color: #e0e0e0;
  --hover-color: #e0ac00;
}

.page-responsible-gaming {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-responsible-gaming h1, .page-responsible-gaming h2, .page-responsible-gaming h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-responsible-gaming h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-color-light);
}

.page-responsible-gaming h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-responsible-gaming h3 {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-responsible-gaming p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-responsible-gaming li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-responsible-gaming .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-responsible-gaming .cta-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-color: var(--hover-color);
}

.page-responsible-gaming .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-responsible-gaming .btn-primary:hover {
  background-color: #071a47;
  border-color: #071a47;
}

.page-responsible-gaming .btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: none;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.page-responsible-gaming .btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

/* Hero Section */
.page-responsible-gaming .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

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

.page-responsible-gaming .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-responsible-gaming .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

/* Section Styling */
.page-responsible-gaming .intro-section, 
.page-responsible-gaming .principles-section, 
.page-responsible-gaming .tools-section, 
.page-responsible-gaming .advice-section, 
.page-responsible-gaming .resources-section, 
.page-responsible-gaming .faq-section, 
.page-responsible-gaming .conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-responsible-gaming .intro-section p, .page-responsible-gaming .conclusion-section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-responsible-gaming .principles-section {
  background-color: #ffffff;
}

.page-responsible-gaming .principles-section h2, .page-responsible-gaming .tools-section h2, .page-responsible-gaming .advice-section h2, .page-responsible-gaming .resources-section h2, .page-responsible-gaming .faq-section h2, .page-responsible-gaming .conclusion-section h2 {
  margin-bottom: 40px;
}

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

.page-responsible-gaming .principle-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-responsible-gaming .principle-item:hover {
  transform: translateY(-5px);
}

.page-responsible-gaming .principle-item h3 {
  color: var(--secondary-color);
  font-size: 1.8em;
}

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

.page-responsible-gaming .feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-responsible-gaming .feature-item:hover {
  transform: translateY(-5px);
}

.page-responsible-gaming .feature-item img {
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-responsible-gaming .feature-item h3 {
  color: var(--primary-color);
  font-size: 1.6em;
}

.page-responsible-gaming .advice-section {
  background-color: var(--background-light);
}

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

.page-responsible-gaming .advice-item {
  background-color: #ffffff;
  padding: 25px;
  border-left: 5px solid var(--secondary-color);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-responsible-gaming .advice-item h3 {
  color: var(--primary-color);
  font-size: 1.4em;
}

.page-responsible-gaming .resources-section {
  background-color: #ffffff;
}

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

.page-responsible-gaming .resources-section li {
  background-color: var(--background-light);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1em;
  border-left: 4px solid var(--primary-color);
}

.page-responsible-gaming .cta-center {
  text-align: center;
  margin-top: 40px;
}

.page-responsible-gaming .faq-section {
  background-color: var(--background-light);
}

.page-responsible-gaming .faq-list {
  max-width: 900px;
  margin: 40px auto;
}

/* FAQ default state - answer hidden */
.page-responsible-gaming .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
}

/* FAQ expanded state */
.page-responsible-gaming .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

/* Question styling */
.page-responsible-gaming .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

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

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

/* Toggle icon */
.page-responsible-gaming .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

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

.page-responsible-gaming .conclusion-section p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  font-size: 1.2em;
}

.page-responsible-gaming .image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-responsible-gaming .image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gaming h1 {
    font-size: 2.5em;
  }
  .page-responsible-gaming h2 {
    font-size: 2em;
  }
  .page-responsible-gaming .grid-2-cols, .page-responsible-gaming .grid-3-cols, .page-responsible-gaming .feature-list {
    grid-template-columns: 1fr;
  }
  .page-responsible-gaming .advice-item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming h1 {
    font-size: 2em;
  }
  .page-responsible-gaming h2 {
    font-size: 1.8em;
  }
  .page-responsible-gaming h3 {
    font-size: 1.4em;
  }
  .page-responsible-gaming p, .page-responsible-gaming li {
    font-size: 1em;
  }
  .page-responsible-gaming .hero-section, 
  .page-responsible-gaming .intro-section, 
  .page-responsible-gaming .principles-section, 
  .page-responsible-gaming .tools-section, 
  .page-responsible-gaming .advice-section, 
  .page-responsible-gaming .resources-section, 
  .page-responsible-gaming .faq-section, 
  .page-responsible-gaming .conclusion-section {
    padding: 40px 0;
  }
  .page-responsible-gaming .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-responsible-gaming .faq-question {
    padding: 12px;
    flex-direction: row;
    align-items: center;
  }
  .page-responsible-gaming .faq-question h3 {
    margin-bottom: 0;
    flex-grow: 1;
  }
  .page-responsible-gaming .faq-toggle {
    margin-top: 0;
    margin-left: 10px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming h1 {
    font-size: 1.8em;
  }
  .page-responsible-gaming h2 {
    font-size: 1.6em;
  }
  .page-responsible-gaming .container {
    padding: 0 15px;
  }
}