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

/* Variables based on provided color scheme */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --page-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

    /* Fallback for header offset if shared.css doesn't define it */
    --header-offset: 0px; 
}

/* Base styles for the page content */
.page-game-strategy-guides {
    background-color: var(--page-bg);
    color: var(--text-main); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

.page-game-strategy-guides__section-title {
    font-size: 3em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
    text-shadow: 0px 0px 8px rgba(255, 211, 107, 0.5); /* Glow effect */
}

.page-game-strategy-guides__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-game-strategy-guides__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-main);
}

.page-game-strategy-guides p {
    color: var(--text-main);
}

.page-game-strategy-guides li {
    color: var(--text-main);
    margin-bottom: 8px;
}

/* Hero Section */
.page-game-strategy-guides__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body in shared.css */
    background-color: var(--card-bg); /* Use a darker background for hero section */
    border-bottom: 1px solid var(--border-color);
}

.page-game-strategy-guides__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within its max-width */
}

.page-game-strategy-guides__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-game-strategy-guides__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-game-strategy-guides__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-game-strategy-guides__hero-content h1 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(255, 211, 107, 0.7);
}

.page-game-strategy-guides__hero-description {
    font-size: 1.2em;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-game-strategy-guides__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--btn-gradient);
    color: #ffffff; /* White text for CTA button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-strategy-guides__cta-button:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E8A822 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Content Sections */
.page-game-strategy-guides__introduction-section,
.page-game-strategy-guides__strategies-section,
.page-game-strategy-guides__casino-section,
.page-game-strategy-guides__fishing-section,
.page-game-strategy-guides__slot-section,
.page-game-strategy-guides__cockfighting-section,
.page-game-strategy-guides__optimization-section,
.page-game-strategy-guides__faq-section,
.page-game-strategy-guides__cta-bottom-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-game-strategy-guides__content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align content to the top */
    gap: 30px;
    margin-bottom: 30px;
}

.page-game-strategy-guides__content-block img {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.page-game-strategy-guides__image-right {
    width: 45%;
    float: right; /* For text wrapping */
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-game-strategy-guides__image-left {
    width: 45%;
    float: left; /* For text wrapping */
    margin-right: 30px;
    margin-bottom: 20px;
}

/* Clear floats after content block for proper layout */
.page-game-strategy-guides__content-block::after {
    content: "";
    display: table;
    clear: both;
}

/* FAQ Section */
.page-game-strategy-guides__faq-list {
    margin-top: 30px;
}

details.page-game-strategy-guides__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    color: var(--text-main);
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question::-webkit-details-marker {
    display: none;
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question:hover {
    background: rgba(242, 193, 78, 0.1); /* Light hover effect with primary color */
}
.page-game-strategy-guides__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main); /* Ensure text color is main text color */
}
details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question:hover .page-game-strategy-guides__faq-qtext {
    color: var(--primary-color); /* Change text color on hover */
}
.page-game-strategy-guides__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-game-strategy-guides__faq-item .page-game-strategy-guides__faq-answer {
    padding: 0 20px 20px;
    background: rgba(17, 17, 17, 0.8); /* Slightly lighter background for answer */
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
    font-size: 1em;
}
.page-game-strategy-guides__faq-answer p {
    margin-bottom: 0;
    color: var(--text-main);
}


/* CTA Bottom Section */
.page-game-strategy-guides__cta-bottom-section {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--card-bg);
    border-bottom: none; /* No border for the last section */
}

.page-game-strategy-guides__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-game-strategy-guides__section-title {
        font-size: 2.5em;
    }
    .page-game-strategy-guides__sub-title {
        font-size: 1.6em;
    }
    .page-game-strategy-guides__hero-description {
        font-size: 1.1em;
    }
    .page-game-strategy-guides__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-game-strategy-guides__image-right,
    .page-game-strategy-guides__image-left {
        width: 40%; /* Adjust for slightly smaller screens */
    }
}

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

    .page-game-strategy-guides__hero-section {
        padding-top: 10px !important; /* Ensure small top padding on mobile */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-game-strategy-guides__hero-image img {
        border-radius: 4px;
    }

    .page-game-strategy-guides__hero-content h1 {
        font-size: clamp(2em, 8vw, 2.5em); /* Use clamp for H1 on mobile */
    }

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

    .page-game-strategy-guides__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-game-strategy-guides__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-game-strategy-guides__text-block {
        font-size: 1em;
    }

    .page-game-strategy-guides__content-block {
        flex-direction: column;
        gap: 20px;
    }

    .page-game-strategy-guides__content-block img,
    .page-game-strategy-guides__image-right,
    .page-game-strategy-guides__image-left {
        width: 100% !important; /* Force full width for images */
        float: none;
        margin: 0 0 20px 0 !important; /* Adjust margins */
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All image containers must also be responsive */
    .page-game-strategy-guides__hero-image,
    .page-game-strategy-guides__content-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    details.page-game-strategy-guides__faq-item summary.page-game-strategy-guides__faq-question { padding: 15px; }
    .page-game-strategy-guides__faq-qtext { font-size: 1em; }
    .page-game-strategy-guides__faq-toggle { font-size: 20px; }
    details.page-game-strategy-guides__faq-item .page-game-strategy-guides__faq-answer {
        padding: 0 15px 15px;
    }

    /* Buttons responsive on mobile */
    .page-game-strategy-guides__cta-button,
    .page-game-strategy-guides a[class*="button"],
    .page-game-strategy-guides a[class*="btn"] {
        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-strategy-guides__cta-bottom-section .page-game-strategy-guides__cta-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no filter is used on images */
.page-game-strategy-guides img {
    filter: none !important;
}

/* Contrast Fix (if needed, but design should avoid it) */
.page-game-strategy-guides__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-game-strategy-guides__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}