/* style/resources-latest-game-strategies.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-dark: #0a0a0a;
  --background-light: #f5f5f5;
  --button-login: #EA7C07;
}

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

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

.page-resources-latest-game-strategies__hero-section {
  position: relative;
  padding: 100px 0 60px; /* Adjust padding for content below header */
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-resources-latest-game-strategies__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--text-light);
}

.page-resources-latest-game-strategies__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.6;
  color: var(--text-light);
}

.page-resources-latest-game-strategies__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.page-resources-latest-game-strategies__btn-primary,
.page-resources-latest-game-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-resources-latest-game-strategies__btn-primary {
  background-color: var(--button-login); /* Use login color for primary CTA */
  color: var(--text-light);
  border: 2px solid var(--button-login);
}

.page-resources-latest-game-strategies__btn-primary:hover {
  background-color: darken(var(--button-login), 10%);
  border-color: darken(var(--button-login), 10%);
  transform: translateY(-2px);
}

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

.page-resources-latest-game-strategies__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

.page-resources-latest-game-strategies__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not color change */
}

.page-resources-latest-game-strategies__content-section,
.page-resources-latest-game-strategies__game-strategies-section,
.page-resources-latest-game-strategies__cta-section,
.page-resources-latest-game-strategies__faq-section {
  padding: 80px 0;
  text-align: center;
}

.page-resources-latest-game-strategies__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-resources-latest-game-strategies__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-resources-latest-game-strategies__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-latest-game-strategies__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: left;
  color: inherit;
}

.page-resources-latest-game-strategies__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-latest-game-strategies__strategy-item {
  text-align: left;
  margin-bottom: 40px;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark sections */
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-latest-game-strategies__light-bg .page-resources-latest-game-strategies__strategy-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.page-resources-latest-game-strategies__strategy-item .page-resources-latest-game-strategies__text-block {
  margin-bottom: 0;
}

.page-resources-latest-game-strategies__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-resources-latest-game-strategies__faq-item {
  background-color: var(--secondary-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.page-resources-latest-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

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

.page-resources-latest-game-strategies__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-toggle {
  transform: rotate(45deg); /* Plus to Minus visual effect */
}

.page-resources-latest-game-strategies__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px;
}

.page-resources-latest-game-strategies__faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-latest-game-strategies__hero-title {
    font-size: 2.8em;
  }

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

  .page-resources-latest-game-strategies__strategy-subtitle {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-resources-latest-game-strategies {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-latest-game-strategies__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-latest-game-strategies__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-latest-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-latest-game-strategies__btn-primary,
  .page-resources-latest-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-resources-latest-game-strategies__section-title {
    font-size: 1.8em;
  }

  .page-resources-latest-game-strategies__text-block {
    font-size: 0.95em;
  }

  .page-resources-latest-game-strategies__strategy-subtitle {
    font-size: 1.3em;
  }

  /* Image responsiveness */
  .page-resources-latest-game-strategies img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-latest-game-strategies__section,
  .page-resources-latest-game-strategies__card,
  .page-resources-latest-game-strategies__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-resources-latest-game-strategies__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Consistent with common fragment */
  }
  
  .page-resources-latest-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-resources-latest-game-strategies__faq-item.active .page-resources-latest-game-strategies__faq-answer {
    padding: 10px 20px 20px;
  }

  .page-resources-latest-game-strategies__hero-image {
    filter: brightness(0.3); /* Even darker for mobile readability */
  }
}

/* Ensure content areas don't cause horizontal scroll */
.page-resources-latest-game-strategies__content-section,
.page-resources-latest-game-strategies__game-strategies-section,
.page-resources-latest-game-strategies__cta-section,
.page-resources-latest-game-strategies__faq-section {
  overflow-x: hidden;
}