.page-expert-analysis {
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-expert-analysis__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1A2B4C; /* Main brand color */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-expert-analysis__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-expert-analysis__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-expert-analysis__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-expert-analysis__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for emphasis */
  line-height: 1.2;
}

.page-expert-analysis__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-expert-analysis__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-expert-analysis__btn-primary,
.page-expert-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-expert-analysis__btn-primary {
  background-color: #FFD700; /* Accent color */
  color: #1A2B4C; /* Main brand color for text */
  border: 2px solid #FFD700;
}

.page-expert-analysis__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-expert-analysis__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Accent color */
  border: 2px solid #FFD700;
}

.page-expert-analysis__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
}

.page-expert-analysis__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Accent color */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-expert-analysis__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-expert-analysis__intro-section,
.page-expert-analysis__other-games-section,
.page-expert-analysis__faq-section,
.page-expert-analysis__cta-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-expert-analysis__dark-section {
  background-color: #1A2B4C; /* Main brand color for dark sections */
  color: #ffffff;
  padding: 80px 0;
}

.page-expert-analysis__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-expert-analysis__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-expert-analysis__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-analysis__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.page-expert-analysis__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-expert-analysis__card-title {
  font-size: 1.6em;
  color: #FFD700; /* Accent color */
  margin-bottom: 15px;
}

.page-expert-analysis__card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-expert-analysis__card-title a:hover {
  text-decoration: underline;
}

.page-expert-analysis__list {
  list-style-type: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-expert-analysis__list li {
  margin-bottom: 10px;
}

.page-expert-analysis__list li a {
  color: #FFD700;
  text-decoration: none;
}

.page-expert-analysis__list li a:hover {
  text-decoration: underline;
}

.page-expert-analysis__list-bullet {
  list-style-type: disc;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-expert-analysis__list-bullet li {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-expert-analysis__list-bullet li strong {
  color: #FFD700;
}

.page-expert-analysis__list-bullet li a {
  color: #FFD700;
  text-decoration: none;
}

.page-expert-analysis__list-bullet li a:hover {
  text-decoration: underline;
}

.page-expert-analysis__faq-list {
  margin-top: 40px;
}

.page-expert-analysis__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-expert-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.3em;
  font-weight: bold;
  color: #FFD700; /* Accent color */
  transition: background-color 0.3s ease;
}

.page-expert-analysis__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-expert-analysis__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

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

.page-expert-analysis__faq-item.active .page-expert-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-expert-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-expert-analysis__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-expert-analysis__faq-answer a {
  color: #FFD700;
  text-decoration: none;
}

.page-expert-analysis__faq-answer a:hover {
  text-decoration: underline;
}

.page-expert-analysis__cta-section .page-expert-analysis__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

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

  .page-expert-analysis__hero-description {
    font-size: 1.2em;
  }

  .page-expert-analysis__section-title {
    font-size: 2em;
  }

  .page-expert-analysis__card-title {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-expert-analysis__hero-section {
    min-height: 500px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-expert-analysis__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-expert-analysis__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-expert-analysis__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

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

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

  .page-expert-analysis__intro-section,
  .page-expert-analysis__methodology-section,
  .page-expert-analysis__other-games-section,
  .page-expert-analysis__tips-section,
  .page-expert-analysis__faq-section,
  .page-expert-analysis__cta-section {
    padding: 50px 0;
  }

  .page-expert-analysis__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-expert-analysis__paragraph {
    font-size: 1em;
  }

  .page-expert-analysis__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-expert-analysis__card {
    padding: 20px;
  }

  .page-expert-analysis__card-image {
    height: 200px;
  }

  .page-expert-analysis__card-title {
    font-size: 1.2em;
  }

  .page-expert-analysis__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-expert-analysis__faq-answer {
    padding: 10px 20px;
  }

  .page-expert-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-expert-analysis__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}