:root {
  --primary-color: #007BFF;
  --secondary-color: #FFC107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light-grey: #f1f3f5;
  --border-light: #e0e0e0;
}

/* Fixed navbar padding for main content */
.page-resources-online-betting-security-tips {
  padding-top: 120px; /* Desktop: Adjust based on fixed header height */
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark); /* Ensure consistency if needed, though body handles this */
}

/* Intro Section */
.page-resources-online-betting-security-tips__intro-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-dark); /* Ensure dark background for this section */
  color: var(--text-light);
}

.page-resources-online-betting-security-tips__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-online-betting-security-tips__main-title {
  font-size: 3.2em;
  color: var(--secondary-color); /* Highlight with secondary color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-online-betting-security-tips__intro-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-betting-security-tips__image-wrapper {
  margin-bottom: 30px;
  text-align: center;
}

.page-resources-online-betting-security-tips__main-image {
  max-width: 800px; /* Larger image for intro */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-resources-online-betting-security-tips__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.page-resources-online-betting-security-tips__cta-button:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-resources-online-betting-security-tips__section {
  padding: 50px 0;
  background-color: var(--background-light-grey); /* Light background for content sections */
  color: var(--text-dark); /* Dark text for light background */
  border-bottom: 1px solid var(--border-light);
}

.page-resources-online-betting-security-tips__section:nth-child(even) {
  background-color: #ffffff; /* Alternate white background */
}

.page-resources-online-betting-security-tips__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.3;
}

.page-resources-online-betting-security-tips__section p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-resources-online-betting-security-tips__section h3.page-resources-online-betting-security-tips__subsection-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 5px solid var(--secondary-color);
  padding-left: 15px;
}

.page-resources-online-betting-security-tips__section ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.page-resources-online-betting-security-tips__section ul li {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 10px;
}

.page-resources-online-betting-security-tips__section a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-online-betting-security-tips__section a:hover {
  color: var(--secondary-color);
}

.page-resources-online-betting-security-tips__image-left {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

.page-resources-online-betting-security-tips__image-left .page-resources-online-betting-security-tips__image {
  flex-shrink: 0;
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-online-betting-security-tips__image-right {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
  flex-direction: row-reverse;
}

.page-resources-online-betting-security-tips__image-right .page-resources-online-betting-security-tips__image {
  flex-shrink: 0;
  width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-online-betting-security-tips__center-image {
  text-align: center;
  margin: 30px auto;
}

.page-resources-online-betting-security-tips__center-image .page-resources-online-betting-security-tips__image {
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-resources-online-betting-security-tips__promo-button {
  background: linear-gradient(135deg, var(--secondary-color), #ff8c42);
  color: var(--text-light);
  margin-top: 30px;
}

.page-resources-online-betting-security-tips__promo-button:hover {
  background: linear-gradient(135deg, #ff8c42, var(--secondary-color));
}

/* FAQ Section */
.page-resources-online-betting-security-tips__faq-section {
  background-color: var(--background-dark); /* Dark background for FAQ */
  color: var(--text-light);
  padding: 60px 0;
}

.page-resources-online-betting-security-tips__faq-section .page-resources-online-betting-security-tips__section-title {
  color: var(--secondary-color);
}

.page-resources-online-betting-security-tips__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-online-betting-security-tips__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

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

.page-resources-online-betting-security-tips__faq-item.active .page-resources-online-betting-security-tips__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-radius: 0 0 5px 5px;
}

.page-resources-online-betting-security-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1); /* Lighter background for question */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-online-betting-security-tips__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-online-betting-security-tips__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-resources-online-betting-security-tips__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-light);
}

.page-resources-online-betting-security-tips__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  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-security-tips__faq-item.active .page-resources-online-betting-security-tips__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Rotate for 'x' effect */
}


/* Conclusion Section */
.page-resources-online-betting-security-tips__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-online-betting-security-tips__conclusion-section .page-resources-online-betting-security-tips__section-title {
  color: var(--secondary-color);
}

.page-resources-online-betting-security-tips__conclusion-section p {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-resources-online-betting-security-tips__final-cta {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

.page-resources-online-betting-security-tips__final-cta:hover {
  background: linear-gradient(135deg, #0056b3, var(--primary-color));
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-security-tips__main-title {
    font-size: 2.5em;
  }
  .page-resources-online-betting-security-tips__section-title {
    font-size: 2em;
  }
  .page-resources-online-betting-security-tips__subsection-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-security-tips__intro-text,
  .page-resources-online-betting-security-tips__section p,
  .page-resources-online-betting-security-tips__section ul li {
    font-size: 1em;
  }
  .page-resources-online-betting-security-tips__image-left,
  .page-resources-online-betting-security-tips__image-right {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-resources-online-betting-security-tips__image-left .page-resources-online-betting-security-tips__image,
  .page-resources-online-betting-security-tips__image-right .page-resources-online-betting-security-tips__image {
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-security-tips {
    padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-online-betting-security-tips__container {
    padding: 0 15px;
  }
  .page-resources-online-betting-security-tips__intro-section,
  .page-resources-online-betting-security-tips__section,
  .page-resources-online-betting-security-tips__faq-section,
  .page-resources-online-betting-security-tips__conclusion-section {
    padding: 30px 0;
  }
  .page-resources-online-betting-security-tips__main-title {
    font-size: 2em;
  }
  .page-resources-online-betting-security-tips__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-security-tips__subsection-title {
    font-size: 1.3em;
    padding-left: 10px;
  }
  .page-resources-online-betting-security-tips__main-image {
    max-width: 100%;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-online-betting-security-tips__image-left .page-resources-online-betting-security-tips__image,
  .page-resources-online-betting-security-tips__image-right .page-resources-online-betting-security-tips__image,
  .page-resources-online-betting-security-tips__center-image .page-resources-online-betting-security-tips__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-online-betting-security-tips__image-left,
  .page-resources-online-betting-security-tips__image-right {
    gap: 15px;
  }

  /* FAQ Mobile */
  .page-resources-online-betting-security-tips__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  .page-resources-online-betting-security-tips__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  .page-resources-online-betting-security-tips__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  .page-resources-online-betting-security-tips__faq-answer {
    padding: 0 15px;
  }
  .page-resources-online-betting-security-tips__faq-item.active .page-resources-online-betting-security-tips__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all image containers are responsive */
  .page-resources-online-betting-security-tips__section,
  .page-resources-online-betting-security-tips__container,
  .page-resources-online-betting-security-tips__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}