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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  border-bottom: 5px solid #26A9E0;
}

.page-game-guides__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width on desktop */
}

.page-game-guides__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-game-guides__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.page-game-guides__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #555555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(38, 169, 224, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__cta-button:hover {
  background: #1e8dc7;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.4);
}

.page-game-guides__section {
  padding: 60px 20px;
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-game-guides__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-game-guides__section-title--light {
  color: #ffffff;
}

.page-game-guides__section-title--light::after {
  background-color: #ffffff;
}

.page-game-guides__introduction p {
  font-size: 1.1em;
  margin-bottom: 1.5em;
  text-align: justify;
}

.page-game-guides__introduction p strong {
  color: #26A9E0;
}

.page-game-guides__popular-guides {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-game-guides__guide-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}

.page-game-guides__guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-game-guides__card-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}

.page-game-guides__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: #26A9E0;
  margin: 20px 15px 10px;
  text-align: center;
}

.page-game-guides__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
  color: #1e8dc7;
  text-decoration: underline;
}

.page-game-guides__card-description {
  font-size: 1em;
  color: #555555;
  padding: 0 15px;
  margin-bottom: 20px;
  text-align: center;
  flex-grow: 1;
}

.page-game-guides__card-button {
  display: inline-block;
  padding: 10px 25px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid transparent;
}

.page-game-guides__btn-primary:hover {
  background: #1e8dc7;
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

.page-game-guides__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
  background: #f0f8ff;
  color: #1e8dc7;
  border-color: #1e8dc7;
}

.page-game-guides__strategies {
  background-color: #f8f9fa;
}

.page-game-guides__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__strategy-list li {
  background-color: #ffffff;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
}

.page-game-guides__strategy-list li strong {
  color: #26A9E0;
}

.page-game-guides__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-guides__why-choose {
  background-color: #ffffff;
}

.page-game-guides__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-guides__advantage-list li {
  background-color: #f0f8ff;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 4px solid #26A9E0;
  border-radius: 8px;
  font-size: 1.05em;
}

.page-game-guides__advantage-list li strong {
  color: #26A9E0;
}

.page-game-guides__faq-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-game-guides__faq-list {
  margin-top: 40px;
}

details.page-game-guides__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

details.page-game-guides__faq-item summary.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
}

details.page-game-guides__faq-item summary.page-game-guides__faq-question::-webkit-details-marker {
  display: none;
}

details.page-game-guides__faq-item summary.page-game-guides__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-game-guides__faq-qtext {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.page-game-guides__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #ffffff;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-game-guides__faq-item .page-game-guides__faq-answer {
  padding: 0 25px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
  color: #f0f0f0;
}

.page-game-guides__cta-bottom {
  text-align: center;
  background-color: #f8f9fa;
  padding-bottom: 80px;
}

.page-game-guides__cta-bottom .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__cta-bottom p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-game-guides a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-guides a:hover {
  text-decoration: underline;
  color: #1e8dc7;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-guides__hero-image img {
    border-radius: 8px;
  }
  
  .page-game-guides__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  
  .page-game-guides__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }
  
  .page-game-guides__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__section {
    padding: 40px 15px;
  }

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

  .page-game-guides__guide-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__card-image {
    height: 180px;
  }

  .page-game-guides__card-title {
    font-size: 1.2em;
  }

  .page-game-guides__card-description {
    font-size: 0.95em;
  }

  .page-game-guides__card-button {
    padding: 8px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__strategy-list li,
  .page-game-guides__advantage-list li {
    font-size: 1em;
    padding: 15px;
  }

  .page-game-guides__content-image {
    margin: 30px auto;
  }

  .page-game-guides__button-group {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-game-guides__button-group .page-game-guides__cta-button {
    width: 100%;
  }

  details.page-game-guides__faq-item summary.page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-game-guides__faq-qtext {
    font-size: 1em;
  }

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

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

  /* Ensure all images are responsive and do not overflow */
  .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__guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Override specific element padding if necessary to prevent double padding */
  .page-game-guides__introduction,
  .page-game-guides__strategies,
  .page-game-guides__why-choose,
  .page-game-guides__cta-bottom {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-guides__introduction .page-game-guides__container,
  .page-game-guides__strategies .page-game-guides__container,
  .page-game-guides__why-choose .page-game-guides__container,
  .page-game-guides__cta-bottom .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}