/* style/game-guides.css */

/* Biến màu */
:root {
    --page-game-guides-primary-color: #007BFF;
    --page-game-guides-secondary-color: #FFD700;
    --page-game-guides-dark-text: #333333; /* Dark text for light backgrounds */
    --page-game-guides-light-text: #FFFFFF; /* Light text for dark backgrounds */
    --page-game-guides-background-light: #f8f9fa;
    --page-game-guides-background-dark: #0056b3; /* Darker variant of primary for contrast */
    --page-game-guides-card-bg: #FFFFFF;
    --page-game-guides-border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-game-guides__hero-section {
    background: linear-gradient(135deg, var(--page-game-guides-primary-color) 0%, #0056b3 100%); /* Darker blue for better contrast */
    color: var(--page-game-guides-light-text);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,gaming,light_effect]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-game-guides__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.page-game-guides__cta-button {
    display: inline-block;
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-dark-text);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.page-game-guides__cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
}

.page-game-guides__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 30px;
}

/* Section common styles */
.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--page-game-guides-primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-game-guides__subtitle {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Overview Section */
.page-game-guides__overview-section {
    padding: 80px 0;
    background-color: var(--page-game-guides-background-light);
}

.page-game-guides__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-game-guides__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-game-guides__text-content {
    flex: 1;
}

.page-game-guides__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444;
}

.page-game-guides__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Featured Guides Section */
.page-game-guides__featured-guides {
    padding: 80px 0;
    background-color: #e9f7ff; /* Light blue background for this section */
}

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

.page-game-guides__guide-card {
    background-color: var(--page-game-guides-card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--page-game-guides-border-color);
}

.page-game-guides__guide-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-game-guides__card-title a:hover {
    color: #0056b3; /* Darker blue on hover */
}

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

.page-game-guides__read-more-button {
    display: inline-block;
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-light-text);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.page-game-guides__read-more-button:hover {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-2px);
}

/* Deep Dive Section */
.page-game-guides__deep-dive-section {
    padding: 80px 0;
    background-color: var(--page-game-guides-background-light);
}

.page-game-guides__sub-section-title {
    font-size: 2em;
    color: var(--page-game-guides-primary-color);
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

/* CTA Banner */
.page-game-guides__cta-banner {
    background: linear-gradient(90deg, var(--page-game-guides-primary-color), #0056b3);
    color: var(--page-game-guides-light-text);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-game-guides__cta-banner-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-banner-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__hero-description {
        font-size: 1.1em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    .page-game-guides__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-game-guides__content-wrapper--reversed {
        flex-direction: column;
    }
    .page-game-guides__image-wrapper {
        margin-top: 30px;
    }
    .page-game-guides__guide-card {
        padding: 25px;
    }
    .page-game-guides__card-title {
        font-size: 1.4em;
    }
    .page-game-guides__cta-banner-title {
        font-size: 2.2em;
    }
    .page-game-guides__cta-banner-description {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding: 80px 0;
    }
    .page-game-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-game-guides__overview-section, .page-game-guides__featured-guides, .page-game-guides__deep-dive-section {
        padding: 60px 0;
    }
    .page-game-guides__guides-grid {
        grid-template-columns: 1fr;
    }
    .page-game-guides__sub-section-title {
        font-size: 1.6em;
        margin-top: 40px;
    }
    .page-game-guides__cta-banner {
        padding: 40px 20px;
    }
    .page-game-guides__cta-banner-title {
        font-size: 1.8em;
    }
    .page-game-guides__cta-banner-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-section {
        padding: 60px 0;
    }
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-description {
        font-size: 0.9em;
    }
    .page-game-guides__cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-game-guides__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-game-guides__overview-section, .page-game-guides__featured-guides, .page-game-guides__deep-dive-section {
        padding: 40px 0;
    }
    .page-game-guides__sub-section-title {
        font-size: 1.4em;
        margin-top: 30px;
    }
    .page-game-guides__cta-banner-title {
        font-size: 1.5em;
    }
    .page-game-guides__cta-banner-description {
        font-size: 0.9em;
    }
}