.page-resources-bj388-login-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches body background from shared.css */
}

.page-resources-bj388-login-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-bj388-login-guide__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-bj388-login-guide__light-bg {
  background-color: #2a2a2a;
  color: #ffffff;
}

/* Hero Section */
.page-resources-bj388-login-guide__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-bj388-login-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.page-resources-bj388-login-guide__hero-section .page-resources-bj388-login-guide__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-bj388-login-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-resources-bj388-login-guide__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
}

/* CTA Buttons */
.page-resources-bj388-login-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-bj388-login-guide__cta-buttons--center {
  margin-top: 30px;
  margin-bottom: 30px;
}

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

.page-resources-bj388-login-guide__btn-primary {
  background-color: #FFD700;
  color: #1a1a1a;
  border: 2px solid #FFD700;
}

.page-resources-bj388-login-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #000000;
}

.page-resources-bj388-login-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-bj388-login-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
}

/* Content Area */
.page-resources-bj388-login-guide__content-area {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-resources-bj388-login-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-bj388-login-guide__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-bj388-login-guide__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-bj388-login-guide__link {
  color: #8B0000;
  text-decoration: underline;
}

.page-resources-bj388-login-guide__link:hover {
  color: #FFD700;
}

/* Feature Grid */
.page-resources-bj388-login-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj388-login-guide__feature-card {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-resources-bj388-login-guide__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-bj388-login-guide__feature-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-bj388-login-guide__feature-text {
  font-size: 1em;
  color: #cccccc;
}

/* Video Section */
.page-resources-bj388-login-guide__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a1a;
}

.page-resources-bj388-login-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-resources-bj388-login-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Step List */
.page-resources-bj388-login-guide__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-bj388-login-guide__step-item {
  background-color: #2a2a2a;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-resources-bj388-login-guide__step-item:last-child {
  margin-bottom: 0;
}

.page-resources-bj388-login-guide__step-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-bj388-login-guide__step-text {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 20px;
  max-width: 800px;
}

.page-resources-bj388-login-guide__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Bullet List */
.page-resources-bj388-login-guide__bullet-list {
  list-style: disc;
  padding-left: 20px;
  color: #f0f0f0;
  margin-top: 20px;
  font-size: 1.1em;
}

.page-resources-bj388-login-guide__list-item {
  margin-bottom: 10px;
}

/* Game Grid */
.page-resources-bj388-login-guide__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-bj388-login-guide__game-card {
  background-color: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px; /* Ensure cards have a consistent height */
}

.page-resources-bj388-login-guide__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-bj388-login-guide__game-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
  min-height: 200px; /* Ensure image is not too small */
}

.page-resources-bj388-login-guide__game-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-resources-bj388-login-guide__game-description {
  font-size: 0.95em;
  color: #cccccc;
  flex-grow: 1;
}

/* FAQ Section */
.page-resources-bj388-login-guide__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-resources-bj388-login-guide__faq-list {
  margin-top: 40px;
}

.page-resources-bj388-login-guide__faq-item {
  background-color: #2a2a2a;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-resources-bj388-login-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: #333333;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-resources-bj388-login-guide__faq-question:hover {
  background-color: #444444;
}

.page-resources-bj388-login-guide__faq-title {
  margin: 0;
  color: inherit; /* Inherit color from parent */
}

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

.page-resources-bj388-login-guide__faq-item.active .page-resources-bj388-login-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-bj388-login-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  font-size: 1.05em;
}

.page-resources-bj388-login-guide__faq-item.active .page-resources-bj388-login-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 30px;
}

/* Bottom CTA */
.page-resources-bj388-login-guide__cta-bottom {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

.page-resources-bj388-login-guide__cta-bottom-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-resources-bj388-login-guide__cta-bottom-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Global Image/Video/Button Responsive Styles */
.page-resources-bj388-login-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-resources-bj388-login-guide video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-resources-bj388-login-guide__video-section,
.page-resources-bj388-login-guide__video-container,
.page-resources-bj388-login-guide__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-resources-bj388-login-guide__cta-button,
.page-resources-bj388-login-guide__btn-primary,
.page-resources-bj388-login-guide__btn-secondary,
.page-resources-bj388-login-guide a[class*="button"],
.page-resources-bj388-login-guide a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-bj388-login-guide__cta-buttons,
.page-resources-bj388-login-guide__button-group,
.page-resources-bj388-login-guide__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-resources-bj388-login-guide {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-resources-bj388-login-guide__hero-section {
    padding: 60px 0;
  }

  .page-resources-bj388-login-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-bj388-login-guide__hero-description,
  .page-resources-bj388-login-guide__paragraph,
  .page-resources-bj388-login-guide__list-item,
  .page-resources-bj388-login-guide__feature-text,
  .page-resources-bj388-login-guide__game-description,
  .page-resources-bj388-login-guide__faq-answer p {
    font-size: 1em;
  }

  .page-resources-bj388-login-guide__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-resources-bj388-login-guide__sub-title {
    font-size: 1.5em;
  }

  .page-resources-bj388-login-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-bj388-login-guide__btn-primary,
  .page-resources-bj388-login-guide__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-bj388-login-guide__feature-grid,
  .page-resources-bj388-login-guide__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-bj388-login-guide__feature-card,
  .page-resources-bj388-login-guide__game-card,
  .page-resources-bj388-login-guide__step-item,
  .page-resources-bj388-login-guide__faq-item {
    padding: 20px;
  }

  .page-resources-bj388-login-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-resources-bj388-login-guide__faq-answer {
    padding: 0 20px;
  }

  .page-resources-bj388-login-guide__faq-item.active .page-resources-bj388-login-guide__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-bj388-login-guide__cta-bottom-title {
    font-size: 2.2em;
  }

  .page-resources-bj388-login-guide__cta-bottom-description {
    font-size: 1em;
  }

  /* Force responsive images, videos, buttons and containers */
  .page-resources-bj388-login-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-bj388-login-guide video,
  .page-resources-bj388-login-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-bj388-login-guide__video-section,
  .page-resources-bj388-login-guide__video-container,
  .page-resources-bj388-login-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-resources-bj388-login-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
  }

  .page-resources-bj388-login-guide__cta-button,
  .page-resources-bj388-login-guide__btn-primary,
  .page-resources-bj388-login-guide__btn-secondary,
  .page-resources-bj388-login-guide a[class*="button"],
  .page-resources-bj388-login-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-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-bj388-login-guide__cta-buttons,
  .page-resources-bj388-login-guide__button-group,
  .page-resources-bj388-login-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-resources-bj388-login-guide__cta-buttons {
    flex-direction: column;
  }

  .page-resources-bj388-login-guide__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}