.page-responsible-gaming {
  padding-top: 10px;
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
}

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

.page-responsible-gaming__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-responsible-gaming__hero-title {
  color: #F2C14E;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-responsible-gaming__hero-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #E5E5E5;
}

.page-responsible-gaming__hero-button,
.page-responsible-gaming__section-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 200px;
  text-align: center;
}

.page-responsible-gaming__hero-button:hover,
.page-responsible-gaming__section-button:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E8B02D 100%);
  transform: translateY(-2px);
}

.page-responsible-gaming__commitment-section,
.page-responsible-gaming__tools-section,
.page-responsible-gaming__problem-gambling-section,
.page-responsible-gaming__support-section,
.page-responsible-gaming__minor-protection-section {
  padding: 40px 0;
  margin-bottom: 30px;
  background-color: #111111;
  border-radius: 8px;
  border: 1px solid #3A2A12;
}

.page-responsible-gaming__section-title {
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}

.page-responsible-gaming__section-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-responsible-gaming__tool-card {
  background-color: #0A0A0A;
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gaming__tool-card:hover {
  transform: translateY(-5px);
  border-color: #FFD36B;
}

.page-responsible-gaming__tool-icon {
  width: 400px; /* Matched to width attribute in HTML */
  height: 300px; /* Matched to height attribute in HTML */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gaming__tool-title {
  color: #FFD36B;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-responsible-gaming__tool-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #E5E5E5;
}

.page-responsible-gaming__sign-list,
.page-responsible-gaming__protection-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.page-responsible-gaming__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-responsible-gaming__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD36B;
  font-weight: bold;
}

.page-responsible-gaming__support-image,
.page-responsible-gaming__minor-protection-image {
  width: 600px; /* Matched to width attribute in HTML */
  height: 450px; /* Matched to height attribute in HTML */
  max-width: 100%; /* Ensure responsiveness for larger screens */
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-responsible-gaming__section-button {
  margin-top: 20px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .page-responsible-gaming__container {
    padding: 15px;
  }

  .page-responsible-gaming__hero-title {
    font-size: 2em;
  }

  .page-responsible-gaming__section-title {
    font-size: 1.6em;
  }

  .page-responsible-gaming__tools-grid {
    grid-template-columns: 1fr;
  }

  .page-responsible-gaming__hero-image,
  .page-responsible-gaming__tool-icon,
  .page-responsible-gaming__support-image,
  .page-responsible-gaming__minor-protection-image {
    max-width: 100%;
    height: auto;
    /* Ensure content images are not smaller than 200px, but responsive */
    width: 100%; /* Overrides fixed width to be fully responsive */
    min-width: 200px;
    min-height: 200px;
  }

  .page-responsible-gaming__hero-button,
  .page-responsible-gaming__section-button {
    width: 90%;
    min-width: unset;
  }
}