.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #f4f4f4;
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-guides__section {
  padding: 60px 0;
  background-color: #f4f4f4;
}

.page-game-guides__section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-game-guides__section-title {
  font-size: 36px;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-game-guides__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-game-guides__text-block {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  padding-top: var(--header-offset, 120px);
  overflow: hidden;
}

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

.page-game-guides__hero-image-wrapper {
  width: 100%;
  margin-bottom: 30px;
  line-height: 0; /* Remove extra space below image */
}

.page-game-guides__hero-image-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px 60px 20px;
  box-sizing: border-box;
}

.page-game-guides__hero-title {
  font-size: 48px;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 20px;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-game-guides__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-guides__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__cta-button--primary {
  background: #FFD700;
  color: #000000;
  border: 2px solid #FFD700;
}

.page-game-guides__cta-button--primary:hover {
  background: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-button--secondary {
  background: #000000;
  color: #FFD700;
  border: 2px solid #000000;
}

.page-game-guides__cta-button--secondary:hover {
  background: #333333;
  border-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Guides List */
.page-game-guides__guides-list {
  background-color: #f9f9f9;
}

.page-game-guides__guide-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-game-guides__guide-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-game-guides__guide-image {
  width: 40%;
  flex-shrink: 0;
  height: auto;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
  max-width: 100%;
  display: block;
}

.page-game-guides__guide-card:nth-child(even) .page-game-guides__guide-image {
  border-radius: 0 12px 12px 0;
}

.page-game-guides__guide-content {
  padding: 30px;
  flex-grow: 1;
  color: #333333;
}

.page-game-guides__guide-title {
  font-size: 28px;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__guide-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__guide-title a:hover {
  color: #FFD700;
}

.page-game-guides__guide-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-game-guides__btn-read-more {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #000000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-guides__btn-read-more:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Bottom CTA Section */
.page-game-guides__cta-section--bottom {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-game-guides__cta-section--bottom .page-game-guides__section-title {
  color: #FFD700;
}

.page-game-guides__cta-section--bottom .page-game-guides__section-title::after {
  background-color: #ffffff;
}

.page-game-guides__cta-section--bottom .page-game-guides__text-block {
  color: #f0f0f0;
}

/* FAQ Section */
.page-game-guides__faq-section {
  background-color: #f4f4f4;
  padding-bottom: 80px;
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-guides__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-game-guides__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-game-guides__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 25px;
  opacity: 0;
  background: #fdfdfd;
  color: #555555;
  font-size: 16px;
  line-height: 1.7;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #eee;
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 40px;
  }

  .page-game-guides__hero-description {
    font-size: 18px;
  }

  .page-game-guides__guide-card {
    flex-direction: column;
    align-items: center;
  }

  .page-game-guides__guide-card:nth-child(even) {
    flex-direction: column;
  }

  .page-game-guides__guide-image {
    width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .page-game-guides__guide-card:nth-child(even) .page-game-guides__guide-image {
    border-radius: 12px 12px 0 0;
  }

  .page-game-guides__guide-content {
    padding: 25px;
  }

  .page-game-guides__guide-title {
    font-size: 24px;
  }

  .page-game-guides__btn-read-more {
    width: auto;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-game-guides__section {
    padding: 40px 0;
  }

  .page-game-guides__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-game-guides__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .page-game-guides__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-game-guides__hero-title {
    font-size: 32px;
  }

  .page-game-guides__hero-description {
    font-size: 16px;
  }

  .page-game-guides__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__cta-button {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto;
  }

  .page-game-guides__container {
    padding: 0 15px;
  }

  .page-game-guides__guides-list {
    padding: 0 15px;
  }

  .page-game-guides__guide-card {
    margin-bottom: 30px;
  }

  .page-game-guides__guide-content {
    padding: 20px;
  }

  .page-game-guides__guide-title {
    font-size: 20px;
  }

  .page-game-guides__guide-description {
    font-size: 15px;
  }

  .page-game-guides__btn-read-more {
    padding: 8px 20px;
    font-size: 14px;
  }

  .page-game-guides__faq-question {
    padding: 15px 20px;
  }

  .page-game-guides__faq-question h3 {
    font-size: 16px;
  }

  .page-game-guides__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-game-guides__faq-answer {
    padding: 0 20px;
  }

  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile image specific rules */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__hero-content,
  .page-game-guides__guides-list,
  .page-game-guides__guide-card,
  .page-game-guides__guide-image,
  .page-game-guides__cta-buttons,
  .page-game-guides__button-group,
  .page-game-guides__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__cta-group {
    padding: 0 15px;
  }

  .page-game-guides__cta-section--bottom {
    padding: 60px 15px;
  }
}