.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Inherited from body, ensure contrast */
}

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

/* Top padding for fixed header */
.page-game-guides__intro-section {
  padding-top: 120px; /* Desktop */
}

.page-game-guides__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for sections */
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.page-game-guides__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: #ffc107; /* Accent color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__intro-text {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__intro-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 30px auto;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  color: #007bff; /* Primary color */
}

.page-game-guides__light-bg .page-game-guides__section-title {
  color: #007bff;
}

.page-game-guides__dark-bg .page-game-guides__section-title {
  color: #ffc107;
}

.page-game-guides__section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__card-grid, .page-game-guides__bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-game-guides__card {
  background-color: #f8f9fa;
  color: #333333;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image, .page-game-guides__bonus-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-game-guides__card-title, .page-game-guides__bonus-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 15px;
}

.page-game-guides__card-text, .page-game-guides__bonus-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-game-guides__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-game-guides__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-game-guides__button--secondary {
  background-color: #28a745;
  color: #ffffff;
}

.page-game-guides__button--secondary:hover {
  background-color: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.page-game-guides__section-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-game-guides__text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #ffffff;
}

.page-game-guides__light-bg .page-game-guides__text-block {
  color: #333333;
}

.page-game-guides__text-block h3 {
  font-size: 1.8em;
  font-weight: bold;
  color: #ffc107;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-game-guides__light-bg .page-game-guides__text-block h3 {
  color: #007bff;
}

.page-game-guides__text-block p {
  font-size: 1.05em;
  margin-bottom: 15px;
}

.page-game-guides__cta-box {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05); /* subtle background for dark sections */
  border-radius: 8px;
}

.page-game-guides__light-bg .page-game-guides__cta-box {
  background-color: #e9ecef; /* light background for light sections */
}

.page-game-guides__cta-box p {
  font-size: 1.2em;
  font-weight: 500;
  margin-bottom: 25px;
  color: #ffffff;
}

.page-game-guides__light-bg .page-game-guides__cta-box p {
  color: #333333;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 30px;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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 15px;
  opacity: 0;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #2a2a2a; /* Darker background for answer in dark section */
  border-radius: 0 0 5px 5px;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #333333; /* Darker background for question in dark section */
  border: 1px solid #444444;
  border-radius: 5px;
  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: #444444;
  border-color: #555555;
}

.page-game-guides__faq-question:active {
  background: #555555;
}

.page-game-guides__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff; /* Light text for dark question background */
}

.page-game-guides__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #ffc107; /* Accent color for toggle */
  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: 28px;
  height: 28px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  color: #007bff; /* Primary color when active */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: 2.8em;
  }
  .page-game-guides__section-title {
    font-size: 2.2em;
  }
  .page-game-guides__card-grid, .page-game-guides__bonus-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__intro-section {
    padding-top: 100px !important; /* Mobile */
  }
  .page-game-guides__container {
    padding: 20px 15px;
  }
  .page-game-guides__main-title {
    font-size: 2em;
  }
  .page-game-guides__intro-text {
    font-size: 1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-description {
    font-size: 0.95em;
  }
  .page-game-guides__card-grid, .page-game-guides__bonus-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__card, .page-game-guides__bonus-card {
    padding: 20px;
  }
  .page-game-guides__card-image, .page-game-guides__bonus-image {
    min-width: unset;
    min-height: unset;
  }
  .page-game-guides__text-block h3 {
    font-size: 1.5em;
  }
  .page-game-guides__text-block p {
    font-size: 0.95em;
  }
  .page-game-guides__cta-box p {
    font-size: 1em;
  }
  .page-game-guides__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  
  /* FAQ Responsive */
  .page-game-guides__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-game-guides__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-game-guides__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-game-guides__faq-answer {
    padding: 0 15px;
  }
  
  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 15px !important;
  }

  /* Ensure all images and containers are responsive */
  .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__faq-item,
  .page-game-guides__faq-question,
  .page-game-guides__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__how-to-choose .page-game-guides__container,
  .page-game-guides__latest-bonuses .page-game-guides__container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-guides__card {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.6em;
  }
  .page-game-guides__text-block h3 {
    font-size: 1.3em;
  }
}