.page-responsible-gambling {
  color: #f0f0f0; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #121212; /* Matches body background from shared.css */
}

.page-responsible-gambling__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-responsible-gambling__hero-section {
  position: relative;
  background: linear-gradient(135deg, #8B0000 0%, #FFD700 100%); /* Brand colors gradient */
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure content is below header */
}

.page-responsible-gambling__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-responsible-gambling__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.page-responsible-gambling__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  opacity: 0.9;
  color: #ffffff;
}

.page-responsible-gambling__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-responsible-gambling__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: #FFD700; /* Primary brand color */
  color: #121212; /* Dark text for contrast */
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-responsible-gambling__cta-button:hover {
  background: #e6c200; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-responsible-gambling__cta-button--secondary {
  background: #8B0000; /* Secondary brand color */
  color: #ffffff;
}

.page-responsible-gambling__cta-button--secondary:hover {
  background: #6a0000; /* Slightly darker red */
}

/* General Section Styles */
.page-responsible-gambling__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Primary brand color for titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-responsible-gambling__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-responsible-gambling__content-wrapper p {
  margin-bottom: 20px;
  font-size: 1.05em;
}

.page-responsible-gambling__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-responsible-gambling__dark-section {
  background-color: #1a1a1a; /* Darker background for contrast sections */
  padding: 80px 0;
  color: #f0f0f0;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-title {
  color: #FFD700;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__section-intro {
  color: #cccccc;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__card {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
}

.page-responsible-gambling__dark-section .page-responsible-gambling__card-title {
  color: #FFD700;
}

/* Policy Section */
.page-responsible-gambling__policy-section {
  padding: 80px 0;
}

/* Signs Section */
.page-responsible-gambling__signs-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-responsible-gambling__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-responsible-gambling__list-item {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 25px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__list-item h3 {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gambling__list-item p {
  color: #cccccc;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0;
}

.page-responsible-gambling__conclusion-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Tools Section */
.page-responsible-gambling__tools-section {
  padding: 80px 0;
}

.page-responsible-gambling__tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-responsible-gambling__card {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-responsible-gambling__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-responsible-gambling__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gambling__card p {
  font-size: 1em;
  color: #cccccc;
  flex-grow: 1;
}

.page-responsible-gambling__cta-center {
  text-align: center;
  margin-top: 60px;
}

/* Tips Section */
.page-responsible-gambling__tips-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-responsible-gambling__tips-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-responsible-gambling__tips-item {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 25px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__tips-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__tips-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gambling__tips-item p {
  color: #cccccc;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Support Section */
.page-responsible-gambling__support-section {
  padding: 80px 0;
}

.page-responsible-gambling__external-resources-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
}

.page-responsible-gambling__external-resource-item {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  margin-bottom: 25px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-responsible-gambling__external-resource-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-responsible-gambling__resource-title {
  color: #FFD700;
  font-size: 1.6em;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-responsible-gambling__external-resource-item p {
  color: #cccccc;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-responsible-gambling__resource-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-responsible-gambling__resource-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.page-responsible-gambling__contact-info {
  text-align: center;
  font-size: 1.1em;
  margin-top: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Underage Protection Section */
.page-responsible-gambling__underage-protection-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-responsible-gambling__sub-title {
  color: #FFD700;
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-responsible-gambling__underage-protection-section .page-responsible-gambling__list {
  max-width: 100%;
  margin-left: 20px; /* Indent lists */
  list-style: disc;
}

.page-responsible-gambling__underage-protection-section .page-responsible-gambling__list-item {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 0;
  margin-bottom: 10px;
  text-align: left;
}

.page-responsible-gambling__underage-protection-section .page-responsible-gambling__list-item h3 {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 5px;
}

.page-responsible-gambling__underage-protection-section .page-responsible-gambling__list-item p {
  font-size: 0.95em;
  color: #cccccc;
}

/* Conclusion Section */
.page-responsible-gambling__conclusion-section {
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-responsible-gambling__main-title {
    font-size: 2.8em;
  }

  .page-responsible-gambling__hero-description {
    font-size: 1.2em;
  }

  .page-responsible-gambling__section-title {
    font-size: 2.2em;
  }

  .page-responsible-gambling__tools-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-responsible-gambling__hero-section {
    padding-top: calc(60px + var(--header-offset, 120px)) !important;
    padding-bottom: 60px;
  }

  .page-responsible-gambling__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-responsible-gambling__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-responsible-gambling__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-responsible-gambling__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-responsible-gambling__section-intro,
  .page-responsible-gambling__content-wrapper p,
  .page-responsible-gambling__list-item p,
  .page-responsible-gambling__card p,
  .page-responsible-gambling__tips-item p,
  .page-responsible-gambling__external-resource-item p,
  .page-responsible-gambling__contact-info {
    font-size: 0.95em;
  }

  .page-responsible-gambling__list-item,
  .page-responsible-gambling__card,
  .page-responsible-gambling__tips-item,
  .page-responsible-gambling__external-resource-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-responsible-gambling__list-item h3,
  .page-responsible-gambling__card-title,
  .page-responsible-gambling__tips-title,
  .page-responsible-gambling__resource-title {
    font-size: 1.4em;
  }

  .page-responsible-gambling__tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-responsible-gambling__policy-section,
  .page-responsible-gambling__signs-section,
  .page-responsible-gambling__tools-section,
  .page-responsible-gambling__tips-section,
  .page-responsible-gambling__support-section,
  .page-responsible-gambling__underage-protection-section,
  .page-responsible-gambling__conclusion-section {
    padding: 60px 0;
  }

  /* Image responsiveness for mobile */
  .page-responsible-gambling img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-responsible-gambling__content-wrapper,
  .page-responsible-gambling__card,
  .page-responsible-gambling__list-item,
  .page-responsible-gambling__tips-item,
  .page-responsible-gambling__external-resource-item,
  .page-responsible-gambling__hero-container,
  .page-responsible-gambling__tools-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }

  .page-responsible-gambling__underage-protection-section .page-responsible-gambling__list {
    margin-left: 15px;
  }

  .page-responsible-gambling__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 480px) {
  .page-responsible-gambling__main-title {
    font-size: 1.8em;
  }

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

  .page-responsible-gambling__cta-button {
    font-size: 0.95em !important;
  }
}