/* style/index-top-game-reviews.css */
.page-index-top-game-reviews {
  font-family: 'Arial', sans-serif;
  color: #e5d1bb; /* Light beige for main text on dark background */
  background-color: #1A2E44; /* Dark blue primary background */
  line-height: 1.6;
}

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

.page-index-top-game-reviews__container--center {
  text-align: center;
}

.page-index-top-game-reviews__hero {
  background: linear-gradient(135deg, #1A2E44 0%, #3a5b81 100%); /* Dark blue gradient */
  padding: 100px 0;
  text-align: center;
  color: #FFD700; /* Gold for hero text */
  position: relative;
  overflow: hidden;
}

.page-index-top-game-reviews__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-top-game-reviews__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e5d1bb; /* Light beige for subtitle */
}

.page-index-top-game-reviews__section {
  padding: 60px 0;
  background-color: #1A2E44;
}

.page-index-top-game-reviews__section:nth-of-type(even) {
  background-color: #243b55; /* Slightly lighter dark blue for contrast */
}

.page-index-top-game-reviews__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.page-index-top-game-reviews__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #e5d1bb;
}

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

.page-index-top-game-reviews__feature-card {
  background-color: #243b55;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index-top-game-reviews__feature-card:hover {
  transform: translateY(-10px);
  background-color: #3a5b81;
}

.page-index-top-game-reviews__feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

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

.page-index-top-game-reviews__feature-card p {
  color: #e5d1bb;
  font-size: 1em;
}

.page-index-top-game-reviews__game-review {
  display: flex;
  flex-direction: column;
  background-color: #243b55;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-index-top-game-reviews__game-review:nth-child(even) {
  flex-direction: column-reverse;
}

.page-index-top-game-reviews__game-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 5px solid #FFD700;
}

.page-index-top-game-reviews__game-review:nth-child(even) .page-index-top-game-reviews__game-image {
  border-top: 5px solid #FFD700;
  border-bottom: none;
}

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

.page-index-top-game-reviews__game-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-top-game-reviews__game-subtitle {
  font-size: 1.4em;
  color: #e5d1bb;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-index-top-game-reviews__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e5d1bb;
}

.page-index-top-game-reviews__list li {
  margin-bottom: 8px;
  font-size: 1.05em;
}

.page-index-top-game-reviews__list li strong {
  color: #FFD700;
}

.page-index-top-game-reviews__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  border: none;
}

.page-index-top-game-reviews__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A2E44; /* Dark blue */
}

.page-index-top-game-reviews__btn--primary:hover {
  background-color: #e6c200; /* Darker gold */
  transform: translateY(-3px);
}

.page-index-top-game-reviews__btn--secondary {
  background-color: #3a5b81; /* Medium blue */
  color: #e5d1bb; /* Light beige */
  margin-left: 15px;
}

.page-index-top-game-reviews__btn--secondary:hover {
  background-color: #4d72a0; /* Darker medium blue */
  transform: translateY(-3px);
}

.page-index-top-game-reviews__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 10px;
  margin-left: 0;
}

.page-index-top-game-reviews__cta-banner {
  background-color: #FFD700;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-top-game-reviews__banner-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 3px solid #1A2E44;
}

.page-index-top-game-reviews__banner-content {
  color: #1A2E44;
}

.page-index-top-game-reviews__banner-title {
  font-size: 2.5em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-top-game-reviews__banner-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-top-game-reviews__faq-item {
  background-color: #243b55;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-index-top-game-reviews__faq-question {
  padding: 20px 25px;
  font-size: 1.3em;
  color: #FFD700;
  cursor: pointer;
  position: relative;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-index-top-game-reviews__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.1em;
  color: #e5d1bb;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-index-top-game-reviews__faq-answer.active {
  max-height: 500px; /* Adjust as needed */
  padding: 0 25px 20px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .page-index-top-game-reviews__game-review {
    flex-direction: row;
  }

  .page-index-top-game-reviews__game-review:nth-child(even) {
    flex-direction: row-reverse;
  }

  .page-index-top-game-reviews__game-image {
    width: 40%;
    height: auto;
    border-bottom: none;
    border-right: 5px solid #FFD700;
  }

  .page-index-top-game-reviews__game-review:nth-child(even) .page-index-top-game-reviews__game-image {
    border-left: 5px solid #FFD700;
    border-right: none;
    border-top: none;
  }

  .page-index-top-game-reviews__game-content {
    width: 60%;
  }

  .page-index-top-game-reviews__cta-banner {
    flex-direction: row;
    padding: 50px;
    text-align: left;
  }

  .page-index-top-game-reviews__banner-image {
    width: 40%;
    margin-right: 40px;
    margin-bottom: 0;
  }

  .page-index-top-game-reviews__banner-content {
    width: 60%;
  }
}

@media (max-width: 767px) {
  .page-index-top-game-reviews__hero-title {
    font-size: 2.5em;
  }

  .page-index-top-game-reviews__hero-subtitle {
    font-size: 1.2em;
  }

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

  .page-index-top-game-reviews__btn {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }

  .page-index-top-game-reviews__btn--secondary {
    margin-left: 0;
  }

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