:root {
  /* Custom Colors from prompt */
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --site-bg: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

  /* Header offset from shared.css */
  --header-offset: 120px; /* Default desktop */
}

/* Ensure content area respects fixed header */
.page-responsible-gaming__hero-section {
  padding-top: var(--header-offset); /* Desktop: 120px */
}

/* General Page Styling */
.page-responsible-gaming {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Light text for dark body background */
  background-color: var(--site-bg); /* Dark background */
}

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

.page-responsible-gaming__section-title,
.page-responsible-gaming__subsection-title {
  color: var(--secondary-color); /* Gold for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-responsible-gaming__section-title {
  font-size: 2.5em;
  padding-top: 60px;
}

.page-responsible-gaming__subsection-title {
  font-size: 1.8em;
  margin-top: 40px;
  text-align: left;
  color: var(--primary-color);
}

.page-responsible-gaming__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: rgba(255, 246, 214, 0.9); /* Slightly muted light text */
}

/* Hero Section */
.page-responsible-gaming__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* Brand color gradient */
  overflow: hidden; /* For image positioning */
}

.page-responsible-gaming__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Ensure image is behind text content */
  overflow: hidden;
}

.page-responsible-gaming__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Darken image for better text readability */
  filter: grayscale(50%) brightness(0.6);
}

.page-responsible-gaming__hero-content {
  position: relative;
  z-index: 2; /* Ensure text is above image */
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text contrast */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 50px; /* Space from bottom */
}

.page-responsible-gaming__main-title {
  color: var(--text-main);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-responsible-gaming__hero-description {
  font-size: 1.2em;
  color: rgba(255, 246, 214, 0.9);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-responsible-gaming__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.page-responsible-gaming__centered-buttons {
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-responsible-gaming__btn-primary,
.page-responsible-gaming__btn-secondary,
.page-responsible-gaming__btn-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
}

.page-responsible-gaming__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text for dark gradient */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-responsible-gaming__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
  opacity: 0.9;
}

.page-responsible-gaming__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-responsible-gaming__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--site-bg); /* Dark background text */
  transform: translateY(-3px);
}

.page-responsible-gaming__btn-tertiary {
  background-color: var(--border-color); /* Darker background for card buttons */
  color: var(--text-main);
  border: 1px solid var(--primary-color);
  font-size: 0.95em;
  padding: 10px 20px;
  margin-top: auto; /* Push to bottom of card */
}

.page-responsible-gaming__btn-tertiary:hover {
  background-color: var(--primary-color);
  color: var(--site-bg);
  border-color: var(--primary-color);
}


/* List Styles */
.page-responsible-gaming__list {
  list-style: none; /* Remove default bullet */
  padding: 0;
  margin: 20px 0;
}

.page-responsible-gaming__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1em;
  color: rgba(255, 246, 214, 0.9);
}

.page-responsible-gaming__list-item::before {
  content: '✔'; /* Custom bullet point */
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

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

.page-responsible-gaming__card {
  background-color: var(--card-bg); /* Dark card background */
  border: 1px solid var(--border-color); /* Subtle border */
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  color: var(--text-main); /* Light text on dark card */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-responsible-gaming__card-title {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-responsible-gaming__card-text {
  font-size: 1em;
  color: rgba(255, 246, 214, 0.8);
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-responsible-gaming__faq-list {
  margin-top: 30px;
}

.page-responsible-gaming__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-responsible-gaming__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a; /* Slightly lighter than card-bg for question area */
  color: var(--text-main);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-responsible-gaming__faq-question:hover {
  background-color: #2a2a2a;
}

.page-responsible-gaming__faq-title {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.1em;
}

.page-responsible-gaming__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-responsible-gaming__faq-item.active .page-responsible-gaming__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-responsible-gaming__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: rgba(255, 246, 214, 0.8);
}