/* style/game-guides.css */

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

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

/* Section common styles */
.page-game-guides__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
  line-height: 1.2;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: inherit;
}

.page-game-guides__highlight {
  color: #EA7C07;
  font-weight: 700;
}

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

/* Color themes */
.page-game-guides__dark-bg {
  background-color: #0d0d0d; /* Matching body background */
  color: #ffffff;
}

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

.page-game-guides__dark-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  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: #1e87b5;
  border-color: #1e87b5;
}

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

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top margin, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-guides__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

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

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

/* Introduction Section */
.page-game-guides__introduction {
  padding: 60px 0;
  text-align: center;
}

/* Game Sections */
.page-game-guides__game-section {
  padding: 60px 0;
}

.page-game-guides__game-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides__game-section .page-game-guides__game-card:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-game-guides__game-image {
  width: 50%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__game-content {
  width: 50%;
}

.page-game-guides__game-subtitle {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* Tips Section */
.page-game-guides__tips-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-game-guides__tip-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: left;
  color: #333333;
}

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

.page-game-guides__tip-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 15px;
  color: #26A9E0;
}

/* FAQ Section */
.page-game-guides__faq-section {
  padding: 60px 0;
  text-align: center;
}

.page-game-guides__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

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

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

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
}

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

.page-game-guides__faq-item[open] .page-game-guides__faq-answer {
  padding-top: 15px;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-question {
  border-bottom: none;
}

/* CTA Section */
.page-game-guides__cta-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-game-guides__section-title {
    font-size: 2em;
  }
  .page-game-guides__game-card {
    flex-direction: column;
    text-align: center;
  }
  .page-game-guides__game-section .page-game-guides__game-card:nth-of-type(even) {
    flex-direction: column;
  }
  .page-game-guides__game-image,
  .page-game-guides__game-content {
    width: 100%;
  }
  .page-game-guides__game-image {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }
  .page-game-guides__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-game-guides__hero-description {
    font-size: 1.1em;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-game-guides__text-block {
    font-size: 1em;
  }
  .page-game-guides__game-section,
  .page-game-guides__tips-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    padding: 40px 0;
  }
  .page-game-guides__game-card {
    padding: 20px;
    gap: 20px;
  }
  .page-game-guides__tip-card {
    padding: 20px;
  }
  .page-game-guides__tip-image {
    height: 200px;
  }
  .page-game-guides__tip-title {
    font-size: 1.3em;
  }
  .page-game-guides__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-game-guides__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  /* Mobile responsive for images, videos, buttons */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides video,
  .page-game-guides__video {
    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-section,
  .page-game-guides__introduction,
  .page-game-guides__game-section,
  .page-game-guides__tips-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section,
  .page-game-guides__video-section,
  .page-game-guides__video-container,
  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .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;
    margin-bottom: 10px; /* Space between stacked buttons */
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__hero-content .page-game-guides__btn-primary {
    margin-top: 15px;
  }
  .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;
    display: flex;
    flex-direction: column;
  }
  .page-game-guides__video-section {
    padding-top: 10px !important;
  }
  .page-game-guides__hero-image-wrapper {
    margin-bottom: 20px;
  }
  .page-game-guides__hero-content {
    padding: 0 15px;
  }
}