/* style/game-strategies.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-game-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop and mobile */
}

.page-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-game-strategies__section {
    padding: 60px 0;
    text-align: center;
}

.page-game-strategies__dark-bg {
    background-color: #0a0a0a; /* Explicitly dark background for sections */
    color: #ffffff;
}

.page-game-strategies__heading {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for headings */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__sub-heading {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-game-strategies__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Slightly off-white for readability */
}

.page-game-strategies__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: left;
    min-height: 600px;
    overflow: hidden;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-game-strategies__hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-right: 40px;
}

.page-game-strategies__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    line-height: 1.2;
}

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

.page-game-strategies__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    filter: brightness(0.7); /* Darken image without changing color */
    margin: 0; /* Override default margin */
    border-radius: 0; /* Override default border-radius */
    box-shadow: none; /* Override default box-shadow */
}


/* Call to Action Buttons */
.page-game-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.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: #d46f06;
    border-color: #d46f06;
}

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

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

/* List styles */
.page-game-strategies__list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
}

.page-game-strategies__list-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible background */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 5px solid #26A9E0;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-game-strategies__list-item strong {
    color: #26A9E0;
}

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

.page-game-strategies__card {
    background-color: rgba(255, 255, 255, 0.08); /* Light background for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
    height: 100%; /* Ensure cards have equal height */
}

.page-game-strategies__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-game-strategies__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-game-strategies__card-text {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Allow text to grow and push buttons to bottom if any */
}

/* Video Section */
.page-game-strategies__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background-color: #000;
}

.page-game-strategies__video-link {
    display: block;
    cursor: pointer;
}

.page-game-strategies__video {
    width: 100%;
    height: auto;
    display: block;
}

.page-game-strategies__video-caption {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 15px;
    color: #aaa;
}

/* FAQ Section */
.page-game-strategies__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ffffff;
}

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

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

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

.page-game-strategies__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-game-strategies__faq-item[open] .page-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

/* Hide default details marker */
.page-game-strategies__faq-item summary {
    list-style: none;
}
.page-game-strategies__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-game-strategies__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: #f0f0f0;
    line-height: 1.7;
}

/* Conclusion Section */
.page-game-strategies__conclusion .page-game-strategies__cta-buttons {
    margin-top: 40px;
}

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

    .page-game-strategies__hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        max-width: 100%;
    }

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

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

    .page-game-strategies__hero-image-wrapper {
        position: relative;
        height: 300px;
        width: 100%;
    }

    .page-game-strategies__hero-image {
        opacity: 0.6;
        filter: brightness(0.6);
    }

    .page-game-strategies__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-strategies {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

    .page-game-strategies__section {
        padding: 40px 0;
    }

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

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

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

    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-game-strategies__heading {
        font-size: 1.8em;
    }

    .page-game-strategies__paragraph {
        font-size: 1em;
    }

    /* Mobile image adaptation */
    .page-game-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-strategies__section,
    .page-game-strategies__card,
    .page-game-strategies__container,
    .page-game-strategies__video-wrapper,
    .page-game-strategies__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Video specific mobile adaptation */
    .page-game-strategies video,
    .page-game-strategies__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-game-strategies__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset */
    }

    .page-game-strategies__card-grid {
        grid-template-columns: 1fr;
        padding: 0 15px; /* Add padding to card grid on mobile */
    }

    .page-game-strategies__card {
        padding: 20px;
    }

    .page-game-strategies__card-image {
        height: 150px; /* Adjust card image height for mobile */
    }

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

    .page-game-strategies__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }
}