/* style/fishing-games.css */

/* --- Base Styles --- */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__dark-bg {
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff; /* White text for dark background */
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* Auxiliary color */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__text-block a {
    color: inherit;
    text-decoration: underline;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust for potential header offset */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-section .page-fishing-games__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__intro-text {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7; /* Slightly dim the background image */
}

/* --- CTA Buttons --- */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login color for primary CTA */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
.page-fishing-games__dark-bg .page-fishing-games__btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
}
.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}
.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
    background-color: rgba(38, 169, 224, 0.1);
}


/* --- Game Cards Section --- */
.page-fishing-games__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    padding-bottom: 20px; /* Space for text */
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin: 20px 20px 10px;
    color: #26A9E0; /* Brand color for titles */
}

.page-fishing-games__card-link {
    text-decoration: none;
    color: inherit;
}

.page-fishing-games__card-link:hover {
    text-decoration: underline;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
    margin-bottom: 20px;
}

/* --- Guide & Strategy Lists --- */
.page-fishing-games__guide-list,
.page-fishing-games__strategy-list,
.page-fishing-games__promo-list,
.page-fishing-games__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
    color: #333333; /* Dark text for light background */
}
.page-fishing-games__dark-bg .page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


.page-fishing-games__list-item:hover {
    background-color: rgba(255, 255, 255, 1);
}
.page-fishing-games__dark-bg .page-fishing-games__list-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.page-fishing-games__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}
.page-fishing-games__dark-bg .page-fishing-games__list-title {
    color: #ffffff;
}

.page-fishing-games__list-description {
    font-size: 1em;
    color: #555555;
}
.page-fishing-games__dark-bg .page-fishing-games__list-description {
    color: #f0f0f0;
}

.page-fishing-games__list-description a {
    color: inherit;
    text-decoration: underline;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #333333;
}
.page-fishing-games__dark-bg .page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #eee;
    color: #333333;
    transition: background-color 0.3s ease;
}
.page-fishing-games__dark-bg .page-fishing-games__faq-question {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-fishing-games__faq-question:hover {
    background-color: #e0e0e0;
}
.page-fishing-games__dark-bg .page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #e0e0e0;
}
.page-fishing-games__dark-bg .page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: rgba(255, 255, 255, 0.3);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1em;
    color: #555555;
}
.page-fishing-games__dark-bg .page-fishing-games__faq-answer {
    color: #f0f0f0;
}

/* Details element specific styles */
.page-fishing-games__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

/* --- Final CTA Section --- */
.page-fishing-games__final-cta {
    padding-bottom: 80px;
}

/* --- Image specific styles (for content images) --- */
.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Ensure all images meet minimum size requirements */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 80px 0 40px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__section {
        padding: 40px 0;
    }
    
    .page-fishing-games__container {
        padding: 0 15px; /* Add padding to container to prevent overflow */
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Still adhere to minimum size */
        min-height: 200px;
    }
    
    /* Ensure all containers with images also adapt */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding added to container above to handle content overflow */
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    /* Specific for video sections if any, though none currently */
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__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-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__intro-text {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__list-title {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 20px 20px;
    }
}