.page-resources-bet789-account-security {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222222; /* Inherit from body background */
}

.page-resources-bet789-account-security__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-bet789-account-security__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-bet789-account-security__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-resources-bet789-account-security__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-bet789-account-security__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-bet789-account-security__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-bet789-account-security__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-bet789-account-security__content-section {
  padding: 60px 20px;
  color: #333333; /* Dark text for light background */
}

.page-resources-bet789-account-security__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-bet789-account-security__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-bet789-account-security__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-bet789-account-security__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  text-align: center;
  color: inherit;
}

.page-resources-bet789-account-security__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

.page-resources-bet789-account-security__text-block a {
  color: #017439; /* Link color for light backgrounds */
  text-decoration: underline;
}

.page-resources-bet789-account-security__dark-section .page-resources-bet789-account-security__text-block a {
  color: #FFFF00; /* Link color for dark backgrounds */
}

.page-resources-bet789-account-security__feature-grid, 
.page-resources-bet789-account-security__threat-grid, 
.page-resources-bet789-account-security__practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-bet789-account-security__card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark sections */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 450px; /* Ensure cards have enough height */
}

.page-resources-bet789-account-security__light-bg .page-resources-bet789-account-security__card {
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-bet789-account-security__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-bet789-account-security__feature-title,
.page-resources-bet789-account-security__threat-title,
.page-resources-bet789-account-security__practice-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit;
}

.page-resources-bet789-account-security__feature-description,
.page-resources-bet789-account-security__threat-description,
.page-resources-bet789-account-security__practice-description {
  font-size: 1em;
  color: inherit;
  line-height: 1.6;
}

.page-resources-bet789-account-security__commitment-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.page-resources-bet789-account-security__commitment-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-resources-bet789-account-security__faq-section {
  padding: 60px 20px;
  background-color: #017439;
  color: #ffffff;
}

.page-resources-bet789-account-security__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-bet789-account-security__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-bet789-account-security__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-bet789-account-security__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-bet789-account-security__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-bet789-account-security__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-bet789-account-security__faq-item.active .page-resources-bet789-account-security__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-bet789-account-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-bet789-account-security__faq-item.active .page-resources-bet789-account-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-resources-bet789-account-security__faq-answer p {
  margin: 0;
  color: inherit;
}

.page-resources-bet789-account-security__faq-answer a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-resources-bet789-account-security__cta-section {
  padding: 80px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-bet789-account-security__text-center {
  text-align: center;
}

.page-resources-bet789-account-security__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-bet789-account-security__btn-primary,
.page-resources-bet789-account-security__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-resources-bet789-account-security__btn-primary {
  background-color: #C30808; /* Custom Login/Register color */
  color: #FFFF00; /* Custom Login/Register font color */
  border: 2px solid #C30808;
}

.page-resources-bet789-account-security__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-resources-bet789-account-security__btn-secondary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-bet789-account-security__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-bet789-account-security__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-resources-bet789-account-security__floating-btn-login,
.page-resources-bet789-account-security__floating-btn-register {
  display: block;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.page-resources-bet789-account-security__floating-btn-login {
  background-color: #C30808; /* Custom Login color */
  color: #FFFF00; /* Custom Login font color */
}

.page-resources-bet789-account-security__floating-btn-login:hover {
  transform: translateY(-3px);
  background-color: #a00606;
}

.page-resources-bet789-account-security__floating-btn-register {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-bet789-account-security__floating-btn-register:hover {
  transform: translateY(-3px);
  background-color: #005a2d;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-bet789-account-security__main-title {
    font-size: 2.8em;
  }
  .page-resources-bet789-account-security__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-bet789-account-security__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-bet789-account-security__main-title {
    font-size: 2.2em;
  }
  .page-resources-bet789-account-security__intro-description {
    font-size: 1em;
  }
  .page-resources-bet789-account-security__section-title {
    font-size: 1.8em;
  }
  .page-resources-bet789-account-security__text-block,
  .page-resources-bet789-account-security__feature-description,
  .page-resources-bet789-account-security__threat-description,
  .page-resources-bet789-account-security__practice-description {
    font-size: 0.95em;
  }
  .page-resources-bet789-account-security__feature-grid,
  .page-resources-bet789-account-security__threat-grid,
  .page-resources-bet789-account-security__practice-grid {
    grid-template-columns: 1fr;
  }
  .page-resources-bet789-account-security__card {
    min-height: auto;
  }
  .page-resources-bet789-account-security__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-bet789-account-security__btn-primary,
  .page-resources-bet789-account-security__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  /* Mobile image responsiveness */
  .page-resources-bet789-account-security img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-bet789-account-security__hero-image-wrapper,
  .page-resources-bet789-account-security__feature-item,
  .page-resources-bet789-account-security__commitment-content,
  .page-resources-bet789-account-security__threat-item,
  .page-resources-bet789-account-security__practice-item,
  .page-resources-bet789-account-security__faq-section,
  .page-resources-bet789-account-security__cta-section,
  .page-resources-bet789-account-security__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-resources-bet789-account-security__faq-question,
  .page-resources-bet789-account-security__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-bet789-account-security__floating-buttons {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .page-resources-bet789-account-security__floating-btn-login,
  .page-resources-bet789-account-security__floating-btn-register {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-resources-bet789-account-security__main-title {
    font-size: 1.8em;
  }
  .page-resources-bet789-account-security__section-title {
    font-size: 1.5em;
  }
  .page-resources-bet789-account-security__hero-buttons {
    flex-direction: column;
  }
}