:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #000000; /* From body background */
  --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
  --card-bg-light-mode: #ffffff;
}

.page-resources-game-strategy {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-light);
  background-color: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.page-resources-game-strategy__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset here */
  background-color: var(--primary-color);
  color: var(--text-light);
  z-index: 1; /* Ensure hero content is above background */
}

.page-resources-game-strategy__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 40px 20px;
}

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

.page-resources-game-strategy__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-resources-game-strategy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-resources-game-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: none; /* Ensure no CSS filter */
}

/* General Section Styles */
.page-resources-game-strategy__introduction-section,
.page-resources-game-strategy__why-jun88-ket,
.page-resources-game-strategy__general-strategy-section,
.page-resources-game-strategy__specific-strategies-section,
.page-resources-game-strategy__risk-management-section,
.page-resources-game-strategy__faq-section,
.page-resources-game-strategy__cta-section {
  padding: 80px 0;
}

.page-resources-game-strategy__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-game-strategy__light-bg {
  background-color: #f5f5f5;
  color: var(--text-dark);
}

.page-resources-game-strategy__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  color: var(--secondary-color);
  font-weight: bold;
}

.page-resources-game-strategy__dark-section .page-resources-game-strategy__section-title {
  color: var(--secondary-color);
}

.page-resources-game-strategy__light-bg .page-resources-game-strategy__section-title {
  color: var(--primary-color);
}

.page-resources-game-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-resources-game-strategy__feature-card {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-game-strategy__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-resources-game-strategy__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-resources-game-strategy__card-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Lists */
.page-resources-game-strategy__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-resources-game-strategy__list-item {
  background-color: var(--card-bg-dark-mode);
  border-left: 5px solid var(--secondary-color);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-game-strategy__list-item .page-resources-game-strategy__list-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-game-strategy__list-item .page-resources-game-strategy__list-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Game Strategy Cards */
.page-resources-game-strategy__game-strategy-card {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-heading {
  font-size: 2em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 30px auto;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
  filter: none; /* Ensure no CSS filter */
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-text {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-list {
  list-style: none;
  padding: 0;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-list-item {
  margin-bottom: 20px;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__sub-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-resources-game-strategy__game-strategy-card .page-resources-game-strategy__card-list-item p {
  font-size: 1em;
  color: var(--text-dark);
}

/* CTA Buttons */
.page-resources-game-strategy__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-resources-game-strategy__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-game-strategy__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-resources-game-strategy__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-game-strategy__dark-section .page-resources-game-strategy__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-resources-game-strategy__light-bg .page-resources-game-strategy__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-resources-game-strategy__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* FAQ Section */
.page-resources-game-strategy__faq-list {
  margin-top: 40px;
}

.page-resources-game-strategy__faq-item {
  background-color: var(--card-bg-light-mode);
  color: var(--text-dark);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-resources-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-resources-game-strategy__faq-question:hover {
  background-color: #f0f0f0;
}

.page-resources-game-strategy__faq-title {
  font-size: 1.2em;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

.page-resources-game-strategy__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-game-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fcfcfc;
}

.page-resources-game-strategy__faq-item.active .page-resources-game-strategy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 10px 20px 20px 20px;
  }