/* style/game-strategies.css */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #017439; /* Brand color for hero */
  color: #ffffff;
  overflow: hidden;
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-game-strategies__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-game-strategies__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

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

.page-game-strategies__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

.page-game-strategies__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.page-game-strategies__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.page-game-strategies__section {
  padding: 60px 20px;
}

.page-game-strategies__content-area {
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-strategies__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-game-strategies__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-strategies__text-block p {
  margin-bottom: 20px;
}

.page-game-strategies__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-game-strategies__list li {
  margin-bottom: 10px;
}

.page-game-strategies__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  object-fit: cover;
}

.page-game-strategies__game-strategy-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly translucent white on dark background */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-game-strategies__card-title {
  font-size: 2em;
  margin-bottom: 20px;
  color: #ffffff;
}

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

.page-game-strategies__video-section {
  text-align: center;
}

.page-game-strategies__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 0 auto;
  border-radius: 10px;
}

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

.page-game-strategies__video-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.page-game-strategies__faq-section {
  padding-bottom: 80px;
}

.page-game-strategies__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-game-strategies__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly translucent white on dark background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  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;
  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;
}

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

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

.page-game-strategies__dark-bg {
  background-color: #1a1a2e; /* From body background */
  color: #ffffff; /* Light text for dark background */
}

.page-game-strategies__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-game-strategies__text-link {
  color: #017439;
  text-decoration: underline;
  font-weight: bold;
}

.page-game-strategies__text-link:hover {
  color: #005a2d;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-strategies__hero-title {
    font-size: 2.5em;
  }
  .page-game-strategies__hero-description {
    font-size: 1.1em;
  }
  .page-game-strategies__section-title {
    font-size: 2em;
  }
  .page-game-strategies__sub-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-game-strategies {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-game-strategies__hero-section {
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-game-strategies__hero-title {
    font-size: 2em;
  }
  .page-game-strategies__hero-description {
    font-size: 1em;
  }
  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-game-strategies__section {
    padding: 40px 15px;
  }
  .page-game-strategies__content-area,
  .page-game-strategies__game-strategy-card,
  .page-game-strategies__faq-list,
  .page-game-strategies__video-section,
  .page-game-strategies__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-game-strategies img,
  .page-game-strategies video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important; /* Remove border-radius on mobile for full width */
  }
  .page-game-strategies__game-strategy-card {
    padding: 20px;
  }
  .page-game-strategies__card-title {
    font-size: 1.5em;
  }
  .page-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__hero-title {
    font-size: 1.8em;
  }
  .page-game-strategies__hero-description {
    font-size: 0.95em;
  }
  .page-game-strategies__section-title {
    font-size: 1.8em;
  }
  .page-game-strategies__sub-title {
    font-size: 1.4em;
  }
}