/* style/game-guides.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-background: #000000;
    --light-text: #ffffff;
    --dark-text: #333333;
    --light-grey-bg: #f8f9fa;
    --medium-grey-border: #e0e0e0;
}

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

/* Fixed navigation bar spacing */
.page-game-guides__hero-banner {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-game-guides__hero-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

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

.page-game-guides__hero-description {
    font-size: 1.3em;
    color: #e0e0e0;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-game-guides__hero-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-text);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__hero-cta:hover {
    background: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__section {
    padding: 60px 20px;
    text-align: center;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--light-text);
    text-align: left;
}

.page-game-guides__why-guides {
    background-color: var(--dark-background);
}

.page-game-guides__how-to-choose {
    background-color: #1a1a1a;
}

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

.page-game-guides__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-game-guides__card, .page-game-guides__info-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-guides__card:hover, .page-game-guides__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-guides__card-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.2); /* Enhance visibility on dark background, not changing original color */
}

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

.page-game-guides__card-description, .page-game-guides__info-card-description {
    font-size: 1em;
    color: #cccccc;
    line-height: 1.7;
    flex-grow: 1;
}

.page-game-guides__link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-guides__link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-game-guides__popular-games {
    background-color: var(--dark-background);
}

.page-game-guides__game-card-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-game-guides__game-content-card {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-game-guides__game-image {
    width: 350px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.page-game-guides__game-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-game-guides__game-heading {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-guides__game-description {
    font-size: 1.05em;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 20px;
}

.page-game-guides__game-tips {
    list-style-type: disc;
    margin-left: 20px;
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.6;
}

.page-game-guides__game-tips li {
    margin-bottom: 8px;
}

.page-game-guides__optimize-experience {
    background-color: #1a1a1a;
}

.page-game-guides__btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__faq-section {
    background-color: var(--dark-background);
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-game-guides__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-game-guides__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: bold;
    line-height: 1.5;
    color: var(--light-text);
    pointer-events: none;
}

.page-game-guides__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-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: 32px;
    height: 32px;
}

.page-game-guides__faq-item.active .page-game-guides__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change + to X or - */
}

.page-game-guides__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 25px;
    opacity: 0;
    background: rgba(255, 255, 255, 0.05);
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-answer p {
    color: #cccccc;
    font-size: 1em;
    line-height: 1.7;
    margin: 0;
}

.page-game-guides__conclusion {
    background-color: var(--primary-color);
    padding: 80px 20px;
}

.page-game-guides__conclusion .page-game-guides__section-title {
    color: var(--light-text);
    text-shadow: none;
}

.page-game-guides__conclusion .page-game-guides__paragraph {
    color: #e0e0e0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-text);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__cta-button:hover {
    background: #e0a800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .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__game-content-card {
        flex-direction: column;
    }
    .page-game-guides__game-image {
        width: 100%;
        height: 250px;
    }
    .page-game-guides__game-info {
        padding: 25px;
    }
    .page-game-guides__game-heading {
        font-size: 1.8em;
    }
    .page-game-guides__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-game-guides__grid--3-cols {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides__section,
    .page-game-guides__container,
    .page-game-guides__card,
    .page-game-guides__info-card,
    .page-game-guides__hero-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__hero-banner {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }
    .page-game-guides__hero-title {
        font-size: 2.2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__hero-cta {
        padding: 15px 30px;
        font-size: 1em;
    }
    .page-game-guides__section {
        padding: 40px 15px;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__paragraph {
        font-size: 0.95em;
    }
    .page-game-guides__grid {
        gap: 20px;
    }
    .page-game-guides__card,
    .page-game-guides__info-card {
        padding: 25px;
    }
    .page-game-guides__card-icon {
        width: 90px;
        height: 90px;
    }
    .page-game-guides__card-title, .page-game-guides__info-card-title {
        font-size: 1.4em;
    }
    .page-game-guides__game-heading {
        font-size: 1.6em;
    }
    .page-game-guides__game-description {
        font-size: 0.9em;
    }
    .page-game-guides__game-tips {
        font-size: 0.9em;
    }
    .page-game-guides__btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-game-guides__faq-list {
        margin-top: 20px;
    }
    .page-game-guides__faq-question {
        padding: 15px 20px;
    }
    .page-game-guides__faq-question h3 {
        font-size: 1em;
    }
    .page-game-guides__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-game-guides__faq-answer {
        padding: 0 20px;
    }
    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
        padding: 15px 20px !important;
    }
    .page-game-guides__faq-answer p {
        font-size: 0.9em;
    }
    .page-game-guides__conclusion {
        padding: 60px 15px;
    }
    .page-game-guides__cta-button {
        padding: 15px 30px;
        font-size: 1em;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__section-title {
        font-size: 1.5em;
    }
    .page-game-guides__card-title, .page-game-guides__info-card-title {
        font-size: 1.2em;
    }
    .page-game-guides__game-heading {
        font-size: 1.4em;
    }
}