.page-resources-beginner-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Default body background */
}

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

.page-resources-beginner-guide__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-resources-beginner-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-beginner-guide__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-beginner-guide__section-title {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-resources-beginner-guide__dark-bg .page-resources-beginner-guide__section-title {
  color: #ffffff;
}

.page-resources-beginner-guide__guide-subtitle {
  font-size: 24px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-beginner-guide__guide-subtitle--light {
  color: #ffffff;
}

.page-resources-beginner-guide__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  text-align: justify;
}

.page-resources-beginner-guide__text-block--light {
  color: #f0f0f0;
}

.page-resources-beginner-guide__link {
  color: #017439;
  text-decoration: underline;
}

.page-resources-beginner-guide__link--light {
  color: #FFFF00;
}

/* Hero Section */
.page-resources-beginner-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #017439 0%, #017439 50%, #FFFFFF 100%); /* Mix primary and auxiliary */
}

.page-resources-beginner-guide__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-beginner-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-resources-beginner-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-beginner-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-beginner-guide__main-title {
  font-size: 42px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-beginner-guide__intro-description {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-beginner-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-beginner-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-beginner-guide__cta-button--download {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-beginner-guide__cta-button--download:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-beginner-guide__cta-button--register {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-beginner-guide__cta-button--register:hover {
  background: #a30606;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-beginner-guide__cta-button--promo {
  background: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-beginner-guide__cta-button--promo:hover {
  background: #005a2d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-beginner-guide__cta-button--contact {
  background: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-beginner-guide__cta-button--contact:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Download Guide Section */
.page-resources-beginner-guide__platform-guide {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-resources-beginner-guide__guide-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  width: 100%;
}

.page-resources-beginner-guide__guide-image {
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-beginner-guide__step-list {
  list-style-type: decimal;
  padding-left: 20px;
  flex: 1;
  color: #f0f0f0;
}

.page-resources-beginner-guide__step-list--light {
  color: #333333;
}

.page-resources-beginner-guide__step-item {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-resources-beginner-guide__notes {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-resources-beginner-guide__note-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-resources-beginner-guide__note-item {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Registration Section */
.page-resources-beginner-guide__registration-steps,
.page-resources-beginner-guide__registration-benefits {
  margin-bottom: 30px;
}

.page-resources-beginner-guide__benefit-list {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 16px;
}

.page-resources-beginner-guide__benefit-item {
  margin-bottom: 8px;
}

/* Deposit & Promotions Section */
.page-resources-beginner-guide__promo-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-beginner-guide__list-items {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-beginner-guide__list-items--light {
  color: #333333;
}

.page-resources-beginner-guide__list-item {
  margin-bottom: 8px;
  font-size: 16px;
}

/* Games Section */
.page-resources-beginner-guide__game-showcase-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-resources-beginner-guide__game-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-resources-beginner-guide__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-beginner-guide__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-beginner-guide__game-card-title {
  font-size: 20px;
  font-weight: bold;
  padding: 15px;
  margin: 0;
  color: #017439;
}

.page-resources-beginner-guide__game-card-title a {
  color: #017439;
  text-decoration: none;
}

.page-resources-beginner-guide__game-card-title a:hover {
  text-decoration: underline;
}

.page-resources-beginner-guide__game-card-description {
  font-size: 15px;
  color: #555555;
  padding: 0 15px 15px;
  flex-grow: 1;
}

/* Support & Security Section */
.page-resources-beginner-guide__support-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section */
.page-resources-beginner-guide__faq-list {
  margin-top: 40px;
}

.page-resources-beginner-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-beginner-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: #333333;
}

.page-resources-beginner-guide__faq-item.active .page-resources-beginner-guide__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-resources-beginner-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-beginner-guide__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-beginner-guide__faq-question:active {
  background: #eeeeee;
}

.page-resources-beginner-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-resources-beginner-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-beginner-guide__faq-item.active .page-resources-beginner-guide__faq-toggle {
  color: #333;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-beginner-guide__main-title {
    font-size: 36px;
  }

  .page-resources-beginner-guide__intro-description {
    font-size: 16px;
  }

  .page-resources-beginner-guide__section-title {
    font-size: 28px;
  }

  .page-resources-beginner-guide__guide-subtitle {
    font-size: 22px;
  }

  .page-resources-beginner-guide__game-card-title {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-resources-beginner-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-beginner-guide__main-title {
    font-size: 30px;
  }

  .page-resources-beginner-guide__intro-description {
    font-size: 15px;
  }

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

  .page-resources-beginner-guide__cta-button,
  .page-resources-beginner-guide__btn-primary,
  .page-resources-beginner-guide__btn-secondary,
  .page-resources-beginner-guide a[class*="button"],
  .page-resources-beginner-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-beginner-guide__cta-buttons,
  .page-resources-beginner-guide__button-group,
  .page-resources-beginner-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-beginner-guide__section {
    padding: 40px 0;
  }

  .page-resources-beginner-guide__container {
    padding: 0 15px;
  }

  .page-resources-beginner-guide__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-resources-beginner-guide__guide-subtitle {
    font-size: 20px;
  }

  .page-resources-beginner-guide__guide-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-beginner-guide__guide-image {
    width: 100%;
  }

  .page-resources-beginner-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-beginner-guide__section,
  .page-resources-beginner-guide__card,
  .page-resources-beginner-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-beginner-guide__game-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-resources-beginner-guide__game-card-image {
    height: 180px;
  }

  .page-resources-beginner-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-beginner-guide__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-beginner-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-beginner-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-beginner-guide__faq-item.active .page-resources-beginner-guide__faq-answer {
    padding: 15px !important;
  }
}