/* style/game-guides.css */
/* Custom colors */
:root {
    --page-game-guides-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-game-guides-card-bg: #11271B;
    --page-game-guides-bg: #08160F;
    --page-game-guides-text-main: #F2FFF6;
    --page-game-guides-text-secondary: #A7D9B8;
    --page-game-guides-border: #2E7A4E;
    --page-game-guides-glow: #57E38D;
    --page-game-guides-gold: #F2C14E;
    --page-game-guides-divider: #1E3A2A;
    --page-game-guides-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-game-guides {
    background-color: var(--page-game-guides-bg); /* Dark background */
    color: var(--page-game-guides-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-game-guides__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow from images */
}

.page-game-guides__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(87, 227, 141, 0.3); /* Glow color */
}

.page-game-guides__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.page-game-guides__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Using clamp for H1 font size */
    color: var(--page-game-guides-text-main);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px var(--page-game-guides-glow);
}

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

/* CTA Button */
.page-game-guides__cta-button {
    display: inline-block;
    background: var(--page-game-guides-button-gradient);
    color: #ffffff; /* White text for button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
    border: none;
    cursor: pointer;
}

.page-game-guides__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

/* Sections */
.page-game-guides__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-game-guides-divider);
}

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

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

.page-game-guides__section-title {
    font-size: 2.5em;
    color: var(--page-game-guides-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.2);
}

.page-game-guides__sub-title {
    font-size: 1.8em;
    color: var(--page-game-guides-glow);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-guides__text-block {
    font-size: 1.05em;
    color: var(--page-game-guides-text-secondary);
    margin-bottom: 15px;
}

/* Feature List */
.page-game-guides__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-game-guides__feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__feature-icon {
    font-size: 1.5em;
    color: var(--page-game-guides-glow);
    margin-right: 15px;
    line-height: 1;
}

.page-game-guides__feature-text {
    flex: 1;
    font-size: 1.05em;
}

/* Step List */
.page-game-guides__step-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__step-item {
    font-size: 1.05em;
    margin-bottom: 10px;
}

/* Download Button Specific */
.page-game-guides__download-button {
    margin-top: 20px;
}

/* Image Content */
.page-game-guides__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.2);
    object-fit: cover;
}

/* Bullet List */
.page-game-guides__bullet-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 30px;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__list-item {
    font-size: 1.05em;
    margin-bottom: 8px;
}

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

.page-game-guides__card {
    background-color: var(--page-game-guides-card-bg); /* Darker background for cards */
    border: 1px solid var(--page-game-guides-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, object-fit will handle aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.1);
}

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

.page-game-guides__card-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    flex-grow: 1; /* Allow list to take available space */
}

.page-game-guides__card-list li {
    margin-bottom: 10px;
    font-size: 0.95em;
    color: var(--page-game-guides-text-secondary);
}

.page-game-guides__card-list li strong {
    color: var(--page-game-guides-text-main);
}

.page-game-guides__card-button {
    display: inline-block;
    background: var(--page-game-guides-button-gradient);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.page-game-guides__card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.5);
}

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

.page-game-guides__faq-item {
    background-color: var(--page-game-guides-card-bg);
    border: 1px solid var(--page-game-guides-border);
    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;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--page-game-guides-text-main);
    cursor: pointer;
    background-color: var(--page-game-guides-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

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

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

.page-game-guides__faq-qtext {
    flex-grow: 1;
}

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

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

.page-game-guides__faq-item[open] .page-game-guides__faq-toggle {
    content: "−"; /* Change content for open state */
}

/* Conclusion Section */
.page-game-guides__conclusion {
    text-align: center;
    background-color: var(--page-game-guides-deep-green); /* Darker background for conclusion */
    padding: 80px 0;
}

.page-game-guides__conclusion .page-game-guides__section-title {
    color: var(--page-game-guides-text-main);
}

.page-game-guides__conclusion .page-game-guides__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
}

.page-game-guides__final-cta {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-guides__hero-image {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    .page-game-guides__game-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding: 10px 15px 40px;
    }
    .page-game-guides__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-game-guides__main-title {
        font-size: 2em;
    }
    .page-game-guides__description {
        font-size: 1em;
    }
    .page-game-guides__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__section {
        padding: 40px 0;
    }
    .page-game-guides__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-guides__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-game-guides__sub-title {
        font-size: 1.5em;
    }
    .page-game-guides__text-block,
    .page-game-guides__feature-text,
    .page-game-guides__step-item,
    .page-game-guides__list-item {
        font-size: 0.95em;
    }
    .page-game-guides__image-content,
    .page-game-guides__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-guides__game-cards {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
    .page-game-guides__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-game-guides__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }
    .page-game-guides__video-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }
}

@media (max-width: 480px) {
    .page-game-guides__main-title {
        font-size: 1.8em;
    }
    .page-game-guides__section-title {
        font-size: 1.8em;
    }
    .page-game-guides__hero-content {
        padding: 0 10px;
    }
}