/* style/game-guides.css */
.page-game-guides {
    font-family: Arial, sans-serif;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
    line-height: 1.6;
}

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    background-color: #0A4B2C; /* Deep Green for hero background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-game-guides__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 8px;
}

.page-game-guides__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: #F2FFF6; /* Custom Text Main */
}

.page-game-guides__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2C14E; /* Custom Gold */
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4); /* Custom Glow */
}

.page-game-guides__intro-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-game-guides__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Content Sections */
.page-game-guides__content-section {
    padding: 60px 0;
    background-color: #08160F; /* Custom Background */
    color: #F2FFF6; /* Custom Text Main */
}

.page-game-guides__dark-section {
    background-color: #11271B; /* Custom Card BG, used for dark sections */
}

.page-game-guides__light-bg {
    background-color: #0A4B2C; /* Deep Green, slightly lighter for contrast */
    color: #F2FFF6; /* Ensure text is light */
}

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

.page-game-guides__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Custom Gold */
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3); /* Custom Glow */
}

.page-game-guides__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #57E38D; /* Custom Glow */
}

.page-game-guides__text-block {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-game-guides__highlight {
    color: #F2C14E; /* Custom Gold for highlights */
    font-weight: bold;
}

.page-game-guides__image-wrapper {
    margin: 30px auto;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-game-guides__content-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px;
    object-fit: cover;
}

/* Lists */
.page-game-guides__ordered-list,
.page-game-guides__unordered-list {
    margin-bottom: 20px;
    padding-left: 25px;
    color: #A7D9B8; /* Custom Text Secondary */
}

.page-game-guides__ordered-list li,
.page-game-guides__unordered-list li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.page-game-guides__ordered-list strong,
.page-game-guides__unordered-list strong {
    color: #F2FFF6; /* Custom Text Main */
}

/* Buttons */
.page-game-guides__btn-primary,
.page-game-guides__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-game-guides__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
    color: #F2FFF6; /* Custom Text Main */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Invert gradient on hover */
}

.page-game-guides__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Custom Glow */
    border: 2px solid #57E38D; /* Custom Glow */
}

.page-game-guides__btn-secondary:hover {
    background-color: #57E38D; /* Custom Glow */
    color: #08160F; /* Custom Background */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-guides__btn-inline {
    margin-top: 20px;
    margin-right: 15px; /* Spacing for multiple inline buttons */
}

.page-game-guides__btn-block {
    margin-top: 30px;
    width: 100%;
    max-width: 300px; /* Max width for block buttons */
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-game-guides__faq-list {
    margin-top: 40px;
    border-top: 1px solid #1E3A2A; /* Custom Divider */
}

.page-game-guides__faq-item {
    background-color: #11271B; /* Custom Card BG */
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    color: #F2FFF6; /* Custom Text Main */
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #0A4B2C; /* Deep Green */
    color: #F2C14E; /* Custom Gold */
    border-bottom: 1px solid #1E3A2A; /* Custom Divider */
    transition: background-color 0.3s ease;
}

.page-game-guides__faq-question:hover {
    background-color: #13994A; /* Darker green from button gradient */
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #F2FFF6;
}

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    content: "−";
}

.page-game-guides__faq-answer {
    padding: 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Custom Text Secondary */
    border-top: 1px solid #1E3A2A; /* Custom Divider */
}

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

/* CTA Section specific styling */
.page-game-guides__cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to right, #08160F, #0A4B2C, #08160F); /* Gradient background for CTA */
    color: #F2FFF6;
}

.page-game-guides__cta-section .page-game-guides__section-title {
    margin-bottom: 20px;
    color: #F2C14E;
}

.page-game-guides__cta-section .page-game-guides__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #A7D9B8;
}

.page-game-guides__cta-buttons--centered {
    margin-top: 30px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-section {
        padding: 10px 0 40px;
    }
    .page-game-guides__main-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }
    .page-game-guides__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
}

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

    /* Images responsiveness */
    .page-game-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Containers responsiveness */
    .page-game-guides__section,
    .page-game-guides__card,
    .page-game-guides__container,
    .page-game-guides__hero-section,
    .page-game-guides__content-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important; /* Add padding to prevent content touching edges */
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness (if any) */
    .page-game-guides video,
    .page-game-guides__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-game-guides__video-section,
    .page-game-guides__video-container,
    .page-game-guides__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px !important;
      padding-right: 15px !important;
      overflow: hidden !important;
    }
    .page-game-guides__video-section {
      padding-top: 10px !important; /* Small top padding, body handles header offset */
    }


    /* Button responsiveness */
    .page-game-guides__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides a[class*="button"],
    .page-game-guides a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important; /* Ensure padding is applied */
        padding-right: 15px !important;
    }
    .page-game-guides__btn-inline {
        margin-right: 0 !important; /* Remove right margin for stacked buttons */
    }
    .page-game-guides__btn-block {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-game-guides__hero-section {
        padding: 10px 15px 30px;
    }
    .page-game-guides__hero-image {
        margin-bottom: 20px;
    }
    .page-game-guides__main-title {
        font-size: 2rem;
    }
    .page-game-guides__intro-description {
        font-size: 1rem;
    }
    .page-game-guides__content-section {
        padding: 40px 0;
    }
    .page-game-guides__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-game-guides__sub-title {
        font-size: 1.2rem;
    }
    .page-game-guides__text-block,
    .page-game-guides__ordered-list li,
    .page-game-guides__unordered-list li,
    .page-game-guides__faq-answer {
        font-size: 0.95rem;
    }
    .page-game-guides__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-game-guides__faq-toggle {
        font-size: 1.2rem;
    }
    .page-game-guides__cta-section {
        padding: 60px 0;
    }
}