:root {
  --page-game-guides-primary-color: #11A84E; /* Main color */
  --page-game-guides-secondary-color: #22C768; /* Auxiliary color */
  --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  --page-game-guides-card-bg: #11271B; /* Card BG */
  --page-game-guides-background: #08160F; /* Background */
  --page-game-guides-text-main: #F2FFF6; /* Text Main */
  --page-game-guides-text-secondary: #A7D9B8; /* Text Secondary */
  --page-game-guides-border: #2E7A4E; /* Border */
  --page-game-guides-glow: #57E38D; /* Glow */
  --page-game-guides-gold: #F2C14E; /* Gold */
  --page-game-guides-divider: #1E3A2A; /* Divider */
  --page-game-guides-deep-green: #0A4B2C; /* Deep Green */
}

.page-game-guides {
  background-color: var(--page-game-guides-background); /* Dark background */
  color: var(--page-game-guides-text-main); /* Light text for contrast */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* HERO Section */
.page-game-guides__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Ensure image is above text */
  align-items: center;
  justify-content: center;
  padding-bottom: 60px; /* Space below content */
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden; /* Prevent overflow issues */
}

.page-game-guides__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-game-guides__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit height for hero image */
}

.page-game-guides__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for design, but text is below image */
  position: relative;
  z-index: 1; /* Ensure content is above any background elements */
  background: var(--page-game-guides-card-bg); /* Dark background for text block */
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-game-guides-border);
}

.page-game-guides__main-title {
  color: var(--page-game-guides-gold); /* Gold for main title */
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__description {
  font-size: 1.1rem;
  color: var(--page-game-guides-text-secondary);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-game-guides__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--page-game-guides-divider);
}

.page-game-guides__section:last-of-type {
  border-bottom: none;
}

.page-game-guides__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
}

.page-game-guides__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--page-game-guides-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-game-guides__paragraph {
  font-size: 1rem;
  color: var(--page-game-guides-text-main);
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-game-guides__highlight {
  color: var(--page-game-guides-gold);
  font-weight: bold;
}

/* CTA Buttons */
.page-game-guides__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-game-guides-button-gradient);
  color: var(--page-game-guides-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-game-guides__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2rem;
}

.page-game-guides__link-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-secondary);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.95rem;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  border: 1px solid var(--page-game-guides-border);
}

.page-game-guides__link-button:hover {
  background-color: var(--page-game-guides-primary-color);
  color: var(--page-game-guides-text-main);
}

/* Image Wrappers */
.page-game-guides__image-wrapper {
  margin-bottom: 40px;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-game-guides-border);
}

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

/* Game Types Section */
.page-game-guides__game-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__game-item {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-game-guides-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-guides__game-title {
  font-size: 1.5rem;
  color: var(--page-game-guides-primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Strategies Section */
.page-game-guides__strategy-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__strategy-item {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-game-guides-border);
}

.page-game-guides__strategy-title {
  font-size: 1.4rem;
  color: var(--page-game-guides-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

/* Registration Process Section */
.page-game-guides__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__step-item {
  background-color: var(--page-game-guides-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-game-guides-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-guides__step-title {
  font-size: 1.4rem;
  color: var(--page-game-guides-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

/* FAQ Section */
.page-game-guides__faq-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-game-guides__faq-list {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.page-game-guides__faq-item {
  background-color: var(--page-game-guides-card-bg);
  border: 1px solid var(--page-game-guides-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  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;
  cursor: pointer;
  background-color: var(--page-game-guides-deep-green);
  color: var(--page-game-guides-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

.page-game-guides__faq-question:hover {
  background-color: var(--page-game-guides-primary-color);
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-game-guides__faq-answer {
  padding: 20px;
  background-color: var(--page-game-guides-card-bg);
  color: var(--page-game-guides-text-secondary);
  border-top: 1px solid var(--page-game-guides-divider);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__hero-image {
    max-height: 500px;
  }
  .page-game-guides__hero-content {
    margin-top: -80px;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section {
    padding-bottom: 40px;
  }
  .page-game-guides__hero-image {
    max-height: 400px;
  }
  .page-game-guides__hero-content {
    margin-top: -60px;
    padding: 30px 15px;
  }
  .page-game-guides__main-title {
    font-size: 2rem;
  }
  .page-game-guides__description {
    font-size: 1rem;
  }
  .page-game-guides__section {
    padding: 40px 15px;
  }
  .page-game-guides__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  /* Images responsive */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-guides__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-guides__section-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* Buttons responsive */
  .page-game-guides__cta-button,
  .page-game-guides__link-button,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .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; /* Stack buttons vertically */
  }

  .page-game-guides__game-list,
  .page-game-guides__strategy-list,
  .page-game-guides__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-guides__paragraph {
    font-size: 0.95rem;
  }
  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-game-guides__faq-answer {
    padding: 15px;
  }
  .page-game-guides__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  /* For images in content area, ensure min size of 200px is respected */
  .page-game-guides img:not(.page-game-guides__hero-image) {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: 1.8rem;
  }
  .page-game-guides__section-title {
    font-size: 1.8rem;
  }
  .page-game-guides__cta-button {
    font-size: 1rem;
    padding: 12px 20px;
  }
  .page-game-guides__cta-button--large {
    font-size: 1.1rem;
    padding: 15px 25px;
  }
}