/* style/fishing-games.css */

/* Base styles for the page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Inherited from body, explicit for clarity */
}

/* Sections */
.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding for content */
    box-sizing: border-box;
}

/* Titles and Headings */
.page-fishing-games__main-title {
    font-size: 3.2em;
    color: #FFFF00; /* Highlighted color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__feature-title,
.page-fishing-games__promo-title {
    color: #017439; /* Brand color for sub-titles on light bg */
}

.page-fishing-games__dark-bg .page-fishing-games__feature-title,
.page-fishing-games__dark-bg .page-fishing-games__promo-title {
    color: #ffffff;
}

.page-fishing-games__game-title a {
    color: #017439;
    text-decoration: none;
}
.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}
.page-fishing-games__dark-bg .page-fishing-games__game-title a {
    color: #FFFF00;
}


/* Text blocks and paragraphs */
.page-fishing-games__hero-description,
.page-fishing-games__text-block,
.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description,
.page-fishing-games__list-item {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__feature-description,
.page-fishing-games__dark-bg .page-fishing-games__game-description,
.page-fishing-games__dark-bg .page-fishing-games__promo-description,
.page-fishing-games__dark-bg .page-fishing-games__list-item {
    color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__promo-description,
.page-fishing-games__light-bg .page-fishing-games__list-item {
    color: #333333;
}


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

.page-fishing-games__cta-center {
    margin-top: 40px;
}

.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: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.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;
    border-color: #a00606;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

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

.page-fishing-games__light-bg .page-fishing-games__btn-secondary:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

.page-fishing-games__dark-bg .page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Yellow for secondary on dark bg */
    border: 2px solid #FFFF00;
}

.page-fishing-games__dark-bg .page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #0a0a0a;
    transform: translateY(-2px);
}


/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    min-height: 70vh;
    overflow: hidden;
    background-color: #0a0a0a; /* Ensure dark background */
    color: #ffffff;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    margin: 20px;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

/* Image Content Grid */
.page-fishing-games__image-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Min size for content images */
    min-height: 200px;
}

/* Features Grid */
.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.05); /* Slightly visible card on dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__light-bg .page-fishing-games__feature-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Image fills card width */
    max-width: 250px; /* Max width for feature icons */
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    min-width: 200px; /* Min size for feature icons */
    min-height: 200px;
}

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

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

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

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Min size for game images */
    min-height: 200px;
}

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

.page-fishing-games__promo-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px; /* Min size for promo images */
    min-height: 200px;
}

/* Strategy List */
.page-fishing-games__strategy-list,
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 40px auto;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid #017439;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__list-item {
    background-color: #f0f0f0;
    color: #333333;
    border-left-color: #017439;
}

.page-fishing-games__list-item strong {
    color: #FFFF00;
}

.page-fishing-games__light-bg .page-fishing-games__list-item strong {
    color: #017439;
}

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

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__dark-bg .page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__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: #017439;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Or change to '-' in JS */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
}

.page-fishing-games__dark-bg .page-fishing-games__faq-answer {
    color: #f0f0f0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
    padding-top: 0; /* Adjust for smooth transition */
}


/* Final CTA */
.page-fishing-games__final-cta {
    padding: 60px 20px;
    background-color: #017439; /* Brand primary color for final CTA */
    color: #ffffff;
    border-radius: 10px;
    margin-top: 60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__final-cta .page-fishing-games__section-title {
    color: #FFFF00;
}

.page-fishing-games__final-cta .page-fishing-games__text-block {
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (min-width: 769px) {
    .page-fishing-games__image-content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-fishing-games__image-content-grid img {
        order: 2; /* Image on right */
    }
    .page-fishing-games__image-content-grid p {
        order: 1; /* Text on left */
        text-align: left;
    }
}


@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 60vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-fishing-games__main-title {
        font-size: 2.2em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__hero-description,
    .page-fishing-games__text-block,
    .page-fishing-games__feature-description,
    .page-fishing-games__game-description,
    .page-fishing-games__promo-description,
    .page-fishing-games__list-item,
    .page-fishing-games__faq-answer p {
        font-size: 1em;
    }

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

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

    /* Image responsive rules */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__container,
    .page-fishing-games__hero-content,
    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-fishing-games__hero-image-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}