.page-index-core-advantages {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light body background */
  line-height: 1.6;
  background-color: #f4f4f4; /* From shared.css body */
}

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

.page-index-core-advantages__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #8B0000; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-index-core-advantages__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #555555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-index-core-advantages__cta-button {
  display: inline-block;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-index-core-advantages__cta-button--primary {
  background-color: #FFD700; /* Primary color */
  color: #8B0000; /* Dark red text for contrast */
  border: 2px solid #FFD700;
}

.page-index-core-advantages__cta-button--primary:hover {
  background-color: #e6c200;
  color: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages__cta-button--secondary {
  background-color: #8B0000; /* Auxiliary color */
  color: #ffffff; /* White text for contrast */
  border: 2px solid #8B0000;
  margin-left: 20px;
}

.page-index-core-advantages__cta-button--secondary:hover {
  background-color: #a00000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages__dark-bg {
  background-color: #8B0000;
  color: #ffffff;
}

.page-index-core-advantages__dark-bg .page-index-core-advantages__section-title,
.page-index-core-advantages__dark-bg .page-index-core-advantages__section-description {
  color: #ffffff;
}

.page-index-core-advantages__light-bg {
  background-color: #f4f4f4;
  color: #333333;
}

/* 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: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, #FFD700, #8B0000);
  color: #ffffff;
}

.page-index-core-advantages__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-index-core-advantages__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

.page-index-core-advantages__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-core-advantages__hero-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-index-core-advantages__hero-description {
  font-size: 22px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Module 1: Intro Section */
.page-index-core-advantages__intro-section {
  padding: 80px 0;
}

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

.page-index-core-advantages__intro-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-index-core-advantages__intro-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index-core-advantages__intro-item-title {
  font-size: 24px;
  font-weight: 700;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-index-core-advantages__intro-item p {
  font-size: 16px;
  color: #555555;
}

/* Module 2: Quick Access Section */
.page-index-core-advantages__quick-access-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-index-core-advantages__quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-core-advantages__access-link {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-core-advantages__access-link:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  border-color: #FFD700;
}

.page-index-core-advantages__access-icon {
  font-size: 48px;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index-core-advantages__access-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-index-core-advantages__access-link p {
  font-size: 15px;
  color: #f0f0f0;
}

/* Module 3: Games Section */
.page-index-core-advantages__games-section {
  padding: 80px 0;
}

.page-index-core-advantages__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-core-advantages__game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-index-core-advantages__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-core-advantages__game-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-index-core-advantages__game-card .page-index-core-advantages__game-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 25px 10px;
  color: #8B0000;
}

.page-index-core-advantages__game-card .page-index-core-advantages__game-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-index-core-advantages__game-card .page-index-core-advantages__game-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-core-advantages__game-card p {
  font-size: 16px;
  color: #555555;
  padding: 0 25px 25px;
}

/* Module 4: Promotions Section */
.page-index-core-advantages__promotions-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-index-core-advantages__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-core-advantages__promo-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-core-advantages__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-index-core-advantages__promo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-core-advantages__promo-card .page-index-core-advantages__promo-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 25px 10px;
  color: #FFD700;
}

.page-index-core-advantages__promo-card p {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 25px 20px;
  flex-grow: 1;
}

.page-index-core-advantages__promo-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 25px 25px;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.page-index-core-advantages__promo-button:hover {
  background-color: #e6c200;
}

.page-index-core-advantages__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

/* Module 5: Security & Support Section */
.page-index-core-advantages__security-support-section {
  padding: 80px 0;
}

.page-index-core-advantages__security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-core-advantages__security-support-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-index-core-advantages__security-support-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-core-advantages__security-support-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-index-core-advantages__security-support-title {
  font-size: 24px;
  font-weight: 700;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-index-core-advantages__security-support-item p {
  font-size: 16px;
  color: #555555;
}

.page-index-core-advantages__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* Module 6: FAQ Section */
.page-index-core-advantages__faq-section {
  padding: 80px 0;
  color: #ffffff;
}

.page-index-core-advantages__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-core-advantages__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index-core-advantages__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-index-core-advantages__faq-question:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-index-core-advantages__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-index-core-advantages__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Change to minus sign visually */
}

.page-index-core-advantages__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
}

.page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 12px 12px;
}

.page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-answer p {
  color: #f0f0f0;
  font-size: 16px;
}

/* Module 7: News & Blog Section */
.page-index-core-advantages__news-blog-section {
  padding: 80px 0;
}

.page-index-core-advantages__news-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-core-advantages__news-blog-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-index-core-advantages__news-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index-core-advantages__news-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-core-advantages__news-blog-card .page-index-core-advantages__news-blog-title {
  font-size: 22px;
  font-weight: 700;
  padding: 20px 25px 10px;
}

.page-index-core-advantages__news-blog-card .page-index-core-advantages__news-blog-title a {
  color: #8B0000;
  text-decoration: none;
}

.page-index-core-advantages__news-blog-card .page-index-core-advantages__news-blog-title a:hover {
  text-decoration: underline;
  color: #FFD700;
}

.page-index-core-advantages__news-blog-card .page-index-core-advantages__news-blog-summary {
  font-size: 16px;
  color: #555555;
  padding: 0 25px 15px;
}

.page-index-core-advantages__news-blog-card .page-index-core-advantages__news-blog-date {
  font-size: 14px;
  color: #888888;
  padding: 0 25px 20px;
  display: block;
}

.page-index-core-advantages__view-all-news {
  text-align: center;
  margin-top: 50px;
}

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

  .page-index-core-advantages__hero-description {
    font-size: 20px;
  }

  .page-index-core-advantages__section-title {
    font-size: 30px;
  }

  .page-index-core-advantages__section-description {
    font-size: 16px;
  }

  .page-index-core-advantages__intro-grid,
  .page-index-core-advantages__quick-access-grid,
  .page-index-core-advantages__games-grid,
  .page-index-core-advantages__promotions-grid,
  .page-index-core-advantages__security-support-grid,
  .page-index-core-advantages__news-blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-core-advantages__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-core-advantages__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

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

  .page-index-core-advantages__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-core-advantages__cta-button--secondary {
    margin-left: 0;
  }

  .page-index-core-advantages__cta-button,
  .page-index-core-advantages__promo-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-core-advantages__hero-buttons,
  .page-index-core-advantages__view-all-promos,
  .page-index-core-advantages__view-all-news,
  .page-index-core-advantages__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-core-advantages__section-title {
    font-size: 26px;
    padding-top: 30px;
  }

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

  .page-index-core-advantages__intro-section,
  .page-index-core-advantages__quick-access-section,
  .page-index-core-advantages__games-section,
  .page-index-core-advantages__promotions-section,
  .page-index-core-advantages__security-support-section,
  .page-index-core-advantages__faq-section,
  .page-index-core-advantages__news-blog-section {
    padding: 50px 0;
  }

  .page-index-core-advantages__intro-item,
  .page-index-core-advantages__quick-access-link,
  .page-index-core-advantages__game-card,
  .page-index-core-advantages__promo-card,
  .page-index-core-advantages__security-support-item,
  .page-index-core-advantages__news-blog-card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-index-core-advantages__intro-item img,
  .page-index-core-advantages__game-card img,
  .page-index-core-advantages__promo-card img,
  .page-index-core-advantages__security-support-item img,
  .page-index-core-advantages__news-blog-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-core-advantages__faq-question {
    padding: 15px;
  }

  .page-index-core-advantages__faq-question h3 {
    font-size: 16px;
  }

  .page-index-core-advantages__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-index-core-advantages__faq-item.active .page-index-core-advantages__faq-answer p {
    font-size: 15px;
  }
}

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

  .page-index-core-advantages__hero-description {
    font-size: 15px;
  }

  .page-index-core-advantages__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index-core-advantages__section-title {
    font-size: 22px;
  }

  .page-index-core-advantages__section-description {
    font-size: 14px;
  }
}