/* style/game-strategies.css */

/* Base styles for the page */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-game-strategies__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #0a0a0a; /* Dark background for hero */
}

.page-game-strategies__video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  overflow: hidden;
  background-color: #0a0a0a;
}

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

.page-game-strategies__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.page-game-strategies__hero-content {
  max-width: 800px;
  padding: 20px;
}

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

.page-game-strategies__description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-game-strategies__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-strategies__link:hover {
  text-decoration: underline;
}

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

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

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

.page-game-strategies__text-dark {
  color: #333333;
}

.page-game-strategies__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-game-strategies__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-game-strategies__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-game-strategies__card {
  background-color: #f8f8f8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #333333; /* Ensure dark text on light card background */
}

.page-game-strategies__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-strategies__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-strategies__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  padding: 15px 20px 10px;
  margin: 0;
}

.page-game-strategies__card-link {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-strategies__card-link:hover {
  text-decoration: underline;
}

.page-game-strategies__card-text {
  font-size: 1em;
  color: #555555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-game-strategies__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

.page-game-strategies__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 20px;
}

.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;
  color: #ffffff;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(38, 169, 224, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-strategies__faq-question:hover {
  background-color: rgba(38, 169, 224, 0.3);
}

.page-game-strategies__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
}

.page-game-strategies__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  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 20px;
  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: 20px;
}

.page-game-strategies__text-center {
  text-align: center;
}

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

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.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;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-strategies__main-title {
    font-size: 3em;
  }
  .page-game-strategies__section-title {
    font-size: 2em;
  }
  .page-game-strategies__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-strategies__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-game-strategies__main-title {
    font-size: 2.2em;
  }
  .page-game-strategies__description {
    font-size: 1em;
  }
  .page-game-strategies__section-title {
    font-size: 1.8em;
  }
  .page-game-strategies__card-title {
    font-size: 1.3em;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-strategies__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategies__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio */
  }
  .page-game-strategies video,
  .page-game-strategies__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies__video-section,
  .page-game-strategies__video-container,
  .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__section,
  .page-game-strategies__card,
  .page-game-strategies__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategies img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-strategies__faq-question {
    padding: 15px;
  }
  .page-game-strategies__faq-title {
    font-size: 1em;
  }
  .page-game-strategies__faq-answer {
    padding: 0 15px;
  }
  .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__main-title {
    font-size: 1.8em;
  }
  .page-game-strategies__section-title {
    font-size: 1.6em;
  }
  .page-game-strategies__description {
    font-size: 0.9em;
  }
  .page-game-strategies__list,
  .page-game-strategies__text-block {
    font-size: 1em;
  }
}