/* style/game-strategies.css */

/* --- Base Styles & Variables --- */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-bg: #08160F; /* Assuming body bg is dark based on custom colors */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;

    /* Contrast check: body-bg is dark, so text should be light */
    --default-text-color: var(--text-main);
    --default-link-color: var(--gold-color);
}

.page-game-strategies {
    background-color: var(--body-bg);
    color: var(--default-text-color);
    font-family: 'Arial', sans-serif; /* Placeholder font */
    line-height: 1.6;
    /* body padding-top is handled by shared.css */
}

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

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

/* --- Hero Section --- */
.page-game-strategies__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensure sufficient height */
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header-offset */
    padding-bottom: 60px;
    box-sizing: border-box;
}

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

.page-game-strategies__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
}

.page-game-strategies__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    color: var(--text-main);
}

.page-game-strategies__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-game-strategies__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-game-strategies__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-game-strategies__btn-primary,
.page-game-strategies__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 180px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-strategies__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
}

.page-game-strategies__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-game-strategies__btn-secondary {
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-game-strategies__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(242, 193, 78, 0.1);
}

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

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

.page-game-strategies__section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--gold-color);
}

.page-game-strategies__section-title--white {
    color: var(--text-main);
}

.page-game-strategies__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-align: justify;
}

.page-game-strategies__text-block--white {
    color: var(--text-main);
}

.page-game-strategies__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- List Styles --- */
.page-game-strategies__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-game-strategies__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies__list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-game-strategies__list-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-game-strategies__list-description {
    font-size: 1em;
    color: var(--text-secondary);
    text-align: justify;
}

/* --- Strategy Cards --- */
.page-game-strategies__specific-strategies .page-game-strategies__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-strategies__strategy-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

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

.page-game-strategies__card-title {
    font-size: 1.6em;
    font-weight: 600;
    color: var(--gold-color);
    padding: 20px 20px 10px;
}

.page-game-strategies__card-description {
    font-size: 1em;
    color: var(--text-secondary);
    padding: 0 20px 15px;
    text-align: justify;
}

.page-game-strategies__strategy-card .page-game-strategies__list {
    padding: 0 20px;
    margin-bottom: 20px;
}

.page-game-strategies__strategy-card .page-game-strategies__list-item {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 10px;
    color: var(--text-secondary);
    text-align: justify;
}

.page-game-strategies__strategy-card .page-game-strategies__list-item strong {
    color: var(--text-main);
}

.page-game-strategies__card-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--deep-green);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to bottom */
}

.page-game-strategies__card-button:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
}

/* --- Dark Section --- */
.page-game-strategies__dark-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

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

.page-game-strategies__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    list-style: none; /* For details/summary */
}

.page-game-strategies__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

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

.page-game-strategies__faq-item[open] .page-game-strategies__faq-question {
    border-bottom: 1px solid var(--border-color);
}

.page-game-strategies__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    text-align: justify;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-game-strategies__hero-section {
        min-height: 500px;
    }
    .page-game-strategies__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-game-strategies__section-title {
        font-size: 2em;
    }
    .page-game-strategies__strategy-card .page-game-strategies__list-item {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .page-game-strategies__hero-section {
        min-height: 400px;
        padding-top: 10px !important; /* body handles --header-offset */
        padding-bottom: 40px;
    }
    .page-game-strategies__hero-content {
        padding: 15px;
    }
    .page-game-strategies__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-game-strategies__description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-game-strategies__cta-buttons {
        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: 12px 20px;
        font-size: 1em;
    }

    .page-game-strategies__section {
        padding: 40px 0;
    }
    .page-game-strategies__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-strategies__text-block {
        font-size: 0.95em;
    }

    .page-game-strategies__list-item {
        padding: 20px;
    }
    .page-game-strategies__list-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .page-game-strategies__specific-strategies .page-game-strategies__container {
        grid-template-columns: 1fr;
    }

    .page-game-strategies__card-title {
        font-size: 1.4em;
    }
    .page-game-strategies__card-description {
        font-size: 0.9em;
    }
    .page-game-strategies__strategy-card .page-game-strategies__list-item {
        font-size: 0.9em;
    }

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

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

    .page-game-strategies__container,
    .page-game-strategies__section,
    .page-game-strategies__card,
    .page-game-strategies__hero-image-wrapper,
    .page-game-strategies__hero-content,
    .page-game-strategies__cta-buttons,
    .page-game-strategies__faq-list,
    .page-game-strategies__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden; /* Ensure no overflow */
    }
    .page-game-strategies__cta-buttons {
        gap: 10px; /* Adjust gap for mobile buttons */
    }

    /* Specific video section top padding if exists - already handled by hero */
    .page-game-strategies__video-section {
      padding-top: 10px !important; /* body handles --header-offset */
    }
}

@media (max-width: 480px) {
    .page-game-strategies__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-game-strategies__section-title {
        font-size: 1.5em;
    }
    .page-game-strategies__btn-primary,
    .page-game-strategies__btn-secondary {
        min-width: unset; /* Allow buttons to shrink */
    }
    .page-game-strategies__faq-question {
        font-size: 1em;
    }
    .page-game-strategies__faq-toggle {
        font-size: 1.2em;
    }
}