/* style/resources-f88bet-app-security-privacy.css */

/* Base styles for the page content area */
.page-resources-f88bet-app-security-privacy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Inherit from shared or default white */
}

/* Container for content sections */
.page-resources-f88bet-app-security-privacy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-resources-f88bet-app-security-privacy__hero-section,
.page-resources-f88bet-app-security-privacy__introduction-section,
.page-resources-f88bet-app-security-privacy__security-features,
.page-resources-f88bet-app-security-privacy__privacy-protection,
.page-resources-f88bet-app-security-privacy__responsible-gaming,
.page-resources-f88bet-app-security-privacy__safe-download,
.page-resources-f88bet-app-security-privacy__user-tips,
.page-resources-f88bet-app-security-privacy__faq-section,
.page-resources-f88bet-app-security-privacy__call-to-action {
  padding: 80px 0;
}

/* Background colors for sections */
.page-resources-f88bet-app-security-privacy__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff; /* White text for dark background */
}

.page-resources-f88bet-app-security-privacy__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-resources-f88bet-app-security-privacy__hero-section {
  text-align: center;
  padding-top: calc(80px + var(--header-offset, 120px)); /* Add header offset */
}

.page-resources-f88bet-app-security-privacy__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-f88bet-app-security-privacy__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-resources-f88bet-app-security-privacy__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
}

.page-resources-f88bet-app-security-privacy__dark-bg .page-resources-f88bet-app-security-privacy__section-title {
  color: #ffffff;
}

.page-resources-f88bet-app-security-privacy__light-bg .page-resources-f88bet-app-security-privacy__section-title {
  color: #017439;
}

.page-resources-f88bet-app-security-privacy__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-resources-f88bet-app-security-privacy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-f88bet-app-security-privacy__btn-primary,
.page-resources-f88bet-app-security-privacy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  min-width: 180px;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-f88bet-app-security-privacy__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-f88bet-app-security-privacy__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-resources-f88bet-app-security-privacy__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-resources-f88bet-app-security-privacy__dark-bg .page-resources-f88bet-app-security-privacy__btn-secondary {
  color: #ffffff;
  border-color: #ffffff;
}

.page-resources-f88bet-app-security-privacy__light-bg .page-resources-f88bet-app-security-privacy__btn-secondary {
  color: #017439;
  border-color: #017439;
}


.page-resources-f88bet-app-security-privacy__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}
.page-resources-f88bet-app-security-privacy__dark-bg .page-resources-f88bet-app-security-privacy__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}
.page-resources-f88bet-app-security-privacy__light-bg .page-resources-f88bet-app-security-privacy__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}


/* Content Grid for text and image */
.page-resources-f88bet-app-security-privacy__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-resources-f88bet-app-security-privacy__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-resources-f88bet-app-security-privacy__text-block {
  flex: 1;
}

.page-resources-f88bet-app-security-privacy__text-block p {
  margin-bottom: 15px;
}

.page-resources-f88bet-app-security-privacy__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-resources-f88bet-app-security-privacy__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element for max-width/height auto */
}

/* Feature Cards */
.page-resources-f88bet-app-security-privacy__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f88bet-app-security-privacy__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-resources-f88bet-app-security-privacy__light-bg .page-resources-f88bet-app-security-privacy__feature-card {
  background-color: #f8f8f8; /* Light gray for light bg */
  color: #333333;
}

.page-resources-f88bet-app-security-privacy__dark-bg .page-resources-f88bet-app-security-privacy__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  color: #ffffff;
}


.page-resources-f88bet-app-security-privacy__feature-card:hover {
  transform: translateY(-5px);
}

.page-resources-f88bet-app-security-privacy__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: inherit; /* Inherit color from parent for contrast */
}

/* Lists */
.page-resources-f88bet-app-security-privacy__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-resources-f88bet-app-security-privacy__list li {
  margin-bottom: 10px;
}

/* FAQ Section */
.page-resources-f88bet-app-security-privacy__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-f88bet-app-security-privacy__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fcfcfc;
}

.page-resources-f88bet-app-security-privacy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: bold;
  color: #333333;
  transition: background-color 0.3s ease;
}

.page-resources-f88bet-app-security-privacy__faq-question:hover {
  background-color: #e5e5e5;
}

.page-resources-f88bet-app-security-privacy__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: inherit;
}

.page-resources-f88bet-app-security-privacy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-f88bet-app-security-privacy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #333333;
}

.page-resources-f88bet-app-security-privacy__faq-item.active .page-resources-f88bet-app-security-privacy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-resources-f88bet-app-security-privacy__faq-item.active .page-resources-f88bet-app-security-privacy__faq-toggle {
  transform: rotate(45deg);
}

/* Call to Action Section */
.page-resources-f88bet-app-security-privacy__call-to-action {
  text-align: center;
}


/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-f88bet-app-security-privacy__hero-title {
    font-size: 2.8em;
  }

  .page-resources-f88bet-app-security-privacy__section-title {
    font-size: 2em;
  }

  .page-resources-f88bet-app-security-privacy__content-grid {
    flex-direction: column;
  }

  .page-resources-f88bet-app-security-privacy__content-grid--reverse {
    flex-direction: column; /* Keep column for reverse on mobile */
  }

  .page-resources-f88bet-app-security-privacy__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-resources-f88bet-app-security-privacy__hero-section,
  .page-resources-f88bet-app-security-privacy__introduction-section,
  .page-resources-f88bet-app-security-privacy__security-features,
  .page-resources-f88bet-app-security-privacy__privacy-protection,
  .page-resources-f88bet-app-security-privacy__responsible-gaming,
  .page-resources-f88bet-app-security-privacy__safe-download,
  .page-resources-f88bet-app-security-privacy__user-tips,
  .page-resources-f88bet-app-security-privacy__faq-section,
  .page-resources-f88bet-app-security-privacy__call-to-action {
    padding: 60px 0;
  }

  .page-resources-f88bet-app-security-privacy__hero-section {
    padding-top: calc(60px + var(--header-offset, 120px)) !important; /* Ensure mobile header offset */
  }

  .page-resources-f88bet-app-security-privacy__hero-title {
    font-size: 2em;
  }

  .page-resources-f88bet-app-security-privacy__hero-description {
    font-size: 1em;
  }

  .page-resources-f88bet-app-security-privacy__section-title {
    font-size: 1.8em;
  }

  .page-resources-f88bet-app-security-privacy__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-resources-f88bet-app-security-privacy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container */
  }

  .page-resources-f88bet-app-security-privacy__btn-primary,
  .page-resources-f88bet-app-security-privacy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  /* Mobile image responsiveness */
  .page-resources-f88bet-app-security-privacy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness (if any) */
  .page-resources-f88bet-app-security-privacy video,
  .page-resources-f88bet-app-security-privacy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-f88bet-app-security-privacy__video-section,
  .page-resources-f88bet-app-security-privacy__video-container,
  .page-resources-f88bet-app-security-privacy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Content containers for mobile */
  .page-resources-f88bet-app-security-privacy__container {
    padding: 0 15px;
  }
  .page-resources-f88bet-app-security-privacy__section,
  .page-resources-f88bet-app-security-privacy__card,
  .page-resources-f88bet-app-security-privacy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  /* Ensure content area images don't go below 200px */
  .page-resources-f88bet-app-security-privacy__content-area img,
  .page-resources-f88bet-app-security-privacy__image-wrapper img {
    min-width: 200px;
    min-height: 200px;
  }
}