/* Base styles for the new user guide page */
.page-blog-fa8bet-new-user-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for main content, assuming body has header offset */
}

.page-blog-fa8bet-new-user-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-blog-fa8bet-new-user-guide__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #11A84E 0%, #0A4B2C 100%);
  color: #F2FFF6;
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding for main content, assuming body has header offset */
}

.page-blog-fa8bet-new-user-guide__hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.page-blog-fa8bet-new-user-guide__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-fa8bet-new-user-guide__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}

.page-blog-fa8bet-new-user-guide__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
  z-index: 1;
}

.page-blog-fa8bet-new-user-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-fa8bet-new-user-guide__section {
  padding: 60px 0;
  background-color: #08160F;
}

.page-blog-fa8bet-new-user-guide__section--dark {
  background-color: #11271B; /* Card BG */
}

.page-blog-fa8bet-new-user-guide__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-blog-fa8bet-new-user-guide__section-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #A7D9B8;
}

.page-blog-fa8bet-new-user-guide__content-block {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F2FFF6;
}

.page-blog-fa8bet-new-user-guide__content-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-bottom: 20px;
}

.page-blog-fa8bet-new-user-guide__content-block p {
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-blog-fa8bet-new-user-guide__list,
.page-blog-fa8bet-new-user-guide__ordered-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-blog-fa8bet-new-user-guide__ordered-list {
  list-style-type: decimal;
}

.page-blog-fa8bet-new-user-guide__list li,
.page-blog-fa8bet-new-user-guide__ordered-list li {
  margin-bottom: 8px;
  color: #F2FFF6;
}

.page-blog-fa8bet-new-user-guide__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-blog-fa8bet-new-user-guide__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-blog-fa8bet-new-user-guide__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-blog-fa8bet-new-user-guide__cta-button--center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
  max-width: 100%; /* Ensure responsive behavior */
  box-sizing: border-box;
  text-align: center;
}

/* FAQ styles */
details.page-blog-fa8bet-new-user-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
details.page-blog-fa8bet-new-user-guide__faq-item summary.page-blog-fa8bet-new-user-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  color: #F2FFF6;
  font-weight: 600;
}
details.page-blog-fa8bet-new-user-guide__faq-item summary.page-blog-fa8bet-new-user-guide__faq-question::-webkit-details-marker {
  display: none;
}
details.page-blog-fa8bet-new-user-guide__faq-item summary.page-blog-fa8bet-new-user-guide__faq-question:hover {
  background: #1e3a2a; /* Darker green for hover */
}
.page-blog-fa8bet-new-user-guide__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6;
}
.page-blog-fa8bet-new-user-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-blog-fa8bet-new-user-guide__faq-item[open] .page-blog-fa8bet-new-user-guide__faq-toggle {
  transform: rotate(45deg);
}
details.page-blog-fa8bet-new-user-guide__faq-item .page-blog-fa8bet-new-user-guide__faq-answer {
  padding: 0 25px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8;
}

/* General responsive images and containers */
.page-blog-fa8bet-new-user-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-blog-fa8bet-new-user-guide__section,
.page-blog-fa8bet-new-user-guide__content-block,
.page-blog-fa8bet-new-user-guide__container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile button responsive */
.page-blog-fa8bet-new-user-guide__cta-button {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Homepage game trial CSS - REQUIRED TO BE PRESENT PER PROMPT, even if this is not the homepage */
@media (max-width: 1023px) {
  .page-blog-fa8bet-new-user-guide__home-hero {
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__hero-brand,
  .page-blog-fa8bet-new-user-guide__hero-jackpot {
    display: none !important;
  }
  .page-blog-fa8bet-new-user-guide__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-topbar,
  .page-blog-fa8bet-new-user-guide__game-trial-bottombar {
    display: none !important;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-blog-fa8bet-new-user-guide__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__hero-brand,
  .page-blog-fa8bet-new-user-guide__hero-jackpot,
  .page-blog-fa8bet-new-user-guide__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-blog-fa8bet-new-user-guide__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-blog-fa8bet-new-user-guide__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
}

/* Mobile specific styles for this page and general responsive rules */
@media (max-width: 768px) {
  .page-blog-fa8bet-new-user-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-fa8bet-new-user-guide__hero-section {
    padding: 30px 15px;
  }

  .page-blog-fa8bet-new-user-guide__hero-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-blog-fa8bet-new-user-guide__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-blog-fa8bet-new-user-guide__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-blog-fa8bet-new-user-guide__section-intro {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .page-blog-fa8bet-new-user-guide__content-block {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-blog-fa8bet-new-user-guide__content-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .page-blog-fa8bet-new-user-guide__list,
  .page-blog-fa8bet-new-user-guide__ordered-list {
    margin-left: 20px;
  }

  .page-blog-fa8bet-new-user-guide__cta-button {
    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;
    font-size: 1rem;
  }

  .page-blog-fa8bet-new-user-guide__cta-button--center {
    margin: 20px auto 0 auto;
  }

  .page-blog-fa8bet-new-user-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-blog-fa8bet-new-user-guide__section,
  .page-blog-fa8bet-new-user-guide__content-block,
  .page-blog-fa8bet-new-user-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-blog-fa8bet-new-user-guide__faq-item summary.page-blog-fa8bet-new-user-guide__faq-question {
    padding: 15px;
  }
  .page-blog-fa8bet-new-user-guide__faq-qtext {
    font-size: 1rem;
  }
  .page-blog-fa8bet-new-user-guide__faq-toggle {
    font-size: 20px;
    width: 24px;
  }
  details.page-blog-fa8bet-new-user-guide__faq-item .page-blog-fa8bet-new-user-guide__faq-answer {
    padding: 0 15px 15px;
  }

  /* Homepage specific media queries for promo/hot games - REQUIRED TO BE PRESENT PER PROMPT */
  .page-blog-fa8bet-new-user-guide__promo-strip-track {
    grid-template-columns: repeat(4, 1fr);
    overflow-x: hidden;
  }
  .page-blog-fa8bet-new-user-guide__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Homepage specific styles for game trial overlay and modal - REQUIRED TO BE PRESENT PER PROMPT */
.page-blog-fa8bet-new-user-guide__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.page-blog-fa8bet-new-user-guide__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
  opacity: 0;
}
.page-blog-fa8bet-new-user-guide__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-blog-fa8bet-new-user-guide__game-trial-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-fa8bet-new-user-guide__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.page-blog-fa8bet-new-user-guide__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.page-blog-fa8bet-new-user-guide__reward-modal-content {
  background: #11271B; /* Card BG */
  color: #F2FFF6;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 2px solid #F2C14E; /* Gold */
}
.page-blog-fa8bet-new-user-guide__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}
.page-blog-fa8bet-new-user-guide__reward-modal-close:hover {
  color: #57E38D; /* Glow */
}
.page-blog-fa8bet-new-user-guide__reward-modal h3 {
  font-size: 2rem;
  color: #57E38D; /* Glow */
  margin-bottom: 20px;
}
.page-blog-fa8bet-new-user-guide__reward-modal p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8;
}
.page-blog-fa8bet-new-user-guide__reward-modal-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border: none;
  display: inline-block;
}
.page-blog-fa8bet-new-user-guide__reward-modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}
.page-blog-fa8bet-new-user-guide__game-trial-shell {
  border:1px solid rgba(212,175,55,.45);
  border-radius:10px;
  overflow:hidden;
}