/* style/fishing-games.css */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Inherited from shared.css, ensuring consistency */
}

/* Base container for content sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

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

/* Text blocks */
.page-fishing-games__text-block p {
    margin-bottom: 1em;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #017439; /* Primary brand color for hero background */
    color: #ffffff;
    overflow: hidden; /* Prevent video overflow */
}

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

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Special color for main title */
    line-height: 1.2;
}

.page-fishing-games__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small 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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-fishing-games__btn-primary {
    background-color: #A00000; /* Darker red for contrast with #FFFF00 */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #A00000;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-fishing-games__hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.3; /* Subtle background video */
    cursor: pointer; /* Indicate clickable */
}

/* About Section */
.page-fishing-games__about-section {
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__about-section .page-fishing-games__section-title {
    color: #017439; /* Primary color for titles */
}

.page-fishing-games__about-section .page-fishing-games__text-block p {
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__image-wrapper {
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

/* Features Section */
.page-fishing-games__features-section {
    background-color: #1a1a1a; /* Darker background */
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__features-section .page-fishing-games__section-title {
    color: #017439;
}

.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.08); /* Slightly transparent white on dark */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Make it fill the card width for larger display */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    color: #f0f0f0;
}

/* How-To-Play Section */
.page-fishing-games__how-to-play-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-fishing-games__how-to-play-section .page-fishing-games__section-title {
    color: #017439;
}

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

.page-fishing-games__step-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #017439;
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    color: #555555;
}

.page-fishing-games__step-description a {
    color: #C30808; /* Consistent link color for actions */
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__step-description a:hover {
    text-decoration: underline;
}

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

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-title {
    color: #017439;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__game-card h3 {
    padding: 15px 20px 0;
    font-size: 1.4em;
    color: #017439;
}

.page-fishing-games__game-card h3 a {
    color: #017439;
    text-decoration: none;
}

.page-fishing-games__game-card h3 a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-description {
    padding: 0 20px 20px;
    color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: #ffffff;
    color: #333333;
    padding: 60px 0;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: #017439;
}

.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;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-fishing-games__promo-title {
    font-size: 1.3em;
    color: #017439;
    margin: 15px 20px 10px;
}

.page-fishing-games__promo-description {
    color: #555555;
    padding: 0 20px 15px;
}

/* Safety Section */
.page-fishing-games__safety-section {
    background-color: #017439; /* Primary brand color for safety */
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__safety-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__safety-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1em;
    color: #f0f0f0;
}

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

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #017439;
}

.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #017439;
}

/* For details tag, hide default marker */
.page-fishing-games__faq-item summary {
    list-style: none;
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    color: #555555;
    font-size: 1em;
    line-height: 1.5;
}

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

.page-fishing-games__faq-answer a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

/* Final CTA Section */
.page-fishing-games__cta-final {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__cta-description {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    color: #f0f0f0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__container {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__intro-text,
    .page-fishing-games__safety-text,
    .page-fishing-games__cta-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__content-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image,
    .page-fishing-games__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important;
    }

    /* Video responsive rules */
    .page-fishing-games__hero-video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        position: relative !important; /* Remove absolute positioning */
        transform: none !important; /* Remove transform */
        min-width: 0 !important;
        min-height: 0 !important;
    }
    .page-fishing-games__hero-video-wrapper {
        position: relative !important;
        height: auto !important;
        padding-top: var(--header-offset, 120px) !important; /* Apply offset if video is first content */
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-section { /* If there were other video sections */
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Apply offset to hero section */
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 20px;
    }
}

/* Ensure no filter on images */
.page-fishing-games img {
    filter: none;
}