/* style/resources-top-card-game-strategies.css */
:root {
  --primary-color: #FFD700; /* Luxury Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0d0d0d; /* Slightly lighter than pure black for main content sections */
  --background-card: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-resources-top-card-game-strategies {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: #000000; /* Matches body background from shared.css */
}

/* Fixed navigation bar spacing for desktop */
.page-resources-top-card-game-strategies__intro-section {
  padding-top: 120px; /* Adjust based on actual header height */
  padding-bottom: 60px;
  background-color: #000000; /* Match body background */
}

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

.page-resources-top-card-game-strategies__main-title {
  font-size: 42px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.2;
}

.page-resources-top-card-game-strategies__main-title .highlight {
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__lead-paragraph,
.page-resources-top-card-game-strategies__description-text,
.page-resources-top-card-game-strategies__text-block {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__lead-paragraph strong,
.page-resources-top-card-game-strategies__description-text strong {
  color: var(--primary-color);
}

.page-resources-top-card-game-strategies__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-top-card-game-strategies__section {
  padding: 60px 0;
  background-color: #000000; /* Ensure sections match body background */
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__dark-bg {
  background-color: var(--background-dark);
}

.page-resources-top-card-game-strategies__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.3;
}

.page-resources-top-card-game-strategies__section-title .highlight {
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__card-grid,
.page-resources-top-card-game-strategies__game-types-grid,
.page-resources-top-card-game-strategies__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-resources-top-card-game-strategies__card,
.page-resources-top-card-game-strategies__game-type-card,
.page-resources-top-card-game-strategies__tip-card {
  background-color: var(--background-card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-resources-top-card-game-strategies__card:hover,
.page-resources-top-card-game-strategies__game-type-card:hover,
.page-resources-top-card-game-strategies__tip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-resources-top-card-game-strategies__card-image,
.page-resources-top-card-game-strategies__game-type-image,
.page-resources-top-card-game-strategies__tip-image {
  width: 100%;
  max-width: 300px; /* Ensure images are not too small but not full card width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-top-card-game-strategies__card-title,
.page-resources-top-card-game-strategies__game-type-title,
.page-resources-top-card-game-strategies__tip-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-resources-top-card-game-strategies__card-text,
.page-resources-top-card-game-strategies__game-type-description,
.page-resources-top-card-game-strategies__tip-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__card-text a,
.page-resources-top-card-game-strategies__tip-description a,
.page-resources-top-card-game-strategies__promo-item p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-top-card-game-strategies__card-text a:hover,
.page-resources-top-card-game-strategies__tip-description a:hover,
.page-resources-top-card-game-strategies__promo-item p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-resources-top-card-game-strategies__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, var(--primary-color), gold); /* Golden gradient */
  color: #000000; /* Black text for gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-resources-top-card-game-strategies__btn-primary:hover {
  background: linear-gradient(135deg, gold, var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-resources-top-card-game-strategies__feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 30px;
}

.page-resources-top-card-game-strategies__feature-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--background-card);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-resources-top-card-game-strategies__feature-icon {
  width: 100px;
  height: auto;
  flex-shrink: 0;
  margin-right: 25px;
  border-radius: 5px;
  object-fit: cover;
}

.page-resources-top-card-game-strategies__feature-content {
  flex-grow: 1;
}

.page-resources-top-card-game-strategies__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-resources-top-card-game-strategies__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  text-align: justify;
}

.page-resources-top-card-game-strategies__cta-box {
  text-align: center;
  background-color: var(--background-dark);
  border-radius: 12px;
  padding: 40px 30px;
  margin-top: 50px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary-color);
}

.page-resources-top-card-game-strategies__cta-box p {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.4;
}

.page-resources-top-card-game-strategies__cta-box p .highlight {
  color: var(--primary-color);
}

.page-resources-top-card-game-strategies__promo-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-top-card-game-strategies__promo-item {
  background-color: var(--background-card);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.page-resources-top-card-game-strategies__promo-item:last-child {
  margin-bottom: 0;
}

.page-resources-top-card-game-strategies__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-resources-top-card-game-strategies__promo-item p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  text-align: justify;
}

.page-resources-top-card-game-strategies__faq-section {
  padding: 60px 0;
  background-color: #000000; /* Ensure sections match body background */
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-top-card-game-strategies__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 25px;
  opacity: 0;
}

.page-resources-top-card-game-strategies__faq-item.active .page-resources-top-card-game-strategies__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--background-card);
  border-radius: 0 0 10px 10px;
}

.page-resources-top-card-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: var(--background-dark);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-resources-top-card-game-strategies__faq-question:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--primary-color);
}

.page-resources-top-card-game-strategies__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-resources-top-card-game-strategies__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  background-color: transparent;
}

.page-resources-top-card-game-strategies__faq-item.active .page-resources-top-card-game-strategies__faq-toggle {
  color: var(--text-dark);
  background-color: var(--primary-color);
  transform: rotate(45deg);
}

.page-resources-top-card-game-strategies__faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  text-align: justify;
}

.page-resources-top-card-game-strategies__faq-answer p strong {
  color: var(--primary-color);
}

.page-resources-top-card-game-strategies__faq-answer p a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-resources-top-card-game-strategies__faq-answer p a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-top-card-game-strategies__main-title {
    font-size: 36px;
  }
  .page-resources-top-card-game-strategies__section-title {
    font-size: 30px;
  }
  .page-resources-top-card-game-strategies__card-title,
  .page-resources-top-card-game-strategies__game-type-title,
  .page-resources-top-card-game-strategies__tip-title {
    font-size: 20px;
  }
  .page-resources-top-card-game-strategies__feature-title {
    font-size: 20px;
  }
  .page-resources-top-card-game-strategies__cta-box p {
    font-size: 20px;
  }
  .page-resources-top-card-game-strategies__feature-icon {
    width: 80px;
    margin-right: 20px;
  }
  .page-resources-top-card-game-strategies__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* Fixed navigation bar spacing for mobile */
  .page-resources-top-card-game-strategies__intro-section {
    padding-top: 100px !important; /* Adjust based on actual mobile header height */
    padding-bottom: 40px;
  }

  .page-resources-top-card-game-strategies__container {
    padding: 0 15px;
  }

  .page-resources-top-card-game-strategies__main-title {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-resources-top-card-game-strategies__lead-paragraph,
  .page-resources-top-card-game-strategies__description-text,
  .page-resources-top-card-game-strategies__text-block {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .page-resources-top-card-game-strategies__section {
    padding: 40px 0;
  }

  .page-resources-top-card-game-strategies__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-resources-top-card-game-strategies__card-grid,
  .page-resources-top-card-game-strategies__game-types-grid,
  .page-resources-top-card-game-strategies__tips-grid {
    gap: 20px;
  }

  .page-resources-top-card-game-strategies__card,
  .page-resources-top-card-game-strategies__game-type-card,
  .page-resources-top-card-game-strategies__tip-card {
    padding: 20px;
  }

  .page-resources-top-card-game-strategies__card-image,
  .page-resources-top-card-game-strategies__game-type-image,
  .page-resources-top-card-game-strategies__tip-image {
    max-width: 250px;
    margin-bottom: 15px;
  }

  .page-resources-top-card-game-strategies__card-title,
  .page-resources-top-card-game-strategies__game-type-title,
  .page-resources-top-card-game-strategies__tip-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-resources-top-card-game-strategies__card-text,
  .page-resources-top-card-game-strategies__game-type-description,
  .page-resources-top-card-game-strategies__tip-description {
    font-size: 14px;
  }

  .page-resources-top-card-game-strategies__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-resources-top-card-game-strategies__feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .page-resources-top-card-game-strategies__feature-icon {
    width: 90px;
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-resources-top-card-game-strategies__feature-title {
    font-size: 18px;
  }

  .page-resources-top-card-game-strategies__feature-description {
    font-size: 15px;
  }

  .page-resources-top-card-game-strategies__cta-box {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .page-resources-top-card-game-strategies__cta-box p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .page-resources-top-card-game-strategies__promo-item {
    padding: 20px;
  }

  .page-resources-top-card-game-strategies__promo-title {
    font-size: 18px;
  }

  .page-resources-top-card-game-strategies__promo-item p {
    font-size: 15px;
  }

  .page-resources-top-card-game-strategies__faq-item {
    border-radius: 8px;
  }

  .page-resources-top-card-game-strategies__faq-question {
    padding: 18px 20px;
  }

  .page-resources-top-card-game-strategies__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-top-card-game-strategies__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-resources-top-card-game-strategies__faq-answer {
    padding: 0 20px;
  }

  .page-resources-top-card-game-strategies__faq-item.active .page-resources-top-card-game-strategies__faq-answer {
    padding: 15px 20px !important;
  }

  .page-resources-top-card-game-strategies__faq-answer p {
    font-size: 15px;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-resources-top-card-game-strategies img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-resources-top-card-game-strategies__section,
  .page-resources-top-card-game-strategies__card,
  .page-resources-top-card-game-strategies__container,
  .page-resources-top-card-game-strategies__feature-item,
  .page-resources-top-card-game-strategies__promo-item,
  .page-resources-top-card-game-strategies__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-top-card-game-strategies__intro-section,
  .page-resources-top-card-game-strategies__section,
  .page-resources-top-card-game-strategies__faq-section {
    padding-left: 0;
    padding-right: 0;
  }
}