.page-game-guides {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure this matches shared.css body background */
}

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

.page-game-guides__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #0A1931;
  color: #ffffff;
  overflow: hidden;
}

.page-game-guides__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-game-guides__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-game-guides__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-game-guides__btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

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

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-game-guides__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

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

.page-game-guides__dark-section {
  background-color: #0A1931;
  color: #ffffff;
}

.page-game-guides__light-bg {
  background-color: #1a2a47; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-game-guides__sub-section-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-guides__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.08); /* Light transparent white */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__game-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-guides__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-guides__card-title a {
  color: #FFD700;
  text-decoration: none;
}

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

.page-game-guides__card-text {
  color: #f0f0f0;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-game-guides__btn-text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #FFD700;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-game-guides__btn-text-link:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-game-guides__note {
  text-align: center;
  font-style: italic;
  margin-top: 30px;
  color: #cccccc;
}

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

.page-game-guides__login-step {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-guides__step-title + p {
  color: #f0f0f0;
}

.page-game-guides__image-full-width {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__list {
  list-style: disc;
  padding-left: 30px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-game-guides__list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-game-guides__list li strong {
  color: #FFD700;
}

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

.page-game-guides__strategy-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #FFD700;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__strategy-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-guides__strategy-title + p {
  color: #f0f0f0;
}

.page-game-guides__margin-top {
  margin-top: 60px;
}

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

.page-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-game-guides__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

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

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

.page-game-guides__call-to-action {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A1931;
  border-radius: 10px;
  margin-top: 60px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-guides__call-to-action .page-game-guides__section-title {
  color: #FFD700;
}

.page-game-guides__call-to-action .page-game-guides__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

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

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

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-game-guides__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

  .page-game-guides__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-game-guides__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__content-area {
    padding: 40px 0;
  }

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

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

  .page-game-guides__sub-section-title {
    font-size: 1.5em;
  }

  .page-game-guides__game-types-grid,
  .page-game-guides__login-guide,
  .page-game-guides__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-game-guides__image-full-width {
    margin: 30px auto;
  }

  .page-game-guides__faq-question,
  .page-game-guides__faq-answer {
    padding: 15px 20px;
  }

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

  /* Ensure all images are responsive */
  .page-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__section,
  .page-game-guides__card,
  .page-game-guides__container,
  .page-game-guides__hero-image-wrapper,
  .page-game-guides__login-step,
  .page-game-guides__strategy-item,
  .page-game-guides__faq-item,
  .page-game-guides__call-to-action {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-game-guides__hero-title {
    font-size: 1.8em;
  }

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

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

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

  .page-game-guides__faq-question h3 {
    font-size: 0.9em;
  }
}