/* style/game-strategies.css */
.page-game-strategies {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-game-strategies__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-strategies__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.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: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-game-strategies__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

.page-game-strategies__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000;
  overflow: hidden;
}

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

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

.page-game-strategies__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #ffffff;
}

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

.page-game-strategies__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Video Section */
.page-game-strategies__intro-video-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  text-align: center;
}

.page-game-strategies__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-game-strategies__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-game-strategies__video-cta {
    margin-top: 30px;
}

/* Benefits Section */
.page-game-strategies__benefits-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-game-strategies__benefit-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__benefit-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-game-strategies__benefit-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* General Strategies Section */
.page-game-strategies__general-strategies-section {
  padding: 80px 0;
  background-color: #000000;
}

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

.page-game-strategies__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-game-strategies__strategy-card-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-strategies__strategy-card-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* Game Specific Strategies Section */
.page-game-strategies__game-specific-strategies-section {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-game-strategies__game-strategy-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-game-strategies__game-strategy-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image/text direction */
}

.page-game-strategies__game-strategy-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-game-strategies__game-strategy-content {
  width: 50%;
}

.page-game-strategies__game-strategy-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-strategies__game-strategy-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-strategies__game-strategy-title a:hover {
  text-decoration: underline;
}

.page-game-strategies__game-strategy-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Advanced Tips Section */
.page-game-strategies__advanced-tips-section {
  padding: 80px 0;
  background-color: #000000;
}

.page-game-strategies__advanced-tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategies__advanced-tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #26A9E0;
}

.page-game-strategies__advanced-tips-list li strong {
  color: #26A9E0;
}

/* FAQ Section */
.page-game-strategies__faq-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

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

.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 30px;
  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 value */
  padding: 15px 30px;
}

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

/* CTA Section */
.page-game-strategies__cta-section {
  padding: 80px 0;
  background-color: #0d0d0d;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategies__hero-title {
    font-size: 3em;
  }
  .page-game-strategies__hero-description {
    font-size: 1.2em;
  }
  .page-game-strategies__game-strategy-card {
    flex-direction: column;
    text-align: center;
  }
  .page-game-strategies__game-strategy-card:nth-child(even) {
    flex-direction: column;
  }
  .page-game-strategies__game-strategy-image,
  .page-game-strategies__game-strategy-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding: 60px 15px;
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-game-strategies__hero-title {
    font-size: 2.2em;
  }
  .page-game-strategies__hero-description {
    font-size: 1em;
  }
  .page-game-strategies__hero-cta-buttons,
  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategies__section-title {
    font-size: 2em;
  }
  .page-game-strategies__section-description {
    font-size: 0.95em;
  }
  .page-game-strategies__benefits-grid,
  .page-game-strategies__strategy-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-strategies__game-strategy-card {
    gap: 20px;
    padding: 20px;
  }
  .page-game-strategies__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-game-strategies__faq-answer {
    padding: 0 20px;
  }
  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image/video rules */
  .page-game-strategies img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies video,
  .page-game-strategies__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies__container,
  .page-game-strategies__video-wrapper,
  .page-game-strategies__cta-buttons,
  .page-game-strategies__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-strategies__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-strategies__hero-content {
    padding: 0 15px;
  }
  .page-game-strategies__video-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}