/* style/index-top-games.css */
.page-index-top-games {
  font-family: 'Arial', sans-serif;
  color: #e5dfd3; /* Light text on dark background for general readability */
  background-color: #1A202C;
  line-height: 1.6;
}

.page-index-top-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-index-top-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-index-top-games__section:nth-of-type(even) {
  background-color: #2a303c;
}

.page-index-top-games__hero {
  background: linear-gradient(135deg, #1A202C 0%, #3a4250 100%);
  padding: 80px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #FFD700;
}

.page-index-top-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  z-index: 0;
}

.page-index-top-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.page-index-top-games__hero .page-index-top-games__container {
  position: relative;
  z-index: 1;
}

.page-index-top-games__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Auxiliary color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-top-games__hero-subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #e5dfd3;
}

.page-index-top-games__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.page-index-top-games__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-index-top-games__btn--primary:hover {
  background-color: #b39700;
  border-color: #b39700;
  color: #1A202C;
  transform: translateY(-2px);
}

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

.page-index-top-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
}

.page-index-top-games__btn--small {
  padding: 8px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

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

.page-index-top-games__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__text {
  font-size: 1.1em;
  color: #e5dfd3;
  max-width: 900px;
  margin: 0 auto 30px;
}

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

.page-index-top-games__feature-item {
  background-color: #2a303c;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-top-games__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-index-top-games__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: invert(70%) sepia(90%) saturate(2000%) hue-rotate(0deg) brightness(120%) contrast(100%); /* Gold tint */
}

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

.page-index-top-games__game-categories {
  background-color: #1A202C;
}

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

.page-index-top-games__category-item {
  background-color: #2a303c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-top-games__category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.page-index-top-games__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index-top-games__category-title {
  font-size: 1.6em;
  color: #FFD700;
  margin: 20px 15px 10px;
}

.page-index-top-games__category-item .page-index-top-games__text {
  font-size: 1em;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-index-top-games__game-spotlight {
  background-color: #2a303c;
}

.page-index-top-games__spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-index-top-games__spotlight-item {
  background-color: #1A202C;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.page-index-top-games__spotlight-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-index-top-games__spotlight-content {
  padding: 30px;
}

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

.page-index-top-games__spotlight-item .page-index-top-games__text {
  margin-bottom: 20px;
  text-align: left;
}

.page-index-top-games__how-to-join {
  background-color: #1A202C;
}

.page-index-top-games__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index-top-games__step-item {
  background-color: #2a303c;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
}

.page-index-top-games__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #1A202C;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 3px solid #1A202C;
}

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

.page-index-top-games__app-download {
  background-color: #2a303c;
}

.page-index-top-games__app-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-index-top-games__app-content {
  flex: 1;
}

.page-index-top-games__app-content .page-index-top-games__section-title,
.page-index-top-games__app-content .page-index-top-games__text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index-top-games__app-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
  color: #e5dfd3;
}

.page-index-top-games__app-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-index-top-games__list-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(70%) sepia(90%) saturate(2000%) hue-rotate(0deg) brightness(120%) contrast(100%); /* Gold tint */
}

.page-index-top-games__app-image-wrapper {
  flex: 1;
  max-width: 400px;
  min-width: 280px;
}

.page-index-top-games__app-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index-top-games__faq {
  background-color: #1A202C;
}

.page-index-top-games__accordion {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-top-games__accordion-item {
  margin-bottom: 15px;
  border: 1px solid #FFD700;
  border-radius: 8px;
  overflow: hidden;
}

.page-index-top-games__accordion-header {
  background-color: #3a4250;
  color: #FFD700;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-index-top-games__accordion-header:hover {
  background-color: #4a5260;
}

.page-index-top-games__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-index-top-games__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-index-top-games__accordion-content {
  background-color: #1A202C;
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-index-top-games__accordion-content.show {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 25px;
}

.page-index-top-games__accordion-content .page-index-top-games__text {
  text-align: left;
  margin-bottom: 15px;
}

.page-index-top-games__conclusion {
  background-color: #2a303c;
  padding-bottom: 80px;
}

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

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

  .page-index-top-games__app-flex {
    flex-direction: column;
  }

  .page-index-top-games__app-content,
  .page-index-top-games__app-image-wrapper {
    max-width: 100%;
  }

  .page-index-top-games__spotlight-item {
    flex-direction: column;
  }

  .page-index-top-games__spotlight-content {
    text-align: center;
  }

  .page-index-top-games__spotlight-item .page-index-top-games__text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-top-games__hero {
    padding: 60px 0 30px;
  }

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

  .page-index-top-games__hero-subtitle {
    font-size: 1.1em;
  }

  .page-index-top-games__section {
    padding: 40px 0;
  }

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

  .page-index-top-games__text {
    font-size: 1em;
  }

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

  .page-index-top-games__features-grid,
  .page-index-top-games__category-grid,
  .page-index-top-games__step-by-step {
    grid-template-columns: 1fr;
  }

  .page-index-top-games__spotlight-image {
    height: 200px;
  }

  .page-index-top-games__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index-top-games__accordion-content {
    padding: 0 20px;
  }

  .page-index-top-games__accordion-content.show {
    padding: 10px 20px 20px;
  }
}