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

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

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

.page-resources-game-guides__section-description,
.page-resources-game-guides__text-block {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-resources-game-guides__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8));
}

.page-resources-game-guides__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
}

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

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

.page-resources-game-guides__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-resources-game-guides__hero-cta-buttons,
.page-resources-game-guides__cta-buttons-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-game-guides__btn-primary,
.page-resources-game-guides__btn-secondary,
.page-resources-game-guides__btn-read-more {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

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

.page-resources-game-guides__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

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

.page-resources-game-guides__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-game-guides__btn-read-more {
  background-color: #EA7C07; /* Login color for read more for distinctiveness */
  color: #ffffff;
  border: 2px solid #EA7C07;
  padding: 10px 20px;
  font-size: 1em;
}

.page-resources-game-guides__btn-read-more:hover {
  background-color: #c06305;
  border-color: #c06305;
}

/* Game Categories Section */
.page-resources-game-guides__game-categories-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

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

.page-resources-game-guides__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-game-guides__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources-game-guides__game-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-resources-game-guides__game-card-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-resources-game-guides__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-resources-game-guides__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
}

.page-resources-game-guides__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-resources-game-guides__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-resources-game-guides__video-caption {
  text-align: center;
  color: #f0f0f0;
  margin-top: 20px;
  font-style: italic;
}

/* Advanced Tips Section */
.page-resources-game-guides__advanced-tips-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-game-guides__tip-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-resources-game-guides__tip-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.page-resources-game-guides__list-title {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-resources-game-guides__tip-list p {
  color: #cccccc;
  font-size: 1em;
  text-align: left;
  margin-bottom: 0;
}

.page-resources-game-guides__content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Call to Action Section Bottom */
.page-resources-game-guides__call-to-action-section {
  padding: 60px 0;
  background-color: #26A9E0;
  text-align: center;
}

.page-resources-game-guides__call-to-action-section .page-resources-game-guides__section-title,
.page-resources-game-guides__call-to-action-section .page-resources-game-guides__section-description {
  color: #ffffff;
}

.page-resources-game-guides__cta-buttons-bottom .page-resources-game-guides__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-resources-game-guides__cta-buttons-bottom .page-resources-game-guides__btn-primary:hover {
  background-color: #e0e0e0;
  color: #1e87b8;
}

.page-resources-game-guides__cta-buttons-bottom .page-resources-game-guides__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-resources-game-guides__cta-buttons-bottom .page-resources-game-guides__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* FAQ Section */
.page-resources-game-guides__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-game-guides__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-game-guides__faq-question h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.2em;
}

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

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

.page-resources-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.page-resources-game-guides__faq-answer p {
  margin: 0;
  color: #cccccc;
  font-size: 1em;
  text-align: left;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .page-resources-game-guides__hero-title {
    font-size: 3em;
  }

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

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

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

  .page-resources-game-guides__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

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

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

  .page-resources-game-guides__hero-cta-buttons,
  .page-resources-game-guides__cta-buttons-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-game-guides__btn-primary,
  .page-resources-game-guides__btn-secondary,
  .page-resources-game-guides__btn-read-more {
    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-resources-game-guides__game-cards-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-game-guides__game-card-image {
    height: 180px;
  }

  .page-resources-game-guides__tip-list {
    grid-template-columns: 1fr;
  }

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

  /* Image responsiveness */
  .page-resources-game-guides img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-game-guides__section,
  .page-resources-game-guides__card,
  .page-resources-game-guides__container,
  .page-resources-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsiveness */
  .page-resources-game-guides video,
  .page-resources-game-guides__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-game-guides__video-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-resources-game-guides__video-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0;
    margin-right: 0;
  }
}

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

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

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

  .page-resources-game-guides__btn-primary,
  .page-resources-game-guides__btn-secondary,
  .page-resources-game-guides__btn-read-more {
    padding: 12px 20px;
    font-size: 1em;
  }
}