/* style/game-guides.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-game-guides {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

.page-game-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: #0a0a0a; /* Ensure dark background for this section */
    overflow: hidden;
}

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

.page-game-guides__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-game-guides__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Using clamp for responsive H1 */
}

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

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

.page-game-guides__btn-primary,
.page-game-guides__btn-secondary,
.page-game-guides__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
}

.page-game-guides__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-game-guides__btn-primary:hover {
    background-color: #1a8cc7; /* Slightly darker on hover */
    border-color: #1a8cc7;
}

.page-game-guides__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-game-guides__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-game-guides__btn-link {
    background-color: #EA7C07; /* Login color for action buttons */
    color: #ffffff;
    border: 2px solid #EA7C07;
    font-size: 0.95rem;
    padding: 8px 15px;
}

.page-game-guides__btn-link:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}


/* Video Section */
.page-game-guides__video-section {
    background-color: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
}

.page-game-guides__video-container {
    width: 100%; /* Important for desktop as well */
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000000;
    padding: 15px; /* Padding around the video */
}

.page-game-guides__video-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

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


/* General content area styles */
.page-game-guides__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-game-guides__introduction,
.page-game-guides__benefits-section,
.page-game-guides__cta-section {
    background-color: #ffffff; /* Light background for these sections */
    color: #333333; /* Dark text for light background */
}

.page-game-guides__game-guides-section,
.page-game-guides__faq-section {
    background-color: #0a0a0a; /* Dark background for these sections */
    color: #ffffff; /* Light text for dark background */
}

.page-game-guides__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
}

.page-game-guides__section-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
}

.page-game-guides__introduction p,
.page-game-guides__benefits-section p,
.page-game-guides__benefits-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.page-game-guides__introduction .page-game-guides__section-description,
.page-game-guides__benefits-section .page-game-guides__section-description,
.page-game-guides__cta-section .page-game-guides__section-description {
    color: #555555; /* Darker text for light background */
}

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

.page-game-guides__guide-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff;
}

.page-game-guides__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-game-guides__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 15px 15px 10px;
    color: #26A9E0;
}

.page-game-guides__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-guides__card-title a:hover {
    color: #ffffff;
}

.page-game-guides__card-text {
    font-size: 0.95rem;
    margin: 0 15px 20px;
    flex-grow: 1;
}

.page-game-guides__guide-card .page-game-guides__btn-link {
    margin: 0 15px 15px;
    align-self: flex-start;
}

.page-game-guides__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-game-guides__benefits-list li {
    background-color: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-game-guides__benefits-list li strong {
    color: #26A9E0;
}

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

.page-game-guides__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-game-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-guides__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

.page-game-guides__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
}

/* For details tag, hide default marker */
.page-game-guides__faq-item summary {
    list-style: none;
}
.page-game-guides__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-guides__faq-answer {
    padding: 15px 25px;
    font-size: 1rem;
    color: #f0f0f0;
}

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

.page-game-guides__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-game-guides__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-game-guides__section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-game-guides__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

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

    .page-game-guides__hero-description {
        font-size: 1rem;
    }

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

    .page-game-guides__btn-primary,
    .page-game-guides__btn-secondary,
    .page-game-guides__btn-link {
        width: 100% !important;
        max-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__video-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Small top padding for video section */
    }

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

    .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: 20px 15px;
    }

    .page-game-guides__section-title {
        font-size: 1.6rem;
    }

    .page-game-guides__section-description {
        font-size: 0.95rem;
    }

    .page-game-guides__guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-game-guides__guide-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left: 15px; */ /* Removed to avoid double padding if content-area also has it */
        /* padding-right: 15px; */ /* Removed to avoid double padding if content-area also has it */
    }

    .page-game-guides__card-image {
        height: 180px;
    }

    .page-game-guides__card-title {
        font-size: 1.2rem;
    }

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

    .page-game-guides__faq-answer {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* All images responsive in content area */
    .page-game-guides img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Ensuring main sections and cards handle padding for mobile */
    .page-game-guides__introduction,
    .page-game-guides__game-guides-section,
    .page-game-guides__benefits-section,
    .page-game-guides__faq-section,
    .page-game-guides__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-guides__guide-card {
        padding: 0; /* Cards inside a padded section should not have extra padding */
    }
}