.page-index-core-features {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #E0E0E0; /* Light gray text for dark background */
  background-color: #0A2239; /* Main dark background */
  line-height: 1.6;
}

.page-index-core-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-core-features__section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A2239;
}

.page-index-core-features__section--dark {
  background-color: #081C2E; /* Slightly darker shade for contrast */
}

.page-index-core-features__section--cta {
  background: linear-gradient(135deg, #0A2239, #2C5282); /* Gradient for CTA section */
  padding: 100px 0;
}

.page-index-core-features__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(to right, #0A2239, #1a3a5a);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-index-core-features__hero-content {
  max-width: 800px;
  z-index: 1;
}

.page-index-core-features__hero h1 {
  font-size: 3.2em;
  color: #FFD700; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-core-features__hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #E0E0E0;
}

.page-index-core-features__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  overflow: hidden;
}

.page-index-core-features__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(50%);
  transform: scale(1.1);
}

.page-index-core-features h2 {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.page-index-core-features h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #DC143C; /* Red underline */
  border-radius: 2px;
}

.page-index-core-features h3 {
  font-size: 1.8em;
  color: #FFD700; /* Gold for subheadings */
  margin-bottom: 15px;
}

.page-index-core-features p {
  font-size: 1.1em;
  color: #B0B0B0;
  margin-bottom: 20px;
}

.page-index-core-features__content-block {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

.page-index-core-features__content-block--reversed {
  flex-direction: row-reverse;
}

.page-index-core-features__content-block p {
  flex: 1;
  color: #E0E0E0;
}

.page-index-core-features__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-core-features__image--left {
  margin-right: 20px;
}

.page-index-core-features__image--right {
  margin-left: 20px;
}

.page-index-core-features__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;
  cursor: pointer;
  text-align: center;
}

.page-index-core-features__button--primary {
  background-color: #DC143C; /* Red for primary action */
  color: #FFFFFF;
  border: 2px solid #DC143C;
}

.page-index-core-features__button--primary:hover {
  background-color: #A3112F;
  border-color: #A3112F;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(220, 20, 60, 0.4);
}

.page-index-core-features__button--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold for secondary action */
  border: 2px solid #FFD700;
}

.page-index-core-features__button--secondary:hover {
  background-color: #FFD700;
  color: #0A2239;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

.page-index-core-features__button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-index-core-features__button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-index-core-features__cta-center {
  margin-top: 50px;
}

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

.page-index-core-features__feature-item,
.page-index-core-features__game-card,
.page-index-core-features__promo-item,
.page-index-core-features__guide-item {
  background-color: #1a3a5a; /* Darker blue background for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-core-features__feature-item:hover,
.page-index-core-features__game-card:hover,
.page-index-core-features__promo-item:hover,
.page-index-core-features__guide-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index-core-features__feature-icon,
.page-index-core-features__game-icon,
.page-index-core-features__promo-icon,
.page-index-core-features__guide-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-index-core-features__feature-item h3,
.page-index-core-features__game-card h3,
.page-index-core-features__promo-item h3,
.page-index-core-features__guide-item h3 {
  color: #FFD700;
  font-size: 1.6em;
}

.page-index-core-features__feature-item p,
.page-index-core-features__game-card p,
.page-index-core-features__promo-item p,
.page-index-core-features__guide-item p {
  color: #B0B0B0;
  font-size: 1em;
  margin-top: 10px;
}

.page-index-core-features__advantages-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-index-core-features__advantages-list li {
  background-color: #1a3a5a;
  padding: 20px 30px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 1.1em;
  color: #E0E0E0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-index-core-features__advantages-list li strong {
  color: #FFD700;
}

.page-index-core-features__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-core-features__hero h1 {
    font-size: 2.8em;
  }

  .page-index-core-features h2 {
    font-size: 2em;
  }

  .page-index-core-features__content-block {
    flex-direction: column;
    text-align: center;
  }

  .page-index-core-features__content-block--reversed {
    flex-direction: column;
  }

  .page-index-core-features__image {
    max-width: 80%;
    margin: 0 auto 30px auto !important;
  }

  .page-index-core-features__advantages-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-index-core-features__hero {
    padding: 80px 20px;
  }

  .page-index-core-features__hero h1 {
    font-size: 2.2em;
  }

  .page-index-core-features__hero p {
    font-size: 1em;
  }

  .page-index-core-features h2 {
    font-size: 1.8em;
  }

  .page-index-core-features h3 {
    font-size: 1.4em;
  }

  .page-index-core-features__section {
    padding: 60px 0;
  }

  .page-index-core-features__features-grid,
  .page-index-core-features__game-categories,
  .page-index-core-features__promotions-grid,
  .page-index-core-features__guides-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-index-core-features__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-core-features__advantages-list li {
    font-size: 1em;
  }
}