/* style/game-guides.css */

/* Biến CSS */
:root {
    --page-game-guides-primary-color: #003366;
    --page-game-guides-secondary-color: #FFCC00;
    --page-game-guides-text-light: #f8f8f8;
    --page-game-guides-text-dark: #333333;
    --page-game-guides-accent-light: #4d7094;
    --page-game-guides-accent-dark: #b38f00;
    --page-game-guides-bg-light: #ffffff;
    --page-game-guides-bg-dark: #002244;
    --page-game-guides-border-color: #e0e0e0;
}

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

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

.page-game-guides__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-game-guides__section:nth-child(even) {
    background-color: #f5f5f5; /* Slightly lighter background for contrast */
}

.page-game-guides__section-title {
    font-size: 2.8em;
    color: var(--page-game-guides-primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.page-game-guides__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-game-guides-secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-game-guides__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--page-game-guides-text-dark);
}

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

/* Hero Section */
.page-game-guides__hero {
    background: linear-gradient(135deg, var(--page-game-guides-primary-color) 0%, var(--page-game-guides-bg-dark) 100%);
    color: var(--page-game-guides-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-game-guides-secondary-color);
    line-height: 1.2;
}

.page-game-guides__hero-subtitle {
    font-size: 1.5em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--page-game-guides-text-light);
}

.page-game-guides__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-game-guides__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-game-guides__btn--primary {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
}

.page-game-guides__btn--primary:hover {
    background-color: #e6b800; /* Darker yellow */
    border-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.page-game-guides__btn--secondary {
    background-color: transparent;
    color: var(--page-game-guides-secondary-color);
    border: 2px solid var(--page-game-guides-secondary-color);
}

.page-game-guides__btn--secondary:hover {
    background-color: var(--page-game-guides-secondary-color);
    color: var(--page-game-guides-primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

.page-game-guides__btn--link {
    background-color: transparent;
    color: var(--page-game-guides-primary-color);
    border: 2px solid var(--page-game-guides-primary-color);
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
}

.page-game-guides__btn--link:hover {
    background-color: var(--page-game-guides-primary-color);
    color: var(--page-game-guides-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 51, 102, 0.2);
}

.page-game-guides__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Why Choose Section */
.page-game-guides__why-choose {
    background-color: var(--page-game-guides-bg-light);
}

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

.page-game-guides__feature-item {
    background-color: var(--page-game-guides-bg-dark);
    color: var(--page-game-guides-text-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-guides__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-guides__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-game-guides__feature-title {
    font-size: 1.8em;
    color: var(--page-game-guides-secondary-color);
    margin-bottom: 15px;
}

.page-game-guides__feature-description {
    font-size: 1.1em;
    color: var(--page-game-guides-text-light);
}

/* Game Categories Section */
.page-game-guides__game-categories {
    background-color: #f8f8f8;
}

.page-game-guides__category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.page-game-guides__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

.page-game-guides__category-description {
    font-size: 1em;
    color: var(--page-game-guides-text-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Deep Dive Section */
.page-game-guides__deep-dive {
    background-color: var(--page-game-guides-bg-light);
}

.page-game-guides__article {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-game-guides__article-title {
    font-size: 2.2em;
    color: var(--page-game-guides-primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.page-game-guides__article p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__article ul,
.page-game-guides__article ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-game-guides__article li {
    margin-bottom: 8px;
    color: var(--page-game-guides-text-dark);
}

.page-game-guides__article strong {
    color: var(--page-game-guides-primary-color);
}

.page-game-guides__img--left {
    float: left;
    margin: 0 30px 20px 0;
    width: 350px;
    height: 250px;
    object-fit: cover;
}

.page-game-guides__img--right {
    float: right;
    margin: 0 0 20px 30px;
    width: 350px;
    height: 250px;
    object-fit: cover;
}

.page-game-guides__article::after {
    content: '';
    display: block;
    clear: both;
}

.page-game-guides__cta-small {
    text-align: center;
    margin-top: 30px;
}

/* CTA Bottom Section */
.page-game-guides__cta-bottom {
    background: linear-gradient(135deg, var(--page-game-guides-bg-dark) 0%, var(--page-game-guides-primary-color) 100%);
    color: var(--page-game-guides-text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-game-guides__cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    z-index: 0;
}

.page-game-guides__cta-content {
    position: relative;
    z-index: 1;
}

.page-game-guides__cta-bottom .page-game-guides__section-title {
    color: var(--page-game-guides-secondary-color);
    margin-bottom: 20px;
}

.page-game-guides__cta-bottom .page-game-guides__section-description {
    color: var(--page-game-guides-text-light);
    margin-bottom: 40px;
}

/* FAQ Section */
.page-game-guides__faq {
    background-color: var(--page-game-guides-bg-light);
}

.page-game-guides__faq-list {
    margin-top: 40px;
}

.page-game-guides__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--page-game-guides-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-guides__faq-question {
    font-size: 1.3em;
    color: var(--page-game-guides-primary-color);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    background-color: #fcfcfc;
    transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
    background-color: #f0f0f0;
}

.page-game-guides__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-game-guides-secondary-color);
    transition: transform 0.3s ease;
}

.page-game-guides__faq-item.active .page-game-guides__faq-question::after {
    transform: rotate(45deg);
}

.page-game-guides__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.05em;
    color: var(--page-game-guides-text-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 300px; /* Adjust based on content */
    padding: 20px;
}

.page-game-guides__faq-answer p {
    margin-bottom: 10px;
}

.page-game-guides__faq-answer .page-game-guides__btn--link {
    margin-top: 10px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-guides__hero-title {
        font-size: 3em;
    }

    .page-game-guides__hero-subtitle {
        font-size: 1.3em;
    }

    .page-game-guides__section-title {
        font-size: 2.2em;
    }

    .page-game-guides__feature-item,
    .page-game-guides__category-item {
        padding: 25px;
    }

    .page-game-guides__article {
        padding: 30px;
    }

    .page-game-guides__img--left,
    .page-game-guides__img--right {
        float: none;
        margin: 20px auto;
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-title {
        font-size: 2.5em;
    }

    .page-game-guides__hero-subtitle {
        font-size: 1.1em;
    }

    .page-game-guides__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-guides__btn {
        width: 80%;
        max-width: 300px;
    }

    .page-game-guides__section {
        padding: 40px 0;
    }

    .page-game-guides__section-title {
        font-size: 1.8em;
    }

    .page-game-guides__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-game-guides__feature-item {
        padding: 20px;
    }

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

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

    .page-game-guides__article-title {
        font-size: 1.8em;
    }

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

    .page-game-guides__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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