/* style/game-guides.css */

:root {
    --color-primary: #113B7A;
    --color-secondary: #1D5FD1;
    --color-text-main: #F3F8FF;
    --color-text-secondary: #AFC4E8;
    --color-card-bg: #10233F;
    --color-border: #244D84;
    --color-glow: #4FA8FF;
    --color-gold: #F2C14E;
    --color-divider: #1B3357;
    --color-deep-navy: #08162B;
    --btn-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-game-guides {
    color: var(--color-text-main); /* Body background is dark (var(--color-deep-navy)), so text is light */
    background-color: var(--color-deep-navy);
}

.page-game-guides__hero-section {
    padding-top: 10px; /* Small top padding, shared.css body handles main offset */
    padding-bottom: 60px;
    background-color: var(--color-deep-navy);
    color: var(--color-text-main);
}

.page-game-guides__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 16px;
}

.page-game-guides__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-game-guides__hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-game-guides__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-game-guides__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.page-game-guides__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure responsiveness */
}

.page-game-guides__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main);
    border: 2px solid var(--color-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-game-guides__btn-secondary:hover {
    background-color: rgba(29, 95, 209, 0.1);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
}

.page-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 16px;
    line-height: 1.7;
}

.page-game-guides__dark-section {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
    padding: 60px 16px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.page-game-guides__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    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(--color-gold);
    border-radius: 2px;
}

.page-game-guides__text-block {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

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

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

.page-game-guides__feature-item:hover {
    transform: translateY(-5px);
}

.page-game-guides__feature-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-game-guides__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 10px;
}

.page-game-guides__feature-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.page-game-guides__guide-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 16px;
    background-color: var(--color-deep-navy);
    color: var(--color-text-main);
}

.page-game-guides__content-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-guides__guide-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.page-game-guides__guide-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-align: left;
}

.page-game-guides__guide-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.page-game-guides__guide-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-game-guides__guide-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
}

.page-game-guides__guide-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-game-guides__guide-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
}

.page-game-guides__promo-cta {
    text-align: center;
    padding-top: 40px;
    padding-bottom: 80px;
}

.page-game-guides__promo-cta .page-game-guides__section-title {
    margin-bottom: 20px;
}

.page-game-guides__promo-cta .page-game-guides__text-block {
    margin-bottom: 30px;
}

.page-game-guides__faq-section {
    background-color: var(--color-card-bg);
    padding: 60px 16px;
    border-radius: 12px;
    margin-bottom: 40px;
}

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

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

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-guides__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--color-gold);
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    transform: rotate(45deg);
}

.page-game-guides__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-answer {
    max-height: 1000px; /* Sufficiently large to show content */
    transition: max-height 0.5s ease-in;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-game-guides__hero-container {
        flex-direction: column-reverse; /* Content above image on mobile */
        padding: 15px;
        gap: 25px;
    }

    .page-game-guides__hero-image {
        flex: 1 1 100%;
        min-width: unset;
    }

    .page-game-guides__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-
    }

    .page-game-guides__hero-content {
        flex: 1 1 100%;
        min-width: unset;
        text-align: center;
    }

    .page-game-guides__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        text-align: center;
    }

    .page-game-guides__intro-text {
        font-size: 1rem;
        text-align: center;
    }

    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to container for buttons */
    }

    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-game-guides__content-area,
    .page-game-guides__dark-section,
    .page-game-guides__guide-section,
    .page-game-guides__promo-cta,
    .page-game-guides__faq-section {
        padding: 40px 15px;
        margin-bottom: 25px;
        border-radius: 8px;
    }

    .page-game-guides__section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-game-guides__text-block {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-game-guides__features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-game-guides__feature-item img {
        min-width: 200px !important;
        min-
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-game-guides__feature-title {
        font-size: 1.3rem;
    }

    .page-game-guides__guide-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .page-game-guides__guide-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .page-game-guides__guide-content p,
    .page-game-guides__guide-content ul li {
        font-size: 0.95rem;
    }

    .page-game-guides__guide-content h4 {
        font-size: 1.2rem;
        margin-top: 20px;
        margin-bottom: 8px;
    }

    .page-game-guides__guide-content img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px;
        min-
        margin-bottom: 20px;
    }

    .page-game-guides__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-game-guides__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
}