.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy, body background */
}

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

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #08162B;
}

.page-game-guides__hero-image-wrapper {
  margin-bottom: 30px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

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

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

.page-game-guides__introduction-section,
.page-game-guides__principles-section,
.page-game-guides__popular-guides-section,
.page-game-guides__promotions-section,
.page-game-guides__security-section,
.page-game-guides__faq-section,
.page-game-guides__conclusion-section {
  padding: 60px 0;
}

.page-game-guides__introduction-section {
  background-color: #08162B;
}

.page-game-guides__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #F3F8FF;
  text-align: justify;
}

.page-game-guides__principles-section {
  background-color: #10233F; /* Card BG */
}

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

.page-game-guides__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-title {
  font-size: 1.6em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-guides__card-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-guides__popular-guides-section {
  background-color: #08162B;
}

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

.page-game-guides__guide-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-guides__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-game-guides__guide-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-guides__guide-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-game-guides__guide-description {
  font-size: 0.9em;
  line-height: 1.5;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-guides__btn-read-more {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-read-more:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-game-guides__promotions-section {
  background-color: #10233F; /* Card BG */
}

.page-game-guides__content-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.page-game-guides__content-wrapper p {
  flex: 1;
}

.page-game-guides__content-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.page-game-guides__content-image--center {
  margin: 30px auto 0 auto;
  max-width: 800px;
}

.page-game-guides__cta-buttons {
  display: flex;
  gap: 20px;
}

.page-game-guides__cta-buttons--center {
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

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

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
  color: #F3F8FF; /* Text Main */
  border: 2px solid transparent;
}

.page-game-guides__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__btn-secondary {
  background: transparent;
  color: #F3F8FF; /* Text Main */
  border: 2px solid #1D5FD1; /* Accent color border */
}

.page-game-guides__btn-secondary:hover {
  background-color: #1D5FD1; /* Accent color */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__security-section {
  background-color: #08162B;
}

.page-game-guides__security-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__item-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-game-guides__item-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-guides__faq-section {
  background-color: #10233F; /* Card BG */
}

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

.page-game-guides__faq-item {
  background-color: #08162B; /* Deep Navy */
  border: 1px solid #244D84; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  color: #F3F8FF; /* Text Main */
  font-weight: bold;
  position: relative;
  user-select: none;
  list-style: none;
}

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

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  transform: rotate(45deg);
}

.page-game-guides__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #AFC4E8; /* Text Secondary */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-answer {
  max-height: 500px; /* Adjust as needed */
}

.page-game-guides__conclusion-section {
  background-color: #08162B;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: clamp(2.2em, 4.5vw, 3em);
  }

  .page-game-guides__hero-description {
    font-size: 1em;
    max-width: 700px;
  }

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

  .page-game-guides__grid-2-col {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .page-game-guides__content-wrapper {
    flex-direction: column;
  }

  .page-game-guides__content-wrapper p,
  .page-game-guides__content-image {
    max-width: 100%;
  }

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

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides__btn-read-more {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-game-guides__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px;
  }

  .page-game-guides__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
    padding: 0 15px;
  }

  .page-game-guides__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary,
  .page-game-guides a[class*="button"],
  .page-game-guides a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .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;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for buttons */
  }

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

  .page-game-guides__introduction-section,
  .page-game-guides__principles-section,
  .page-game-guides__popular-guides-section,
  .page-game-guides__promotions-section,
  .page-game-guides__security-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    padding: 40px 0;
  }

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

  .page-game-guides__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

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

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

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

  .page-game-guides__guide-image {
    height: 200px;
  }

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

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

  .page-game-guides__guide-description {
    font-size: 0.85em;
  }

  .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__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-guides__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-guides__content-image {
    max-width: 100%;
  }

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

  .page-game-guides__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9em;
  }
}