/* style/fishing-games.css */

/* Base styles for the page content, ensuring contrast with body background */
/* Assuming body background is light (var(--secondary-color) which is #FFFFFF) */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Ensure explicit background for sections */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px; /* Ample space below content */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    position: relative;
    margin-bottom: 30px; /* Space between image and content */
}

.page-fishing-games__hero-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: #333333; /* Default text color for light backgrounds */
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #017439; /* Brand color for main title */
}

.page-fishing-games__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
}

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

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

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #C30808; /* Use custom color for text */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #a00606;
    border-color: #a00606;
}

.page-fishing-games__btn-large {
    min-width: 280px;
    font-size: 1.2rem;
    padding: 18px 35px;
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #017439; /* Brand color for section titles */
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

/* Dark Background Section */
.page-fishing-games__dark-section {
    background-color: #017439; /* Main brand color */
    color: #FFFFFF; /* White text for contrast */
    padding: 60px 0;
}

.page-fishing-games__dark-section .page-fishing-games__section-title,
.page-fishing-games__dark-section .page-fishing-games__section-description {
    color: #FFFFFF;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding-top: 40px;
}

.page-fishing-games__content-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 300px;
    font-size: 1.05rem;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-fishing-games__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-fishing-games__image-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    filter: none; /* No image filters */
}

/* Highlights Section */
.page-fishing-games__feature-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 for dark section */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure feature icons are responsive */
    height: auto;
    max-width: 250px; /* Example max size, adjust as needed */
    margin: 0 auto 20px auto;
    display: block;
    filter: none; /* No image filters */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-fishing-games__feature-card p {
    font-size: 1rem;
    color: #f0f0f0;
}

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

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

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

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails, adjust as needed */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    filter: none; /* No image filters */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

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

.page-fishing-games__btn-play {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-play:hover {
    background-color: #a00606;
}

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

.page-fishing-games__guide-step {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}

.page-fishing-games__step-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-fishing-games__guide-step p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #f0f0f0;
}

/* Promotions Section */
.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;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-fishing-games__promo-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    filter: none; /* No image filters */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #017439;
}

.page-fishing-games__promo-card p {
    font-size: 0.95rem;
    padding: 0 20px;
    margin-bottom: 20px;
    color: #555555;
}

.page-fishing-games__btn-promo {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-promo:hover {
    background-color: #005f2f;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark section */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-fishing-games__faq-question {
    display: block;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question::after {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #f0f0f0;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    color: #f0f0f0;
}

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

.page-fishing-games__text-center {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 4.5vw, 2.5rem);
    }

    .page-fishing-games__content-grid {
        flex-direction: column;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__image-block {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile specific padding/margins */
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, small decorative padding here */
        padding-bottom: 30px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-fishing-games__hero-description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 300px; /* Constrain button group width */
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Mobile forced responsive images/videos/buttons */
    .page-fishing-games img {
        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__hero-content-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play,
    .page-fishing-games__btn-promo,
    .page-fishing-games a[class*="button"],
    .page-fishing-games 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; /* Add padding to button content */
        padding-right: 15px;
    }

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

    .page-fishing-games__section-description {
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__guide-step,
    .page-fishing-games__promo-card {
        padding: 25px;
    }

    .page-fishing-games__faq-question {
        font-size: 1.05rem;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-question::after {
        right: 20px;
    }
}