/* 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: #0a0a0a; /* Ensure consistency with body background */
}

.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Desktop and mobile header offset */
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
  overflow: hidden;
}

.page-game-strategies__hero-content {
  z-index: 10;
  max-width: 800px;
}

.page-game-strategies__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-game-strategies__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

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

.page-game-strategies__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #8B0000;
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

.page-game-strategies__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-game-strategies__paragraph {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.7;
}

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

.page-game-strategies__card {
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

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

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

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

.page-game-strategies__card-text {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.6;
}

.page-game-strategies__text-with-image {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-game-strategies__text-with-image--reverse {
  flex-direction: row-reverse;
}

.page-game-strategies__image-left,
.page-game-strategies__image-right {
  flex: 1;
  min-width: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__list {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-game-strategies__list-item {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

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

.page-game-strategies__cta-section {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.page-game-strategies__btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700, #8B0000);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-game-strategies__btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-game-strategies__faq-container {
  margin-top: 40px;
  background-color: #2a2a2a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.page-game-strategies__faq-item {
  border-bottom: 1px solid #444444;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.page-game-strategies__faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.page-game-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.page-game-strategies__faq-title {
  font-size: 1.2em;
  color: #FFD700;
  margin: 0;
  flex-grow: 1;
}

.page-game-strategies__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  margin-left: 15px;
  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 15px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px;
}

.page-game-strategies__video-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #1a1a1a;
  border-top: 1px solid #333333;
}

.page-game-strategies__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 30px auto;
  max-width: 1280px; /* Max width for video */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

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

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

.page-game-strategies__video-caption {
  font-size: 1.1em;
  color: #cccccc;
  margin-top: 15px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-strategies__hero-title {
    font-size: 2.8em;
  }
  .page-game-strategies__hero-description {
    font-size: 1.2em;
  }
  .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: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }
  .page-game-strategies__hero-title {
    font-size: 2.2em;
  }
  .page-game-strategies__hero-description {
    font-size: 1em;
  }
  .page-game-strategies__content-area,
  .page-game-strategies__section-padding {
    padding: 30px 15px;
  }
  .page-game-strategies__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-strategies__sub-title {
    font-size: 1.5em;
  }
  .page-game-strategies__grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-strategies__text-with-image,
  .page-game-strategies__text-with-image--reverse {
    flex-direction: column;
    gap: 20px;
  }
  .page-game-strategies__image-left,
  .page-game-strategies__image-right {
    min-width: unset;
    width: 100%;
  }
  .page-game-strategies__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1.1em;
  }
  .page-game-strategies__cta-section,
  .page-game-strategies__faq-container,
  .page-game-strategies__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-game-strategies img {
    max-width: 100% !important;
    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__video-wrapper {
    padding-bottom: 56.25% !important; /* Maintain aspect ratio */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__hero-title {
    font-size: 1.8em;
  }
  .page-game-strategies__hero-description {
    font-size: 0.9em;
  }
  .page-game-strategies__section-title {
    font-size: 1.5em;
  }
  .page-game-strategies__sub-title {
    font-size: 1.3em;
  }
  .page-game-strategies__card-title {
    font-size: 1.3em;
  }
  .page-game-strategies__faq-title {
    font-size: 1.1em;
  }
  .page-game-strategies__btn-primary {
    font-size: 1em;
    padding: 10px 15px;
  }
}