/* style/game-strategies-tips.css */

/* Custom Colors */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-game-strategies-tips {
  background-color: var(--color-background); /* #08160F */
  color: var(--color-text-main); /* #F2FFF6 */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Sections */
.page-game-strategies-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more at bottom */
  overflow: hidden;
  color: var(--color-text-main);
}

.page-game-strategies-tips__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 20px;
}

.page-game-strategies-tips__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-game-strategies-tips__hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: 20px; /* Space from image */
  z-index: 1;
}

.page-game-strategies-tips__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: bold;
  color: var(--color-gold); /* Using gold for main title to stand out */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-game-strategies-tips__description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-game-strategies-tips__btn-primary {
  background: var(--color-button-gradient);
  color: var(--color-text-main); /* White text on dark button */
  border: 2px solid transparent;
}

.page-game-strategies-tips__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--color-glow);
}

.page-game-strategies-tips__btn-secondary {
  background: transparent;
  color: var(--color-primary); /* Green text on transparent button */
  border: 2px solid var(--color-border);
}

.page-game-strategies-tips__btn-secondary:hover {
  background: rgba(var(--color-primary), 0.1);
  color: var(--color-glow);
  border-color: var(--color-glow);
}

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

.page-game-strategies-tips__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-gold); /* Gold for section titles */
  line-height: 1.3;
}

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

.page-game-strategies-tips__dark-section {
  background-color: var(--color-card-bg); /* #11271B */
  color: var(--color-text-main); /* #F2FFF6 */
  padding: 60px 0;
}

.page-game-strategies-tips__light-bg {
  background-color: var(--color-background); /* #08160F - still dark, but distinct */
  color: var(--color-text-main); /* #F2FFF6 */
  padding: 60px 0;
}

.page-game-strategies-tips__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 800px;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

/* FAQ Section */
.page-game-strategies-tips__faq-section {
  padding: 60px 0;
  background-color: var(--color-background);
}

.page-game-strategies-tips__faq-list {
  margin-top: 30px;
}

.page-game-strategies-tips__faq-item {
  background-color: var(--color-card-bg); /* #11271B */
  border: 1px solid var(--color-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-strategies-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--color-text-main); /* #F2FFF6 */
  background-color: var(--color-deep-green); /* #0A4B2C */
}

.page-game-strategies-tips__faq-item[open] .page-game-strategies-tips__faq-question {
  background-color: var(--color-primary);
  color: #ffffff;
}

.page-game-strategies-tips__faq-question::-webkit-details-marker,
.page-game-strategies-tips__faq-question::marker {
  display: none;
}

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

.page-game-strategies-tips__faq-item[open] .page-game-strategies-tips__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

.page-game-strategies-tips__faq-answer {
  padding: 20px;
  color: var(--color-text-secondary); /* #A7D9B8 */
  border-top: 1px solid var(--color-divider);
}

.page-game-strategies-tips__faq-answer p {
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

.page-game-strategies-tips__faq-answer a {
  color: var(--color-glow);
  text-decoration: underline;
}

.page-game-strategies-tips__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

.page-game-strategies-tips__cta-bottom .page-game-strategies-tips__section-title {
  color: var(--color-text-main);
}

.page-game-strategies-tips__cta-bottom p {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-strategies-tips__cta-bottom .page-game-strategies-tips__cta-buttons {
  margin-top: 30px;
}

.page-game-strategies-tips a {
  color: var(--color-primary);
  text-decoration: none;
}

.page-game-strategies-tips a:hover {
  text-decoration: underline;
  color: var(--color-glow);
}

/* Ensure content area images are not too small */
.page-game-strategies-tips p img, .page-game-strategies-tips li img {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-strategies-tips__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-game-strategies-tips__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-game-strategies-tips__hero-section {
    padding: 10px 15px 40px;
  }

  .page-game-strategies-tips__hero-content {
    padding: 0 15px;
  }

  .page-game-strategies-tips__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-game-strategies-tips__description {
    font-size: 1em;
  }

  .page-game-strategies-tips__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-game-strategies-tips__btn-primary,
  .page-game-strategies-tips__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

  .page-game-strategies-tips__container {
    padding: 30px 15px;
  }

  .page-game-strategies-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-game-strategies-tips__dark-section,
  .page-game-strategies-tips__light-bg {
    padding: 40px 0;
  }

  /* Mobile responsive images */
  .page-game-strategies-tips img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategies-tips__section,
  .page-game-strategies-tips__card,
  .page-game-strategies-tips__container,
  .page-game-strategies-tips__hero-image-wrapper,
  .page-game-strategies-tips__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-tips__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-game-strategies-tips__faq-answer {
    padding: 15px;
  }

  .page-game-strategies-tips__cta-bottom {
    padding: 60px 0;
  }
  
  /* Ensure video containers also adapt */
  .page-game-strategies-tips video,
  .page-game-strategies-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-game-strategies-tips__video-section,
  .page-game-strategies-tips__video-container,
  .page-game-strategies-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-game-strategies-tips__video-section {
    padding-top: 10px !important;
  }
}

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

  .page-game-strategies-tips__sub-title {
    font-size: 1.2em;
  }

  .page-game-strategies-tips__faq-question {
    font-size: 0.95em;
  }
}