/* style/game-guides.css */
.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

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

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

.page-game-guides__text-block a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  min-height: 500px;
  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;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-game-guides__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__lead-paragraph {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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 {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-guides__btn-primary:hover {
  background-color: #1e87c0;
  transform: translateY(-2px);
}

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

.page-game-guides__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Intro Section */
.page-game-guides__intro-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

/* Registration Guide Section */
.page-game-guides__registration-guide-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-game-guides__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-game-guides__ordered-list li {
  margin-bottom: 15px;
}

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

/* Game Categories Section */
.page-game-guides__game-categories-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

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

.page-game-guides__game-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
}

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

.page-game-guides__card-title {
  font-size: 1.5em;
  font-weight: 700;
  padding: 20px 20px 10px 20px;
  color: #26A9E0;
}

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

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

.page-game-guides__card-description {
  padding: 0 20px 15px 20px;
  font-size: 1em;
  flex-grow: 1;
}

.page-game-guides__btn-text {
  display: inline-block;
  color: #EA7C07; /* Login color for a distinct link */
  text-decoration: none;
  font-weight: 600;
  padding: 0 20px 20px 20px;
}

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

/* Tips and Strategies Section */
.page-game-guides__tips-strategies-section {
  padding: 60px 0;
  background-color: #1a1a1a;
}

.page-game-guides__unordered-list {
  list-style-type: disc;
  margin-left: 25px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-game-guides__unordered-list li {
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a;
}

.page-game-guides__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-game-guides__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For <details> summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <details> summary */
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-game-guides__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

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

.page-game-guides__cta-bottom-section .page-game-guides__text-block {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-game-guides__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  background-color: #EA7C07; /* Login color for prominent CTA */
  border: 2px solid #EA7C07;
}

.page-game-guides__btn-large:hover {
  background-color: #c96806;
  border-color: #c96806;
}

/* Common background colors for sections */
.page-game-guides__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-game-guides__dark-bg .page-game-guides__section-title {
  color: #26A9E0;
}

.page-game-guides__dark-bg .page-game-guides__text-block {
  color: #f0f0f0;
}

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

  .page-game-guides__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-game-guides__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
    margin-bottom: 15px;
  }

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

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

  .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;
    padding-right: 15px;
  }

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

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

  .page-game-guides__game-card {
    margin: 0 15px;
  }

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

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

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

  /* Mobile image responsiveness */
  .page-game-guides img {
    max-width: 100% !important;
    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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Specific padding for sections in mobile */
  .page-game-guides__intro-section,
  .page-game-guides__registration-guide-section,
  .page-game-guides__game-categories-section,
  .page-game-guides__tips-strategies-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom-section {
    padding: 40px 0 !important;
  }
}