/* style/game-strategies.css */

/* Base styles for the page-specific content */
.page-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f8f9fa; /* Light text for dark body background */
    background-color: var(--black-color); /* Inherited from shared, will be dark */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* General container for content */
.page-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-game-strategies__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

/* Text blocks */
.page-game-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f8f9fa; /* Light text for dark background */
}

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    gap: 40px;
}

.page-game-strategies__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
    padding-left: 20px;
}

.page-game-strategies__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
    color: #FFFFFF;
}

.page-game-strategies__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #f0f8ff;
}

.page-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-game-strategies__btn-primary {
    background-color: #EA7C07; /* Login color for primary action */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-game-strategies__btn-primary:hover {
    background-color: #d46a00;
    border-color: #d46a00;
    transform: translateY(-2px);
}

.page-game-strategies__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-game-strategies__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
    transform: translateY(-2px);
}

.page-game-strategies__hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

/* Introduction Section */
.page-game-strategies__introduction-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
}

.page-game-strategies__introduction-section .page-game-strategies__section-title {
    color: #26A9E0;
}
.page-game-strategies__introduction-section .page-game-strategies__text-block {
    color: #333333;
}

/* Video Section */
.page-game-strategies__video-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background */
    color: #f8f9fa;
    text-align: center;
}

.page-game-strategies__video-section .page-game-strategies__section-title {
    color: #FFFFFF;
}

.page-game-strategies__video-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f8ff;
}

.page-game-strategies__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
}

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

/* Strategy Guide Section */
.page-game-strategies__strategy-guide-section {
    padding: 80px 0;
    background-color: #f8f8f8; /* Light background */
    color: #333333;
}
.page-game-strategies__strategy-guide-section .page-game-strategies__section-title {
    color: #26A9E0;
}

.page-game-strategies__strategy-item {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.page-game-strategies__strategy-subtitle {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-game-strategies__strategy-item .page-game-strategies__text-block {
    color: #333333;
    max-width: 800px;
}

.page-game-strategies__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    object-fit: cover;
}

/* FAQ Section */
.page-game-strategies__faq-section {
    padding: 80px 0;
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
}

.page-game-strategies__faq-section .page-game-strategies__section-title {
    color: #FFFFFF;
}

.page-game-strategies__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.page-game-strategies__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #FFFFFF;
}

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

.page-game-strategies__faq-item.active .page-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-game-strategies__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f8ff;
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

.page-game-strategies__faq-answer p {
    margin: 0;
    color: #f0f8ff;
}
.page-game-strategies__faq-answer a {
    color: #fff;
    text-decoration: underline;
}
.page-game-strategies__faq-answer a:hover {
    color: #f8f9fa;
}


/* Final CTA Section */
.page-game-strategies__cta-final-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
    text-align: center;
}

.page-game-strategies__cta-final-section .page-game-strategies__section-title {
    color: #26A9E0;
}
.page-game-strategies__cta-final-section .page-game-strategies__text-block {
    color: #333333;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.page-game-strategies__cta-final-section .page-game-strategies__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-game-strategies__cta-final-section .page-game-strategies__text-block a:hover {
    color: #1a7fb0;
}

.page-game-strategies__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategies__hero-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

    .page-game-strategies__hero-content {
        max-width: 100%;
        padding-left: 0;
        text-align: center;
    }

    .page-game-strategies__hero-image {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1;
        margin-top: 30px;
    }

    .page-game-strategies__hero-title {
        font-size: 2.5em;
    }

    .page-game-strategies__hero-description {
        font-size: 1.1em;
    }

    .page-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary,
    .page-game-strategies a[class*="button"],
    .page-game-strategies 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;
        padding-right: 15px;
    }

    .page-game-strategies__cta-buttons,
    .page-game-strategies__button-group,
    .page-game-strategies__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-game-strategies__introduction-section,
    .page-game-strategies__video-section,
    .page-game-strategies__strategy-guide-section,
    .page-game-strategies__faq-section,
    .page-game-strategies__cta-final-section {
        padding: 40px 0;
    }

    .page-game-strategies__container {
        padding: 0 15px;
    }

    .page-game-strategies__video,
    .page-game-strategies__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-game-strategies__video-wrapper {
        padding-bottom: 56.25% !important; /* Ensure aspect ratio */
        height: 0 !important;
    }

    .page-game-strategies__video-section,
    .page-game-strategies__video-container,
    .page-game-strategies__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-game-strategies__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset on mobile for video section */
    }

    .page-game-strategies img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Reset min-width for mobile */
        min-height: unset !important; /* Reset min-height for mobile */
    }
    
    .page-game-strategies__section,
    .page-game-strategies__card,
    .page-game-strategies__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategies__strategy-subtitle {
        font-size: 1.5em;
    }

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

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

    .page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
        padding: 15px 20px 20px;
    }
}

/* Ensure content area images maintain minimum size if not explicitly overridden by responsive rules */
.page-game-strategies__image-content {
    min-width: 200px;
    min-height: 200px;
}

/* Contrast fixes based on body background */
/* Body background is var(--black-color) which is dark, so main text should be light */
.page-game-strategies {
    color: #f8f9fa; /* Light text for dark body background */
}

.page-game-strategies__dark-section {
  background: #1a1a1a;
  color: #ffffff; /* Forced white text */
}

/* Specific overrides for sections with light backgrounds */
.page-game-strategies__light-bg {
    background: #ffffff;
    color: #333333;
}
.page-game-strategies__light-bg .page-game-strategies__section-title {
    color: #26A9E0;
}
.page-game-strategies__light-bg .page-game-strategies__text-block {
    color: #333333;
}

/* Button text contrast is handled by specific button styles above */
/* No filter on images */
.page-game-strategies img {
    filter: none !important;
}