/* style/fishing-games.css */

/* --- General Styles --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-fishing-games__section-title {
    color: #26A9E0; /* Brand primary color */
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

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

/* --- Buttons --- */
.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: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a8cc4; /* Slightly darker primary */
    border-color: #1a8cc4;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f8ff; /* Light background */
    color: #1a8cc4;
    border-color: #1a8cc4;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    min-width: 200px; /* Min size for images */
    min-height: 200px; /* Min size for images */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

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

.page-fishing-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-fishing-games__hero-description {
    font-size: 1.5em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* --- Sections --- */
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__dark-bg {
    background-color: #26A9E0; /* Brand primary color for dark sections */
    color: #FFFFFF; /* White text for dark background */
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFFFFF;
}
.page-fishing-games__dark-bg .page-fishing-games__section-title::after {
    background-color: #FFFFFF;
}

.page-fishing-games__image-content {
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Min size for images */
    min-height: 200px; /* Min size for images */
}

/* --- Features Grid --- */
.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: rgba(255, 255, 255, 0.15); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF; /* Ensure white text on dark card */
}

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

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF; /* Ensure white text */
}

.page-fishing-games__feature-description {
    font-size: 1em;
    line-height: 1.6;
}

/* --- Games Grid --- */
.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: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
}

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

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

.page-fishing-games__game-title {
    font-size: 1.4em;
    padding: 15px 20px 0;
    margin-bottom: 10px;
}
.page-fishing-games__game-title a {
    color: #26A9E0; /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}
.page-fishing-games__game-title a:hover {
    color: #1a8cc4;
    text-decoration: underline;
}

.page-fishing-games__game-description {
    padding: 0 20px 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* --- How To Play Steps --- */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #FFFFFF;
}
.page-fishing-games__step-item a {
    color: #FFFFFF; /* White links on dark background */
    text-decoration: underline;
}
.page-fishing-games__step-item a:hover {
    color: #f0f8ff;
}

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

.page-fishing-games__step-description {
    font-size: 1.1em;
    line-height: 1.6;
}

/* --- Tips List --- */
.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__tip-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    color: #333333;
}
.page-fishing-games__tip-item a {
    color: #26A9E0; /* Brand primary for links on light background */
    text-decoration: underline;
}
.page-fishing-games__tip-item a:hover {
    color: #1a8cc4;
}

.page-fishing-games__tip-item:hover {
    transform: translateY(-5px);
}

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

.page-fishing-games__tip-description {
    font-size: 1em;
    line-height: 1.6;
}

/* --- Promotions 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: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #FFFFFF;
}

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

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

.page-fishing-games__promo-description {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-fishing-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    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-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    outline: none;
    list-style: none; /* Hide default marker */
}
.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 24px;
    text-align: center;
    color: #26A9E0;
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #555555;
}
.page-fishing-games__faq-answer a {
    color: #26A9E0; /* Link color */
    text-decoration: underline;
}
.page-fishing-games__faq-answer a:hover {
    color: #1a8cc4;
}

/* --- CTA Section --- */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 80px 0;
}

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

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

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

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

@media (max-width: 768px) {
    /* Ensure content area images do not shrink below 200px (this is for the actual display size, not the CSS rule itself) */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Ensure images are not too small for content */
        min-height: 200px; /* Ensure images are not too small for content */
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-section {
        height: auto; /* Adjust height for mobile */
        min-height: 600px;
        padding-top: var(--header-offset, 120px) !important; /* Fixed header offset for mobile */
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__tip-item {
        padding: 20px;
    }

    .page-fishing-games__game-image {
        height: 200px; /* Adjust height for mobile card images */
    }

    .page-fishing-games__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
        font-size: 1em;
    }

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

@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.5em;
    }
}