.page-resources-f8bet-beta-2-latest-updates {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #121212;
  --bg-card-dark: rgba(255, 255, 255, 0.1);
  --button-login-color: #EA7C07;

  color: var(--text-light); /* Base text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-resources-f8bet-beta-2-latest-updates__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-resources-f8bet-beta-2-latest-updates__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 not hidden by fixed header */
}

.page-resources-f8bet-beta-2-latest-updates__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-resources-f8bet-beta-2-latest-updates__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 0;
}

.page-resources-f8bet-beta-2-latest-updates__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
}

.page-resources-f8bet-beta-2-latest-updates__hero-title {
  font-size: 3.5em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-f8bet-beta-2-latest-updates__hero-description {
  font-size: 1.2em;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.page-resources-f8bet-beta-2-latest-updates__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-f8bet-beta-2-latest-updates__btn-primary,
.page-resources-f8bet-beta-2-latest-updates__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-resources-f8bet-beta-2-latest-updates__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-f8bet-beta-2-latest-updates__btn-primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-resources-f8bet-beta-2-latest-updates__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-f8bet-beta-2-latest-updates__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-resources-f8bet-beta-2-latest-updates__intro-section,
.page-resources-f8bet-beta-2-latest-updates__games-section,
.page-resources-f8bet-beta-2-latest-updates__features-section,
.page-resources-f8bet-beta-2-latest-updates__benefits-section,
.page-resources-f8bet-beta-2-latest-updates__cta-section,
.page-resources-f8bet-beta-2-latest-updates__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-f8bet-beta-2-latest-updates__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.page-resources-f8bet-beta-2-latest-updates__dark-bg .page-resources-f8bet-beta-2-latest-updates__section-title {
  color: var(--secondary-color);
}

.page-resources-f8bet-beta-2-latest-updates__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 60px auto;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__games-section .page-resources-f8bet-beta-2-latest-updates__text-block {
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__game-categories,
.page-resources-f8bet-beta-2-latest-updates__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-f8bet-beta-2-latest-updates__card {
  background-color: var(--bg-card-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__card-image,
.page-resources-f8bet-beta-2-latest-updates__feature-icon {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-resources-f8bet-beta-2-latest-updates__card-title,
.page-resources-f8bet-beta-2-latest-updates__feature-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-resources-f8bet-beta-2-latest-updates__card-description,
.page-resources-f8bet-beta-2-latest-updates__feature-description {
  font-size: 1em;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-resources-f8bet-beta-2-latest-updates__btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
  align-self: flex-start;
}

.page-resources-f8bet-beta-2-latest-updates__btn-text:hover {
  text-decoration: underline;
}

.page-resources-f8bet-beta-2-latest-updates__feature-item {
  background-color: var(--bg-card-dark);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__benefits-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__benefit-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-f8bet-beta-2-latest-updates__benefit-list li {
  background-color: var(--bg-card-dark);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  display: flex;
  align-items: flex-start;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__benefit-list li::before {
  content: '✔';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2em;
  line-height: 1;
  flex-shrink: 0;
}

.page-resources-f8bet-beta-2-latest-updates__benefit-highlight {
  color: var(--primary-color);
}

.page-resources-f8bet-beta-2-latest-updates__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-f8bet-beta-2-latest-updates__faq-item {
  background-color: var(--bg-card-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: var(--primary-color);
  transition: background-color 0.3s ease;
}

.page-resources-f8bet-beta-2-latest-updates__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-f8bet-beta-2-latest-updates__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-f8bet-beta-2-latest-updates__faq-item.active .page-resources-f8bet-beta-2-latest-updates__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

.page-resources-f8bet-beta-2-latest-updates__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-resources-f8bet-beta-2-latest-updates__faq-item.active .page-resources-f8bet-beta-2-latest-updates__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px;
}

.page-resources-f8bet-beta-2-latest-updates__faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-f8bet-beta-2-latest-updates__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-f8bet-beta-2-latest-updates {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-f8bet-beta-2-latest-updates__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header on mobile */
  }

  .page-resources-f8bet-beta-2-latest-updates__hero-title {
    font-size: 2.2em;
  }

  .page-resources-f8bet-beta-2-latest-updates__hero-description {
    font-size: 1em;
  }

  .page-resources-f8bet-beta-2-latest-updates__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-resources-f8bet-beta-2-latest-updates__btn-primary,
  .page-resources-f8bet-beta-2-latest-updates__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-f8bet-beta-2-latest-updates__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-f8bet-beta-2-latest-updates__text-block {
    font-size: 1em;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .page-resources-f8bet-beta-2-latest-updates__intro-section,
  .page-resources-f8bet-beta-2-latest-updates__games-section,
  .page-resources-f8bet-beta-2-latest-updates__features-section,
  .page-resources-f8bet-beta-2-latest-updates__benefits-section,
  .page-resources-f8bet-beta-2-latest-updates__cta-section,
  .page-resources-f8bet-beta-2-latest-updates__faq-section {
    padding: 60px 0;
  }

  .page-resources-f8bet-beta-2-latest-updates__game-categories,
  .page-resources-f8bet-beta-2-latest-updates__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-resources-f8bet-beta-2-latest-updates__card,
  .page-resources-f8bet-beta-2-latest-updates__feature-item,
  .page-resources-f8bet-beta-2-latest-updates__benefit-list li,
  .page-resources-f8bet-beta-2-latest-updates__faq-item {
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-resources-f8bet-beta-2-latest-updates__card-image,
  .page-resources-f8bet-beta-2-latest-updates__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-f8bet-beta-2-latest-updates__card-title,
  .page-resources-f8bet-beta-2-latest-updates__feature-title {
    font-size: 1.3em;
  }

  .page-resources-f8bet-beta-2-latest-updates__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-resources-f8bet-beta-2-latest-updates__faq-answer {
    padding: 0 15px;
  }

  .page-resources-f8bet-beta-2-latest-updates__faq-item.active .page-resources-f8bet-beta-2-latest-updates__faq-answer {
    padding: 15px !important;
  }

  .page-resources-f8bet-beta-2-latest-updates__container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .page-resources-f8bet-beta-2-latest-updates__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-resources-f8bet-beta-2-latest-updates__hero-title {
    font-size: 1.8em;
  }

  .page-resources-f8bet-beta-2-latest-updates__section-title {
    font-size: 1.8em;
  }
}