:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --accent-color-register: #C30808;
  --accent-color-login: #C30808;
  --font-color-register-login: #FFFF00;
}

.page-resources-win8bet-security {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--secondary-color); /* Matches body background */
}

.page-resources-win8bet-security__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-win8bet-security__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-win8bet-security__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-win8bet-security__hero-content {
  position: relative;
  z-index: 3;
  color: var(--secondary-color);
  max-width: 900px;
  padding: 20px;
}

.page-resources-win8bet-security__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-resources-win8bet-security__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-resources-win8bet-security__btn-primary,
.page-resources-win8bet-security__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-win8bet-security__btn-primary {
  background-color: var(--accent-color-register); /* #C30808 */
  color: var(--font-color-register-login); /* #FFFF00 */
  border: 2px solid var(--accent-color-register);
}

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

.page-resources-win8bet-security__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-win8bet-security__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-resources-win8bet-security__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-resources-win8bet-security__section-wrapper {
  padding: 0 15px;
}

.page-resources-win8bet-security__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 25px;
  text-align: center;
}

.page-resources-win8bet-security__paragraph {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555555;
  text-align: justify;
}

.page-resources-win8bet-security__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-resources-win8bet-security__image-text-block--reversed {
  flex-direction: row-reverse;
}

.page-resources-win8bet-security__image-container {
  flex: 1;
  min-width: 300px;
}

.page-resources-win8bet-security__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-resources-win8bet-security__text-content {
  flex: 1;
}

.page-resources-win8bet-security__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-resources-win8bet-security__list-item {
  background: var(--primary-color);
  color: var(--secondary-color);
  margin-bottom: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-resources-win8bet-security__list-item::before {
  content: '✓';
  color: var(--font-color-register-login); /* #FFFF00 */
  font-weight: bold;
  font-size: 1.2em;
}

/* FAQ Section */
.page-resources-win8bet-security__faq-container {
  margin-top: 50px;
}

.page-resources-win8bet-security__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

.page-resources-win8bet-security__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-win8bet-security__faq-question h3 {
  margin: 0;
  font-size: 1.1em;
}

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

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

.page-resources-win8bet-security__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-resources-win8bet-security__faq-item.active .page-resources-win8bet-security__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 20px !important;
}

.page-resources-win8bet-security__cta-buttons--bottom {
  margin-top: 50px;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-resources-win8bet-security__hero-title {
    font-size: 2.5em;
  }
  .page-resources-win8bet-security__section-title {
    font-size: 1.8em;
  }
  .page-resources-win8bet-security__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-resources-win8bet-security__image-text-block--reversed {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-resources-win8bet-security__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-win8bet-security__hero-title {
    font-size: 2em;
  }
  .page-resources-win8bet-security__hero-description {
    font-size: 1em;
  }
  .page-resources-win8bet-security__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-win8bet-security__btn-primary,
  .page-resources-win8bet-security__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 10px 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-resources-win8bet-security__content-area {
    padding: 30px 15px;
  }
  .page-resources-win8bet-security__section-wrapper {
    padding: 0;
  }
  .page-resources-win8bet-security__section-title {
    font-size: 1.6em;
  }
  .page-resources-win8bet-security__paragraph,
  .page-resources-win8bet-security__list-item {
    font-size: 0.95em;
  }
  .page-resources-win8bet-security img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-win8bet-security__image-container,
  .page-resources-win8bet-security__text-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-resources-win8bet-security__image-text-block {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-resources-win8bet-security__faq-item,
  .page-resources-win8bet-security__faq-question,
  .page-resources-win8bet-security__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-resources-win8bet-security__faq-item.active .page-resources-win8bet-security__faq-answer {
    padding: 15px 15px !important;
  }
  .page-resources-win8bet-security__cta-buttons--bottom {
    padding: 0 15px;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .page-resources-win8bet-security__hero-title {
    font-size: 1.5em;
  }
  .page-resources-win8bet-security__hero-description {
    font-size: 0.9em;
  }
  .page-resources-win8bet-security__btn-primary,
  .page-resources-win8bet-security__btn-secondary {
    font-size: 0.9em;
  }
  .page-resources-win8bet-security__section-title {
    font-size: 1.4em;
  }
}