/* style/responsible-gaming.css */
:root {
  --primary-color: #003366;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f4f4;
  --border-color: #e0e0e0;
}

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

/* Ensure main content is not covered by fixed header */
.page-responsible-gaming__hero-section,
.page-responsible-gaming__section {
  /* padding-top: var(--header-offset, 120px); */ /* This is handled by the first-of-type selector below */
  padding-bottom: 60px;
}

.page-responsible-gaming__section:first-of-type {
  padding-top: var(--header-offset, 120px);
}

.page-responsible-gaming__hero-section {
  position: relative;
  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-light);
  padding-top: var(--header-offset, 120px); /* Ensure hero is below header */
}

.page-responsible-gaming__hero-container {
  position: relative;
  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;
}

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

.page-responsible-gaming__hero-content h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-responsible-gaming__intro-text {
  font-size: 18px;
  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(--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: none;
}

.page-responsible-gaming__cta-button:hover {
  background: #e6b800; /* Slightly darker gold */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.page-responsible-gaming__section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-responsible-gaming__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

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

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

.page-responsible-gaming__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

.page-responsible-gaming__card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-responsible-gaming__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-responsible-gaming__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 15px;
  margin-bottom: 15px;
}

.page-responsible-gaming__card p {
  font-size: 16px;
  color: var(--text-dark);
  flex-grow: 1;
}