/* style/responsible-gaming.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #FFFFFF;
  --accent-gold: #FFD700;
  --border-color: #e0e0e0;
}

.page-responsible-gaming {
  font-family: 'Arial', 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: 0 20px;
}

.page-responsible-gaming__hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.page-responsible-gaming__hero h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--accent-gold);
  line-height: 1.2;
}

.page-responsible-gaming__hero p {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--accent-gold);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-responsible-gaming__cta-button:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-button--bottom {
  margin-top: 40px;
}

.page-responsible-gaming__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.page-responsible-gaming__section h2 {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
}

.page-responsible-gaming__section h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-responsible-gaming__what-is-rg, .page-responsible-gaming__minor-protection, .page-responsible-gaming__security {
  background-color: var(--bg-light);
}

.page-responsible-gaming__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-responsible-gaming__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-responsible-gaming__text-content {
  flex: 1;
  max-width: 600px;
}

.page-responsible-gaming__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.page-responsible-gaming__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-responsible-gaming__tools {
  background-color: #f9f9f9;
}

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

.page-responsible-gaming__feature-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-responsible-gaming__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-responsible-gaming__feature-item h3 {
  color: var(--primary-color);
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-responsible-gaming__support-resources {
  background-color: var(--bg-light);
}

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

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

.page-responsible-gaming__tips {
  background-color: #f9f9f9;
}

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

.page-responsible-gaming__tip-item {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gaming__tip-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-responsible-gaming__tip-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-responsible-gaming__tip-item h3 {
  font-size: 1.2em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-responsible-gaming__security {
  background-color: var(--bg-light);
}

.page-responsible-gaming__faq {
  background-color: #f9f9f9;
}

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

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #fdfdfd;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  border-top: 1px solid var(--border-color);
}

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

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: var(--primary-color);
}

/* Toggle icon */
.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

.page-responsible-gaming__conclusion {
  text-align: center;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-bottom: 80px;
}

.page-responsible-gaming__conclusion h2 {
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.page-responsible-gaming__conclusion p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-responsible-gaming__hero h1 {
    font-size: 2.2em;
  }

  .page-responsible-gaming__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-responsible-gaming__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-responsible-gaming__text-content, .page-responsible-gaming__image-wrapper {
    max-width: 100%;
  }

  .page-responsible-gaming__feature-grid, .page-responsible-gaming__tip-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-responsible-gaming__hero {
    padding: 60px 0;
  }

  .page-responsible-gaming__hero h1 {
    font-size: 1.8em;
  }

  .page-responsible-gaming__hero p {
    font-size: 1em;
  }

  .page-responsible-gaming__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-responsible-gaming__section {
    padding: 40px 0;
  }

  .page-responsible-gaming__section h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-responsible-gaming__section h3 {
    font-size: 1.3em;
  }

  .page-responsible-gaming .container {
    padding: 0 15px;
  }

  .page-responsible-gaming__feature-grid, .page-responsible-gaming__tip-grid {
    grid-template-columns: 1fr;
  }

  .faq-question {
    padding: 12px;
  }

  .faq-question h3 {
    font-size: 1em;
  }

  .faq-toggle {
    font-size: 18px;
  }

  .faq-answer {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .page-responsible-gaming__hero h1 {
    font-size: 1.5em;
  }
  .page-responsible-gaming__section h2 {
    font-size: 1.5em;
  }
  .page-responsible-gaming__feature-item, .page-responsible-gaming__tip-item {
    padding: 20px;
  }
  .page-responsible-gaming__feature-icon, .page-responsible-gaming__tip-icon {
    width: 60px;
    height: 60px;
  }
}