/* style/index-featured-games.css */
.page-index-featured-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F;
}

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

.page-index-featured-games .highlight {
  color: #FFD700;
}

/* Hero Section */
.page-index-featured-games__hero {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-featured-games__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract,gaming,lines]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-featured-games__hero-title {
  font-size: 3.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.page-index-featured-games__hero-subtitle {
  font-size: 1.3em;
  color: #B0B0B0;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.page-index-featured-games__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* General Buttons */
.page-index-featured-games__btn {
  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;
  text-align: center;
}

.page-index-featured-games__btn--primary {
  background-color: #FFD700;
  color: #0A192F;
  border: 2px solid #FFD700;
}

.page-index-featured-games__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-index-featured-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

/* Sections */
.page-index-featured-games__section {
  padding: 80px 0;
}

.page-index-featured-games__section--about {
  background-color: #1A2E44;
}

.page-index-featured-games__section-title {
  font-size: 2.8em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 60px;
}

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  max-width: 900px;
  margin: -40px auto 60px;
}

.page-index-featured-games__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-featured-games__feature-item {
  background-color: #0A192F;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-index-featured-games__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-index-featured-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-featured-games__feature-text {
  font-size: 1em;
  color: #B0B0B0;
  line-height: 1.6;
}

/* Games Section */
.page-index-featured-games__section--games {
  background-color: #0A192F;
}

.page-index-featured-games__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
}

.page-index-featured-games__game-category:last-of-type {
  margin-bottom: 0;
}

.page-index-featured-games__game-category--reverse {
  flex-direction: row-reverse;
}

.page-index-featured-games__game-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.page-index-featured-games__game-image:hover {
  transform: scale(1.05);
}

.page-index-featured-games__game-content {
  flex: 1;
  min-width: 300px;
}

.page-index-featured-games__game-title {
  font-size: 2.2em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-index-featured-games__game-text {
  font-size: 1.1em;
  color: #B0B0B0;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* CTA Section */
.page-index-featured-games__section--cta {
  background-color: #1A2E44;
  text-align: center;
}

.page-index-featured-games__cta-content {
  max-width: 900px;
}

.page-index-featured-games__cta-title {
  font-size: 2.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-index-featured-games__cta-text {
  font-size: 1.2em;
  color: #B0B0B0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index-featured-games__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* FAQ Section */
.page-index-featured-games__section--faq {
  background-color: #0A192F;
}

.page-index-featured-games__faq-item {
  background-color: #1A2E44;
  border-radius: 8px;
  padding: 25px 30px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

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

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

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

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

.page-index-featured-games__faq-answer.active {
  max-height: 300px; /* Adjust as needed */
  opacity: 1;
}

/* Contact Section */
.page-index-featured-games__section--contact {
  background-color: #1A2E44;
  text-align: center;
}

.page-index-featured-games__contact-content {
  max-width: 800px;
}

.page-index-featured-games__contact-title {
  font-size: 2.5em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.page-index-featured-games__contact-text {
  font-size: 1.2em;
  color: #B0B0B0;
  margin-bottom: 30px;
}

.page-index-featured-games__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.page-index-featured-games__contact-list li {
  font-size: 1.1em;
  color: #E0E0E0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-index-featured-games__contact-icon {
  width: 24px;
  height: 24px;
  filter: invert(80%) sepia(100%) saturate(2000%) hue-rotate(30deg) brightness(100%); /* Gold tint */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index-featured-games__hero-title {
    font-size: 2.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__game-category {
    flex-direction: column;
  }
  .page-index-featured-games__game-category--reverse {
    flex-direction: column;
  }
  .page-index-featured-games__game-image-wrapper {
    width: 100%;
  }
  .page-index-featured-games__game-content {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__hero {
    padding: 80px 0;
  }
  .page-index-featured-games__hero-title {
    font-size: 2.2em;
  }
  .page-index-featured-games__hero-subtitle {
    font-size: 1em;
  }
  .page-index-featured-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-featured-games__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-index-featured-games__section {
    padding: 60px 0;
  }
  .page-index-featured-games__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-index-featured-games__section-description {
    margin-bottom: 40px;
  }
  .page-index-featured-games__feature-item {
    padding: 25px;
  }
  .page-index-featured-games__game-category {
    margin-bottom: 60px;
  }
  .page-index-featured-games__game-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__game-text {
    font-size: 0.95em;
  }
  .page-index-featured-games__cta-title,
  .page-index-featured-games__contact-title {
    font-size: 2em;
  }
  .page-index-featured-games__cta-text,
  .page-index-featured-games__contact-text {
    font-size: 1em;
  }
  .page-index-featured-games__contact-list {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-index-featured-games__hero-title {
    font-size: 1.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 1.5em;
  }
  .page-index-featured-games__btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index-featured-games__cta-title,
  .page-index-featured-games__contact-title {
    font-size: 1.6em;
  }
  .page-index-featured-games__faq-question {
    font-size: 1.1em;
  }
}