/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Sections with light background for better readability in content areas */
.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

/* Sections with dark background, using primary brand color */
.page-fishing-games__dark-bg {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff; /* Light text for dark background */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px; /* Ensure hero has a decent height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background-color: #0a0a0a; /* Fallback for image loading */
}

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

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

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

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section (light/dark bg) */
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: inherit; /* Inherit color from parent section */
}

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

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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 button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0; /* Primary brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin: 10px;
}

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

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
    margin: 10px;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    margin-top: 30px;
    gap: 15px; /* Spacing between buttons */
}

/* Feature List */
.page-fishing-games__feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    color: inherit;
}

.page-fishing-games__feature-list li {
    background-color: rgba(0, 0, 0, 0.05); /* Light background for items in light section */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: inherit;
}
.page-fishing-games__dark-bg .page-fishing-games__feature-list li {
    background-color: rgba(255, 255, 255, 0.1); /* Dark background for items in dark section */
    color: #ffffff;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent card on dark background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding-bottom: 20px;
    color: #ffffff;
}
.page-fishing-games__light-bg .page-fishing-games__game-card {
    background-color: #f9f9f9; /* Light card on light background */
    color: #333333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: inherit;
}

.page-fishing-games__game-description {
    padding: 0 20px;
    margin-bottom: 20px;
    color: inherit;
}

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

.page-fishing-games__strategy-card,
.page-fishing-games__step-card,
.page-fishing-games__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
}
.page-fishing-games__dark-bg .page-fishing-games__strategy-card,
.page-fishing-games__dark-bg .page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-title,
.page-fishing-games__step-title,
.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: inherit;
}

.page-fishing-games__strategy-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-fishing-games__strategy-list li {
    margin-bottom: 10px;
    color: inherit;
}

.page-fishing-games__step-description,
.page-fishing-games__promo-description {
    margin-bottom: 20px;
    color: inherit;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Consistent height for promo images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

.page-fishing-games__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}
.page-fishing-games__light-bg .page-fishing-games__feature-item {
    background-color: #f9f9f9;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__feature-icon {
    width: 200px; /* Enforce minimum size */
    height: 200px; /* Enforce minimum size */
    object-fit: contain;
    margin-bottom: 20px;
    display: inline-block; /* Ensure icon is centered */
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: inherit;
}

.page-fishing-games__feature-description {
    color: inherit;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 30px;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #555555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}
.page-fishing-games__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-fishing-games__faq-answer a:hover {
    text-decoration: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }
    .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 {
        min-height: 450px;
    }
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
        margin: 5px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .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;
        padding-right: 15px;
    }
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-fishing-games__container {
        padding: 30px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr; /* Single column layout for grids */
        gap: 20px;
    }
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: auto; /* Allow image height to adjust */
    }

    /* Mobile image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
   }}