/* style/game-strategies.css */

/* Base styles for the page content, ensuring text is visible on a 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; /* Main content background is transparent, body background shows through */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

/* Container for sections */
.page-game-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px; /* Added horizontal padding for mobile safety */
    box-sizing: border-box;
}

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

/* Sub-titles */
.page-game-strategies__sub-title {
    font-size: 1.8em;
    color: #ffffff; /* White text for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Highlighted text */
.page-game-strategies__highlight {
    color: #26A9E0; /* Brand primary color for highlights */
    font-weight: bold;
}

/* Links */
.page-game-strategies a {
    color: #26A9E0; /* Brand primary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-strategies a:hover {
    color: #33c7f0; /* Lighter shade on hover */
    text-decoration: underline;
}

/* Buttons */
.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Ensure padding doesn't push width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

.page-game-strategies__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.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;
}

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Fixed height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

.page-game-strategies__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-game-strategies__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-game-strategies__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

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

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

.page-game-strategies__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Intro Section */
.page-game-strategies__intro-section {
    padding: 60px 0;
    background-color: #1a1a2e; /* Dark background for this section */
}

/* Types Section */
.page-game-strategies__types-section {
    padding: 60px 0;
    background-color: #0d0d1a; /* Even darker background for contrast */
}

.page-game-strategies__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.1); /* Semi-transparent white card */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff; /* White text for cards */
}

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

.page-game-strategies__card-text {
    font-size: 1em;
    line-height: 1.6;
}

/* Usage Section */
.page-game-strategies__usage-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-game-strategies__step-by-step {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.page-game-strategies__step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-game-strategies__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 10px;
    border: 2px solid #26A9E0;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Advanced Strategy Section */
.page-game-strategies__advanced-strategy-section {
    padding: 60px 0;
    background-color: #0d0d1a;
}

/* Responsible Gaming Section */
.page-game-strategies__responsible-gaming-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-game-strategies__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

/* FAQ Section */
.page-game-strategies__faq-section {
    padding: 60px 0;
    background-color: #0d0d1a;
}

.page-game-strategies__faq-list {
    margin-top: 40px;
}

.page-game-strategies__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter card for FAQ */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-game-strategies__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-game-strategies__faq-item.active .page-game-strategies__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to a cross/minus */
}

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

.page-game-strategies__faq-item.active .page-game-strategies__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content, !important for priority */
    padding: 15px 25px 20px; /* Adjusted padding for active state */
}

/* Image styles */
.page-game-strategies__image-content {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Center CTA */
.page-game-strategies__cta-center {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-strategies__hero-title {
        font-size: 3em;
    }
    .page-game-strategies__hero-description {
        font-size: 1.2em;
    }
    .page-game-strategies__section-title {
        font-size: 2em;
    }
    .page-game-strategies__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* Mobile header offset handled by shared.css var(--header-offset) */
    .page-game-strategies {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-game-strategies__hero-section {
        height: 450px;
    }

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

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

    .page-game-strategies__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary {
        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__cta-center {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-game-strategies__sub-title {
        font-size: 1.4em;
    }

    .page-game-strategies__grid {
        grid-template-columns: 1fr;
    }

    .page-game-strategies__step-by-step {
        gap: 30px;
    }

    .page-game-strategies__step-item {
        align-items: center;
        text-align: center;
    }

    .page-game-strategies__step-number {
        margin-bottom: 20px;
    }

    /* Images responsive for mobile */
    .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__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-game-strategies__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure hero section is pushed down */
    }

    /* FAQ specific mobile adjustments */
    .page-game-strategies__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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