:root {
    --page-bg-color: #08160F; /* Background */
    --card-bg-color: #11271B; /* Card BG */
    --text-main-color: #F2FFF6; /* Text Main */
    --text-secondary-color: #A7D9B8; /* Text Secondary */
    --primary-color: #11A84E; /* Main color */
    --secondary-color: #22C768; /* Auxiliary color */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green-color: #0A4B2C; /* Deep Green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-bg-color);
    text-align: center;
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-bottom: 30px; /* Space between image and content */
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-guides__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive H1 font size */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-game-guides__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px; /* Limit button group width */
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
    min-width: 180px; /* Minimum width for buttons */
}

.page-game-guides__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-game-guides__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-game-guides__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 30px;
    margin-top: 15px;
}

.page-game-guides__video-section {
    padding: 40px 20px;
    background-color: var(--deep-green-color);
    text-align: center;
    padding-top: 10px; /* Small top padding */
}

.page-game-guides__video-container {
    width: 100%; /* Desktop width */
    max-width: 1000px; /* Max width for video */
    margin: 30px auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-game-guides__video-link {
    display: block;
    cursor: pointer;
}

.page-game-guides__video {
    width: 100%;
    height: auto;
    display: block;
}

.page-game-guides__content-area {
    max-width: 1200px;
    margin: 30px auto;
    padding: 40px 20px;
    background-color: var(--page-bg-color); /* Ensure content area matches body bg */
    border-radius: 8px;
}

.page-game-guides__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

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

.page-game-guides__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 8px;
}

.page-game-guides p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-game-guides__image-block {
    margin: 30px 0;
    text-align: center;
}

.page-game-guides__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Max width for content images */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

.page-game-guides__ordered-list,
.page-game-guides__unordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
    color: var(--text-main-color);
}

.page-game-guides__ordered-list li,
.page-game-guides__unordered-list li {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-game-guides__ordered-list li strong,
.page-game-guides__unordered-list li strong {
    color: var(--primary-color);
}

.page-game-guides a {
    color: var(--glow-color); /* Link color */
    text-decoration: underline;
}

.page-game-guides a:hover {
    color: var(--gold-color);
    text-decoration: none;
}

/* FAQ Section */
.page-game-guides__faq-list {
    margin-top: 40px;
}

.page-game-guides__faq-item {
    background-color: var(--card-bg-color); /* Card BG color for FAQ items */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: var(--card-bg-color);
    color: var(--text-main-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    list-style: none; /* For details summary */
}

.page-game-guides__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

.page-game-guides__faq-question:hover {
    background-color: var(--deep-green-color);
}

.page-game-guides__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--glow-color);
}

.page-game-guides__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary-color);
    font-size: 1em;
    line-height: 1.6;
}

.page-game-guides__faq-answer p {
    margin-bottom: 10px;
    color: var(--text-secondary-color);
}

.page-game-guides__cta-section {
    padding: 50px 20px;
    text-align: center;
    background-color: var(--deep-green-color);
    margin-top: 40px;
    border-radius: 8px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }
}

@media (max-width: 768px) {
    .page-game-guides {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-game-guides__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-game-guides__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-guides__video-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }

    .page-game-guides__video-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .page-game-guides video,
    .page-game-guides__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-guides__content-area {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-game-guides__sub-title {
        font-size: 1.4em;
    }

    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-guides__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

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

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

    .page-game-guides__cta-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}