/* style/blog-game-selection-guide.css */

/* Base styles for the page */
.page-blog-game-selection-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color-page);
}

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

.page-blog-game-selection-guide__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-blog-game-selection-guide__content-area {
  font-size: 1.1em;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-blog-game-selection-guide__content-area h3 {
  font-size: 1.6em;
  color: var(--text-main);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-blog-game-selection-guide__content-area p {
  margin-bottom: 15px;
}

/* Hero Section */
.page-blog-game-selection-guide__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-color-page);
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-blog-game-selection-guide__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-blog-game-selection-guide__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  color: var(--text-main);
}

.page-blog-game-selection-guide__hero-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for responsive font size */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-blog-game-selection-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

/* CTA Buttons */
.page-blog-game-selection-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.page-blog-game-selection-guide__btn-primary,
.page-blog-game-selection-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-blog-game-selection-guide__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-blog-game-selection-guide__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-blog-game-selection-guide__btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
}

.page-blog-game-selection-guide__btn-secondary:hover {
  background-color: var(--border-color);
  color: #ffffff;
}

/* Introduction Section */
.page-blog-game-selection-guide__introduction-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

/* Criteria Section */
.page-blog-game-selection-guide__criteria-section {
  padding: 60px 0;
  background-color: var(--background-color-page);
  color: var(--text-main);
}

.page-blog-game-selection-guide__grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-blog-game-selection-guide__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-blog-game-selection-guide__card:hover {
  transform: translateY(-5px);
}

.page-blog-game-selection-guide__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-blog-game-selection-guide__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-blog-game-selection-guide__card p {
  font-size: 1em;
  color: var(--text-secondary);
}

/* Popular Games Section */
.page-blog-game-selection-guide__popular-games-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-blog-game-selection-guide__game-card {
  background-color: var(--background-color-page);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.page-blog-game-selection-guide__game-card:hover {
  transform: translateY(-5px);
}

.page-blog-game-selection-guide__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-blog-game-selection-guide__game-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-blog-game-selection-guide__game-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-blog-game-selection-guide__game-title a:hover {
  color: var(--glow);
}

.page-blog-game-selection-guide__game-card p {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Strategy Section */
.page-blog-game-selection-guide__strategy-section {
  padding: 60px 0;
  background-color: var(--background-color-page);
  color: var(--text-main);
}

.page-blog-game-selection-guide__strategy-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.page-blog-game-selection-guide__strategy-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--text-main);
}

/* FAQ Section */
.page-blog-game-selection-guide__faq-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-blog-game-selection-guide__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-blog-game-selection-guide__faq-item {
  background-color: var(--background-color-page);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-blog-game-selection-guide__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-blog-game-selection-guide__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-blog-game-selection-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-main);
  background-color: var(--background-color-page);
  transition: background-color 0.3s ease;
}

.page-blog-game-selection-guide__faq-question:hover {
  background-color: var(--deep-green);
}

.page-blog-game-selection-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow);
}

.page-blog-game-selection-guide__faq-item[open] .page-blog-game-selection-guide__faq-toggle {
  transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-blog-game-selection-guide__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  background-color: var(--card-bg);
  border-top: 1px solid var(--divider);
}

/* Conclusion Section */
.page-blog-game-selection-guide__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--background-color-page);
  color: var(--text-main);
}

.page-blog-game-selection-guide__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: var(--text-secondary);
}

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

/* Global text color based on body background (var(--background-color) from shared.css) */
/* Assuming shared.css body background is dark, setting light text */
.page-blog-game-selection-guide {
  color: var(--text-main); /* Default to light text */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-blog-game-selection-guide__section-title {
    font-size: 2em;
  }

  .page-blog-game-selection-guide__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-blog-game-selection-guide__hero-description {
    font-size: 1.1em;
  }

  .page-blog-game-selection-guide__card-title {
    font-size: 1.3em;
  }

  .page-blog-game-selection-guide__game-title {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-blog-game-selection-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-blog-game-selection-guide__container {
    padding: 0 15px;
  }

  .page-blog-game-selection-guide__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-blog-game-selection-guide__hero-content {
    padding: 30px 15px;
  }

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

  .page-blog-game-selection-guide__hero-description {
    font-size: 1em;
  }

  .page-blog-game-selection-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-blog-game-selection-guide__btn-primary,
  .page-blog-game-selection-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-blog-game-selection-guide__grid-cards,
  .page-blog-game-selection-guide__game-categories {
    grid-template-columns: 1fr;
  }

  .page-blog-game-selection-guide__card,
  .page-blog-game-selection-guide__game-card,
  .page-blog-game-selection-guide__strategy-item,
  .page-blog-game-selection-guide__faq-item {
    padding: 20px;
  }

  .page-blog-game-selection-guide__card-image,
  .page-blog-game-selection-guide__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-blog-game-selection-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-blog-game-selection-guide__faq-answer {
    padding: 10px 20px 15px;
  }

  /* Ensure all image containers are responsive */
  .page-blog-game-selection-guide__hero-image-wrapper,
  .page-blog-game-selection-guide__card,
  .page-blog-game-selection-guide__game-card,
  .page-blog-game-selection-guide__introduction-section,
  .page-blog-game-selection-guide__criteria-section,
  .page-blog-game-selection-guide__popular-games-section,
  .page-blog-game-selection-guide__strategy-section,
  .page-blog-game-selection-guide__faq-section,
  .page-blog-game-selection-guide__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-blog-game-selection-guide__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}