.page-game-guides {
  font-family: Arial, sans-serif;
  color: #ffffff; /* Dark background from shared.css, so light text */
  background-color: transparent; /* body has #1a1a1a from shared */
}

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

/* Hero Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px; /* Increased height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

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

.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;
}

.page-game-guides__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: 0;
}

.page-game-guides__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.5); /* Slightly darker background for text */
  border-radius: 10px;
}

.page-game-guides__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-game-guides__cta-buttons {
  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: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #000000;
}

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

.page-game-guides__btn-secondary {
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  border-color: #8B0000;
}

.page-game-guides__btn-secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-game-guides__introduction-section,
.page-game-guides__game-types-section,
.page-game-guides__detailed-guides-section,
.page-game-guides__tips-strategy-section,
.page-game-guides__faq-section,
.page-game-guides__conclusion-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-game-guides__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.page-game-guides__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

/* Game Types Section */
.page-game-guides__game-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.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-game-guides__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-guides__game-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-game-guides__game-card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin: 20px 20px 10px;
  text-align: center;
  flex-grow: 1; /* Make title take available space */
}

.page-game-guides__game-card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-guides__game-card-title a:hover {
  color: #ffffff;
}

.page-game-guides__game-card-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px;
  text-align: justify;
}

/* Detailed Guides Section */
.page-game-guides__guide-block {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__guide-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

.page-game-guides__guide-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-game-guides__guide-list strong {
  color: #FFD700;
}

.page-game-guides__guide-block a {
  color: #FFD700;
  text-decoration: underline;
}

.page-game-guides__guide-block a:hover {
  color: #ffffff;
}

/* Tips and Strategy Section */
.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-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

.page-game-guides__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 40px;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  color: #f0f0f0;
  font-size: 1.05em;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

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

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

.page-game-guides__faq-answer a:hover {
  color: #ffffff;
}

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

/* Footer */
.page-game-guides__footer {
  background-color: #0d0d0d; /* Darker footer */
  color: #cccccc;
  padding: 30px 0;
  text-align: center;
  margin-top: 40px;
}

.page-game-guides__copyright {
  font-size: 0.9em;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__main-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-card-title {
    font-size: 1.3em;
  }
  .page-game-guides__guide-title {
    font-size: 1.8em;
  }
}

@media (max-width: 768px) {
  .page-game-guides {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-guides__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-game-guides__hero-content {
    padding: 20px;
  }
  .page-game-guides__main-title {
    font-size: 2em;
  }
  .page-game-guides__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-guides__cta-buttons,
  .page-game-guides__cta-final {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-game-guides__introduction-section,
  .page-game-guides__game-types-section,
  .page-game-guides__detailed-guides-section,
  .page-game-guides__tips-strategy-section,
  .page-game-guides__faq-section,
  .page-game-guides__conclusion-section {
    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-title {
    font-size: 1.4em;
  }
  .page-game-guides__text-block {
    font-size: 1em;
  }
  .page-game-guides__game-grid,
  .page-game-guides__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-guides__game-card-image,
  .page-game-guides__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-game-guides__game-card,
  .page-game-guides__guide-block,
  .page-game-guides__strategy-card,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__hero-video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-guides__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8em;
  }
  .page-game-guides__section-title {
    font-size: 1.5em;
  }
  .page-game-guides__hero-content {
    padding: 15px;
  }
  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-game-guides__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-game-guides__faq-answer {
    padding: 10px 20px;
  }
}