/* style/game-reviews-hub.css */
:root {
    --primary-color: #FFD700;
    --secondary-color: #8B0000;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-gold: 3px solid #ffd700;
}

.page-game-reviews-hub {
    font-family: 'Arial', sans-serif;
    color: var(--text-light); /* Body is dark, so text is light */
    line-height: 1.6;
    background: var(--dark-bg-1, #0d0d0d); /* Fallback to a dark color if var not defined */
}

.page-game-reviews-hub__hero-section {
    position: relative;
    width: 100%;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 10px; /* To clear fixed header */
    margin-top: 0;
    background-color: var(--secondary-color);
}

.page-game-reviews-hub__hero-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.page-game-reviews-hub__hero-image {
    width: 100%;
    margin: 0;
}

.page-game-reviews-hub__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-game-reviews-hub__products-section {
    width: 100%;
    padding: 60px 20px;
    background: var(--dark-bg-1, #0d0d0d);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-reviews-hub__products-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 4fr 2fr;
    gap: 20px;
}

.page-game-reviews-hub__products-grid {
    display: grid;
    gap: 20px;
}

.page-game-reviews-hub__products-grid--small {
    grid-template-columns: repeat(4, 1fr);
}

.page-game-reviews-hub__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
}

.page-game-reviews-hub__product-card {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-dark-card);
    border: var(--border-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-reviews-hub__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-game-reviews-hub__product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-game-reviews-hub__product-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.page-game-reviews-hub__product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-reviews-hub__section {
    padding: 60px 20px;
    background: var(--dark-bg-1, #0d0d0d);
}

.page-game-reviews-hub__section--intro {
    padding-top: 10px; /* To clear fixed header if no hero section, but hero is there, so this is for the content below */
}

.page-game-reviews-hub__section:nth-of-type(odd) {
    background-color: var(--dark-bg-1, #0d0d0d);
}

.page-game-reviews-hub__section:nth-of-type(even) {
    background-color: #1a1a1a;
}

.page-game-reviews-hub__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-reviews-hub__title,
.page-game-reviews-hub__heading {
    font-size: 3.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    font-weight: bold;
}

.page-game-reviews-hub__sub-heading {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: left;
    font-weight: bold;
}

.page-game-reviews-hub__description,
.page-game-reviews-hub__text-block {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.page-game-reviews-hub__description strong,
.page-game-reviews-hub__text-block strong {
    color: var(--primary-color);
}

.page-game-reviews-hub .highlight {
    color: var(--primary-color);
}

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

.page-game-reviews-hub__card {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-reviews-hub__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-game-reviews-hub__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-reviews-hub__card-text {
    font-size: 1em;
    color: var(--text-light);
    line-height: 1.7;
}

.page-game-reviews-hub__content-media-left,
.page-game-reviews-hub__content-media-right {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-game-reviews-hub__content-media-left .page-game-reviews-hub__media-image,
.page-game-reviews-hub__content-media-right .page-game-reviews-hub__media-image {
    flex: 1;
    min-width: 300px;
}

.page-game-reviews-hub__content-media-left .page-game-reviews-hub__media-image img,
.page-game-reviews-hub__content-media-right .page-game-reviews-hub__media-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary-color);
}

.page-game-reviews-hub__content-media-left .page-game-reviews-hub__media-content,
.page-game-reviews-hub__content-media-right .page-game-reviews-hub__media-content {
    flex: 2;
}

.page-game-reviews-hub__content-media-right {
    flex-direction: row-reverse; /* Image on right for this layout */
}

.page-game-reviews-hub__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-game-reviews-hub__list-item {
    background: var(--bg-dark-card);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 1.1em;
    color: var(--text-light);
}

.page-game-reviews-hub__list-item strong {
    color: var(--primary-color);
}

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

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

.page-game-reviews-hub__btn--primary:hover {
    background-color: #e6b800;
    color: var(--text-dark);
    border-color: #e6b800;
}

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

.page-game-reviews-hub__btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-game-reviews-hub__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-game-reviews-hub__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-game-reviews-hub__cta-group {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-game-reviews-hub__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-game-reviews-hub__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-game-reviews-hub__step-card {
    background: var(--bg-dark-card);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-game-reviews-hub__step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-game-reviews-hub__step-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Ensure icons are white on gold background */
}

.page-game-reviews-hub__step-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

.page-game-reviews-hub__promo-card {
    background: var(--bg-dark-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-game-reviews-hub__promo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.page-game-reviews-hub__promo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-reviews-hub__promo-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-reviews-hub__promo-description {
    font-size: 1em;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-game-reviews-hub__faq-list {
    margin-top: 40px;
}

.page-game-reviews-hub__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-game-reviews-hub__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-game-reviews-hub__faq-item.active .page-game-reviews-hub__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #1a1a1a; /* Slightly lighter dark background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-light);
}

.page-game-reviews-hub__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--bg-dark-card);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-game-reviews-hub__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.page-game-reviews-hub__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

.page-game-reviews-hub__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-game-reviews-hub__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-game-reviews-hub__faq-item.active .page-game-reviews-hub__faq-toggle {
    color: var(--text-light);
    transform: rotate(45deg);
}

.page-game-reviews-hub__faq-answer p {
    color: var(--text-light);
    font-size: 1em;
    margin: 0;
}

/* Latest News/Blog Section */
.page-game-reviews-hub__blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-reviews-hub__blog-card {
    background: var(--bg-dark-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.page-game-reviews-hub__blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-game-reviews-hub__blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-game-reviews-hub__blog-title {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: bold;
}

.page-game-reviews-hub__blog-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-reviews-hub__blog-title a:hover {
    color: var(--text-light);
}

.page-game-reviews-hub__blog-excerpt {
    font-size: 0.95em;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-game-reviews-hub__blog-date {
    font-size: 0.85em;
    color: #aaa;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-reviews-hub__products-container {
        grid-template-columns: 1fr; /* Mobile: two grids vertically */
    }

    .page-game-reviews-hub__products-grid--small {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-game-reviews-hub__products-grid--large {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-game-reviews-hub__title {
        font-size: 2.8em;
    }

    .page-game-reviews-hub__heading {
        font-size: 2.5em;
    }

    .page-game-reviews-hub__sub-heading {
        font-size: 1.8em;
    }

    .page-game-reviews-hub__content-media-left,
    .page-game-reviews-hub__content-media-right {
        flex-direction: column;
        text-align: center;
    }

    .page-game-reviews-hub__content-media-left .page-game-reviews-hub__media-content,
    .page-game-reviews-hub__content-media-right .page-game-reviews-hub__media-content {
        order: 2;
    }

    .page-game-reviews-hub__content-media-left .page-game-reviews-hub__media-image,
    .page-game-reviews-hub__content-media-right .page-game-reviews-hub__media-image {
        order: 1;
    }

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

    .page-game-reviews-hub__btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-game-reviews-hub__hero-section {
        padding-top: 10px; /* Mobile fixed header clearance */
    }

    .page-game-reviews-hub__products-section {
        padding: 40px 15px;
    }

    .page-game-reviews-hub__products-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .page-game-reviews-hub__products-grid--small {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .page-game-reviews-hub__products-grid--small .page-game-reviews-hub__product-card {
        aspect-ratio: 1 / 1; /* Square */
    }
    
    .page-game-reviews-hub__products-grid--small .page-game-reviews-hub__product-card-image {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1; /* Square */
    }
    
    .page-game-reviews-hub__products-grid--small .page-game-reviews-hub__product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover */
    }
    
    .page-game-reviews-hub__products-grid--large {
        grid-template-columns: 1fr; /* Each card takes a full row */
        gap: 15px;
    }
    
    .page-game-reviews-hub__products-grid--large .page-game-reviews-hub__product-card {
        aspect-ratio: 1 / 1; /* Square */
    }
    
    .page-game-reviews-hub__products-grid--large .page-game-reviews-hub__product-card-image {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1; /* Square */
    }
    
    .page-game-reviews-hub__products-grid--large .page-game-reviews-hub__product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cover */
    }

    .page-game-reviews-hub__section {
        padding: 40px 15px;
    }

    .page-game-reviews-hub__title {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .page-game-reviews-hub__heading {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-game-reviews-hub__sub-heading {
        font-size: 1.6em;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-game-reviews-hub__description,
    .page-game-reviews-hub__text-block,
    .page-game-reviews-hub__card-text,
    .page-game-reviews-hub__list-item,
    .page-game-reviews-hub__step-text,
    .page-game-reviews-hub__promo-description,
    .page-game-reviews-hub__faq-answer p,
    .page-game-reviews-hub__blog-excerpt {
        font-size: 0.95em;
    }

    .page-game-reviews-hub__grid,
    .page-game-reviews-hub__steps-grid,
    .page-game-reviews-hub__promo-grid,
    .page-game-reviews-hub__blog-grid {
        gap: 20px;
    }

    .page-game-reviews-hub__card-title,
    .page-game-reviews-hub__step-title,
    .page-game-reviews-hub__promo-title,
    .page-game-reviews-hub__blog-title {
        font-size: 1.4em;
    }

    .page-game-reviews-hub__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-game-reviews-hub__faq-question h3 {
        font-size: 1.1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-game-reviews-hub__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-game-reviews-hub__faq-answer {
        padding: 0 15px;
    }
    
    .page-game-reviews-hub__faq-item.active .page-game-reviews-hub__faq-answer {
        padding: 15px !important;
    }

    .page-game-reviews-hub img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-game-reviews-hub__section,
    .page-game-reviews-hub__card,
    .page-game-reviews-hub__container,
    .page-game-reviews-hub__hero-section,
    .page-game-reviews-hub__products-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-reviews-hub__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
}