.page-resources-online-betting-safety {
  --primary-color: #FFD700;
  --secondary-color: #1A1A1A;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --background-dark: #121212;
  --background-light: #f8f9fa;
  --card-background: rgba(255, 255, 255, 0.08);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
}

.page-resources-online-betting-safety__hero-section {
  position: relative;
  padding: 120px 20px 60px; /* Adjusted padding-top for fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-resources-online-betting-safety__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-resources-online-betting-safety__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-online-betting-safety__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-betting-safety__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-resources-online-betting-safety__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-online-betting-safety__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-online-betting-safety__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-online-betting-safety__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-online-betting-safety__section {
  padding: 80px 20px;
}

.page-resources-online-betting-safety__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__dark-section {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-resources-online-betting-safety__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-safety__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__feature-grid, 
.page-resources-online-betting-safety__service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-betting-safety__feature-card, 
.page-resources-online-betting-safety__service-card {
  background-color: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__feature-card:hover, 
.page-resources-online-betting-safety__service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-online-betting-safety__card-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-resources-online-betting-safety__card-image {
  max-width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-resources-online-betting-safety__feature-card p, 
.page-resources-online-betting-safety__service-card p {
  font-size: 1em;
  color: var(--text-color-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-resources-online-betting-safety__link-button {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-resources-online-betting-safety__link-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-resources-online-betting-safety__content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-resources-online-betting-safety__content-text {
  flex: 1;
  text-align: left;
  color: var(--text-color-light);
}

.page-resources-online-betting-safety__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  margin-top: 30px;
}

.page-resources-online-betting-safety__content-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-resources-online-betting-safety__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources-online-betting-safety__cta-final {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety__main-title {
    font-size: 3em;
  }
  .page-resources-online-betting-safety__section-title {
    font-size: 2em;
  }
  .page-resources-online-betting-safety__content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-resources-online-betting-safety__content-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety__hero-section {
    padding-top: 100px !important; /* Mobile padding-top for fixed header */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-online-betting-safety__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-resources-online-betting-safety__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-resources-online-betting-safety__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-online-betting-safety__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important; /* Ensure buttons are full width */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-online-betting-safety__section {
    padding: 60px 15px;
  }
  .page-resources-online-betting-safety__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-resources-online-betting-safety__text-block {
    font-size: 0.95em;
  }
  .page-resources-online-betting-safety__feature-grid, 
  .page-resources-online-betting-safety__service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-online-betting-safety__feature-card, 
  .page-resources-online-betting-safety__service-card {
    padding: 25px;
  }
  .page-resources-online-betting-safety__card-title {
    font-size: 1.4em;
  }
  .page-resources-online-betting-safety__card-image {
    height: 200px;
  }
  .page-resources-online-betting-safety__sub-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety img, 
  .page-resources-online-betting-safety__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-online-betting-safety__container,
  .page-resources-online-betting-safety__hero-section,
  .page-resources-online-betting-safety__section,
  .page-resources-online-betting-safety__feature-grid,
  .page-resources-online-betting-safety__service-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-online-betting-safety__link-button {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-safety__main-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety__sub-title {
    font-size: 1.3em;
  }
}