/* style/blog-tj77-code-popular-games-strategy.css */

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

.page-blog-tj77-code-popular-games-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background #f8f9fa */
  background-color: #f8f9fa; /* Inherited from body or default */
}

.page-blog-tj77-code-popular-games-strategy__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-blog-tj77-code-popular-games-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--tj77-background);
  color: var(--tj77-text-main);
}

.page-blog-tj77-code-popular-games-strategy__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-blog-tj77-code-popular-games-strategy__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-blog-tj77-code-popular-games-strategy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual effect */
  background: rgba(8, 22, 15, 0.9); /* Semi-transparent background for text readability */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--tj77-border-color);
}

.page-blog-tj77-code-popular-games-strategy__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--tj77-gold-color);
}

.page-blog-tj77-code-popular-games-strategy__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--tj77-text-secondary);
}

.page-blog-tj77-code-popular-games-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-blog-tj77-code-popular-games-strategy__btn-primary,
.page-blog-tj77-code-popular-games-strategy__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.page-blog-tj77-code-popular-games-strategy__btn-primary {
  background: var(--tj77-button-gradient);
  color: #ffffff; /* White text for dark button */
}

.page-blog-tj77-code-popular-games-strategy__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border-color: var(--tj77-glow-color);
}

.page-blog-tj77-code-popular-games-strategy__btn-secondary {
  background: #ffffff; /* White background for secondary button */
  color: var(--tj77-deep-green); /* Dark text for light button */
  border-color: var(--tj77-deep-green);
}

.page-blog-tj77-code-popular-games-strategy__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  background: var(--tj77-deep-green);
  color: #ffffff;
}

/* General Section Styling */
.page-blog-tj77-code-popular-games-strategy__introduction-section,
.page-blog-tj77-code-popular-games-strategy__games-overview,
.page-blog-tj77-code-popular-games-strategy__strategy-tips-section,
.page-blog-tj77-code-popular-games-strategy__registration-download-section,
.page-blog-tj77-code-popular-games-strategy__faq-section,
.page-blog-tj77-code-popular-games-strategy__conclusion-section {
  padding: 60px 0;
  background-color: #f8f9fa; /* Light background for content sections */
  color: #333333; /* Dark text for light background */
}

.page-blog-tj77-code-popular-games-strategy__section-title {
  font-size: 2.2em;
  color: var(--tj77-deep-green);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-blog-tj77-code-popular-games-strategy__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--tj77-primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-blog-tj77-code-popular-games-strategy__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  color: #555555;
  text-align: justify;
}

/* Game Cards */
.page-blog-tj77-code-popular-games-strategy__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-tj77-code-popular-games-strategy__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-blog-tj77-code-popular-games-strategy__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-blog-tj77-code-popular-games-strategy__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-blog-tj77-code-popular-games-strategy__card-title {
  font-size: 1.3em;
  color: var(--tj77-deep-green);
  padding: 15px 20px 10px;
  margin-bottom: 0;
}

.page-blog-tj77-code-popular-games-strategy__card-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px;
  flex-grow: 1;
}

.page-blog-tj77-code-popular-games-strategy__card-link {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background-color: var(--tj77-primary-color);
  color: #ffffff; /* White text for primary color button */
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-blog-tj77-code-popular-games-strategy__card-link:hover {
  background-color: var(--tj77-secondary-color);
}

/* Strategy Tips */
.page-blog-tj77-code-popular-games-strategy__strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-tj77-code-popular-games-strategy__strategy-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--tj77-primary-color);
}

.page-blog-tj77-code-popular-games-strategy__strategy-title {
  font-size: 1.4em;
  color: var(--tj77-deep-green);
  margin-bottom: 15px;
}

.page-blog-tj77-code-popular-games-strategy__strategy-text {
  color: #555555;
}

/* CTA Section within content */
.page-blog-tj77-code-popular-games-strategy__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--tj77-deep-green);
  color: var(--tj77-text-main);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-tj77-code-popular-games-strategy__cta-text {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: var(--tj77-gold-color);
  font-weight: bold;
}

/* Registration/Download Steps */
.page-blog-tj77-code-popular-games-strategy__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-blog-tj77-code-popular-games-strategy__step-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #e0e0e0;
}

.page-blog-tj77-code-popular-games-strategy__step-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-blog-tj77-code-popular-games-strategy__step-title {
  font-size: 1.3em;
  color: var(--tj77-deep-green);
  margin-bottom: 10px;
}

.page-blog-tj77-code-popular-games-strategy__step-text {
  color: #555555;
}

/* FAQ Section */
.page-blog-tj77-code-popular-games-strategy__faq-list {
  margin-top: 40px;
}

.page-blog-tj77-code-popular-games-strategy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-tj77-code-popular-games-strategy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: var(--tj77-deep-green);
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-blog-tj77-code-popular-games-strategy__faq-item[open] .page-blog-tj77-code-popular-games-strategy__faq-question {
  border-bottom-color: transparent;
}

.page-blog-tj77-code-popular-games-strategy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-blog-tj77-code-popular-games-strategy__faq-item[open] .page-blog-tj77-code-popular-games-strategy__faq-toggle {
  transform: rotate(45deg);
}

.page-blog-tj77-code-popular-games-strategy__faq-answer {
  padding: 15px 25px 20px;
  color: #555555;
  font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-tj77-code-popular-games-strategy__hero-content {
    margin-top: -80px;
    padding: 25px;
  }
  .page-blog-tj77-code-popular-games-strategy__main-title {
    font-size: 2.2em;
  }
  .page-blog-tj77-code-popular-games-strategy__section-title {
    font-size: 1.8em;
  }
  .page-blog-tj77-code-popular-games-strategy__game-cards,
  .page-blog-tj77-code-popular-games-strategy__strategy-grid,
  .page-blog-tj77-code-popular-games-strategy__steps-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-blog-tj77-code-popular-games-strategy img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-tj77-code-popular-games-strategy__hero-image-wrapper,
  .page-blog-tj77-code-popular-games-strategy__hero-content,
  .page-blog-tj77-code-popular-games-strategy__introduction-section .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__games-overview .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__strategy-tips-section .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__registration-download-section .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__faq-section .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__conclusion-section .page-blog-tj77-code-popular-games-strategy__container,
  .page-blog-tj77-code-popular-games-strategy__cta-buttons,
  .page-blog-tj77-code-popular-games-strategy__button-group,
  .page-blog-tj77-code-popular-games-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }

  .page-blog-tj77-code-popular-games-strategy__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-blog-tj77-code-popular-games-strategy__hero-content {
    margin-top: -60px;
    padding: 20px;
  }

  .page-blog-tj77-code-popular-games-strategy__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-blog-tj77-code-popular-games-strategy__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-blog-tj77-code-popular-games-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-tj77-code-popular-games-strategy__btn-primary,
  .page-blog-tj77-code-popular-games-strategy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-blog-tj77-code-popular-games-strategy__section-title {
    font-size: 1.5em;
  }

  .page-blog-tj77-code-popular-games-strategy__game-cards,
  .page-blog-tj77-code-popular-games-strategy__strategy-grid,
  .page-blog-tj77-code-popular-games-strategy__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-blog-tj77-code-popular-games-strategy__game-card,
  .page-blog-tj77-code-popular-games-strategy__strategy-item,
  .page-blog-tj77-code-popular-games-strategy__step-item {
    padding: 20px;
  }

  .page-blog-tj77-code-popular-games-strategy__card-title,
  .page-blog-tj77-code-popular-games-strategy__strategy-title,
  .page-blog-tj77-code-popular-games-strategy__step-title {
    font-size: 1.2em;
  }

  .page-blog-tj77-code-popular-games-strategy__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-blog-tj77-code-popular-games-strategy__faq-answer {
    padding: 10px 20px 15px;
  }
  
  /* Ensure all content area images are at least 200px */
  .page-blog-tj77-code-popular-games-strategy__game-card .page-blog-tj77-code-popular-games-strategy__card-image,
  .page-blog-tj77-code-popular-games-strategy__step-item .page-blog-tj77-code-popular-games-strategy__step-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video specific mobile adaptations */
  .page-blog-tj77-code-popular-games-strategy video,
  .page-blog-tj77-code-popular-games-strategy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-blog-tj77-code-popular-games-strategy__video-section,
  .page-blog-tj77-code-popular-games-strategy__video-container,
  .page-blog-tj77-code-popular-games-strategy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-blog-tj77-code-popular-games-strategy__video-section {
    padding-top: 10px !important;
  }

  .page-blog-tj77-code-popular-games-strategy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Color Contrast Fixes (if needed) */
.page-blog-tj77-code-popular-games-strategy__dark-bg {
  color: #ffffff; /* Dark background, light text */
}

.page-blog-tj77-code-popular-games-strategy__light-bg {
  color: #333333; /* Light background, dark text */
}