/* style/beginner-guide.css */
.page-beginner-guide {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

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

.page-beginner-guide__hero {
  background: linear-gradient(135deg, #007bff, #1a9cff);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-beginner-guide__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-beginner-guide__hero-actions .page-beginner-guide__btn {
  margin: 0 10px;
}

.page-beginner-guide__section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-beginner-guide__section:last-of-type {
  border-bottom: none;
}

.page-beginner-guide__heading {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-beginner-guide__sub-heading {
  font-size: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-beginner-guide__content-grid .page-beginner-guide__text-content {
  flex: 1;
}

.page-beginner-guide__content-grid .page-beginner-guide__image-wrapper {
  flex: 1;
  text-align: center;
}

.page-beginner-guide__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-beginner-guide__list li {
  margin-bottom: 10px;
}

.page-beginner-guide__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1em;
}

.page-beginner-guide__btn--primary {
  background-color: #ffc107;
  color: #333;
  box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-beginner-guide__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-beginner-guide__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.page-beginner-guide__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-beginner-guide__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-beginner-guide__btn--large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-beginner-guide__btn--extra-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Step Cards */
.page-beginner-guide__step-card {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  padding: 30px;
  gap: 30px;
}

.page-beginner-guide__step-card--reversed {
  flex-direction: row-reverse;
}

.page-beginner-guide__step-icon {
  min-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #007bff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-beginner-guide__icon {
  width: 40px;
  height: 40px;
  filter: invert(100%); /* Make icons white */
}

.page-beginner-guide__step-content {
  flex: 2;
}

.page-beginner-guide__step-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-beginner-guide__image-wrapper--step {
  flex: 1;
  max-width: 350px;
}

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

.page-beginner-guide__game-card,
.page-beginner-guide__promo-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-beginner-guide__game-title,
.page-beginner-guide__promo-title {
  font-size: 1.5em;
  color: #007bff;
  margin: 20px 15px 10px;
}

.page-beginner-guide__game-card p,
.page-beginner-guide__promo-card p {
  padding: 0 15px 20px;
  color: #555;
}

/* FAQ Section */
.page-beginner-guide__faq-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-beginner-guide__faq-question {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-beginner-guide__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffc107;
}

.page-beginner-guide__faq-question.active::after {
  content: '-';
}

.page-beginner-guide__faq-answer {
  font-size: 1em;
  color: #555;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-beginner-guide__faq-answer.active {
  display: block;
}

.page-beginner-guide__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-beginner-guide__content-grid {
    flex-direction: column;
  }
  .page-beginner-guide__content-grid .page-beginner-guide__image-wrapper {
    order: -1; /* Image first on smaller screens */
  }
  .page-beginner-guide__step-card {
    flex-direction: column;
  }
  .page-beginner-guide__step-card--reversed {
    flex-direction: column;
  }
  .page-beginner-guide__image-wrapper--step {
    order: -1;
    margin-bottom: 20px;
  }
  .page-beginner-guide__hero-title {
    font-size: 2.5em;
  }
  .page-beginner-guide__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-beginner-guide__hero {
    padding: 80px 0;
  }
  .page-beginner-guide__hero-title {
    font-size: 2em;
  }
  .page-beginner-guide__hero-subtitle {
    font-size: 1em;
  }
  .page-beginner-guide__hero-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .page-beginner-guide__btn {
    width: 80%;
  }
  .page-beginner-guide__heading {
    font-size: 1.8em;
  }
  .page-beginner-guide__step-icon {
    min-width: 60px;
    height: 60px;
  }
  .page-beginner-guide__icon {
    width: 30px;
    height: 30px;
  }
  .page-beginner-guide__step-title {
    font-size: 1.5em;
  }
  .page-beginner-guide__game-grid, .page-beginner-guide__promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-beginner-guide__hero-title {
    font-size: 1.8em;
  }
  .page-beginner-guide__heading {
    font-size: 1.5em;
  }
  .page-beginner-guide__step-title {
    font-size: 1.3em;
  }
  .page-beginner-guide__step-card {
    padding: 20px;
  }
}