/* style/index-top-games-showcase.css */

.page-index-top-games-showcase {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Light text on dark background */
  background-color: #0A1931; /* Main background color */
  line-height: 1.6;
}

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

.page-index-top-games-showcase__container--center {
  text-align: center;
}

.page-index-top-games-showcase__section {
  padding: 80px 0;
}

.page-index-top-games-showcase__section:nth-of-type(even) {
  background-color: #0d2140; /* Slightly lighter dark for contrast */
}

.page-index-top-games-showcase__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #0A1931 0%, #1a3a60 100%);
  position: relative;
  overflow: hidden;
}

.page-index-top-games-showcase__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-index-top-games-showcase__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-top-games-showcase__hero-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 40px;
}

.page-index-top-games-showcase__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index-top-games-showcase__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.page-index-top-games-showcase__btn--primary {
  background-color: #FFD700;
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-index-top-games-showcase__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-index-top-games-showcase__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-index-top-games-showcase__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A1931;
}

.page-index-top-games-showcase__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-index-top-games-showcase__hero-image-wrapper {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
  display: flex;
  justify-content: center;
}

.page-index-top-games-showcase__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: 500px;
  object-fit: cover;
}

.page-index-top-games-showcase__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-top-games-showcase__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-index-top-games-showcase__section-intro {
  font-size: 1.1em;
  color: #E0E0E0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.page-index-top-games-showcase__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-index-top-games-showcase__feature-item {
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-top-games-showcase__feature-item:hover {
  transform: translateY(-5px);
  background-color: #214a7a;
}

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

.page-index-top-games-showcase__game-category {
  margin-bottom: 60px;
}

.page-index-top-games-showcase__category-title {
  font-size: 2em;
  color: #FFD700;
  text-align: center;
  margin: 40px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.page-index-top-games-showcase__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index-top-games-showcase__game-card {
  background-color: #1a3a60;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease;
}

.page-index-top-games-showcase__game-card:hover {
  transform: translateY(-8px);
}

.page-index-top-games-showcase__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index-top-games-showcase__game-name {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-top-games-showcase__game-description {
  color: #E0E0E0;
  padding: 0 15px;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.page-index-top-games-showcase__cta-text {
  text-align: center;
  font-size: 1.1em;
  margin-top: 40px;
  color: #E0E0E0;
}

.page-index-top-games-showcase__link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-top-games-showcase__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-index-top-games-showcase__step-item {
  background-color: #1a3a60;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index-top-games-showcase__step-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-top-games-showcase__faq-list {
  margin-top: 40px;
}

.page-index-top-games-showcase__faq-item {
  background-color: #1a3a60;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-index-top-games-showcase__faq-question {
  font-size: 1.2em;
  color: #FFD700;
  padding: 20px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #1a3a60;
  transition: background-color 0.3s ease;
}

.page-index-top-games-showcase__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-top-games-showcase__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-index-top-games-showcase__faq-answer {
  padding: 0 25px 20px 25px;
  color: #E0E0E0;
  font-size: 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-top-games-showcase__faq-question.active + .page-index-top-games-showcase__faq-answer {
  max-height: 200px; /* Adjust based on expected content length */
  padding-top: 10px;
}

.page-index-top-games-showcase__final-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-top-games-showcase__hero-title {
    font-size: 2.8em;
  }

  .page-index-top-games-showcase__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-top-games-showcase__hero {
    padding: 80px 20px;
  }

  .page-index-top-games-showcase__hero-title {
    font-size: 2.2em;
  }

  .page-index-top-games-showcase__hero-description {
    font-size: 1em;
  }

  .page-index-top-games-showcase__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-top-games-showcase__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-index-top-games-showcase__section {
    padding: 60px 0;
  }

  .page-index-top-games-showcase__section-title {
    font-size: 1.8em;
  }

  .page-index-top-games-showcase__game-grid,
  .page-index-top-games-showcase__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .page-index-top-games-showcase__final-actions {
    flex-direction: column;
    gap: 15px;
  }
}

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

  .page-index-top-games-showcase__section-title {
    font-size: 1.5em;
  }

  .page-index-top-games-showcase__game-grid,
  .page-index-top-games-showcase__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-index-top-games-showcase__hero-image {
    max-height: 300px;
  }
}