.page-newbie-guide {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #0A1931;
  --bg-light: #F8F8F8;
  --bg-dark: #0A1931;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

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

.page-newbie-guide__section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.page-newbie-guide__section h2,
.page-newbie-guide__section h3 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-newbie-guide__section h2 {
  font-size: 36px;
}

.page-newbie-guide__section h3 {
  font-size: 28px;
}

.page-newbie-guide__section p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-newbie-guide__button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.page-newbie-guide__button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-newbie-guide__button--primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-newbie-guide__button--primary:hover {
  background-color: #1a325e;
}

.page-newbie-guide__button--secondary {
  background-color: #cccccc;
  color: var(--text-dark);
}

.page-newbie-guide__button--secondary:hover {
  background-color: #bbbbbb;
}

.page-newbie-guide__button--center {
  display: block;
  margin: 30px auto 0 auto;
  text-align: center;
}

.page-newbie-guide__button--small {
  padding: 8px 20px;
  font-size: 14px;
}

/* Hero Section */
.page-newbie-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a325e 100%);
}

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

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

.page-newbie-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-newbie-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-newbie-guide__hero-content h1 {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-newbie-guide__hero-content p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-newbie-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* How-To Section */
.page-newbie-guide__how-to {
  background-color: var(--bg-light);
}

.page-newbie-guide__step-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}

.page-newbie-guide__step-card:last-child {
  margin-bottom: 0;
}

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

.page-newbie-guide__step-card h3 {
  color: var(--primary-color);
  font-size: 28px;
  margin-bottom: 15px;
}

.page-newbie-guide__step-card ul {
  list-style-type: disc;
  text-align: left;
  margin: 20px auto 30px auto;
  padding-left: 40px;
  max-width: 700px;
  font-size: 17px;
  color: #333;
}

.page-newbie-guide__step-card ul li {
  margin-bottom: 10px;
}

.page-newbie-guide__step-card ul li strong {
  color: var(--primary-color);
}

/* Other Games Section */
.page-newbie-guide__other-games {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-newbie-guide__other-games h2 {
  color: var(--secondary-color);
}

.page-newbie-guide__other-games p {
  color: #ccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-newbie-guide__game-card {
  background-color: #1a325e;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-newbie-guide__game-card h3 {
  color: var(--secondary-color);
  font-size: 22px;
  margin: 20px 0 10px 0;
  padding: 0 15px;
}

.page-newbie-guide__game-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-newbie-guide__game-card h3 a:hover {
  color: var(--text-light);
}

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

/* Promotions Section */
.page-newbie-guide__promotions {
  background-color: var(--bg-light);
}

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

.page-newbie-guide__promo-card {
  background-color: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-newbie-guide__promo-card:hover {
  transform: translateY(-5px);
}

.page-newbie-guide__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-newbie-guide__promo-card h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-newbie-guide__promo-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-newbie-guide__promo-card h3 a:hover {
  color: var(--secondary-color);
}

.page-newbie-guide__promo-card p {
  font-size: 16px;
  color: #555;
  padding: 0 15px;
  text-align: center;
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-newbie-guide__security-support {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-newbie-guide__security-support h2 {
  color: var(--secondary-color);
}

.page-newbie-guide__security-support p {
  color: #ccc;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-newbie-guide__feature-item {
  background-color: #1a325e;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-newbie-guide__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-newbie-guide__feature-item h3 {
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.page-newbie-guide__feature-item p {
  font-size: 16px;
  color: #bbbbbb;
  text-align: center;
}

/* FAQ Section */
.page-newbie-guide__faq {
  background-color: var(--bg-light);
}

.page-newbie-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  color: var(--primary-color);
  text-align: left;
}

.faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.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: #333;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to accommodate content */
  padding: 15px 25px 25px 25px;
}

.faq-answer p {
  margin: 0;
  font-size: 17px;
  text-align: justify;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-newbie-guide__hero-content h1 {
    font-size: 40px;
  }
  .page-newbie-guide__hero-content p {
    font-size: 18px;
  }
  .page-newbie-guide__cta-button {
    font-size: 18px;
    padding: 12px 30px;
  }
  .page-newbie-guide__section h2 {
    font-size: 32px;
  }
  .page-newbie-guide__section h3 {
    font-size: 24px;
  }
  .page-newbie-guide__step-card h3 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-newbie-guide__section {
    padding: 40px 0;
  }
  .page-newbie-guide__hero-section {
    padding: 60px 15px;
  }
  .page-newbie-guide__hero-content h1 {
    font-size: 32px;
  }
  .page-newbie-guide__hero-content p {
    font-size: 16px;
  }
  .page-newbie-guide__cta-button {
    font-size: 16px;
    padding: 10px 25px;
  }
  .page-newbie-guide__section h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-newbie-guide__section h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .page-newbie-guide__step-card {
    padding: 20px;
  }
  .page-newbie-guide__step-card h3 {
    font-size: 22px;
  }
  .page-newbie-guide__step-card ul {
    padding-left: 25px;
    font-size: 16px;
  }
  .page-newbie-guide__game-grid,
  .page-newbie-guide__promo-grid,
  .page-newbie-guide__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-newbie-guide__game-card-image,
  .page-newbie-guide__promo-image {
    height: 180px;
  }
  .page-newbie-guide__game-card h3,
  .page-newbie-guide__promo-card h3 {
    font-size: 20px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 18px;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .faq-answer p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .page-newbie-guide__hero-content h1 {
    font-size: 26px;
  }
  .page-newbie-guide__hero-content p {
    font-size: 15px;
  }
  .page-newbie-guide__cta-button {
    font-size: 15px;
    padding: 8px 20px;
  }
  .page-newbie-guide__section h2 {
    font-size: 24px;
  }
  .page-newbie-guide__section h3 {
    font-size: 20px;
  }
  .page-newbie-guide__step-card ul {
    padding-left: 20px;
    font-size: 15px;
  }
  .page-newbie-guide__button {
    padding: 10px 20px;
    font-size: 15px;
  }
}