/* style/game-strategies-tips.css */
.page-game-strategies-tips {
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-game-strategies-tips__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 20px;
  overflow: hidden;
  color: #ffffff;
}

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

.page-game-strategies-tips__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-game-strategies-tips__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-game-strategies-tips__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-game-strategies-tips__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.page-game-strategies-tips__btn-primary,
.page-game-strategies-tips__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

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

.page-game-strategies-tips__btn-primary:hover {
  background-color: #1a7fb3;
  border-color: #1a7fb3;
}

.page-game-strategies-tips__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-game-strategies-tips__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-game-strategies-tips__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-game-strategies-tips__introduction-section,
.page-game-strategies-tips__core-principles-section,
.page-game-strategies-tips__specific-games-section,
.page-game-strategies-tips__advanced-tips-section,
.page-game-strategies-tips__faq-section,
.page-game-strategies-tips__cta-section {
  padding: 60px 0;
}

.page-game-strategies-tips__introduction-section img,
.page-game-strategies-tips__advanced-tips-section img {
  display: block;
  margin: 40px auto 0;
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
}

.page-game-strategies-tips__principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-strategies-tips__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-game-strategies-tips__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-game-strategies-tips__card-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-game-strategies-tips__game-strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-game-strategies-tips__game-strategy-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: #ffffff;
}

.page-game-strategies-tips__game-strategy-item img {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-game-strategies-tips__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.page-game-strategies-tips__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-game-strategies-tips__game-title a:hover {
  text-decoration: underline;
}

.page-game-strategies-tips__game-description {
  font-size: 0.95em;
  color: #cccccc;
}

.page-game-strategies-tips__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-strategies-tips__list-item {
  background: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 5px;
  color: #ffffff;
}

.page-game-strategies-tips__list-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-game-strategies-tips__list-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-game-strategies-tips__video-section {
  padding: 60px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly darker background for video */
  padding-top: var(--header-offset, 120px); /* Apply offset here as per prompt example */
}

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

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

.page-game-strategies-tips__video-description {
  margin-top: 20px;
  font-size: 1.1em;
  color: #cccccc;
}

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

.page-game-strategies-tips__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategies-tips__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #26A9E0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease;
}

.page-game-strategies-tips__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-game-strategies-tips__faq-item.active .page-game-strategies-tips__faq-toggle {
  transform: rotate(45deg);
}

.page-game-strategies-tips__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #cccccc;
  font-size: 1em;
}

.page-game-strategies-tips__faq-item.active .page-game-strategies-tips__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 20px;
}

.page-game-strategies-tips__cta-section {
  text-align: center;
  background-color: #26A9E0;
  padding: 80px 20px;
}

.page-game-strategies-tips__cta-section .page-game-strategies-tips__section-title {
  color: #ffffff;
}

.page-game-strategies-tips__cta-section .page-game-strategies-tips__paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-game-strategies-tips__hero-title {
    font-size: 3em;
  }
  .page-game-strategies-tips__hero-description {
    font-size: 1.2em;
  }
  .page-game-strategies-tips__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-game-strategies-tips__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .page-game-strategies-tips__hero-title {
    font-size: 2.5em;
  }
  .page-game-strategies-tips__hero-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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }
  .page-game-strategies-tips__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-strategies-tips__introduction-section,
  .page-game-strategies-tips__core-principles-section,
  .page-game-strategies-tips__specific-games-section,
  .page-game-strategies-tips__advanced-tips-section,
  .page-game-strategies-tips__faq-section,
  .page-game-strategies-tips__cta-section {
    padding: 40px 0;
  }
  .page-game-strategies-tips__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-game-strategies-tips__card,
  .page-game-strategies-tips__game-strategy-item {
    padding: 20px;
  }
  .page-game-strategies-tips__game-strategy-item img {
    height: 200px; /* Adjust height for mobile */
  }
  .page-game-strategies-tips__introduction-section img,
  .page-game-strategies-tips__advanced-tips-section img,
  .page-game-strategies-tips img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategies-tips__video-section {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-game-strategies-tips__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 56.25% !important;
  }
  .page-game-strategies-tips__video {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
  .page-game-strategies-tips__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-game-strategies-tips__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-game-strategies-tips__hero-title {
    font-size: 2em;
  }
  .page-game-strategies-tips__hero-description {
    font-size: 0.9em;
  }
  .page-game-strategies-tips__section-title {
    font-size: 1.5em;
  }
  .page-game-strategies-tips__card-title {
    font-size: 1.3em;
  }
  .page-game-strategies-tips__list-title {
    font-size: 1.2em;
  }
}