/* style/game-strategies.css */

/* Base styles for the page content */
.page-game-strategies {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
    padding-top: 0; /* Handled by hero section or shared.css */
}

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

/* Hero Section */
.page-game-strategies__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #26A9E0, #1a7bb0); /* Brand colors */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-game-strategies__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-strategies__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

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

.page-game-strategies__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-sizing: border-box;
}

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

.page-game-strategies__btn--primary:hover {
    background-color: #1a7bb0;
    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-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;
    opacity: 0.2; /* Subtle background image */
}

/* General Section Styles */
.page-game-strategies__section {
    padding: 60px 0;
    text-align: center;
    background-color: #1a1a1a; /* Ensure dark background for content sections */
    color: #f0f0f0; /* Light text */
}

.page-game-strategies__section:nth-of-type(even) {
    background-color: #222222; /* Slightly different dark background for contrast */
}

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

.page-game-strategies__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #cccccc;
}

.page-game-strategies__subsection-title {
    font-size: 2em;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #26A9E0;
}

.page-game-strategies__text-block {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

/* Game Types Grid */
.page-game-strategies__game-types-grid,
.page-game-strategies__strategy-grid,
.page-game-strategies__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategies__card {
    background-color: #2a2a2a; /* Darker card background for contrast */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-strategies__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-strategies__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

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

.page-game-strategies__card-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow */
}

.page-game-strategies__card-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-strategies__card-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Strategy Cards */
.page-game-strategies__strategy-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
}

.page-game-strategies__strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-game-strategies__strategy-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-game-strategies__strategy-text {
    font-size: 1em;
    color: #cccccc;
}

/* Tips List */
.page-game-strategies__tips-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
}

.page-game-strategies__tips-item {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-strategies__tips-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.35);
}

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

.page-game-strategies__tips-text {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 15px;
}

.page-game-strategies__tips-link {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-game-strategies__tips-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* FAQ Section */
.page-game-strategies__faq {
    text-align: left;
}

.page-game-strategies__faq-list {
    max-width: 900px;
    margin: 40px auto;
}

.page-game-strategies__faq-item {
    background-color: #2a2a2a;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
}

.page-game-strategies__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.page-game-strategies__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

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

.page-game-strategies__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #cccccc;
}

.page-game-strategies__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-game-strategies__conclusion {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a7bb0, #26A9E0); /* Brand colors */
    color: #ffffff;
}

.page-game-strategies__call-to-action-text {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-game-strategies__cta-buttons--bottom {
    margin-top: 30px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategies__main-title {
        font-size: 2.8em;
    }
    .page-game-strategies__section-title {
        font-size: 2.2em;
    }
    .page-game-strategies__subsection-title {
        font-size: 1.8em;
    }
    .page-game-strategies__game-types-grid,
    .page-game-strategies__strategy-grid,
    .page-game-strategies__info-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-game-strategies {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-game-strategies__hero-section {
        min-height: 500px;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }
    .page-game-strategies__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-game-strategies__intro-text {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    .page-game-strategies__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 350px; /* Constrain button group width */
        margin: 0 auto;
    }
    .page-game-strategies__btn {
        width: 100% !important; /* Force full width on mobile */
        max-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__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-game-strategies__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-game-strategies__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-game-strategies__subsection-title {
        font-size: 1.5em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-game-strategies__text-block {
        font-size: 1em;
        margin-bottom: 20px;
    }
}