/* style/game-strategy.css */

/* Variables */
:root {
  --page-game-strategy-primary-color: #26A9E0;
  --page-game-strategy-secondary-color: #FFFFFF;
  --page-game-strategy-text-dark: #333333;
  --page-game-strategy-text-light: #ffffff;
  --page-game-strategy-bg-light: #ffffff;
  --page-game-strategy-bg-dark: #26A9E0;
  --page-game-strategy-btn-login: #EA7C07;
}

.page-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-strategy-text-dark); /* Default text color for light body background */
  background-color: var(--page-game-strategy-bg-light);
}

.page-game-strategy__section {
  padding: 60px 0;
}

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

.page-game-strategy__section-title {
  font-size: 2.5em;
  color: var(--page-game-strategy-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-game-strategy__sub-title {
  font-size: 1.8em;
  color: var(--page-game-strategy-primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-game-strategy p {
  margin-bottom: 15px;
  color: var(--page-game-strategy-text-dark);
}

.page-game-strategy strong {
  font-weight: bold;
  color: var(--page-game-strategy-primary-color);
}

/* Hero Section */
.page-game-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-game-strategy__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-game-strategy__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-game-strategy__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--page-game-strategy-primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
}

.page-game-strategy__hero-description {
  font-size: 1.2em;
  color: var(--page-game-strategy-text-dark);
  margin-bottom: 30px;
}

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

.page-game-strategy__btn-primary {
  background-color: var(--page-game-strategy-primary-color);
  color: var(--page-game-strategy-text-light);
  border: 2px solid var(--page-game-strategy-primary-color);
}

.page-game-strategy__btn-primary:hover {
  background-color: darken(var(--page-game-strategy-primary-color), 10%);
  border-color: darken(var(--page-game-strategy-primary-color), 10%);
}

.page-game-strategy__btn-secondary {
  background-color: var(--page-game-strategy-secondary-color);
  color: var(--page-game-strategy-primary-color);
  border: 2px solid var(--page-game-strategy-primary-color);
}

.page-game-strategy__btn-secondary:hover {
  background-color: lighten(var(--page-game-strategy-primary-color), 40%);
  color: var(--page-game-strategy-primary-color);
}

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

/* Image Text Blocks */
.page-game-strategy__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.page-game-strategy__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-game-strategy__text-content {
  flex: 1;
  min-width: 300px;
}

.page-game-strategy__image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Dark sections */
.page-game-strategy__dark-section {
  background-color: var(--page-game-strategy-bg-dark);
  color: var(--page-game-strategy-text-light);
}

.page-game-strategy__dark-section .page-game-strategy__section-title,
.page-game-strategy__dark-section .page-game-strategy__sub-title {
  color: var(--page-game-strategy-text-light);
}

.page-game-strategy__dark-section p {
  color: var(--page-game-strategy-text-light);
}

.page-game-strategy__dark-section strong {
  color: var(--page-game-strategy-secondary-color);
}

/* FAQ Section */
.page-game-strategy__faq-list {
  margin-top: 30px;
  margin-bottom: 40px;
}

.page-game-strategy__faq-item {
  background-color: var(--page-game-strategy-bg-light);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-game-strategy__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  color: var(--page-game-strategy-primary-color);
  font-size: 1.1em;
}

.page-game-strategy__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-game-strategy__faq-item[open] .page-game-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategy__faq-answer {
  padding: 0 20px 20px;
  color: var(--page-game-strategy-text-dark);
}

.page-game-strategy__image-wrapper--faq {
  margin-top: 30px;
}

/* Conclusion Section */
.page-game-strategy__conclusion {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-game-strategy__section-title {
    font-size: 2em;
  }
  .page-game-strategy__sub-title {
    font-size: 1.5em;
  }
  .page-game-strategy__hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-game-strategy__image-text-block {
    flex-direction: column;
  }
  .page-game-strategy__image-text-block--reverse {
    flex-direction: column;
  }
  .page-game-strategy__text-content,
  .page-game-strategy__image-wrapper {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-strategy__section {
    padding: 40px 0;
  }
  .page-game-strategy__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-strategy__hero-section {
    padding-top: 10px !important; /* body handles --header-offset */
    padding-bottom: 40px;
  }
  .page-game-strategy__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-game-strategy__hero-description {
    font-size: 1em;
  }
  .page-game-strategy__btn-primary,
  .page-game-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategy__cta-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategy__hero-image-wrapper,
  .page-game-strategy__image-wrapper,
  .page-game-strategy__video-section,
  .page-game-strategy__video-container,
  .page-game-strategy__video-wrapper,
  .page-game-strategy__section,
  .page-game-strategy__card,
  .page-game-strategy__container,
  .page-game-strategy__cta-buttons,
  .page-game-strategy__button-group,
  .page-game-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
   .page-game-strategy__image-wrapper--faq {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-game-strategy__section-title {
    font-size: 1.8em;
  }
  .page-game-strategy__sub-title {
    font-size: 1.3em;
  }
}