.page-resources-hi8802-newbie-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--primary-color); /* #0A192F from shared.css */
}

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

.page-resources-hi8802-newbie-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

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

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

.page-resources-hi8802-newbie-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-resources-hi8802-newbie-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for title */
  line-height: 1.2;
}

.page-resources-hi8802-newbie-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-hi8802-newbie-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-resources-hi8802-newbie-guide__introduction-section,
.page-resources-hi8802-newbie-guide__registration-section,
.page-resources-hi8802-newbie-guide__game-showcase-section,
.page-resources-hi8802-newbie-guide__security-support-section,
.page-resources-hi8802-newbie-guide__faq-section {
  padding: 80px 0;
  color: #333333; /* Dark text for light background */
  background-color: #ffffff;
}

.page-resources-hi8802-newbie-guide__why-choose-section,
.page-resources-hi8802-newbie-guide__transactions-section,
.page-resources-hi8802-newbie-guide__promotions-section,
.page-resources-hi8802-newbie-guide__video-section {
  padding: 80px 0;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #0A192F;
}

.page-resources-hi8802-newbie-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-hi8802-newbie-guide__btn-primary,
.page-resources-hi8802-newbie-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1.1em;
}

.page-resources-hi8802-newbie-guide__btn-primary {
  background-color: #FFD700;
  color: #0A192F;
  border-color: #FFD700;
}

.page-resources-hi8802-newbie-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-resources-hi8802-newbie-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-resources-hi8802-newbie-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.page-resources-hi8802-newbie-guide__cta-button {
  margin-top: 30px;
}

.page-resources-hi8802-newbie-guide__features-grid,
.page-resources-hi8802-newbie-guide__steps-grid,
.page-resources-hi8802-newbie-guide__games-grid,
.page-resources-hi8802-newbie-guide__security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi8802-newbie-guide__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 250px; /* Ensure cards have minimum height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-hi8802-newbie-guide__why-choose-section .page-resources-hi8802-newbie-guide__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-hi8802-newbie-guide__card:hover {
  transform: translateY(-5px);
}

.page-resources-hi8802-newbie-guide__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-resources-hi8802-newbie-guide__card-text {
  font-size: 1em;
  line-height: 1.5;
}

.page-resources-hi8802-newbie-guide__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-hi8802-newbie-guide__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  max-width: 1000px;
  min-width: 200px; /* Ensure minimum size */
}

.page-resources-hi8802-newbie-guide__transaction-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-hi8802-newbie-guide__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.page-resources-hi8802-newbie-guide__method-card .page-resources-hi8802-newbie-guide__card-title {
  color: #FFD700;
}

.page-resources-hi8802-newbie-guide__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-resources-hi8802-newbie-guide__list li {
  margin-bottom: 8px;
  font-size: 1em;
}

.page-resources-hi8802-newbie-guide__promo-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  text-align: center;
}

.page-resources-hi8802-newbie-guide__promo-list li {
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-resources-hi8802-newbie-guide__promo-list li::before {
  content: '★';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

.page-resources-hi8802-newbie-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-resources-hi8802-newbie-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-resources-hi8802-newbie-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-hi8802-newbie-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-hi8802-newbie-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #0A192F;
  cursor: pointer;
  background-color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-resources-hi8802-newbie-guide__faq-question:hover {
  background-color: #e6c200;
}

.page-resources-hi8802-newbie-guide__faq-question h3 {
  margin: 0;
  color: #0A192F;
  font-size: 1.1em;
}

.page-resources-hi8802-newbie-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #0A192F;
  transition: transform 0.3s ease;
}

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

.page-resources-hi8802-newbie-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  background-color: #ffffff;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-hi8802-newbie-guide__faq-item.active .page-resources-hi8802-newbie-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 15px 25px;
}

.page-resources-hi8802-newbie-guide__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-hi8802-newbie-guide__hero-title {
    font-size: 2.8em;
  }
  .page-resources-hi8802-newbie-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-hi8802-newbie-guide__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-resources-hi8802-newbie-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-hi8802-newbie-guide__container,
  .page-resources-hi8802-newbie-guide__hero-content,
  .page-resources-hi8802-newbie-guide__section,
  .page-resources-hi8802-newbie-guide__card,
  .page-resources-hi8802-newbie-guide__transaction-methods,
  .page-resources-hi8802-newbie-guide__games-grid,
  .page-resources-hi8802-newbie-guide__security-support-grid,
  .page-resources-hi8802-newbie-guide__video-wrapper,
  .page-resources-hi8802-newbie-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-hi8802-newbie-guide__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-hi8802-newbie-guide__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-resources-hi8802-newbie-guide__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-hi8802-newbie-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-resources-hi8802-newbie-guide__btn-primary,
  .page-resources-hi8802-newbie-guide__btn-secondary,
  .page-resources-hi8802-newbie-guide a[class*="button"],
  .page-resources-hi8802-newbie-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;
    font-size: 1em;
  }

  .page-resources-hi8802-newbie-guide__cta-buttons,
  .page-resources-hi8802-newbie-guide__button-group,
  .page-resources-hi8802-newbie-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-hi8802-newbie-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  .page-resources-hi8802-newbie-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-resources-hi8802-newbie-guide video,
  .page-resources-hi8802-newbie-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-hi8802-newbie-guide__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section top padding is correct on mobile */
  }
  .page-resources-hi8802-newbie-guide__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 20px auto !important;
    overflow: hidden !important;
  }

  .page-resources-hi8802-newbie-guide__card {
    padding: 20px;
    min-height: auto;
  }

  .page-resources-hi8802-newbie-guide__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-resources-hi8802-newbie-guide__faq-question h3 {
    font-size: 1em;
  }
  .page-resources-hi8802-newbie-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-hi8802-newbie-guide__faq-item.active .page-resources-hi8802-newbie-guide__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-hi8802-newbie-guide__image-full-width {
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .page-resources-hi8802-newbie-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-hi8802-newbie-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-hi8802-newbie-guide__section-title {
    font-size: 1.5em;
  }
  .page-resources-hi8802-newbie-guide__hero-section {
    height: 400px;
  }
  .page-resources-hi8802-newbie-guide__features-grid,
  .page-resources-hi8802-newbie-guide__steps-grid,
  .page-resources-hi8802-newbie-guide__games-grid,
  .page-resources-hi8802-newbie-guide__security-support-grid,
  .page-resources-hi8802-newbie-guide__transaction-methods {
    grid-template-columns: 1fr;
  }
  .page-resources-hi8802-newbie-guide__promo-list li {
    font-size: 1.1em;
    padding-left: 25px;
  }
  .page-resources-hi8802-newbie-guide__promo-list li::before {
    font-size: 1em;
  }
}