/* style/resources-popular-game-analysis.css */
.page-resources-popular-game-analysis {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-resources-popular-game-analysis__hero-content-section {
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #3f51b5);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-resources-popular-game-analysis__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources-popular-game-analysis__intro-text {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-resources-popular-game-analysis__intro-text a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__intro-text a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__section {
  padding: 60px 0;
}

.page-resources-popular-game-analysis__section--dark {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-resources-popular-game-analysis__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Gold color for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-resources-popular-game-analysis__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-popular-game-analysis__text-block--center {
  text-align: center;
}

.page-resources-popular-game-analysis__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__text-block a:hover {
  text-decoration: underline;
}

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

.page-resources-popular-game-analysis__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff; /* Light text for card content */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-popular-game-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-popular-game-analysis__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFD700; /* Gold for card titles */
  font-weight: bold;
}

.page-resources-popular-game-analysis__card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-popular-game-analysis__card p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__card p a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__game-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-popular-game-analysis__game-card-detail {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-popular-game-analysis__game-card-detail-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-popular-game-analysis__game-card-detail p {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-resources-popular-game-analysis__cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Gold gradient */
  color: #0A2463; /* Dark blue text for contrast */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: auto; /* Push button to bottom */
}

.page-resources-popular-game-analysis__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-popular-game-analysis__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-resources-popular-game-analysis__benefit-list,
.page-resources-popular-game-analysis__tip-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-resources-popular-game-analysis__benefit-list li,
.page-resources-popular-game-analysis__tip-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #FFD700;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-resources-popular-game-analysis__benefit-list li strong,
.page-resources-popular-game-analysis__tip-list li strong {
  color: #FFD700;
}

.page-resources-popular-game-analysis__benefit-list li a,
.page-resources-popular-game-analysis__tip-list li a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__benefit-list li a:hover,
.page-resources-popular-game-analysis__tip-list li a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__cta-link {
  color: #FFD700;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-resources-popular-game-analysis__cta-link:hover {
  color: #FFA500;
  text-decoration: underline;
}

.page-resources-popular-game-analysis__platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-popular-game-analysis__platform-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-resources-popular-game-analysis__platform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-popular-game-analysis__platform-icon {
  max-width: 150px; /* Increased icon size */
  height: auto;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
}

.page-resources-popular-game-analysis__platform-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-resources-popular-game-analysis__platform-link {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-popular-game-analysis__platform-link:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__platform-desc {
  font-size: 0.95em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-resources-popular-game-analysis__platform-desc a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__platform-desc a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-popular-game-analysis__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-resources-popular-game-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-resources-popular-game-analysis__faq-item.active .page-resources-popular-game-analysis__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-resources-popular-game-analysis__faq-item.active .page-resources-popular-game-analysis__faq-answer p a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-popular-game-analysis__faq-item.active .page-resources-popular-game-analysis__faq-answer p a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-popular-game-analysis__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-resources-popular-game-analysis__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-resources-popular-game-analysis__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700; /* Gold for FAQ questions */
}

.page-resources-popular-game-analysis__faq-question h3 a {
  color: #FFD700;
  text-decoration: none;
  pointer-events: auto; /* Allow link click */
}

.page-resources-popular-game-analysis__faq-question h3 a:hover {
  text-decoration: underline;
}

.page-resources-popular-game-analysis__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-resources-popular-game-analysis__faq-item.active .page-resources-popular-game-analysis__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-resources-popular-game-analysis__image-wrapper {
  margin: 40px 0;
  text-align: center;
}

.page-resources-popular-game-analysis__image-wrapper--center {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.page-resources-popular-game-analysis__image-wrapper--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  width: 40%; /* Adjust as needed */
  max-width: 400px;
}

.page-resources-popular-game-analysis__image-wrapper--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  width: 40%; /* Adjust as needed */
  max-width: 400px;
}

.page-resources-popular-game-analysis__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: block; /* Ensure it doesn't leave extra space below */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-resources-popular-game-analysis__main-title {
    font-size: 2.8em;
  }

  .page-resources-popular-game-analysis__section-title {
    font-size: 2em;
  }

  .page-resources-popular-game-analysis__grid,
  .page-resources-popular-game-analysis__game-guide-grid,
  .page-resources-popular-game-analysis__platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-resources-popular-game-analysis__card,
  .page-resources-popular-game-analysis__game-card-detail,
  .page-resources-popular-game-analysis__platform-card {
    padding: 25px;
  }

  .page-resources-popular-game-analysis__card-title {
    font-size: 1.4em;
  }

  .page-resources-popular-game-analysis__game-card-detail-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-resources-popular-game-analysis__hero-content-section {
    padding-top: 100px !important; /* Mobile fixed header adjustment */
    padding-bottom: 30px;
  }

  .page-resources-popular-game-analysis__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-resources-popular-game-analysis__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-resources-popular-game-analysis__section {
    padding: 40px 0;
  }

  .page-resources-popular-game-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-resources-popular-game-analysis__text-block {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-resources-popular-game-analysis__grid,
  .page-resources-popular-game-analysis__game-guide-grid,
  .page-resources-popular-game-analysis__platform-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-resources-popular-game-analysis__card,
  .page-resources-popular-game-analysis__game-card-detail,
  .page-resources-popular-game-analysis__platform-card {
    padding: 20px;
  }

  .page-resources-popular-game-analysis__card-title {
    font-size: 1.2em;
  }

  .page-resources-popular-game-analysis__game-card-detail-title {
    font-size: 1.4em;
  }

  .page-resources-popular-game-analysis__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-resources-popular-game-analysis__benefit-list li,
  .page-resources-popular-game-analysis__tip-list li {
    padding: 15px;
    font-size: 0.95em;
  }

  .page-resources-popular-game-analysis__platform-icon {
    max-width: 120px;
  }

  .page-resources-popular-game-analysis__platform-name {
    font-size: 1.3em;
  }

  .page-resources-popular-game-analysis__platform-desc {
    font-size: 0.9em;
  }

  .page-resources-popular-game-analysis__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-resources-popular-game-analysis__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-resources-popular-game-analysis__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-resources-popular-game-analysis__faq-answer {
    padding: 0 15px;
  }
  
  .page-resources-popular-game-analysis__faq-item.active .page-resources-popular-game-analysis__faq-answer {
    padding: 15px !important;
  }

  /* Ensure images do not overflow */
  .page-resources-popular-game-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-resources-popular-game-analysis__section,
  .page-resources-popular-game-analysis__card,
  .page-resources-popular-game-analysis__container,
  .page-resources-popular-game-analysis__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-popular-game-analysis__image-wrapper--left,
  .page-resources-popular-game-analysis__image-wrapper--right {
    float: none;
    width: 100%;
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .page-resources-popular-game-analysis__main-title {
    font-size: 1.8em;
  }

  .page-resources-popular-game-analysis__section-title {
    font-size: 1.5em;
  }

  .page-resources-popular-game-analysis__card-title {
    font-size: 1.1em;
  }

  .page-resources-popular-game-analysis__game-card-detail-title {
    font-size: 1.2em;
  }

  .page-resources-popular-game-analysis__platform-name {
    font-size: 1.1em;
  }

  .page-resources-popular-game-analysis__cta-button {
    font-size: 0.85em;
    padding: 8px 15px;
  }

  .page-resources-popular-game-analysis__faq-question h3 {
    font-size: 0.95em;
  }
}