/* style/game-strategies.css */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--dark-bg); /* Inherited from shared.css, assumed dark */
}

.page-game-strategies__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-game-strategies__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.page-game-strategies__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  padding-top: var(--header-offset, 120px);
  background-color: #0A2463;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-game-strategies__hero-content {
  z-index: 2;
  max-width: 900px;
}

.page-game-strategies__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

.page-game-strategies__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

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

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

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary,
.page-game-strategies__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  text-align: center;
}

.page-game-strategies__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-game-strategies__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-game-strategies__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-game-strategies__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-game-strategies__btn-tertiary {
  background-color: #0A2463;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-game-strategies__btn-tertiary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-game-strategies__introduction-section,
.page-game-strategies__advanced-strategies-section,
.page-game-strategies__expert-tips-section,
.page-game-strategies__cta-section {
  padding: 60px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-game-strategies__game-types-section,
.page-game-strategies__faq-section {
  padding: 60px 0;
  background-color: #0A2463;
  color: #ffffff;
}

.page-game-strategies__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #0A2463;
}

.page-game-strategies__section-title--light {
  color: #FFD700;
}

.page-game-strategies__text-block {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 30px;
}

.page-game-strategies__text-block--light {
  color: #f0f0f0;
}

.page-game-strategies__content-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-game-strategies__game-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.page-game-strategies__game-card:hover {
  transform: translateY(-10px);
}

.page-game-strategies__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-game-strategies__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-strategies__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #f0f0f0;
}

.page-game-strategies__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-game-strategies__strategy-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-game-strategies__strategy-subtitle {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-game-strategies__strategy-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-strategies__item-text {
  font-size: 1em;
  color: #555555;
}

.page-game-strategies__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-game-strategies__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  color: #333333;
}

.page-game-strategies__list-item::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-game-strategies__faq-list {
  margin-top: 40px;
}

.page-game-strategies__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-game-strategies__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-game-strategies__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

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

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

.page-game-strategies__faq-answer p {
  margin-bottom: 0;
}

.page-game-strategies__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-game-strategies__faq-answer a:hover {
  color: #e6c200;
}

.page-game-strategies__video-wrapper {
  margin-top: 50px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-game-strategies__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

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

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

  .page-game-strategies__hero-image-wrapper {
    opacity: 0.1;
  }
}

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

  .page-game-strategies__hero-section {
    padding: 60px 15px 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure proper spacing for mobile */
  }

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

  .page-game-strategies__hero-description {
    font-size: 1.1em;
  }

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

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary,
  .page-game-strategies__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-game-strategies__game-grid,
  .page-game-strategies__strategy-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-game-strategies__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-game-strategies__text-block {
    font-size: 1em;
  }

  .page-game-strategies__content-image,
  .page-game-strategies__card-image,
  .page-game-strategies__strategy-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-game-strategies__game-card,
  .page-game-strategies__strategy-item,
  .page-game-strategies__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-strategies__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 15px 20px;
  }

  .page-game-strategies__video-wrapper {
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-game-strategies__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* General container padding for mobile */
  .page-game-strategies__introduction-section .page-game-strategies__container,
  .page-game-strategies__game-types-section .page-game-strategies__container,
  .page-game-strategies__advanced-strategies-section .page-game-strategies__container,
  .page-game-strategies__expert-tips-section .page-game-strategies__container,
  .page-game-strategies__faq-section .page-game-strategies__container,
  .page-game-strategies__cta-section .page-game-strategies__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure all content sections have appropriate mobile padding */
  .page-game-strategies__introduction-section,
  .page-game-strategies__game-types-section,
  .page-game-strategies__advanced-strategies-section,
  .page-game-strategies__expert-tips-section,
  .page-game-strategies__faq-section,
  .page-game-strategies__cta-section {
    padding-left: 0;
    padding-right: 0;
  }
}