/* style/game-guides.css */
/* Body background is var(--bg-dark), so default text color for main content should be light. */
/* Custom colors: */
/* Button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
/* Card BG: #11271B */
/* Background: #08160F */
/* Text Main: #F2FFF6 */
/* Text Secondary: #A7D9B8 */
/* Border: #2E7A4E */
/* Glow: #57E38D */
/* Gold: #F2C14E */
/* Divider: #1E3A2A */
/* Deep Green: #0A4B2C */

.page-game-guides {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  background-color: var(--background, #08160F); /* Overall page background */
}

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

/* Sections */
.page-game-guides__hero-section,
.page-game-guides__introduction-section,
.page-game-guides__game-categories,
.page-game-guides__getting-started-section,
.page-game-guides__tips-strategies,
.page-game-guides__faq-section,
.page-game-guides__cta-bottom {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-guides__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-main, #F2FFF6);
  background-color: var(--background, #08160F);
}

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

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

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

.page-game-guides__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-main, #F2FFF6);
  line-height: 1.2;
}

.page-game-guides__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-guides__section-description {
  font-size: 1.05rem;
  margin-bottom: 40px;
  color: var(--text-secondary, #A7D9B8);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Background Colors */
.page-game-guides__dark-section {
  background-color: var(--background, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__light-bg {
  background-color: #ffffff; /* For contrast on light sections */
  color: #333333;
}

/* Cards */
.page-game-guides__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__light-bg .page-game-guides__card {
  background-color: #f8f8f8;
  border-color: #e0e0e0;
  color: #333333;
}

.page-game-guides__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-guides__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

.page-game-guides__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

.page-game-guides__btn-secondary {
  background-color: transparent;
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border, #2E7A4E);
}

.page-game-guides__btn-secondary:hover {
  background-color: var(--deep-green, #0A4B2C);
  color: #ffffff;
  border-color: var(--deep-green, #0A4B2C);
}

.page-game-guides__light-bg .page-game-guides__btn-secondary {
  color: var(--main-color, #11A84E);
  border-color: var(--main-color, #11A84E);
}

.page-game-guides__light-bg .page-game-guides__btn-secondary:hover {
  background-color: var(--main-color, #11A84E);
  color: #ffffff;
}

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

.page-game-guides__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-guides__feature-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-game-guides__feature-text {
  font-size: 1rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-game-guides__light-bg .page-game-guides__feature-text {
  color: #555555;
}

/* Game Categories */
.page-game-guides__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-guides__category-card {
  text-decoration: none;
  color: var(--text-main, #F2FFF6);
}

.page-game-guides__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-game-guides__category-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-game-guides__category-text {
  font-size: 0.95rem;
  color: var(--text-secondary, #A7D9B8);
}

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

.page-game-guides__step-card {
  padding: 40px;
  background-color: #f8f8f8;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-game-guides__step-card .page-game-guides__step-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--main-color, #11A84E);
}

.page-game-guides__step-card .page-game-guides__step-text {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555555;
}

/* Tips & Strategies */
.page-game-guides__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-game-guides__tip-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: var(--text-main, #F2FFF6);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-game-guides__tip-item strong {
  color: var(--gold, #F2C14E);
}

.page-game-guides__center-cta {
    margin-top: 40px;
}

/* FAQ Section */
.page-game-guides__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-game-guides__faq-item {
  margin-bottom: 15px;
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  color: #333333;
}

.page-game-guides__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  color: var(--main-color, #11A84E);
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details summary */
}

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

.page-game-guides__faq-qtext {
  flex-grow: 1;
}

.page-game-guides__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--main-color, #11A84E);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
  content: '−';
}

.page-game-guides__faq-answer {
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  background-color: #f8f8f8;
}

.page-game-guides__cta-container {
    padding: 60px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-guides__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }

  .page-game-guides__hero-description,
  .page-game-guides__section-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-game-guides__hero-section,
  .page-game-guides__introduction-section,
  .page-game-guides__game-categories,
  .page-game-guides__getting-started-section,
  .page-game-guides__tips-strategies,
  .page-game-guides__faq-section,
  .page-game-guides__cta-bottom {
    padding: 40px 0;
  }

  .page-game-guides__container {
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Images */
  .page-game-guides img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-guides__hero-image-wrapper,
  .page-game-guides__feature-card,
  .page-game-guides__category-card,
  .page-game-guides__step-card,
  .page-game-guides__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-guides__feature-icon,
  .page-game-guides__category-image {
      max-width: 100%;
      height: auto;
  }

  /* Buttons */
  .page-game-guides__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-game-guides__hero-section {
    padding-top: 10px !important;
  }

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

  .page-game-guides__cta-container {
    padding: 40px 15px;
  }

  .page-game-guides__section-description {
    margin-bottom: 30px;
  }

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

  .page-game-guides__tip-item {
    padding: 15px;
  }

  .page-game-guides__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-game-guides__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .page-game-guides__section-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .page-game-guides__hero-description,
  .page-game-guides__section-description,
  .page-game-guides__feature-text,
  .page-game-guides__category-text,
  .page-game-guides__step-text,
  .page-game-guides__tip-item,
  .page-game-guides__faq-answer p {
    font-size: 0.9rem;
  }

  .page-game-guides__btn-primary,
  .page-game-guides__btn-secondary {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}