.page-new-user-guide {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-new-user-guide__container--center {
  text-align: center;
}

.page-new-user-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
  min-height: 500px;
  box-sizing: border-box;
  padding-top: var(--header-offset, 120px);
}

.page-new-user-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.page-new-user-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

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

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

.page-new-user-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-new-user-guide__section-title {
  font-size: 2.2em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 40px;
  line-height: 1.3;
}

.page-new-user-guide__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-new-user-guide__dark-section .page-new-user-guide__section-title,
.page-new-user-guide__dark-section .page-new-user-guide__section-intro {
  color: #ffffff;
}

.page-new-user-guide__why-choose-us-section {
  background-color: #8B0000;
  padding: 80px 0;
  color: #ffffff;
}

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

.page-new-user-guide__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-new-user-guide__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-new-user-guide__feature-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-new-user-guide__registration-guide-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-new-user-guide__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-new-user-guide__step-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
  padding-top: 70px; /* Space for step number */
}

.page-new-user-guide__step-number {
  position: absolute;
  top: 20px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: #FFD700;
  color: #8B0000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-new-user-guide__step-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-new-user-guide__deposit-guide-section {
  background-color: #8B0000;
  padding: 80px 0;
  color: #ffffff;
}

.page-new-user-guide__deposit-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-new-user-guide__method-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-new-user-guide__method-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-new-user-guide__guide-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-new-user-guide__guide-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-new-user-guide__games-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-new-user-guide__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.page-new-user-guide__game-card:hover {
  transform: translateY(-5px);
}

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

.page-new-user-guide__game-title {
  font-size: 1.4em;
  color: #8B0000;
  padding: 20px 20px 10px;
}

.page-new-user-guide__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-new-user-guide__game-title a:hover {
  text-decoration: underline;
}

.page-new-user-guide__game-card p {
  padding: 0 20px 20px;
  color: #555555;
}

.page-new-user-guide__btn-tertiary {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 20px 20px;
}

.page-new-user-guide__btn-tertiary:hover {
  background-color: #e6c200;
}

.page-new-user-guide__rules-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-new-user-guide__light-bg .page-new-user-guide__section-title,
.page-new-user-guide__light-bg .page-new-user-guide__section-intro {
  color: #333333;
}

.page-new-user-guide__rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-new-user-guide__rule-card {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-new-user-guide__rule-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-new-user-guide__rule-card ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #555555;
}

.page-new-user-guide__rule-card li {
  margin-bottom: 10px;
}

.page-new-user-guide__link-more {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-new-user-guide__link-more:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-new-user-guide__faq-section {
  background-color: #8B0000;
  padding: 80px 0;
  color: #ffffff;
}

.page-new-user-guide__faq-list {
  margin-top: 40px;
}

.page-new-user-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-new-user-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-new-user-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-new-user-guide__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-new-user-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-new-user-guide__faq-item.active .page-new-user-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-new-user-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-new-user-guide__faq-item.active .page-new-user-guide__faq-answer {
  max-height: 1000px !important;
  padding: 15px 30px 30px;
}

.page-new-user-guide__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-new-user-guide__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-new-user-guide__conclusion-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-new-user-guide__cta-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-new-user-guide__cta-wrapper--center {
  text-align: center;
}

.page-new-user-guide__btn-primary,
.page-new-user-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-new-user-guide__btn-primary {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-new-user-guide__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-new-user-guide__btn-secondary {
  background-color: transparent;
  color: #8B0000;
  border-color: #8B0000;
}

.page-new-user-guide__btn-secondary:hover {
  background-color: #8B0000;
  color: #ffffff;
}

.page-new-user-guide__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-new-user-guide__floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 50px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-new-user-guide__floating-btn:hover {
  transform: translateY(-5px);
}

.page-new-user-guide__floating-btn--register {
  background-color: #FFD700;
  color: #8B0000;
}

.page-new-user-guide__floating-btn--login {
  background-color: #8B0000;
  color: #FFD700;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-new-user-guide__hero-title {
    font-size: 2.2em;
  }
  .page-new-user-guide__section-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-new-user-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-new-user-guide__container {
    padding: 0 15px;
  }
  .page-new-user-guide__hero-section {
    padding: 80px 15px 40px;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-new-user-guide__hero-title {
    font-size: 1.8em;
  }
  .page-new-user-guide__hero-description {
    font-size: 1em;
  }
  .page-new-user-guide__section-title {
    font-size: 1.6em;
    padding-top: 30px;
  }
  .page-new-user-guide__section-intro {
    margin-bottom: 30px;
  }

  /* Images responsiveness */
  .page-new-user-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-new-user-guide__hero-image {
    height: 100%; /* maintain full height for hero */
    width: 100%;
  }
  .page-new-user-guide__feature-icon,
  .page-new-user-guide__game-image {
    width: 100%;
    height: auto;
    max-width: 100%;
  }
  .page-new-user-guide__feature-item,
  .page-new-user-guide__step-item,
  .page-new-user-guide__method-item,
  .page-new-user-guide__game-card,
  .page-new-user-guide__rule-card,
  .page-new-user-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Buttons responsiveness */
  .page-new-user-guide__btn-primary,
  .page-new-user-guide__btn-secondary,
  .page-new-user-guide__btn-tertiary,
  .page-new-user-guide a[class*="button"],
  .page-new-user-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-new-user-guide__cta-wrapper {
    flex-direction: column;
    gap: 15px;
  }
  .page-new-user-guide__floating-buttons {
    flex-direction: row;
    bottom: 15px;
    right: 15px;
    left: 15px;
    width: auto;
    justify-content: space-around;
  }
  .page-new-user-guide__floating-btn {
    width: 100px;
    height: 45px;
    font-size: 1em;
  }
  .page-new-user-guide__faq-question {
    padding: 15px 20px;
  }
  .page-new-user-guide__faq-answer {
    padding: 0 20px;
  }
  .page-new-user-guide__faq-item.active .page-new-user-guide__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-new-user-guide__hero-title {
    font-size: 1.6em;
  }
  .page-new-user-guide__section-title {
    font-size: 1.4em;
  }
  .page-new-user-guide__feature-title,
  .page-new-user-guide__step-title,
  .page-new-user-guide__method-title,
  .page-new-user-guide__game-title,
  .page-new-user-guide__rule-title {
    font-size: 1.3em;
  }
  .page-new-user-guide__floating-buttons {
    gap: 8px;
  }
  .page-new-user-guide__floating-btn {
    width: 90px;
    height: 40px;
    font-size: 0.9em;
  }
}