.page-e-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Lighter text on dark background */
  background-color: #1A2B4C; /* Main dark background */
}

.page-e-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-e-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #1A2B4C 0%, #0F1A2D 100%); /* Darker gradient */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-e-games__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-e-games__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F0B90B; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-e-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-e-games__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-e-games__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-e-games__button--primary {
  background-color: #F0B90B; /* Accent color for primary button */
  color: #1A2B4C; /* Dark text on accent background */
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.4);
}

.page-e-games__button--primary:hover {
  background-color: #FFC933;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.6);
}

.page-e-games__button--secondary {
  background-color: transparent;
  color: #F0B90B; /* Accent text on dark background */
  border: 2px solid #F0B90B;
}

.page-e-games__button--secondary:hover {
  background-color: rgba(240, 185, 11, 0.1);
  transform: translateY(-3px);
}

.page-e-games__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-e-games__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-e-games__hero-image-container {
  position: absolute;
  bottom: -50px; /* Adjust to show part of the image */
  right: -100px;
  opacity: 0.3;
  z-index: 0;
  max-width: 800px;
  width: 100%;
}

.page-e-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-e-games__why-choose-section,
.page-e-games__game-categories-section,
.page-e-games__promo-section,
.page-e-games__how-to-start-section,
.page-e-games__faq-section,
.page-e-games__detail-pages-section,
.page-e-games__conclusion-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1A2B4C; /* Consistent dark background */
}

.page-e-games__why-choose-section {
  background-color: #0F1A2D; /* Slightly different dark background */
}

.page-e-games__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #F0B90B; /* Accent color for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-e-games__section-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
  color: #C0C0C0;
}

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

.page-e-games__feature-item {
  background-color: #2A3B5C; /* Slightly lighter dark background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-e-games__feature-item:hover {
  transform: translateY(-10px);
}

.page-e-games__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(240, 185, 11, 0.5));
}

.page-e-games__feature-title {
  font-size: 1.6em;
  color: #F0B90B;
  margin-bottom: 15px;
}

.page-e-games__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-e-games__category-grid,
.page-e-games__promo-grid,
.page-e-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-e-games__category-card,
.page-e-games__promo-item {
  background-color: #2A3B5C;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-e-games__category-card:hover,
.page-e-games__promo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-e-games__category-image,
.page-e-games__promo-image {
  width: 100%;
  height: 200px; /* Consistent image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-e-games__category-title,
.page-e-games__promo-title {
  font-size: 1.5em;
  color: #F0B90B;
  margin-bottom: 15px;
}

.page-e-games__category-text,
.page-e-games__promo-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #E0E0E0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-e-games__step-item {
  background-color: #2A3B5C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-e-games__step-item:hover {
  transform: translateY(-10px);
}

.page-e-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F0B90B;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-e-games__step-title {
  font-size: 1.6em;
  color: #F0B90B;
  margin-bottom: 15px;
}

.page-e-games__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
  margin-bottom: 20px;
}

.page-e-games__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-e-games__faq-item {
  background-color: #2A3B5C;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-e-games__faq-question {
  font-size: 1.3em;
  color: #F0B90B;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-e-games__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-e-games__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-e-games__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.page-e-games__faq-answer.active {
  max-height: 500px; /* Arbitrarily large to allow content */
  opacity: 1;
  padding-top: 15px;
}

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

.page-e-games__detail-item {
  background-color: #2A3B5C;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: transform 0.3s ease;
}

.page-e-games__detail-item:hover {
  transform: translateY(-8px);
}

.page-e-games__detail-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-e-games__detail-title a {
  color: #F0B90B;
  text-decoration: none;
}

.page-e-games__detail-title a:hover {
  text-decoration: underline;
}

.page-e-games__detail-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.page-e-games__highlight-text {
  color: #F0B90B;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-e-games__hero-section {
    padding: 60px 20px;
  }

  .page-e-games__main-title {
    font-size: 2.8em;
  }

  .page-e-games__hero-description {
    font-size: 1.1em;
  }

  .page-e-games__section-title {
    font-size: 2.2em;
  }

  .page-e-games__hero-image-container {
    display: none; /* Hide large image on smaller screens */
  }

  .page-e-games__features-grid,
  .page-e-games__category-grid,
  .page-e-games__promo-grid,
  .page-e-games__steps-grid,
  .page-e-games__detail-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-e-games__hero-section {
    padding: 50px 15px;
  }

  .page-e-games__main-title {
    font-size: 2.2em;
  }

  .page-e-games__hero-description {
    font-size: 1em;
  }

  .page-e-games__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-e-games__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-e-games__section-title {
    font-size: 1.8em;
  }

  .page-e-games__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-e-games__features-grid,
  .page-e-games__category-grid,
  .page-e-games__promo-grid,
  .page-e-games__steps-grid,
  .page-e-games__detail-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-e-games__feature-item,
  .page-e-games__category-card,
  .page-e-games__promo-item,
  .page-e-games__step-item,
  .page-e-games__faq-item,
  .page-e-games__detail-item {
    padding: 20px;
  }

  .page-e-games__feature-title,
  .page-e-games__category-title,
  .page-e-games__promo-title,
  .page-e-games__step-title,
  .page-e-games__faq-question,
  .page-e-games__detail-title {
    font-size: 1.2em;
  }

  .page-e-games__feature-text,
  .page-e-games__category-text,
  .page-e-games__promo-text,
  .page-e-games__step-text,
  .page-e-games__faq-answer,
  .page-e-games__detail-description {
    font-size: 0.85em;
  }
}