/* style/fishing-games.css */

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

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

.page-fishing-games__heading {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for headings */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__bullet-list,
.page-fishing-games__numbered-list {
    list-style-position: inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-fishing-games__list-item {
    margin-bottom: 10px;
}

/* --- Section Styles --- */
.page-fishing-games__hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #017439, #005a2d); /* Gradient with brand color */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-section .page-fishing-games__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__hero-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__main-heading {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Register/Login font color for main heading, per custom color rule */
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    min-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start; /* Align buttons to the left */
    flex-wrap: wrap; /* Allow buttons to wrap */
}

.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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #FFFF00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-fishing-games__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* --- General Section Backgrounds --- */
.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
    padding: 60px 0;
}

.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
}

.page-fishing-games__dark-bg .page-fishing-games__heading {
    color: #FFFFFF;
}

/* --- Features Section --- */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

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

.page-fishing-games__feature-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Slightly rounded images */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Highlighted text for titles */
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-fishing-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin: 15px 10px 10px;
    color: #017439;
}

.page-fishing-games__game-title a {
    text-decoration: none;
    color: #017439;
    transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
    color: #C30808; /* Hover color for game titles */
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-fishing-games__promo-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-fishing-games__faq-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 1.2em;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFFF00;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
    content: '−'; /* Change to minus sign */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Ensure FAQ answer expands with enough max-height and padding */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
}

.page-fishing-games__faq-answer .page-fishing-games__paragraph {
    margin-bottom: 0;
}


/* --- Call To Action Section --- */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 80px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__cta-content {
    max-width: 900px;
}

.page-fishing-games__cta-section .page-fishing-games__cta-buttons {
    justify-content: center;
    margin-top: 40px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section .page-fishing-games__container {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__hero-content {
        text-align: center;
    }

    .page-fishing-games__cta-buttons {
        justify-content: center;
    }

    .page-fishing-games__main-heading {
        font-size: 2.8em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__heading {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-fishing-games__main-heading {
        font-size: 2.5em;
    }

    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

    .page-fishing-games__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
    }

    .page-fishing-games__light-bg,
    .page-fishing-games__dark-bg,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }

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

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

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers with images are responsive */
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-fishing-games__container {
        padding: 0 15px; /* Adjust container padding for mobile */
    }

    /* Content area images - must not be smaller than 200px */
    .page-fishing-games img:not(.page-fishing-games__feature-icon):not(.page-fishing-games__game-thumbnail):not(.page-fishing-games__promo-image) {
        min-width: 200px;
        min-height: 200px;
    }}