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

.page-newbie-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-newbie-guide__hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 0 0 15px 15px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-newbie-guide__hero-description a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-newbie-guide__hero-description a:hover {
  color: #fff;
}

.page-newbie-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: #212529;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-newbie-guide__cta-button:hover {
  background: #ffda6a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide__cta-button--small {
  padding: 12px 30px;
  font-size: 1em;
}

.page-newbie-guide__section {
  padding: 60px 0;
  margin-bottom: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-newbie-guide__section:nth-of-type(even) {
  background-color: #f0f2f5;
}

.page-newbie-guide__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

.page-newbie-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-newbie-guide__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-newbie-guide__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-newbie-guide__text-content {
  flex: 1;
}

.page-newbie-guide__text-content p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #555;
}

.page-newbie-guide__text-content ul, .page-newbie-guide__text-content ol {
  margin-bottom: 20px;
  padding-left: 25px;
}

.page-newbie-guide__text-content li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #444;
}

.page-newbie-guide__text-content strong {
  color: #222;
}

.page-newbie-guide__text-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-newbie-guide__text-content a:hover {
  color: #0056b3;
}

.page-newbie-guide__image-container {
  flex: 1;
  text-align: center;
}

.page-newbie-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.page-newbie-guide__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-newbie-guide__step-item {
  background-color: #fefefe;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-newbie-guide__step-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-newbie-guide__step-item p {
  font-size: 1em;
  color: #666;
}

.page-newbie-guide__register-tip, .page-newbie-guide__withdraw-tip {
  text-align: center;
  margin-top: 30px;
  font-style: italic;
  color: #777;
}

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

.page-newbie-guide__game-card {
  background-color: #fefefe;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-newbie-guide__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-newbie-guide__game-card h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin: 15px 15px 10px 15px;
  padding-top: 5px;
  text-align: center;
}

.page-newbie-guide__game-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-newbie-guide__game-card h3 a:hover {
  text-decoration: underline;
}

.page-newbie-guide__game-card p {
  font-size: 1em;
  color: #666;
  padding: 0 15px 20px 15px;
  text-align: center;
}

.page-newbie-guide__promo-list {
  list-style: disc;
  padding-left: 30px;
  margin-bottom: 30px;
}

.page-newbie-guide__promo-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #444;
}

.page-newbie-guide__promo-list li strong {
  color: var(--primary-color);
}

/* FAQ Styles */
.page-newbie-guide__faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 1.25em;
  color: var(--primary-color);
  margin: 0;
  flex-grow: 1;
}

.faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.faq-answer a {
  color: var(--primary-color);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: #0056b3;
}

.page-newbie-guide__conclusion {
  text-align: center;
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%);
  color: #ffffff;
  border-radius: 15px;
  padding: 80px 20px;
}

.page-newbie-guide__conclusion .page-newbie-guide__section-title {
  color: #ffffff;
}

.page-newbie-guide__conclusion .page-newbie-guide__section-title::after {
  background: var(--secondary-color);
}

.page-newbie-guide__conclusion p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-newbie-guide__conclusion a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-newbie-guide__conclusion a:hover {
  color: #ffda6a;
}


/* Responsive Design */
@media (max-width: 992px) {
  .page-newbie-guide__hero-title {
    font-size: 2.8em;
  }

  .page-newbie-guide__section-title {
    font-size: 1.8em;
  }

  .page-newbie-guide__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-newbie-guide__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-newbie-guide__image-container {
    order: -1; /* Image above text on small screens for reverse layout */
  }

  .page-newbie-guide__text-content, .page-newbie-guide__image-container {
    flex: none;
    width: 100%;
  }

  .page-newbie-guide__step-by-step, .page-newbie-guide__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-newbie-guide__hero-title {
    font-size: 2.2em;
  }

  .page-newbie-guide__hero-description {
    font-size: 1em;
  }

  .page-newbie-guide__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-newbie-guide__section {
    padding: 40px 0;
  }

  .page-newbie-guide__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-newbie-guide__container {
    padding: 15px;
  }

  .page-newbie-guide__step-by-step, .page-newbie-guide__game-grid {
    grid-template-columns: 1fr;
  }

  .page-newbie-guide__step-item, .page-newbie-guide__game-card {
    padding: 20px;
  }

  .faq-question {
    padding: 15px 20px;
  }

  .faq-question h3 {
    font-size: 1.1em;
  }

  .faq-toggle {
    font-size: 1.5em;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  
  .page-newbie-guide__conclusion {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-newbie-guide__hero-title {
    font-size: 1.8em;
  }

  .page-newbie-guide__section-title {
    font-size: 1.4em;
  }

  .page-newbie-guide__cta-button {
    width: 100%;
    max-width: 280px;
  }

  .page-newbie-guide__text-content p, .page-newbie-guide__text-content li {
    font-size: 0.95em;
  }
}