/* style/game-reviews.css */
.page-game-reviews {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #212529; /* Dark grey for good contrast on light backgrounds */
    background-color: #f8f9fa; /* Light background */
}

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

.page-game-reviews__hero {
    background: linear-gradient(135deg, #007bff, #3399ff); /* Gradient with main color */
    color: #ffffff; /* White text on dark background */
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-game-reviews__hero-content {
    max-width: 800px;
}

.page-game-reviews__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff; /* White text */
}

.page-game-reviews__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e9ecef; /* Slightly off-white for contrast */
}

.page-game-reviews__hero-image {
    max-width: 100%;
    margin-top: 30px;
}

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

.page-game-reviews__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-game-reviews__btn--primary {
    background-color: #ffc107; /* Auxiliary color for primary action */
    color: #212529; /* Dark text for contrast */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-reviews__btn--primary:hover {
    background-color: #e0a800; /* Darker shade on hover */
    transform: translateY(-2px);
}

.page-game-reviews__btn--secondary {
    background-color: #007bff; /* Main color for secondary action */
    color: #ffffff; /* White text for contrast */
    border: 1px solid #007bff;
}

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

.page-game-reviews__btn--accent {
    background-color: #ff8400; /* Complementary color for strong accent */
    color: #ffffff;
}

.page-game-reviews__btn--accent:hover {
    background-color: #cc6a00;
    transform: translateY(-2px);
}

.page-game-reviews__btn--lg {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-game-reviews__btn--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-game-reviews__section {
    padding: 60px 0;
    border-bottom: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-game-reviews__section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.page-game-reviews__section-title {
    font-size: 2.5em;
    color: #007bff; /* Main color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-reviews__text {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #343a40; /* Darker grey for body text */
}

.page-game-reviews__text a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

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

.page-game-reviews__category-grid,
.page-game-reviews__offer-grid,
.page-game-reviews__review-list {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

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

.page-game-reviews__category-item,
.page-game-reviews__offer-item,
.page-game-reviews__review-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.page-game-reviews__category-item.is-visible,
.page-game-reviews__offer-item.is-visible,
.page-game-reviews__review-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.page-game-reviews__category-item:hover,
.page-game-reviews__offer-item:hover,
.page-game-reviews__review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-game-reviews__category-image,
.page-game-reviews__offer-image {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
}

.page-game-reviews__category-title,
.page-game-reviews__offer-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-reviews__category-description,
.page-game-reviews__offer-description {
    font-size: 1em;
    color: #495057;
    margin-bottom: 20px;
    flex-grow: 1; /* Ensure descriptions take up available space */
}

.page-game-reviews__list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 30px auto;
}

.page-game-reviews__list-item {
    background-color: #eaf6ff; /* Light blue background for list items */
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05em;
    color: #212529;
}

.page-game-reviews__list-item strong {
    color: #0056b3; /* Darker blue for strong text */
}

.page-game-reviews__offer-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 40px;
}

.page-game-reviews__cta-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-game-reviews__review-list {
    grid-template-columns: 1fr; /* Single column for review list */
}

.page-game-reviews__review-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.page-game-reviews__review-title {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-reviews__review-title a {
    color: #007bff;
    text-decoration: none;
}

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

.page-game-reviews__review-description {
    font-size: 0.95em;
    color: #495057;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-game-reviews__section--cta-final {
    background-color: #007bff; /* Main color background */
    color: #ffffff; /* White text */
    text-align: center;
    padding: 80px 0;
}

.page-game-reviews__section--cta-final .page-game-reviews__section-title {
    color: #ffffff; /* White title on blue background */
}

.page-game-reviews__section--cta-final .page-game-reviews__text {
    color: #e9ecef; /* Slightly off-white for text */
}

.page-game-reviews__cta-content {
    max-width: 800px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-game-reviews__hero-title {
        font-size: 2.8em;
    }

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

    .page-game-reviews__category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-reviews__hero {
        padding: 60px 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__text {
        font-size: 1em;
    }

    .page-game-reviews__btn--lg {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-reviews__category-grid,
    .page-game-reviews__offer-grid {
        grid-template-columns: 1fr;
    }

    .page-game-reviews__cta-group {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-game-reviews__hero-title {
        font-size: 1.8em;
    }

    .page-game-reviews__section-title {
        font-size: 1.5em;
    }

    .page-game-reviews__hero-content {
        padding: 0 15px;
    }

    .page-game-reviews__container {
        padding: 0 15px;
    }
}