.page-index-core-games-introduction {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body, but reinforce */
}

.page-index-core-games-introduction__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-core-games-introduction__hero-section {
  position: relative;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, var(--primary-color, #007bff) 0%, #0056b3 100%);
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-index-core-games-introduction__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffc107; /* Highlight H1 with secondary color */
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-index-core-games-introduction__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-core-games-introduction__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-core-games-introduction__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: nowrap;
  word-wrap: break-word;
}

.page-index-core-games-introduction__btn-primary {
  background-color: var(--primary-color, #007bff);
  color: #ffffff;
  border: 2px solid var(--primary-color, #007bff);
}

.page-index-core-games-introduction__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-core-games-introduction__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Secondary color for text */
  border: 2px solid #ffc107;
}

.page-index-core-games-introduction__btn-secondary:hover {
  background-color: #ffc107;
  color: #121212; /* Dark text on light background for contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-index-core-games-introduction__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  color: #ffc107; /* Consistent secondary color for section titles */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-core-games-introduction__intro-section,
.page-index-core-games-introduction__advantages-section,
.page-index-core-games-introduction__conclusion-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

.page-index-core-games-introduction__games-section,
.page-index-core-games-introduction__start-guide-section {
  padding: 80px 0;
  background-color: #121212;
  color: #f0f0f0;
}

.page-index-core-games-introduction__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #cccccc;
}

.page-index-core-games-introduction__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-core-games-introduction__game-category {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-index-core-games-introduction__game-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: var(--primary-color, #007bff);
  font-weight: bold;
}

.page-index-core-games-introduction__learn-more-button {
  display: inline-block;
  padding: 10px 25px;
  margin-top: 20px;
  background-color: var(--secondary-color, #ffc107);
  color: #121212;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index-core-games-introduction__learn-more-button:hover {
  background-color: #e0a800;
  color: #000000;
}

.page-index-core-games-introduction__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-games-introduction__advantage-item {
  background-color: #222222;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-core-games-introduction__advantage-icon {
  width: 120px; /* Smaller display size for icons */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.5)); /* Allowed shadow, not color filter */
}

.page-index-core-games-introduction__advantage-title {
  font-size: 1.5em;
  color: var(--secondary-color, #ffc107);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-core-games-introduction__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-index-core-games-introduction__guide-item {
  background-color: #1a1a1a;
  border-left: 5px solid var(--primary-color, #007bff);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index-core-games-introduction__guide-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-core-games-introduction__inline-button {
  display: inline-block;
  padding: 8px 18px;
  margin-top: 15px;
  background-color: var(--primary-color, #007bff);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index-core-games-introduction__inline-button:hover {
  background-color: #0056b3;
}

.page-index-core-games-introduction__cta-bottom,
.page-index-core-games-introduction__cta-final {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-core-games-introduction__main-title {
    font-size: 2.8em;
  }
  .page-index-core-games-introduction__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-core-games-introduction__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-index-core-games-introduction__main-title {
    font-size: 2.2em;
  }
  .page-index-core-games-introduction__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-index-core-games-introduction__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-index-core-games-introduction__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-core-games-introduction__intro-section,
  .page-index-core-games-introduction__games-section,
  .page-index-core-games-introduction__advantages-section,
  .page-index-core-games-introduction__start-guide-section,
  .page-index-core-games-introduction__conclusion-section {
    padding: 40px 0;
  }
  .page-index-core-games-introduction__container {
    padding: 0 15px;
  }
  .page-index-core-games-introduction__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index-core-games-introduction__paragraph {
    font-size: 0.95em;
  }
  .page-index-core-games-introduction__image {
    margin: 20px auto;
    border-radius: 8px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-core-games-introduction__game-category {
    padding: 20px;
    margin-bottom: 30px;
  }
  .page-index-core-games-introduction__game-title {
    font-size: 1.5em;
  }
  .page-index-core-games-introduction__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index-core-games-introduction__advantage-item {
    padding: 20px;
  }
  .page-index-core-games-introduction__advantage-icon {
    width: 100px;
    height: 100px;
  }
  .page-index-core-games-introduction__advantage-title {
    font-size: 1.3em;
  }
  .page-index-core-games-introduction__guide-item {
    padding: 20px;
    margin-bottom: 20px;
  }
  .page-index-core-games-introduction__guide-title {
    font-size: 1.3em;
  }
  .page-index-core-games-introduction__cta-bottom,
  .page-index-core-games-introduction__cta-final {
    margin-top: 30px;
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-index-core-games-introduction__main-title {
    font-size: 1.8em;
  }
  .page-index-core-games-introduction__section-title {
    font-size: 1.5em;
  }
  .page-index-core-games-introduction__game-title {
    font-size: 1.3em;
  }
  .page-index-core-games-introduction__advantage-title,
  .page-index-core-games-introduction__guide-title {
    font-size: 1.1em;
  }
  .page-index-core-games-introduction__cta-button {
    padding: 10px 15px;
    font-size: 0.9em;
  }
  .page-index-core-games-introduction__learn-more-button,
  .page-index-core-games-introduction__inline-button {
    padding: 8px 15px;
    font-size: 0.9em;
  }
}

/* Ensure all images are responsive and do not cause overflow */
.page-index-core-games-introduction img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-index-core-games-introduction__section,
.page-index-core-games-introduction__card,
.page-index-core-games-introduction__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-index-core-games-introduction img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index-core-games-introduction__section,
  .page-index-core-games-introduction__card,
  .page-index-core-games-introduction__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Specific for hero section to handle padding-top */
  .page-index-core-games-introduction__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
}