/* style/responsible-gaming.css */

/* Custom properties for colors from shared.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --login-button-color: #EA7C07;
}

.page-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark); /* Default text color for light backgrounds */
  background-color: var(--secondary-color); /* Body background is light */
}

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

.page-responsible-gaming__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, var(--primary-color), #87CEEB); /* Lighter blue gradient */
  color: var(--text-color-light);
}

.page-responsible-gaming__hero-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-responsible-gaming__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  line-height: 1.2;
}

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

.page-responsible-gaming__hero-image-wrapper {
  width: 100%;
  max-width: 800px; /* Limit image width in hero for better composition */
  margin-bottom: 30px;
}

.page-responsible-gaming__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-button-color); /* Using login color for CTA */
  color: var(--text-color-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__cta-button:hover {
  background: #d46e06; /* Darken login button color */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

.page-responsible-gaming__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--login-button-color);
  border-radius: 2px;
}

.page-responsible-gaming__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-color-dark);
}

.page-responsible-gaming__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-responsible-gaming__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 60px 0;
}

.page-responsible-gaming__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 60px 0;
}

.page-responsible-gaming__dark-bg .page-responsible-gaming__section-title,
.page-responsible-gaming__dark-bg .page-responsible-gaming__card-title {
  color: var(--text-color-light);
}

.page-responsible-gaming__dark-bg .page-responsible-gaming__section-title::after {
  background-color: var(--secondary-color);
}

.page-responsible-gaming__dark-bg .page-responsible-gaming__text-block {
  color: var(--text-color-light);
}

.page-responsible-gaming__dark-bg .page-responsible-gaming__text-block a {
  color: var(--secondary-color);
}