/* style/game-reviews.css */

/* Variables for colors (ensuring contrast) */
:root {
  --page-game-reviews-primary-color: #007bff; /* Blue */
  --page-game-reviews-secondary-color: #ffc107; /* Gold */
  --page-game-reviews-dark-text: #212529; /* Dark text for light backgrounds */
  --page-game-reviews-light-text: #f8f9fa; /* Light text for dark backgrounds */
  --page-game-reviews-background-light: #f8f9fa; /* Light background */
  --page-game-reviews-background-dark: #343a40; /* Dark background */
  --page-game-reviews-accent-color: #dc3545; /* Red for emphasis, good contrast */
}

.page-game-reviews {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--page-game-reviews-dark-text);
  background-color: var(--page-game-reviews-background-light);
}

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

.page-game-reviews__section {
  padding: 60px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.page-game-reviews__section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.page-game-reviews__hero {
  background: linear-gradient(135deg, var(--page-game-reviews-primary-color), #0056b3); /* Darker blue for better contrast */
  color: var(--page-game-reviews-light-text);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-reviews__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:tt88,banca,nohu,abstract_pattern,geometric]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-game-reviews__hero > * {
  position: relative;
  z-index: 1;
}

.page-game-reviews__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--page-game-reviews-light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.page-game-reviews__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

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

.page-game-reviews__btn--primary {
  background-color: var(--page-game-reviews-secondary-color); /* Gold button */
  color: var(--page-game-reviews-dark-text); /* Dark text for gold background */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-reviews__btn--primary:hover {
  background-color: #e6b000; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-game-reviews__btn--secondary {
  background-color: var(--page-game-reviews-primary-color); /* Blue button */
  color: var(--page-game-reviews-light-text); /* Light text for blue background */
  border: 2px solid var(--page-game-reviews-primary-color);
}

.page-game-reviews__btn--secondary:hover {
  background-color: #0056b3; /* Darker blue on hover */
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-game-reviews__btn--link {
  color: var(--page-game-reviews-primary-color);
  background: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-game-reviews__btn--link:hover {
  color: #0056b3;
}

.page-game-reviews__btn--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-game-reviews__section-title {
  font-size: 2.5em;
  color: var(--page-game-reviews-primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-reviews__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--page-game-reviews-secondary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-reviews__sub-title {
  font-size: 1.8em;
  color: var(--page-game-reviews-dark-text);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-reviews__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-game-reviews__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-game-reviews__text-content {
  flex: 1;
}

.page-game-reviews__image-box {
  flex: 1;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-game-reviews__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-reviews__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-game-reviews__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-game-reviews__list li::before {
  content: '▶';
  color: var(--page-game-reviews-secondary-color);
  position: absolute;
  left: 0;
  font-size: 0.8em;
  top: 3px;
}

.page-game-reviews__list--ordered {
  list-style-type: decimal;
  padding-left: 20px;
}

.page-game-reviews__list--ordered li {
  margin-bottom: 10px;
  padding-left: 0;
}

.page-game-reviews__list--ordered li::before {
  content: none;
}

.page-game-reviews__list--icons li {
  padding-left: 40px;
  position: relative;
}

.page-game-reviews__list--icons .page-game-reviews__icon {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5em;
  color: var(--page-game-reviews-primary-color);
}

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

.page-game-reviews__grid-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-game-reviews__grid-item:hover {
  transform: translateY(-5px);
}

.page-game-reviews__item-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover; /* Ensures images cover the area without distortion */
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-game-reviews__item-title {
  font-size: 1.5em;
  color: var(--page-game-reviews-primary-color);
  margin-bottom: 15px;
}

.page-game-reviews__item-description {
  font-size: 1em;
  color: var(--page-game-reviews-dark-text);
  line-height: 1.6;
}

.page-game-reviews__cta-box {
  background-color: var(--page-game-reviews-primary-color); /* Blue background */
  color: var(--page-game-reviews-light-text); /* Light text */
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
}

.page-game-reviews__cta-box p {
  font-size: 1.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--page-game-reviews-light-text); /* Ensure contrast */
}

.page-game-reviews__btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

.page-game-reviews__detail-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-reviews__detail-title {
  font-size: 1.4em;
  color: var(--page-game-reviews-primary-color);
  margin-bottom: 15px;
}

.page-game-reviews__detail-title a {
  color: var(--page-game-reviews-primary-color);
  text-decoration: none;
}

.page-game-reviews__detail-title a:hover {
  text-decoration: underline;
}

.page-game-reviews__detail-description {
  font-size: 0.95em;
  color: var(--page-game-reviews-dark-text);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-reviews .highlight {
  color: var(--page-game-reviews-primary-color);
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-reviews__hero-title {
    font-size: 2.8em;
  }
  .page-game-reviews__hero-description {
    font-size: 1.1em;
  }
  .page-game-reviews__section-title {
    font-size: 2em;
  }
  .page-game-reviews__content-wrapper {
    flex-direction: column;
  }
  .page-game-reviews__content-wrapper--reverse {
    flex-direction: column;
  }
  .page-game-reviews__image-box {
    order: -1; /* Image above text on mobile */
  }
}

@media (max-width: 768px) {
  .page-game-reviews__hero {
    padding: 80px 0;
  }
  .page-game-reviews__hero-title {
    font-size: 2.2em;
  }
  .page-game-reviews__hero-description {
    font-size: 1em;
  }
  .page-game-reviews__section {
    padding: 40px 0;
  }
  .page-game-reviews__section-title {
    font-size: 1.8em;
  }
  .page-game-reviews__sub-title {
    font-size: 1.5em;
  }
  .page-game-reviews__grid {
    grid-template-columns: 1fr;
  }
  .page-game-reviews__detail-list {
    grid-template-columns: 1fr;
  }
  .page-game-reviews__btn-group {
    flex-direction: column;
  }
  .page-game-reviews__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-game-reviews__hero-title {
    font-size: 1.8em;
  }
  .page-game-reviews__hero-description {
    font-size: 0.9em;
  }
  .page-game-reviews__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-reviews__cta-box p {
    font-size: 1.2em;
  }
  .page-game-reviews__section-title {
    font-size: 1.5em;
  }
}