/* style/game-strategy-guides.css */

/* Variables for colors */
:root {
    --page-game-strategy-guides__primary-color: #FFD700;
    --page-game-strategy-guides__secondary-color: #000080;
    --page-game-strategy-guides__text-light: #ffffff;
    --page-game-strategy-guides__text-dark: #333333;
    --page-game-strategy-guides__bg-dark: #000000; /* Assuming body background is #000 */
    --page-game-strategy-guides__bg-light: #f5f5f5;
    --page-game-strategy-guides__card-bg-dark: rgba(255, 255, 255, 0.1);
    --page-game-strategy-guides__card-bg-light: #ffffff;
}

.page-game-strategy-guides {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-game-strategy-guides__text-light); /* Default text color for dark body bg */
    background-color: var(--page-game-strategy-guides__bg-dark); /* Ensure consistency if body is not fully black */
}

.page-game-strategy-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    min-height: 600px;
    text-align: center;
    overflow: hidden;
}

.page-game-strategy-guides__dark-bg {
    background-color: var(--page-game-strategy-guides__bg-dark);
    color: var(--page-game-strategy-guides__text-light);
}

.page-game-strategy-guides__light-bg {
    background-color: var(--page-game-strategy-guides__bg-light);
    color: var(--page-game-strategy-guides__text-dark);
}

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

.page-game-strategy-guides__hero-title {
    font-size: 3.5em;
    color: var(--page-game-strategy-guides__primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-strategy-guides__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--page-game-strategy-guides__text-light);
}

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

.page-game-strategy-guides__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, not color change */
}

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

.page-game-strategy-guides__btn-primary,
.page-game-strategy-guides__btn-secondary {
    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, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-game-strategy-guides__btn-primary {
    background-color: var(--page-game-strategy-guides__primary-color);
    color: var(--page-game-strategy-guides__text-dark);
    border: 2px solid var(--page-game-strategy-guides__primary-color);
}

.page-game-strategy-guides__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-game-strategy-guides__btn-secondary {
    background-color: transparent;
    color: var(--page-game-strategy-guides__primary-color);
    border: 2px solid var(--page-game-strategy-guides__primary-color);
}

.page-game-strategy-guides__btn-secondary:hover {
    background-color: var(--page-game-strategy-guides__primary-color);
    color: var(--page-game-strategy-guides__text-dark);
}

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

.page-game-strategy-guides__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

.page-game-strategy-guides__section-text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-strategy-guides__introduction-section .page-game-strategy-guides__section-title,
.page-game-strategy-guides__casino-section .page-game-strategy-guides__section-title,
.page-game-strategy-guides__advanced-tips-section .page-game-strategy-guides__section-title,
.page-game-strategy-guides__cta-final-section .page-game-strategy-guides__section-title {
    color: var(--page-game-strategy-guides__secondary-color);
}

.page-game-strategy-guides__strategies-section .page-game-strategy-guides__section-title,
.page-game-strategy-guides__slot-fishing-section .page-game-strategy-guides__section-title,
.page-game-strategy-guides__faq-section .page-game-strategy-guides__section-title {
    color: var(--page-game-strategy-guides__primary-color);
}

.page-game-strategy-guides__video-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.page-game-strategy-guides__video {
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.page-game-strategy-guides__video-caption {
    text-align: center;
    font-style: italic;
    margin-top: 15px;
    color: var(--page-game-strategy-guides__text-dark);
}

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

.page-game-strategy-guides__card {
    background-color: var(--page-game-strategy-guides__card-bg-dark);
    color: var(--page-game-strategy-guides__text-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__card {
    background-color: var(--page-game-strategy-guides__card-bg-light);
    color: var(--page-game-strategy-guides__text-dark);
}

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

.page-game-strategy-guides__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-game-strategy-guides__card-title {
    font-size: 1.5em;
    padding: 15px 20px 10px;
    color: inherit;
}

.page-game-strategy-guides__card-title a {
    color: var(--page-game-strategy-guides__primary-color);
    text-decoration: none;
}

.page-game-strategy-guides__light-bg .page-game-strategy-guides__card-title a {
    color: var(--page-game-strategy-guides__secondary-color);
}

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

.page-game-strategy-guides__card-text {
    padding: 0 20px 20px;
    font-size: 1em;
    flex-grow: 1;
}

.page-game-strategy-guides__tip-list {
    list-style-type: disc;
    padding-left: 25px;
    max-width: 900px;
    margin: 30px auto;
    color: var(--page-game-strategy-guides__text-dark);
}

.page-game-strategy-guides__tip-list li {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-game-strategy-guides__tip-list strong {
    color: var(--page-game-strategy-guides__secondary-color);
}

.page-game-strategy-guides__cta-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-game-strategy-guides__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-strategy-guides__faq-item {
    background-color: var(--page-game-strategy-guides__card-bg-dark);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-strategy-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-game-strategy-guides__primary-color);
    background-color: rgba(255, 215, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-game-strategy-guides__faq-question:hover {
    background-color: rgba(255, 215, 0, 0.2);
}

.page-game-strategy-guides__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-game-strategy-guides__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--page-game-strategy-guides__text-light);
}

.page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px;
}

.page-game-strategy-guides__faq-answer p {
    margin-bottom: 15px;
    color: inherit;
}

.page-game-strategy-guides__faq-answer a {
    color: var(--page-game-strategy-guides__primary-color);
    text-decoration: none;
}

.page-game-strategy-guides__faq-answer a:hover {
    text-decoration: underline;
}

.page-game-strategy-guides__cta-final-section {
    padding-bottom: 80px;
}

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

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

@media (max-width: 768px) {
    .page-game-strategy-guides__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
        min-height: 500px;
    }

    .page-game-strategy-guides__hero-title {
        font-size: 2.5em;
    }

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

    .page-game-strategy-guides__container {
        padding: 30px 15px;
    }

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

    .page-game-strategy-guides__section-text,
    .page-game-strategy-guides__tip-list li,
    .page-game-strategy-guides__faq-question,
    .page-game-strategy-guides__faq-answer p {
        font-size: 1em;
    }

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

    .page-game-strategy-guides__cta-buttons,
    .page-game-strategy-guides__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }

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

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

    .page-game-strategy-guides__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-strategy-guides img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-game-strategy-guides__section,
    .page-game-strategy-guides__card,
    .page-game-strategy-guides__container,
    .page-game-strategy-guides__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-game-strategy-guides__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important; /* Ensure image covers hero section */
    }

    .page-game-strategy-guides__hero-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .page-game-strategy-guides__card-image {
        height: 200px !important; /* Adjust height for mobile cards */
    }

    .page-game-strategy-guides__tip-list {
        padding-left: 20px;
    }

    .page-game-strategy-guides__faq-question {
        padding: 15px;
    }

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

    .page-game-strategy-guides__faq-item.active .page-game-strategy-guides__faq-answer {
        padding: 15px !important;
    }
}