.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background is white */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px; /* Ensures hero section has a decent height */
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0; /* Primary brand color for hero background */
    color: #FFFFFF; /* White text on primary background */
    overflow: hidden;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #d46c06;
    border-color: #d46c06;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Primary brand color for secondary CTA text */
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #e0f4ff;
    color: #1e87b7;
    border-color: #1e87b7;
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay for background image */
    display: block;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Primary brand color for section titles */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFFFFF; /* White text on dark background */
}

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

.page-fishing-games__dark-bg .page-fishing-games__paragraph {
    color: #f0f0f0; /* Light grey text on dark background */
}

.page-fishing-games__image-full {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    background-color: #26A9E0; /* Primary brand color */
    color: #FFFFFF;
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__card-text {
    font-size: 1em;
    color: #555555;
}

.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 60px 0;
    background-color: #FFFFFF;
}

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

.page-fishing-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    min-height: 450px; /* Ensure cards have consistent height */
    display: flex;
    flex-direction: column;
}

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

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

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: #555555;
    padding: 0 15px 20px;
    flex-grow: 1; /* Allows description to take available space */
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__ordered-list {
    list-style-type: decimal;
    margin-left: 20px;
    padding-left: 0;
    font-size: 1.1em;
}

.page-fishing-games__ordered-list li {
    margin-bottom: 15px;
    color: #f0f0f0;
}

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

.page-fishing-games__link-inline {
    color: #FFFFFF;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-fishing-games__link-inline:hover {
    color: #EA7C07; /* Highlight with login color on hover */
}

/* Tips & Strategies Section */
.page-fishing-games__tips-strategies {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-fishing-games__unordered-list {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
    font-size: 1.1em;
}

.page-fishing-games__unordered-list li {
    margin-bottom: 10px;
    color: #333333;
}

/* Promotions Section */
.page-fishing-games__promotions {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
}

.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: #FFFFFF;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

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

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

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.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);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #eaf8ff; /* Light blue for question background */
    border-bottom: 1px solid #d0e8ff;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #d0e8ff;
    border-bottom: 1px solid #a0d0ff;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate + to become X or similar */
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #FFFFFF;
}

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

/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 60px 0;
    background-color: #26A9E0;
    color: #FFFFFF;
    text-align: center;
}

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

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%; /* Ensure button group takes full width */
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important; /* Adjust padding for mobile buttons */
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__promo-card {
        min-height: auto; /* Allow height to adjust */
    }

    .page-fishing-games__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image, video, and container overflow prevention */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .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;
        overflow: hidden !important; /* Prevent horizontal scroll */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile video section offset */
    }
    
    .page-fishing-games__hero-image-wrapper {
        position: relative; /* Adjust hero image positioning for mobile */
        height: 250px; /* Give it a fixed height or min-height */
        margin-top: 20px;
    }
    .page-fishing-games__hero-image {
        opacity: 0.3; /* Slightly more visible on mobile */
    }
    
    .page-fishing-games__ordered-list,
    .page-fishing-games__unordered-list {
        margin-left: 10px;
        padding-left: 10px;
        font-size: 1em;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95em !important;
        padding: 10px 15px !important;
    }
}