/* style/game-reviews.css */

/* Base styles for the game reviews page */
.page-game-reviews {
    font-family: 'Arial', sans-serif;
    color: #e5dfd3; /* Light text for dark background, WCAG AA contrast with #1A202C */
    background-color: #1A202C; /* Deep blue/near black background */
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-game-reviews-hero {
    background: linear-gradient(135deg, #1A202C 0%, #3a4a6b 100%); /* Gradient background for visual depth */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-reviews-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract_gaming_pattern,subtle_texture,dark_theme,vn68club]'); /* Subtle background pattern */
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-reviews-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-game-reviews-hero h1 {
    color: #FFD700; /* Gold for main title, WCAG AA contrast with dark background */
    font-size: 3.2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-reviews-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e5dfd3; /* Light text for paragraph, WCAG AA contrast */
}

/* General Section Styling */
.page-game-reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2a303c; /* Slightly lighter dark background for sections */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-reviews-section h2 {
    color: #FFD700; /* Gold for section titles, WCAG AA contrast */
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FFD700;
}

.page-game-reviews-section h3 {
    color: #e5dfd3; /* Light text for sub-titles, WCAG AA contrast */
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-game-reviews-section p,
.page-game-reviews-section ul,
.page-game-reviews-section ol {
    color: #b0b8c7; /* Lighter gray for body text, WCAG AA contrast */
    font-size: 1.05em;
    margin-bottom: 15px;
}

.page-game-reviews-section ul,
.page-game-reviews-section ol {
    list-style-type: disc;
    padding-left: 25px;
}

.page-game-reviews-section ol {
    list-style-type: decimal;
}

.page-game-reviews-section ul li,
.page-game-reviews-section ol li {
    margin-bottom: 10px;
}

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

.page-game-reviews-game-item {
    background-color: #1A202C; /* Darker background for game cards */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-game-reviews-game-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #FFD700; /* Gold border */
}

.page-game-reviews-game-title {
    color: #FFD700; /* Gold for game titles, WCAG AA contrast */
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-game-reviews-game-description {
    color: #b0b8c7; /* WCAG AA contrast */
    font-size: 0.95em;
    flex-grow: 1; /* Allows description to take available space */
    margin-bottom: 20px;
}

.page-game-reviews-game-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Buttons */
.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, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    flex: 1; /* Make buttons take equal width */
}

.page-game-reviews-btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #1A202C; /* Dark text on gold, WCAG AA contrast */
    border: 1px solid #FFD700;
}

.page-game-reviews-btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-reviews-btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text for secondary button, WCAG AA contrast */
    border: 1px solid #FFD700;
}

.page-game-reviews-btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C; /* Dark text on gold, WCAG AA contrast */
    transform: translateY(-2px);
}

.page-game-reviews-btn-hero {
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 35px;
    font-size: 1.3em;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-game-reviews-btn-hero:hover {
    background-color: #e6c200;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

.page-game-reviews-faq-item {
    background-color: #1A202C;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-game-reviews-faq-question {
    color: #FFD700; /* Gold for FAQ question, WCAG AA contrast */
    font-size: 1.4em;
    padding: 18px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-game-reviews-faq-question::after {
    content: '+';
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-game-reviews-faq-item.active .page-game-reviews-faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-game-reviews-faq-question:hover {
    background-color: #2a303c;
}

.page-game-reviews-faq-answer {
    color: #b0b8c7; /* WCAG AA contrast */
    padding: 0 25px 20px 25px;
    margin: 0;
    font-size: 1.05em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-reviews-faq-item.active .page-game-reviews-faq-answer {
    max-height: 500px; /* Adjust as needed for content, larger value for flexibility */
    padding-top: 10px;
}

/* Final CTA Section */
.page-game-reviews-cta-final {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background-color: #2a303c;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-game-reviews-hero h1 {
        font-size: 2.5em;
    }

    .page-game-reviews-hero p {
        font-size: 1em;
    }

    .page-game-reviews-section h2 {
        font-size: 1.8em;
    }

    .page-game-reviews-section h3 {
        font-size: 1.4em;
    }

    .page-game-reviews-game-list {
        grid-template-columns: 1fr;
    }

    .page-game-reviews-game-actions {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-game-reviews-btn-hero {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media (max-width: 480px) {
    .page-game-reviews-hero h1 {
        font-size: 2em;
    }

    .page-game-reviews-hero p {
        font-size: 0.9em;
    }

    .page-game-reviews-section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-game-reviews-section h2 {
        font-size: 1.6em;
    }

    .page-game-reviews-section h3 {
        font-size: 1.2em;
    }

    .page-game-reviews-faq-question {
        font-size: 1.2em;
        padding: 15px 20px;
    }
}