/* style/game-reviews.css */

/* Variables */
:root {
  --page-game-reviews-primary-color: #0A192F;
  --page-game-reviews-secondary-color: #FFD700;
  --page-game-reviews-text-light: #FFFFFF;
  --page-game-reviews-text-dark: #0A192F;
  --page-game-reviews-text-accent: #FFD700;
  --page-game-reviews-bg-dark: #0A192F;
  --page-game-reviews-bg-light: #f5f5f5; /* Adjusted for better contrast with dark text */
  --page-game-reviews-border-color: #334257;
}

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

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

.page-game-reviews__hero {
  background: linear-gradient(135deg, var(--page-game-reviews-bg-dark) 0%, #1a3a60 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-game-reviews__hero-title {
  font-size: 3.5em;
  color: var(--page-game-reviews-text-accent);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-reviews__hero-description {
  font-size: 1.3em;
  color: var(--page-game-reviews-text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-game-reviews__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-reviews__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-game-reviews__btn--primary {
  background-color: var(--page-game-reviews-secondary-color);
  color: var(--page-game-reviews-text-dark);
  border: 2px solid var(--page-game-reviews-secondary-color);
}

.page-game-reviews__btn--primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-game-reviews__btn--secondary {
  background-color: transparent;
  color: var(--page-game-reviews-secondary-color);
  border: 2px solid var(--page-game-reviews-secondary-color);
}

.page-game-reviews__btn--secondary:hover {
  background-color: var(--page-game-reviews-secondary-color);
  color: var(--page-game-reviews-text-dark);
  transform: translateY(-3px);
}

.page-game-reviews__section-title {
  font-size: 2.8em;
  color: var(--page-game-reviews-text-accent);
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-reviews__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--page-game-reviews-secondary-color);
  border-radius: 2px;
}

.page-game-reviews__introduction {
  background-color: #1a2b40; /* Slightly lighter dark background */
  padding: 80px 0;
  color: var(--page-game-reviews-text-light);
}

.page-game-reviews__introduction p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

.page-game-reviews__text-content {
  flex: 2;
  min-width: 300px;
}

.page-game-reviews__image-wrapper {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.page-game-reviews__img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-game-reviews__game-types {
  background-color: var(--page-game-reviews-bg-dark);
  padding: 80px 0;
}

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

.page-game-reviews__grid-item {
  background-color: #1a2b40;
  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;
  border: 1px solid var(--page-game-reviews-border-color);
}

.page-game-reviews__grid-item:hover {
  transform: translateY(-5px);
  background-color: #2a3d54;
}

.page-game-reviews__grid-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-game-reviews__grid-item h3 {
  color: var(--page-game-reviews-secondary-color);
  font-size: 1.8em;
  margin-bottom: 15px;
}

.page-game-reviews__grid-item p {
  color: var(--page-game-reviews-text-light);
  font-size: 1em;
  margin-bottom: 20px;
}

.page-game-reviews__btn--link {
  color: var(--page-game-reviews-secondary-color);
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding: 5px 0;
}

.page-game-reviews__btn--link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--page-game-reviews-secondary-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.page-game-reviews__btn--link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.page-game-reviews__deep-dive {
  background-color: #1a2b40;
  padding: 80px 0;
  color: var(--page-game-reviews-text-light);
}

.page-game-reviews__intro-text {
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-reviews__deep-dive-item {
  margin-bottom: 60px;
  padding: 30px;
  background-color: var(--page-game-reviews-bg-dark);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-game-reviews-border-color);
}

.page-game-reviews__sub-section-title {
  color: var(--page-game-reviews-secondary-color);
  font-size: 2.2em;
  margin-bottom: 20px;
  text-align: left;
}

.page-game-reviews__deep-dive-item p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-game-reviews__img--small {
  max-width: 500px;
  display: block;
  margin: 30px auto;
  border: 1px solid var(--page-game-reviews-border-color);
}

.page-game-reviews__cta-banner {
  background: linear-gradient(45deg, #1a2b40, var(--page-game-reviews-bg-dark));
  padding: 100px 0;
  text-align: center;
  color: var(--page-game-reviews-text-light);
}

.page-game-reviews__cta-title {
  font-size: 3em;
  color: var(--page-game-reviews-text-accent);
  margin-bottom: 20px;
}

.page-game-reviews__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-game-reviews__hero-title {
    font-size: 2.8em;
  }
  .page-game-reviews__hero-description,
  .page-game-reviews__cta-description {
    font-size: 1.1em;
  }
  .page-game-reviews__section-title {
    font-size: 2.2em;
  }
  .page-game-reviews__sub-section-title {
    font-size: 1.8em;
  }
  .page-game-reviews__content-wrapper {
    flex-direction: column;
  }
  .page-game-reviews__text-content, .page-game-reviews__image-wrapper {
    flex: none;
    width: 100%;
  }
  .page-game-reviews__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-game-reviews__hero-title {
    font-size: 2.2em;
  }
  .page-game-reviews__hero-description {
    font-size: 1em;
  }
  .page-game-reviews__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-reviews__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-reviews__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-game-reviews__grid-item h3 {
    font-size: 1.5em;
  }
  .page-game-reviews__sub-section-title {
    font-size: 1.5em;
  }
  .page-game-reviews__intro-text {
    font-size: 1em;
  }
  .page-game-reviews__cta-title {
    font-size: 2em;
  }
  .page-game-reviews__cta-description {
    font-size: 1em;
  }
  .page-game-reviews__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-game-reviews__container {
    padding: 0 15px;
  }
  .page-game-reviews__hero-title {
    font-size: 1.8em;
  }
  .page-game-reviews__section-title {
    font-size: 1.5em;
  }
  .page-game-reviews__grid {
    grid-template-columns: 1fr;
  }
  .page-game-reviews__sub-section-title {
    font-size: 1.3em;
  }
  .page-game-reviews__cta-title {
    font-size: 1.8em;
  }
}