.page-index-core-advantages {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #222; /* Inherited from shared.css body background */
}

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

/* Hero Section */
.page-index-core-advantages__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A2463; /* Use primary brand color for hero background */
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

.page-index-core-advantages__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.3;
}

.page-index-core-advantages__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Use accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 900px;
}

.page-index-core-advantages__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
}

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

/* General Section Styles */
.page-index-core-advantages__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-core-advantages__dark-section {
  background-color: #0A2463;
  color: #ffffff;
}

.page-index-core-advantages__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-index-core-advantages__dark-section .page-index-core-advantages__section-title {
  color: #FFD700;
}

.page-index-core-advantages__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Feature Grid */
.page-index-core-advantages__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-index-core-advantages__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-core-advantages__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__feature-text {
  font-size: 1em;
}

/* Game Showcase */
.page-index-core-advantages__game-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages__game-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-core-advantages__game-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-core-advantages__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index-core-advantages__game-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-core-advantages__game-title a:hover {
  color: #ffffff;
}

.page-index-core-advantages__game-text {
  font-size: 0.95em;
}

/* Promo Grid */
.page-index-core-advantages__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages__promo-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-index-core-advantages__promo-image {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-core-advantages__promo-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__promo-text {
  font-size: 1em;
}

/* Content Grid */
.page-index-core-advantages__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
  text-align: left;
}

.page-index-core-advantages__content-text {
  flex: 1;
}

.page-index-core-advantages__content-subtitle {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__content-paragraph {
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-index-core-advantages__content-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index-core-advantages__content-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Support Cards */
.page-index-core-advantages__support-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages__support-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

.page-index-core-advantages__support-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-index-core-advantages__support-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__support-text {
  font-size: 1em;
}

/* Video Section */
.page-index-core-advantages__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  overflow: hidden;
}

.page-index-core-advantages__video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.page-index-core-advantages__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-index-core-advantages__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

/* Steps Grid */
.page-index-core-advantages__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-core-advantages__step-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-core-advantages__step-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__step-text {
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-index-core-advantages__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-index-core-advantages__faq-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-core-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFD700;
  background-color: #0A2463;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-index-core-advantages__faq-question:hover {
  background-color: #1a3a73;
}

.page-index-core-advantages__faq-question h3 {
  margin: 0;
  color: inherit;
}

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

.page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-toggle {
  transform: rotate(45deg);
}

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

.page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-index-core-advantages__faq-answer p {
  margin-bottom: 0;
}

/* Buttons */
.page-index-core-advantages__btn-primary,
.page-index-core-advantages__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  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-index-core-advantages__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-index-core-advantages__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-core-advantages__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-core-advantages__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-index-core-advantages__cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  justify-content: center;
}

.page-index-core-advantages__cta-buttons--center {
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-core-advantages__hero-title {
    font-size: 3em;
  }

  .page-index-core-advantages__section-title {
    font-size: 2em;
  }

  .page-index-core-advantages__content-grid {
    flex-direction: column;
    text-align: center;
  }

  .page-index-core-advantages__content-image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages__hero-section {
    padding: 60px 15px;
  }

  .page-index-core-advantages__hero-title {
    font-size: 2.2em;
    line-height: 1.3;
  }

  .page-index-core-advantages__hero-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-core-advantages__section {
    padding: 40px 0;
  }

  .page-index-core-advantages__section-title {
    font-size: 1.8em;
  }

  .page-index-core-advantages__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-core-advantages__feature-grid,
  .page-index-core-advantages__game-showcase,
  .page-index-core-advantages__promo-grid,
  .page-index-core-advantages__support-cards,
  .page-index-core-advantages__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-core-advantages__feature-card,
  .page-index-core-advantages__game-card,
  .page-index-core-advantages__promo-card,
  .page-index-core-advantages__support-card,
  .page-index-core-advantages__step-card {
    padding: 20px 15px;
  }

  .page-index-core-advantages__feature-title,
  .page-index-core-advantages__game-title,
  .page-index-core-advantages__promo-title,
  .page-index-core-advantages__support-title,
  .page-index-core-advantages__step-title {
    font-size: 1.3em;
  }

  .page-index-core-advantages__content-subtitle {
    font-size: 1.5em;
  }

  .page-index-core-advantages__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-index-core-advantages__faq-answer {
    padding: 0 20px;
  }

  .page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-answer {
    padding: 15px 20px;
  }

  .page-index-core-advantages__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-index-core-advantages__btn-primary,
  .page-index-core-advantages__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Image and Video Responsive */
  .page-index-core-advantages img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-core-advantages video,
  .page-index-core-advantages__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-index-core-advantages__video-section,
  .page-index-core-advantages__video-container,
  .page-index-core-advantages__video-wrapper,
  .page-index-core-advantages__section,
  .page-index-core-advantages__card,
  .page-index-core-advantages__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-index-core-advantages__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-index-core-advantages__hero-title {
    font-size: 1.8em;
  }

  .page-index-core-advantages__section-title {
    font-size: 1.5em;
  }

  .page-index-core-advantages__feature-title,
  .page-index-core-advantages__game-title,
  .page-index-core-advantages__promo-title,
  .page-index-core-advantages__support-title,
  .page-index-core-advantages__step-title {
    font-size: 1.2em;
  }

  .page-index-core-advantages__faq-question h3 {
    font-size: 1em;
  }

  .page-index-core-advantages__btn-primary,
  .page-index-core-advantages__btn-secondary {
    font-size: 0.95em;
    padding: 10px 15px;
  }
}