:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #000000; /* Body background */
  --background-light: #f8f9fa;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-online-betting-safety {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-resources-online-betting-safety__hero-section {
  padding: 80px 20px;
  text-align: center;
  background-image: url('[GALLERY:bg:33win,safety,responsible_gaming,hero,1920x1080]');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.page-resources-online-betting-safety__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

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

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

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

.page-resources-online-betting-safety__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-resources-online-betting-safety__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.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(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

.page-resources-online-betting-safety__content-area .page-resources-online-betting-safety__section-title {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-resources-online-betting-safety p {
  margin-bottom: 1em;
  font-size: 1.1em;
}

.page-resources-online-betting-safety strong.highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-resources-online-betting-safety__dark-bg strong.highlight {
  color: var(--primary-color);
}

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

.page-resources-online-betting-safety__feature-card,
.page-resources-online-betting-safety__responsibility-card,
.page-resources-online-betting-safety__game-card {
  background-color: var(--card-background-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;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-resources-online-betting-safety__feature-icon,
.page-resources-online-betting-safety__tip-icon,
.page-resources-online-betting-safety__game-image,
.page-resources-online-betting-safety__promo-image {
  width: 100%;
  max-width: 250px; /* Adjust max-width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-online-betting-safety__feature-title,
.page-resources-online-betting-safety__responsibility-title,
.page-resources-online-betting-safety__game-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

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

.page-resources-online-betting-safety__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-resources-online-betting-safety__tips-list li {
  background-color: var(--card-background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-betting-safety__tip-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-resources-online-betting-safety__promo-highlight {
  background-color: var(--card-background-light);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  margin-top: 60px;
  color: var(--text-dark);
}

.page-resources-online-betting-safety__promo-title {
  font-size: 2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-resources-online-betting-safety__support-info {
  margin-top: 40px;
  background-color: var(--card-background-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: var(--text-dark);
}

.page-resources-online-betting-safety__support-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-resources-online-betting-safety__contact-list {
  list-style: none;
  padding: 0;
}

.page-resources-online-betting-safety__contact-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-online-betting-safety__faq-main-title {
  font-size: 2em;
  color: var(--secondary-color);
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

/* FAQ styles */
.page-resources-online-betting-safety__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-online-betting-safety__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-online-betting-safety__faq-item.active .page-resources-online-betting-safety__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-resources-online-betting-safety__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-resources-online-betting-safety__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-online-betting-safety__faq-question:active {
  background: #eeeeee;
}

.page-resources-online-betting-safety__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
}

.page-resources-online-betting-safety__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-online-betting-safety__faq-item.active .page-resources-online-betting-safety__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

.page-resources-online-betting-safety__conclusion-content {
  text-align: center;
}

.page-resources-online-betting-safety__conclusion-content .page-resources-online-betting-safety__section-title {
  margin-bottom: 20px;
}

.page-resources-online-betting-safety__conclusion-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety__main-title {
    font-size: 2.8em;
  }
  .page-resources-online-betting-safety__section-title {
    font-size: 2em;
  }
  .page-resources-online-betting-safety p {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety {
    padding-top: 100px !important; /* Adjust for fixed header on mobile */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-online-betting-safety__hero-section {
    padding: 60px 15px;
  }
  .page-resources-online-betting-safety__main-title {
    font-size: 2.2em;
  }
  .page-resources-online-betting-safety__hero-description {
    font-size: 1em;
  }
  .page-resources-online-betting-safety__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-resources-online-betting-safety__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }
  .page-resources-online-betting-safety__section {
    padding: 40px 15px;
  }
  .page-resources-online-betting-safety__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-online-betting-safety__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety__features-grid,
  .page-resources-online-betting-safety__responsibility-grid,
  .page-resources-online-betting-safety__games-grid,
  .page-resources-online-betting-safety__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-online-betting-safety__feature-card,
  .page-resources-online-betting-safety__responsibility-card,
  .page-resources-online-betting-safety__game-card,
  .page-resources-online-betting-safety__tips-list li {
    padding: 20px;
  }
  .page-resources-online-betting-safety__feature-icon,
  .page-resources-online-betting-safety__tip-icon,
  .page-resources-online-betting-safety__game-image,
  .page-resources-online-betting-safety__promo-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-online-betting-safety__promo-highlight {
    padding: 30px 20px;
  }
  .page-resources-online-betting-safety__promo-title {
    font-size: 1.6em;
  }
  .page-resources-online-betting-safety__faq-question {
    padding: 15px;
  }
  .page-resources-online-betting-safety__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-online-betting-safety__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-resources-online-betting-safety__faq-item.active .page-resources-online-betting-safety__faq-answer {
    padding: 15px !important;
  }
  .page-resources-online-betting-safety__conclusion-content p {
    font-size: 1em;
  }
}

@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__promo-title {
    font-size: 1.4em;
  }
  .page-resources-online-betting-safety__faq-main-title {
    font-size: 1.5em;
  }
}