/* style/game-strategy.css */

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

.page-game-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-strategy-text-main);
  background-color: var(--page-game-strategy-background);
}

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

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

.page-game-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Limit hero image height */
}

.page-game-strategy__hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.page-game-strategy__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--page-game-strategy-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-strategy__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--page-game-strategy-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.1rem;
  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: var(--page-game-strategy-button-gradient);
  color: var(--page-game-strategy-text-main);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-strategy__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-game-strategy__btn-secondary {
  background: none;
  color: var(--page-game-strategy-secondary-color);
  border: 2px solid var(--page-game-strategy-secondary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategy__btn-secondary:hover {
  background: rgba(var(--page-game-strategy-secondary-color), 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-game-strategy__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--page-game-strategy-text-main);
  line-height: 1.3;
}

.page-game-strategy__introduction,
.page-game-strategy__game-specific-strategies,
.page-game-strategy__faq-section {
  padding: 80px 0;
  color: #333333; /* Default for light background */
}

.page-game-strategy__introduction p,
.page-game-strategy__game-specific-strategies p,
.page-game-strategy__faq-section p {
  color: #333333; /* Ensure readability on light background */
  margin-bottom: 15px;
}

.page-game-strategy__core-strategies,
.page-game-strategy__bonus-tips,
.page-game-strategy__conclusion {
  padding: 80px 0;
  background-color: var(--page-game-strategy-background);
  color: var(--page-game-strategy-text-main);
}

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

.page-game-strategy__card {
  background-color: var(--page-game-strategy-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-game-strategy-text-main);
  border: 1px solid var(--page-game-strategy-border);
}

.page-game-strategy__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-strategy__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--page-game-strategy-gold);
}

.page-game-strategy__card p {
  font-size: 1rem;
  color: var(--page-game-strategy-text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

.page-game-strategy__game-section {
  margin-bottom: 60px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  color: #333333;
}

.page-game-strategy__game-subtitle {
  font-size: 2rem;
  font-weight: 600;
  color: var(--page-game-strategy-deep-green);
  margin-bottom: 25px;
  text-align: center;
}

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

.page-game-strategy__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #555555;
}

.page-game-strategy__list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

.page-game-strategy__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.page-game-strategy__btn-small {
  padding: 10px 20px;
  font-size: 0.95rem;
  margin-top: 20px;
}

.page-game-strategy__btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  margin-top: 40px;
}

/* FAQ Section */
.page-game-strategy__faq-section {
  background-color: #f8f8f8;
}

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

.page-game-strategy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-game-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-game-strategy-deep-green);
  user-select: none;
  list-style: none;
}

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

.page-game-strategy__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--page-game-strategy-secondary-color);
}

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

.page-game-strategy__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
}

.page-game-strategy__cta-support {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: #333333;
}

.page-game-strategy__link-text {
  color: var(--page-game-strategy-primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-game-strategy__link-text:hover {
  color: var(--page-game-strategy-secondary-color);
}

.page-game-strategy__conclusion .page-game-strategy__btn-primary {
  margin: 0 auto;
  display: block;
}

/* Ensure all images are responsive and not smaller than 200px */
.page-game-strategy img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-strategy__hero-image {
    max-height: 500px;
  }
  .page-game-strategy__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-game-strategy__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-game-strategy__game-subtitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-game-strategy__hero-section {
    padding-bottom: 40px;
  }
  .page-game-strategy__hero-image {
    max-height: 400px;
  }
  .page-game-strategy__hero-content {
    padding-top: 20px;
  }
  .page-game-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-strategy__btn-primary,
  .page-game-strategy__btn-secondary,
  .page-game-strategy a[class*="button"],
  .page-game-strategy 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-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;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-game-strategy__introduction,
  .page-game-strategy__core-strategies,
  .page-game-strategy__game-specific-strategies,
  .page-game-strategy__bonus-tips,
  .page-game-strategy__faq-section,
  .page-game-strategy__conclusion {
    padding: 40px 0;
  }
  .page-game-strategy__container {
    padding: 0 15px;
  }
  .page-game-strategy__section-title {
    margin-bottom: 30px;
  }
  .page-game-strategy__card {
    padding: 20px;
  }
  .page-game-strategy__card-image {
    height: 180px;
  }
  .page-game-strategy__game-section {
    padding: 20px;
  }
  .page-game-strategy__list li {
    font-size: 1rem;
  }
  .page-game-strategy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-strategy__section,
  .page-game-strategy__card,
  .page-game-strategy__container,
  .page-game-strategy__game-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-strategy__video-section {
    padding-top: 10px !important; /* body handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-game-strategy__hero-image {
    max-height: 300px;
  }
  .page-game-strategy__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-game-strategy__description {
    font-size: 0.95rem;
  }
  .page-game-strategy__btn-primary,
  .page-game-strategy__btn-secondary {
    font-size: 1rem;
    padding: 12px 25px;
  }
  .page-game-strategy__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-game-strategy__game-subtitle {
    font-size: 1.6rem;
  }
  .page-game-strategy__card-title {
    font-size: 1.3rem;
  }
  .page-game-strategy__faq-question {
    font-size: 1rem;
    padding: 15px;
  }
  .page-game-strategy__faq-answer {
    padding: 0 15px 15px;
  }
}

/* Color Contrast Adjustments */
.page-game-strategy__dark-bg {
  background-color: var(--page-game-strategy-background);
  color: var(--page-game-strategy-text-main);
}

.page-game-strategy__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

/* Specific elements on dark background */
.page-game-strategy__core-strategies .page-game-strategy__section-title,
.page-game-strategy__bonus-tips .page-game-strategy__section-title,
.page-game-strategy__conclusion .page-game-strategy__section-title {
  color: var(--page-game-strategy-text-main);
}

.page-game-strategy__core-strategies .page-game-strategy__card p,
.page-game-strategy__bonus-tips .page-game-strategy__card p {
  color: var(--page-game-strategy-text-secondary);
}

/* Button text color already handled by specific btn styles */