.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--Text-Main); /* Default light text for dark body background */
  background-color: var(--Deep-Navy);
}

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  color: var(--Text-Main);
  background: var(--Deep-Navy);
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop */
  max-height: 600px; /* Limit height on desktop */
}

.page-game-guides__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative; /* Ensure content is not absolutely positioned on image */
  z-index: 1;
}

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: bold;
  color: var(--Text-Main);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.1rem;
  color: var(--Text-Secondary);
  margin-bottom: 30px;
}

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

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

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-guides__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF;
  border: 2px solid var(--Border);
}

.page-game-guides__btn-secondary:hover {
  background: var(--Border);
  color: var(--Text-Main);
  transform: translateY(-2px);
}

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

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

.page-game-guides__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.page-game-guides__section-description {
  font-size: 1.1rem;
  text-align: center;
  color: var(--Text-Secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-guides__light-bg .page-game-guides__section-title {
  color: var(--Primary-Color); /* Darker title on light background */
}

.page-game-guides__light-bg .page-game-guides__section-description,
.page-game-guides__light-bg .page-game-guides__game-card-text,
.page-game-guides__light-bg .page-game-guides__transaction-text,
.page-game-guides__light-bg .page-game-guides__note,
.page-game-guides__light-bg .page-game-guides__policy-text,
.page-game-guides__light-bg .page-game-guides__call-to-action {
  color: #555555;
}

.page-game-guides__dark-section {
  background-color: var(--Deep-Navy);
  color: var(--Text-Main);
}

.page-game-guides__dark-section .page-game-guides__section-title {
  color: var(--Text-Main);
}

.page-game-guides__dark-section .page-game-guides__section-description,
.page-game-guides__dark-section .page-game-guides__tip-icon,
.page-game-guides__dark-section .page-game-guides__tips-list strong,
.page-game-guides__dark-section .page-game-guides__forgot-password,
.page-game-guides__dark-section .page-game-guides__faq-question,
.page-game-guides__dark-section .page-game-guides__faq-answer {
  color: var(--Text-Secondary);
}

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

.page-game-guides__game-card {
  background: var(--Card-BG);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  color: var(--Text-Secondary);
}

.page-game-guides__light-bg .page-game-guides__game-card {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.page-game-guides__game-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-guides__game-card-title a {
  color: var(--Text-Main);
  text-decoration: none;
}

.page-game-guides__light-bg .page-game-guides__game-card-title a {
  color: var(--Primary-Color);
}

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

.page-game-guides__game-card-text {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 15px;
}

.page-game-guides__game-card-link {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-game-guides__game-card-link:hover {
  opacity: 0.9;
}

.page-game-guides__light-bg .page-game-guides__game-card-link {
  background: var(--Primary-Color);
  color: #ffffff;
}

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

.page-game-guides__step-card,
.page-game-guides__transaction-card,
.page-game-guides__policy-card {
  background: var(--Card-BG);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--Text-Secondary);
}

.page-game-guides__light-bg .page-game-guides__step-card,
.page-game-guides__light-bg .page-game-guides__transaction-card,
.page-game-guides__light-bg .page-game-guides__policy-card {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__step-icon,
.page-game-guides__transaction-icon,
.page-game-guides__policy-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-game-guides__step-title,
.page-game-guides__transaction-title,
.page-game-guides__policy-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--Text-Main);
}

.page-game-guides__light-bg .page-game-guides__step-title,
.page-game-guides__light-bg .page-game-guides__transaction-title,
.page-game-guides__light-bg .page-game-guides__policy-title {
  color: var(--Primary-Color);
}

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

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

.page-game-guides__step-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.page-game-guides__step-list li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
  color: var(--Text-Secondary);
}

.page-game-guides__light-bg .page-game-guides__step-list li {
  color: #555555;
}

.page-game-guides__step-list li::before {
  content: '✓';
  color: var(--Gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-game-guides__forgot-password {
  margin-top: 25px;
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-game-guides__link-text {
  color: var(--Auxiliary-Color);
  text-decoration: none;
}

.page-game-guides__link-text:hover {
  text-decoration: underline;
}

.page-game-guides__note {
  margin-top: 30px;
  font-style: italic;
  color: var(--Text-Secondary);
  text-align: center;
}

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

.page-game-guides__tips-list li {
  background: var(--Card-BG);
  border-left: 5px solid var(--Auxiliary-Color);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.05rem;
  color: var(--Text-Secondary);
}

.page-game-guides__tip-icon {
  font-size: 1.5rem;
  color: var(--Gold);
  line-height: 1;
}

.page-game-guides__tips-list strong {
  color: var(--Text-Main);
}

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

.page-game-guides__faq-item {
  background: var(--Card-BG);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--Text-Secondary);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15rem;
  color: var(--Text-Main);
  background: var(--Card-BG);
  border-bottom: 1px solid var(--Divider);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: 1px solid var(--Auxiliary-Color);
}

.page-game-guides__faq-qtext {
  flex-grow: 1;
  text-align: left;
  color: var(--Text-Main);
}

.page-game-guides__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  width: 30px;
  text-align: center;
  color: var(--Auxiliary-Color);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  color: var(--Gold);
}

.page-game-guides__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--Text-Secondary);
}

.page-game-guides__faq-answer p {
  margin-bottom: 10px;
}

.page-game-guides__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

.page-game-guides__call-to-action {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 40px;
  color: #333333;
}

@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-game-guides__section-title {
    font-size: 2rem;
  }
  .page-game-guides__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-game-guides__hero-image {
    object-fit: contain !important; /* Mobile hero image: contain, not cover */
    max-height: none !important;
    aspect-ratio: unset !important;
  }
  .page-game-guides__main-title {
    font-size: 2rem;
  }
  .page-game-guides__description {
    font-size: 1rem;
  }
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-guides__section {
    padding: 40px 0;
  }
  .page-game-guides__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
  }
  .page-game-guides__section-description {
    font-size: 0.95rem;
  }
  .page-game-guides__game-grid {
    grid-template-columns: 1fr 1fr; /* Two columns for game grid on mobile */
    gap: 20px;
  }
  .page-game-guides__game-card-image {
    height: 150px; /* Adjust height for mobile cards */
  }
  .page-game-guides__game-card-title {
    font-size: 1.2rem;
  }
  .page-game-guides__game-card-text {
    font-size: 0.9rem;
  }
  .page-game-guides__steps-grid,
  .page-game-guides__transaction-methods,
  .page-game-guides__policy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-game-guides__step-icon,
  .page-game-guides__transaction-icon,
  .page-game-guides__policy-icon {
    width: 80px;
    height: 80px;
  }
  .page-game-guides__step-title,
  .page-game-guides__transaction-title,
  .page-game-guides__policy-title {
    font-size: 1.3rem;
  }
  .page-game-guides__tips-list li {
    font-size: 0.95rem;
    padding: 15px;
  }
  .page-game-guides__tip-icon {
    font-size: 1.2rem;
  }
  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-game-guides__faq-toggle {
    font-size: 1.5rem;
  }
  .page-game-guides__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  .page-game-guides__call-to-action {
    font-size: 1rem;
  }
  /* General image responsiveness for content area */
  .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__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;
    overflow: hidden !important;
  }
  .page-game-guides__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}