/* style/resources-game-strategy.css */

/* --- General Page Styling --- */
.page-resources-game-strategy {
  background-color: #000; /* Body background is dark, so main text is light */
  color: #ffffff; /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-resources-game-strategy__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-game-strategy__section-title {
  font-size: 3em;
  color: #FFD700; /* Gold for main titles */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.page-resources-game-strategy__section-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.f168n-highlight {
  color: #FFD700; /* Highlight f168n with gold */
  font-weight: bold;
}

/* --- Hero Section --- */
.page-resources-game-strategy__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top, so set to 0 to avoid double padding */
  margin-top: 0;
}

.page-resources-game-strategy__hero-container {
  position: relative;
  width: 100%;
  height: 600px; /* Fixed height for hero for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-resources-game-strategy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: none; /* Ensure no filter on images */
}

.page-resources-game-strategy__hero-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  padding: 40px;
  border-radius: 10px;
  max-width: 800px;
  text-align: center;
}

.page-resources-game-strategy__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.page-resources-game-strategy__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 30px;
}

.page-resources-game-strategy__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* For mobile responsiveness */
}

/* --- Buttons --- */
.page-resources-game-strategy__btn-primary,
.page-resources-game-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* For mobile responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-game-strategy__btn-primary {
  background-color: #FFD700; /* Gold background */
  color: #4A148C; /* Dark purple text */
  border: 2px solid #FFD700;
}

.page-resources-game-strategy__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-resources-game-strategy__btn-secondary:hover {
  background-color: #FFD700;
  color: #4A148C;
  transform: translateY(-2px);
}

.page-resources-game-strategy__btn-text-link {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-game-strategy__btn-text-link:hover {
  color: #e6c200;
}


/* --- Intro Section --- */
.page-resources-game-strategy__intro-section p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #e0e0e0;
  text-align: left;
}

/* --- Game Strategies Section --- */
.page-resources-game-strategy__game-strategies {
  background-color: #1a082b; /* A slightly lighter dark purple */
  padding-bottom: 80px;
}

.page-resources-game-strategy__game-strategies .page-resources-game-strategy__section-description {
  color: #d0d0d0;
}

.page-resources-game-strategy__strategy-card {
  display: flex;
  align-items: center;
  background-color: rgba(74, 20, 140, 0.4); /* Semi-transparent brand color */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 40px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-game-strategy__strategy-card--reverse {
  flex-direction: row-reverse;
}

.page-resources-game-strategy__strategy-image {
  flex: 1;
  min-width: 40%;
  max-height: 400px;
  overflow: hidden;
}

.page-resources-game-strategy__strategy-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none; /* Ensure no filter on images */
}

.page-resources-game-strategy__strategy-content {
  flex: 2;
  padding: 30px;
}

.page-resources-game-strategy__strategy-heading {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-resources-game-strategy__strategy-heading a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-game-strategy__strategy-heading a:hover {
  color: #e6c200;
}

.page-resources-game-strategy__strategy-content p {
  font-size: 1.05em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

/* --- Management Section --- */
.page-resources-game-strategy__management-section {
  padding: 80px 0;
  background-color: #4A148C; /* Dark purple background */
  color: #ffffff;
}

.page-resources-game-strategy__management-section .page-resources-game-strategy__section-title {
  color: #FFD700;
}

.page-resources-game-strategy__management-section .page-resources-game-strategy__section-description {
  color: #f0f0f0;
}

.page-resources-game-strategy__management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-resources-game-strategy__management-item {
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for items */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-game-strategy__management-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-game-strategy__management-item p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-game-strategy__management-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  display: block;
  filter: none; /* Ensure no filter on images */
}

.page-resources-game-strategy__cta-bottom {
  margin-top: 60px;
}

.page-resources-game-strategy__cta-bottom p {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #ffffff;
}

/* --- FAQ Section --- */
.page-resources-game-strategy__faq-section {
  background-color: #0d0d0d; /* Slightly lighter than body background */
  padding-bottom: 80px;
}

.page-resources-game-strategy__faq-section .page-resources-game-strategy__section-title {
  color: #FFD700;
}

.page-resources-game-strategy__faq-section .page-resources-game-strategy__section-description {
  color: #d0d0d0;
}

.page-resources-game-strategy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  background: rgba(74, 20, 140, 0.6); /* Brand color for answer background */
  color: #ffffff;
  text-align: left;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
  max-height: 2000px !important; /* 🚨 Using !important as required */
  padding: 20px 15px !important; /* 🚨 Using !important as required */
  opacity: 1;
  border-radius: 0 0 5px 5px;
}

.page-resources-game-strategy__faq-answer p {
  margin: 0;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #4A148C; /* Dark purple for question background */
  border: 1px solid #6a2a9e; /* Slightly lighter border */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  text-align: left;
}

.page-resources-game-strategy__faq-question:hover {
  background: #5a1aae;
  border-color: #7a3add;
}

.page-resources-game-strategy__faq-question:active {
  background: #6a2a9e;
}

.page-resources-game-strategy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff; /* White text for question */
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-resources-game-strategy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold for toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* --- Conclusion Section --- */
.page-resources-game-strategy__conclusion-section {
  background-color: #000;
  padding-top: 80px;
}

.page-resources-game-strategy__conclusion-section .page-resources-game-strategy__section-title {
  color: #FFD700;
}

.page-resources-game-strategy__conclusion-section .page-resources-game-strategy__section-description {
  color: #f0f0f0;
}

.page-resources-game-strategy__conclusion-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-game-strategy__cta-final {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* For mobile responsiveness */
}

/* --- Responsive Design (Mobile First adjustments) --- */
@media (max-width: 1024px) {
  .page-resources-game-strategy__hero-title {
    font-size: 3em;
  }
  .page-resources-game-strategy__section-title {
    font-size: 2.5em;
  }
  .page-resources-game-strategy__strategy-card {
    flex-direction: column;
  }
  .page-resources-game-strategy__strategy-card--reverse {
    flex-direction: column;
  }
  .page-resources-game-strategy__strategy-image {
    min-width: 100%;
  }
  .page-resources-game-strategy__management-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* 🚨 Mobile content area image responsiveness */
  .page-resources-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    filter: none; /* Ensure no filter on images */
  }
  .page-resources-game-strategy__section,
  .page-resources-game-strategy__container,
  .page-resources-game-strategy__strategy-card,
  .page-resources-game-strategy__management-item,
  .page-resources-game-strategy__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 🚨 Mobile button responsiveness */
  .page-resources-game-strategy__btn-primary,
  .page-resources-game-strategy__btn-secondary,
  .page-resources-game-strategy a[class*="button"],
  .page-resources-game-strategy 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;
  }

  .page-resources-game-strategy__hero-cta,
  .page-resources-game-strategy__cta-final {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-resources-game-strategy__hero-container {
    height: auto; /* Adjust height for mobile hero */
    padding: 40px 15px;
  }

  .page-resources-game-strategy__hero-overlay {
    padding: 20px;
  }

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

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

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

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

  .page-resources-game-strategy__strategy-content {
    padding: 20px;
  }
  
  .page-resources-game-strategy__strategy-heading {
    font-size: 1.5em;
  }

  .page-resources-game-strategy__management-heading {
    font-size: 1.4em;
  }

  /* FAQ mobile */
  .page-resources-game-strategy__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-game-strategy__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-game-strategy__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-game-strategy__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure no filter on any images globally */
.page-resources-game-strategy img {
  filter: none;
}