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

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

.page-game-guides__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #26A9E0, #1a7bbd);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

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

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-game-guides__cta-buttons--center {
  justify-content: center;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

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

.page-game-guides__btn-primary:hover {
  background-color: #d16b00;
  border-color: #d16b00;
}

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

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

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-guides__introduction-section,
.page-game-guides__principles-section,
.page-game-guides__game-sections,
.page-game-guides__video-section,
.page-game-guides__tips-section,
.page-game-guides__faq-section,
.page-game-guides__cta-bottom-section {
  padding: 60px 0;
}

.page-game-guides__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

.page-game-guides__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: inherit;
}

.page-game-guides__image-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-game-guides__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto;
}

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

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

.page-game-guides__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__card-text {
  font-size: 1em;
  color: #555555;
}

.page-game-guides__game-card {
  display: flex;
  align-items: center;
  border-radius: 12px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__game-card:nth-child(odd) {
  flex-direction: row;
}

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

.page-game-guides__game-card-content {
  flex: 1;
  padding: 40px;
}

.page-game-guides__game-card-image {
  flex: 1;
  min-width: 300px; /* Ensure image section has a minimum width */
}

.page-game-guides__game-card-image .page-game-guides__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.page-game-guides__game-card-title {
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__game-card-title a {
  color: inherit;
  text-decoration: none;
}

.page-game-guides__game-card-title a:hover {
  text-decoration: underline;
}

.page-game-guides__game-card-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.7;
}

.page-game-guides__game-card.page-game-guides__dark-bg .page-game-guides__game-card-title {
  color: #ffffff;
}

.page-game-guides__game-card.page-game-guides__light-bg .page-game-guides__game-card-title {
  color: #26A9E0;
}

.page-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin: 50px auto;
  max-width: 1000px;
  width: 100%;
}

.page-game-guides__video-wrapper .page-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.page-game-guides__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-game-guides__tips-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 900px;
}

.page-game-guides__tips-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-game-guides__tips-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__tips-item p {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-game-guides__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: #f0f0f0;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: #ffffff;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-game-guides__faq-answer p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 0;
}

.page-game-guides__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
}

.page-game-guides__cta-bottom-content {
  max-width: 900px;
}

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

  .page-game-guides__section-title {
    font-size: 2em;
  }

  .page-game-guides__game-card-title {
    font-size: 1.8em;
  }

  .page-game-guides__game-card {
    flex-direction: column !important;
  }

  .page-game-guides__game-card-image {
    width: 100%;
    min-width: unset;
  }

  .page-game-guides__game-card-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-game-guides__hero-title {
    font-size: 2em;
  }

  .page-game-guides__hero-description {
    font-size: 1em;
  }

  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-game-guides__section-title {
    font-size: 1.8em;
  }

  .page-game-guides__text-block {
    font-size: 0.95em;
  }

  .page-game-guides__grid {
    grid-template-columns: 1fr;
  }

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

  .page-game-guides__game-card-title {
    font-size: 1.5em;
  }

  .page-game-guides__game-card-text {
    font-size: 0.95em;
  }

  .page-game-guides__tips-item,
  .page-game-guides__faq-item {
    padding: 0;
  }

  .page-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

  .page-game-guides__container,
  .page-game-guides__game-card-content,
  .page-game-guides__video-wrapper,
  .page-game-guides__cta-buttons,
  .page-game-guides__tips-list,
  .page-game-guides__faq-list,
  .page-game-guides__cta-bottom-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .page-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides video,
  .page-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    overflow: hidden !important;
  }

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