/* style/game-guides.css */
.page-game-guides {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Inherited from shared.css, ensuring consistency */
}

.page-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-game-guides__text-block {
    margin-bottom: 20px;
}

.page-game-guides__text-center {
    text-align: center;
}

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
    box-sizing: border-box;
}

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

.page-game-guides__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-game-guides__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-game-guides__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-game-guides__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Video Section */
.page-game-guides__video-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-game-guides__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-game-guides__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.page-game-guides__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* General Section Styling */
.page-game-guides__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__section:last-of-type {
    border-bottom: none;
}

.page-game-guides__section-title {
    font-size: 2.5em;
    margin-bottom: 25px;
    text-align: center;
    color: #FFFFFF;
}

.page-game-guides__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-game-guides__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-game-guides__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-game-guides__light-bg .page-game-guides__section-title,
.page-game-guides__light-bg h2,
.page-game-guides__light-bg h3,
.page-game-guides__light-bg h4 {
    color: #017439;
}

.page-game-guides__light-bg p,
.page-game-guides__light-bg li {
    color: #333333;
}

.page-game-guides__dark-bg p,
.page-game-guides__dark-bg li {
    color: #f0f0f0;
}

/* Headings */
h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

h3 {
    font-size: 1.7em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #FFFFFF;
}

h4 {
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

/* Paragraphs and Lists */
p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

ul,
ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

li {
    margin-bottom: 8px;
}

/* Images */
.page-game-guides img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-guides__image-full-width {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    margin-bottom: 30px;
}

/* Buttons */
.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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

.page-game-guides__btn-primary {
    background-color: #C30808;
    color: #FFFFFF; /* Adjusted for contrast */
    border-color: #C30808;
}

.page-game-guides__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-game-guides__btn-secondary {
    background-color: #017439;
    color: #FFFFFF;
    border-color: #017439;
}

.page-game-guides__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

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

/* FAQ Section */
.page-game-guides__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    color: #333333;
}

.page-game-guides__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides__faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-game-guides__faq-item:last-child {
    border-bottom: none;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: #333333;
    transition: background-color 0.3s ease;
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

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

.page-game-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #ffffff;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-game-guides__faq-item.active .page-game-guides__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px;
}

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

/* Final CTA Section */
.page-game-guides__cta-final {
    padding: 80px 20px;
    text-align: center;
    background-color: #017439;
    color: #ffffff;
}

.page-game-guides__cta-final .page-game-guides__section-title {
    color: #FFFFFF;
}

.page-game-guides__cta-final .page-game-guides__section-description {
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-title {
        font-size: 2.8em;
    }
    .page-game-guides__section-title {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-game-guides {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-guides__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-game-guides__hero-title {
        font-size: 2em;
    }
    .page-game-guides__hero-description {
        font-size: 1em;
    }
    .page-game-guides__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }
    .page-game-guides__section,
    .page-game-guides__video-section,
    .page-game-guides__faq-section,
    .page-game-guides__cta-final {
        padding: 40px 15px;
    }
    .page-game-guides__content-area {
        padding: 0 15px;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.6em;
    }
    h3 {
        font-size: 1.3em;
    }
    h4 {
        font-size: 1.1em;
    }
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides__video-wrapper {
        padding-bottom: 56.25% !important;
        height: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__video {
        width: 100% !important;
        height: 100% !important;
    }
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-game-guides__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-game-guides__faq-answer {
        padding: 0 20px;
    }
    .page-game-guides__faq-item.active .page-game-guides__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-game-guides__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-description {
        font-size: 0.9em;
    }
    .page-game-guides__section-title {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.4em;
    }
}