/* style/game-strategy-tips.css */
.page-game-strategy-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #FFFFFF);
}

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

.page-game-strategy-tips__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF; /* White text for dark background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.page-game-strategy-tips__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-game-strategy-tips__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly transparent to let background color show */
}

.page-game-strategy-tips__hero-section .page-game-strategy-tips__container {
    position: relative;
    z-index: 1;
}

.page-game-strategy-tips__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-game-strategy-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    line-height: 1.8;
    color: #FFFFFF;
}

.page-game-strategy-tips__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

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

.page-game-strategy-tips__btn-primary:hover {
    background-color: #d86a00;
    border-color: #d86a00;
}

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

.page-game-strategy-tips__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #26A9E0;
}

.page-game-strategy-tips__section {
    padding: 60px 0;
}

.page-game-strategy-tips__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-game-strategy-tips__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-game-strategy-tips__dark-bg .page-game-strategy-tips__section-title,
.page-game-strategy-tips__dark-bg .page-game-strategy-tips__text-block,
.page-game-strategy-tips__dark-bg .page-game-strategy-tips__card-title a,
.page-game-strategy-tips__dark-bg .page-game-strategy-tips__card p,
.page-game-strategy-tips__dark-bg .page-game-strategy-tips__card ul li {
    color: #FFFFFF;
}

.page-game-strategy-tips__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    color: #26A9E0; /* Primary brand color for titles on light background */
}

.page-game-strategy-tips__dark-bg .page-game-strategy-tips__section-title {
    color: #FFFFFF;
}

.page-game-strategy-tips__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

.page-game-strategy-tips__image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-game-strategy-tips__card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333;
}

.page-game-strategy-tips__dark-bg .page-game-strategy-tips__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.page-game-strategy-tips__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-strategy-tips__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-game-strategy-tips__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-strategy-tips__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-game-strategy-tips__dark-bg .page-game-strategy-tips__card-title a {
    color: #FFFFFF;
}

.page-game-strategy-tips__card-title a:hover {
    text-decoration: underline;
}

.page-game-strategy-tips__card p {
    font-size: 1em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-game-strategy-tips__card ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-game-strategy-tips__card ul li {
    margin-bottom: 5px;
}

.page-game-strategy-tips__list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-game-strategy-tips__list li {
    background-color: #F8F8F8;
    border-left: 5px solid #26A9E0;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 1.1em;
    color: #333333;
}

.page-game-strategy-tips__list li strong {
    color: #26A9E0;
}

.page-game-strategy-tips__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-strategy-tips__feature-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #FFFFFF;
}

.page-game-strategy-tips__feature-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-game-strategy-tips__feature-item p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-game-strategy-tips__btn-link {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #FFFFFF;
}

.page-game-strategy-tips__btn-link:hover {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

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

.page-game-strategy-tips__faq-item {
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-game-strategy-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #FFFFFF;
    color: #26A9E0;
    border-bottom: 1px solid #E0E0E0;
}

.page-game-strategy-tips__faq-question:hover {
    background-color: #F0F0F0;
}

.page-game-strategy-tips__faq-question h3 {
    margin: 0;
    color: #26A9E0;
}

.page-game-strategy-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0;
}

.page-game-strategy-tips__faq-item.active .page-game-strategy-tips__faq-toggle {
    transform: rotate(45deg);
}

.page-game-strategy-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #F8F8F8;
    color: #333333;
}

.page-game-strategy-tips__faq-item.active .page-game-strategy-tips__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it overrides other styles */
    padding: 20px;
}

.page-game-strategy-tips__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-game-strategy-tips__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-game-strategy-tips__cta-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-game-strategy-tips__hero-title {
        font-size: 2.8em;
    }

    .page-game-strategy-tips__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-game-strategy-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-game-strategy-tips__hero-section {
        padding: 60px 0;
        min-height: 400px;
    }

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

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

    .page-game-strategy-tips__cta-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-game-strategy-tips__btn-primary,
    .page-game-strategy-tips__btn-secondary,
    .page-game-strategy-tips__btn-link {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-game-strategy-tips__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-game-strategy-tips__text-block {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-game-strategy-tips__image {
        margin: 30px auto;
        width: calc(100% - 30px);
        max-width: 100% !important;
        height: auto !important;
    }

    .page-game-strategy-tips__grid,
    .page-game-strategy-tips__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-game-strategy-tips__card {
        padding: 20px;
    }

    .page-game-strategy-tips__card-title {
        font-size: 1.3em;
    }

    .page-game-strategy-tips__list {
        margin: 30px 0;
        padding: 0 15px;
    }

    .page-game-strategy-tips__list li {
        padding: 15px;
        font-size: 1em;
    }

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

    .page-game-strategy-tips__faq-answer {
        padding: 0 15px;
    }

    .page-game-strategy-tips__faq-item.active .page-game-strategy-tips__faq-answer {
        padding: 15px;
    }

    .page-game-strategy-tips__cta-section {
        padding: 60px 0;
    }

    .page-game-strategy-tips__cta-section p {
        font-size: 1em;
        padding: 0 15px;
    }

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

    .page-game-strategy-tips__section,
    .page-game-strategy-tips__card,
    .page-game-strategy-tips__container,
    .page-game-strategy-tips__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right might be added by specific elements */
        overflow-x: hidden !important; /* Ensure no horizontal scroll */
    }

    .page-game-strategy-tips__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile video section */
    }

    .page-game-strategy-tips video,
    .page-game-strategy-tips__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-strategy-tips__video-section,
    .page-game-strategy-tips__video-container,
    .page-game-strategy-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-game-strategy-tips__hero-title {
        font-size: 1.8em;
    }

    .page-game-strategy-tips__section-title {
        font-size: 1.5em;
    }

    .page-game-strategy-tips__card-title {
        font-size: 1.2em;
    }

    .page-game-strategy-tips__faq-question h3 {
        font-size: 1em;
    }
}