/* style/resources-f8bet-bet-security-guide.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #ffffff;
  --background-dark: #26A9E0;
  --login-button-color: #EA7C07;
}

.page-resources-f8bet-bet-security-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-resources-f8bet-bet-security-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-f8bet-bet-security-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: var(--text-light);
  background-color: var(--background-dark);
  overflow: hidden;
}

.page-resources-f8bet-bet-security-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
}

.page-resources-f8bet-bet-security-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-f8bet-bet-security-guide__hero-section .page-resources-f8bet-bet-security-guide__container {
  position: relative;
  z-index: 1;
}

.page-resources-f8bet-bet-security-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-f8bet-bet-security-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-resources-f8bet-bet-security-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources-f8bet-bet-security-guide__dark-bg .page-resources-f8bet-bet-security-guide__section-title {
  color: var(--secondary-color);
}

.page-resources-f8bet-bet-security-guide__content-section,
.page-resources-f8bet-bet-security-guide__responsible-gambling-section,
.page-resources-f8bet-bet-security-guide__data-protection-section {
  padding: 60px 0;
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-f8bet-bet-security-guide__features-section,
.page-resources-f8bet-bet-security-guide__fair-play-section,
.page-resources-f8bet-bet-security-guide__faq-section,
.page-resources-f8bet-bet-security-guide__cta-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-f8bet-bet-security-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-f8bet-bet-security-guide__image-block {
  text-align: center;
  margin: 40px 0;
}

.page-resources-f8bet-bet-security-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-f8bet-bet-security-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f8bet-bet-security-guide__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-f8bet-bet-security-guide__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-resources-f8bet-bet-security-guide__feature-card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-f8bet-bet-security-guide__feature-card-description {
  font-size: 1em;
  color: var(--text-light);
}

.page-resources-f8bet-bet-security-guide__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 30px;
  font-size: 1.1em;
}

.page-resources-f8bet-bet-security-guide__list-item {
  margin-bottom: 10px;
}

.page-resources-f8bet-bet-security-guide__btn-primary,
.page-resources-f8bet-bet-security-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-f8bet-bet-security-guide__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-f8bet-bet-security-guide__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.page-resources-f8bet-bet-security-guide__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-f8bet-bet-security-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-resources-f8bet-bet-security-guide__dark-bg .page-resources-f8bet-bet-security-guide__btn-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-resources-f8bet-bet-security-guide__dark-bg .page-resources-f8bet-bet-security-guide__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-f8bet-bet-security-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* FAQ Section Styling */
.page-resources-f8bet-bet-security-guide__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-f8bet-bet-security-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-f8bet-bet-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

.page-resources-f8bet-bet-security-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-f8bet-bet-security-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-f8bet-bet-security-guide__faq-item.active .page-resources-f8bet-bet-security-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-f8bet-bet-security-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: var(--text-light);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-f8bet-bet-security-guide__hero-title {
    font-size: 2.8em;
  }

  .page-resources-f8bet-bet-security-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-f8bet-bet-security-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-f8bet-bet-security-guide__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-resources-f8bet-bet-security-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-f8bet-bet-security-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-f8bet-bet-security-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-f8bet-bet-security-guide__content-section,
  .page-resources-f8bet-bet-security-guide__responsible-gambling-section,
  .page-resources-f8bet-bet-security-guide__data-protection-section,
  .page-resources-f8bet-bet-security-guide__features-section,
  .page-resources-f8bet-bet-security-guide__fair-play-section,
  .page-resources-f8bet-bet-security-guide__faq-section,
  .page-resources-f8bet-bet-security-guide__cta-section {
    padding: 40px 0;
  }

  .page-resources-f8bet-bet-security-guide__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-f8bet-bet-security-guide__paragraph {
    font-size: 1em;
  }

  .page-resources-f8bet-bet-security-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-f8bet-bet-security-guide__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  .page-resources-f8bet-bet-security-guide__btn-primary,
  .page-resources-f8bet-bet-security-guide__btn-secondary,
  .page-resources-f8bet-bet-security-guide a[class*="button"],
  .page-resources-f8bet-bet-security-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-resources-f8bet-bet-security-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-f8bet-bet-security-guide__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-f8bet-bet-security-guide__list {
    margin-left: 0;
    padding-left: 20px;
  }

  .page-resources-f8bet-bet-security-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-resources-f8bet-bet-security-guide__faq-answer {
    padding: 0 20px;
  }

  .page-resources-f8bet-bet-security-guide__faq-item.active .page-resources-f8bet-bet-security-guide__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Color Contrast Fixes (if needed) */
.page-resources-f8bet-bet-security-guide__dark-bg {
  color: var(--text-light); /* Deep blue background with white text */
}

.page-resources-f8bet-bet-security-guide__light-bg {
  color: var(--text-dark); /* White background with dark text */
}