.page-game-guides {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0d0d0d; /* Inherited from shared.css, ensure text contrast */
}

.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%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-game-guides__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-game-guides__hero-content {
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

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

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

.page-game-guides__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* General 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;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* For responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
}

.page-game-guides__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1A1A1A; /* Dark text for contrast */
  border: 2px solid #FFD700;
}

.page-game-guides__btn-primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-game-guides__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

.page-game-guides__btn-text-link {
  color: #FFD700; /* Gold for text links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-game-guides__btn-text-link:hover {
  text-decoration: underline;
  color: #e6c200;
}

/* Section Styling */
.page-game-guides__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-game-guides__section-description {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-game-guides__intro-section,
.page-game-guides__game-type-section,
.page-game-guides__responsible-gaming-section,
.page-game-guides__faq-section,
.page-game-guides__cta-section {
  padding: 60px 0;
}

.page-game-guides__dark-bg {
  background-color: #1A1A1A; /* Auxiliary dark color */
  color: #ffffff;
}

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

.page-game-guides__image-responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Game Guide Cards */
.page-game-guides__game-guide-card {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.page-game-guides__game-guide-card--reverse {
  flex-direction: row-reverse;
}

.page-game-guides__card-content {
  flex: 1;
  padding: 40px;
}

.page-game-guides__card-image {
  flex: 1;
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-game-guides__card-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-game-guides__card-text {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #e0e0e0;
}

.page-game-guides__card-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* FAQ Section */
.page-game-guides__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

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

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1A1A1A; /* Dark background for question */
  color: #FFD700; /* Gold text for question */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-heading {
  margin: 0;
  color: #FFD700;
}

.page-game-guides__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-game-guides__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

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

.page-game-guides__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

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

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

  .page-game-guides__game-guide-card {
    flex-direction: column; /* Stack cards vertically */
  }

  .page-game-guides__game-guide-card--reverse {
    flex-direction: column; /* Stack cards vertically */
  }

  .page-game-guides__card-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    height: auto;
    min-height: 70vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  
  .page-game-guides__hero-title {
    font-size: 2.2em;
  }

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

  .page-game-guides__hero-cta-buttons,
  .page-game-guides__cta-buttons {
    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: 0.9em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-game-guides__card-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

  .page-game-guides__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-game-guides__intro-section,
  .page-game-guides__game-type-section,
  .page-game-guides__responsible-gaming-section,
  .page-game-guides__faq-section,
  .page-game-guides__cta-section {
    padding: 40px 0;
  }

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

  .page-game-guides__card-content {
    padding: 25px;
  }

  .page-game-guides__card-title {
    font-size: 1.5em;
  }

  .page-game-guides__card-text {
    font-size: 0.95em;
  }

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

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

  .page-game-guides__faq-item.active .page-game-guides__faq-answer {
    padding: 10px 20px;
  }

  /* Responsive images and containers for mobile */
  .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__game-guide-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-game-guides__game-guide-card .page-game-guides__card-image {
    min-width: unset; /* Allow smaller width on mobile */
    min-height: unset; /* Allow smaller height on mobile */
  }

  .page-game-guides__video-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    overflow: hidden !important;
  }

  .page-game-guides__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}