/* style/game-strategies.css */

/* Base Styles & Typography */
.page-game-strategies {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #1a1a2e;
}

.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: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategies__subtitle {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-game-strategies__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-game-strategies__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

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

.page-game-strategies__list--bullet li {
  list-style: disc;
  margin-left: 20px;
}

.page-game-strategies__list--check li {
  position: relative;
  padding-left: 25px;
}

.page-game-strategies__list--check li::before {
  content: '✓';
  color: #017439;
  position: absolute;
  left: 0;
}

/* Buttons */
.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.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: #017439;
  border: 2px solid #017439;
}

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

/* Hero Section */
.page-game-strategies__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 20px 60px; /* Use header offset */
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color for hero background */
}

.page-game-strategies__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #ffffff;
}

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

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

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

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

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

/* Introduction Section */
.page-game-strategies__introduction-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-game-strategies__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

/* Download Guide */
.page-game-strategies__download-guide {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-game-strategies__download-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f0f0f0;
}

.page-game-strategies__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-game-strategies__download-card .page-game-strategies__list {
  text-align: left;
  width: 100%;
  margin-top: 15px;
  counter-reset: download-step;
}

.page-game-strategies__download-card .page-game-strategies__list li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-game-strategies__download-card .page-game-strategies__list li::before {
  content: counter(download-step) ". ";
  counter-increment: download-step;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #017439;
}

.page-game-strategies__download-card .page-game-strategies__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: fit-content;
}

/* Registration & Login */
.page-game-strategies__registration-login {
  padding: 80px 0;
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-game-strategies__registration-login .page-game-strategies__card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-strategies__registration-login .page-game-strategies__card-title {
  color: #017439;
  text-align: left;
  width: 100%;
}

.page-game-strategies__registration-login .page-game-strategies__card .page-game-strategies__list {
  text-align: left;
  width: 100%;
  counter-reset: process-step;
}

.page-game-strategies__registration-login .page-game-strategies__card .page-game-strategies__list li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-game-strategies__registration-login .page-game-strategies__card .page-game-strategies__list li::before {
  content: counter(process-step) ". ";
  counter-increment: process-step;
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #017439;
}

.page-game-strategies__registration-login .page-game-strategies__card .page-game-strategies__btn-primary {
  margin-top: auto;
  align-self: center;
}

/* Game Strategies */
.page-game-strategies__game-strategies {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-game-strategies__strategy-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-game-strategies__strategy-card .page-game-strategies__card-image {
  margin-bottom: 20px;
}

.page-game-strategies__strategy-card .page-game-strategies__card-title {
  color: #017439;
  text-align: center;
}

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

.page-game-strategies__strategy-card .page-game-strategies__btn-secondary {
  margin-top: auto;
  align-self: center;
}

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

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

.page-game-strategies__advanced-tips .page-game-strategies__card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

.page-game-strategies__advanced-tips .page-game-strategies__card-title {
  color: #017439;
  text-align: center;
}

/* FAQ Section */
.page-game-strategies__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  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.08);
  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 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-title {
  margin: 0;
  color: #ffffff;
}

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

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

/* Call to Action Section */
.page-game-strategies__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.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__section-title {
    font-size: 2em;
  }
}

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

  .page-game-strategies__container {
    padding: 0 15px !important;
  }

  .page-game-strategies__hero-section {
    padding: var(--header-offset, 120px) 15px 40px !important; /* Adjust padding for mobile */
    min-height: 500px;
  }

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

  .page-game-strategies__hero-description {
    font-size: 1.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,
  .page-game-strategies a[class*="button"],
  .page-game-strategies a[class*="btn"] {
    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__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has header offset on mobile */
  }

  .page-game-strategies__video,
  .page-game-strategies__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-game-strategies__section,
  .page-game-strategies__card,
  .page-game-strategies__container,
  .page-game-strategies__download-card,
  .page-game-strategies__strategy-card,
  .page-game-strategies__tip-cards,
  .page-game-strategies__process-cards,
  .page-game-strategies__strategy-grid,
  .page-game-strategies__download-steps,
  .page-game-strategies__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-game-strategies__subtitle {
    font-size: 1.5em;
  }

  .page-game-strategies__card-title {
    font-size: 1.3em;
  }

  .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: 10px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies__hero-title {
    font-size: 2em;
  }

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

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

  .page-game-strategies__btn-primary,
  .page-game-strategies__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}