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

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh; /* Adjust as needed */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #017439, #005f2e); /* Brand colors */
  color: #ffffff;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
}

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

.page-game-guides__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-guides__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Ensure responsiveness for buttons */
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-game-guides__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom color for Register/Login font */
  border: 2px solid #FFFF00;
}

.page-game-guides__btn-primary:hover {
  background-color: #e01010;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.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.2);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-game-guides__video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.5); /* Darken video to ensure text contrast */
}

.page-game-guides__video-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* General Section Styles */
.page-game-guides__section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Dark background from shared.css */
  color: #ffffff; /* Light text for dark background */
}

.page-game-guides__introduction,
.page-game-guides__management,
.page-game-guides__conclusion {
  background-color: #1a1a1a;
}

.page-game-guides__strategies {
  background-color: #0d0d0d; /* Slightly darker for contrast */
}

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Use custom font color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #017439; /* Brand green for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-game-guides__list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 30px;
}

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

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

.page-game-guides__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-game-guides__game-category {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__game-category-title {
  font-size: 2em;
  color: #FFFF00; /* Highlight game category titles */
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__cta-block {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(1, 116, 57, 0.8); /* Semi-transparent brand green */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-text {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-game-guides__cta-final {
  text-align: center;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-game-guides__faq {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

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

.page-game-guides__faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(1, 116, 57, 0.8); /* Brand green for question background */
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: #005f2e; /* Darker green on hover */
}

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

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFFF00; /* Highlight toggle icon */
  transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
  transform: rotate(45deg); /* Rotate for minus sign */
}

.page-game-guides__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.02); /* Very light transparent white */
  color: #ffffff;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Ensure it expands enough */
  padding: 20px !important;
}

.page-game-guides__copyright {
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
  color: #cccccc;
  background-color: #0d0d0d; /* Darker background for footer-like section */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-guides__hero-title {
    font-size: 3em;
  }
  .page-game-guides__section-title {
    font-size: 2.2em;
  }
  .page-game-guides__sub-title {
    font-size: 1.6em;
  }
  .page-game-guides__game-category-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-game-guides__hero-title {
    font-size: 2.5em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
  }
  .page-game-guides__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-guides__section {
    padding: 60px 0;
  }
  .page-game-guides__section-title {
    font-size: 1.8em;
  }
  .page-game-guides__sub-title {
    font-size: 1.4em;
  }
  .page-game-guides__text-block,
  .page-game-guides__list li {
    font-size: 0.95em;
  }
  .page-game-guides__game-category-title {
    font-size: 1.6em;
  }
  .page-game-guides__cta-text {
    font-size: 1.3em;
  }
  .page-game-guides__cta-final {
    flex-direction: column;
    gap: 15px;
  }

  /* Images and Videos Responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-guides__image-grid,
  .page-game-guides__game-category,
  .page-game-guides__cta-block,
  .page-game-guides__faq-item,
  .page-game-guides__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-game-guides video,
  .page-game-guides__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    position: static !important; /* Override absolute positioning for mobile */
    transform: none !important;
    filter: brightness(0.7) !important; /* Less aggressive filter for smaller screens */
  }

  .page-game-guides__video-wrapper {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding-bottom: 0 !important; /* Remove aspect ratio padding for direct video */
    margin-top: 20px;
  }
}