/* style/game-reviews.css */

.page-game-reviews {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

/* Hero Section */
.page-game-reviews__hero {
  position: relative;
  height: 500px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.page-game-reviews__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-game-reviews__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 43, 76, 0.8), rgba(255, 140, 0, 0.6)); /* #1A2B4C to #FF8C00 */
  z-index: -1;
}

.page-game-reviews__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-game-reviews__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #fff; /* Ensure high contrast */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-game-reviews__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-game-reviews__hero-cta {
  display: inline-block;
  background-color: #FF8C00; /* Secondary color */
  color: #1A2B4C; /* Primary color for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-reviews__hero-cta:hover {
  background-color: #e57e00; /* Slightly darker orange */
  transform: translateY(-3px);
}

/* General Section Styling */
.page-game-reviews__introduction,
.page-game-reviews__key-aspects,
.page-game-reviews__detail-reviews,
.page-game-reviews__cta-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-game-reviews__introduction {
  background-color: #fff;
}

.page-game-reviews__section-title {
  font-size: 2.5em;
  color: #1A2B4C; /* 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: #FF8C00; /* Secondary color */
  margin: 15px auto 0;
}

.page-game-reviews__text-block {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.page-game-reviews__image-inline {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-game-reviews__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-game-reviews__list li {
  background-color: #f0f4f8; /* Lighter variant of primary color */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-size: 1.05em;
  color: #1A2B4C;
  border-left: 5px solid #FF8C00;
}

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

.page-game-reviews__card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-reviews__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-game-reviews__card-title {
  font-size: 1.6em;
  color: #1A2B4C; /* Primary color */
  margin-bottom: 15px;
}

.page-game-reviews__card-title a {
  color: #1A2B4C;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-reviews__card-title a:hover {
  color: #FF8C00; /* Secondary color on hover */
}

.page-game-reviews__card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-reviews__card-button {
  display: inline-block;
  background-color: #1A2B4C; /* Primary color */
  color: #fff; /* White for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-game-reviews__card-button:hover {
  background-color: #FF8C00; /* Secondary color on hover */
  transform: translateY(-2px);
}

/* CTA Section */
.page-game-reviews__cta-section {
  background-color: #1A2B4C; /* Primary color as background */
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.page-game-reviews__cta-section .page-game-reviews__section-title {
  color: #fff;
}

.page-game-reviews__cta-section .page-game-reviews__section-title::after {
  background-color: #FF8C00;
}

.page-game-reviews__cta-section .page-game-reviews__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-game-reviews__cta-buttons {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-game-reviews__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
  min-width: 180px;
}

.page-game-reviews__cta-button--primary {
  background-color: #FF8C00; /* Secondary color */
  color: #1A2B4C; /* Primary color for contrast */
}

.page-game-reviews__cta-button--primary:hover {
  background-color: #e57e00;
  transform: translateY(-3px);
}

.page-game-reviews__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FF8C00; /* Secondary color border */
  color: #FF8C00;
}

.page-game-reviews__cta-button--secondary:hover {
  background-color: #FF8C00;
  color: #1A2B4C; /* Primary color text on hover */
  transform: translateY(-3px);
}

.page-game-reviews__cta-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Floating Ad */
.page-game-reviews__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1A2B4C;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-width: 350px; /* Adjust width as needed */
  transition: transform 0.3s ease-in-out;
}

.page-game-reviews__floating-ad a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-grow: 1;
}

.page-game-reviews__floating-ad-image {
  width: 80px; /* Small image */
  height: 80px;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
}

.page-game-reviews__floating-ad-text {
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1em;
  color: #FF8C00; /* Secondary color for text */
}

.page-game-reviews__floating-ad-close {
  background: none;
  border: none;
  color: #f0f0f0;
  font-size: 1.5em;
  cursor: pointer;
  padding: 0 10px;
  align-self: flex-start;
  line-height: 1;
  transition: color 0.3s ease;
}

.page-game-reviews__floating-ad-close:hover {
  color: #FF8C00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-reviews__hero-title {
    font-size: 2.8em;
  }
  .page-game-reviews__hero-subtitle {
    font-size: 1.3em;
  }
  .page-game-reviews__section-title {
    font-size: 2em;
  }
  .page-game-reviews__cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-game-reviews__hero {
    height: 400px;
  }
  .page-game-reviews__hero-title {
    font-size: 2.2em;
  }
  .page-game-reviews__hero-subtitle {
    font-size: 1.1em;
  }
  .page-game-reviews__hero-cta {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-game-reviews__introduction,
  .page-game-reviews__key-aspects,
  .page-game-reviews__detail-reviews,
  .page-game-reviews__cta-section {
    padding: 40px 0;
  }
  .page-game-reviews__section-title {
    font-size: 1.8em;
  }
  .page-game-reviews__text-block {
    font-size: 1em;
  }
  .page-game-reviews__list {
    grid-template-columns: 1fr;
  }
  .page-game-reviews__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-reviews__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-reviews__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-game-reviews__floating-ad {
    max-width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 10px;
  }
  .page-game-reviews__floating-ad-image {
    width: 60px;
    height: 60px;
  }
  .page-game-reviews__floating-ad-text {
    font-size: 0.9em;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .page-game-reviews__hero {
    height: 350px;
  }
  .page-game-reviews__hero-title {
    font-size: 1.8em;
  }
  .page-game-reviews__hero-subtitle {
    font-size: 0.9em;
  }
  .page-game-reviews__hero-cta {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-game-reviews__section-title {
    font-size: 1.5em;
  }
  .page-game-reviews__card-title {
    font-size: 1.4em;
  }
}