/* fishing-games.css */

/* Base Styles */
.page-fishing-games {
    background-color: #F4F7FB; /* Background color from palette */
    color: #1F2D3D; /* Text Main from palette */
    font-family: Arial, sans-serif; /* Roboto气质 */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); /* H2 size, clamped */
    color: #2F6BFF; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__section-title--gradient {
    background: linear-gradient(to right, #4A8BFF, #2F6BFF); /* Example gradient, adjust as needed */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for non-webkit browsers */
}

.page-fishing-games__text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-fishing-games__hero-cta-button,
.page-fishing-games__learn-more-button,
.page-fishing-games__view-all-button,
.page-fishing-games__cta-button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.page-fishing-games__hero-cta-button,
.page-fishing-games__cta-button {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient from palette */
    color: #FFFFFF;
}

.page-fishing-games__hero-cta-button:hover,
.page-fishing-games__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-fishing-games__learn-more-button,
.page-fishing-games__view-all-button {
    background-color: #6FA3FF; /* Auxiliary color */
    color: #FFFFFF;
    margin-top: 20px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__learn-more-button:hover,
.page-fishing-games__view-all-button:hover {
    background-color: #4A8BFF; /* Slightly darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    background-color: #100224; /* Dark background for contrast */
    padding: 10px 0 0; /* Small top padding for fixed header */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    background-color: #100224; /* Dark background for text area */
    color: #FFFFFF;
    padding: 40px 20px 60px;
    text-align: center;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* H1 size, clamped */
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__hero-cta-button {
    margin-top: 20px;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 20px;
    background-color: #F4F7FB;
    text-align: center;
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Card BG */
}

.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: #FFFFFF;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure image fills card width */
    height: auto;
    max-width: 400px; /* Max width for feature images */
    min-width: 200px; /* Min width for feature images */
    min-height: 200px; /* Min height for feature images */
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-fishing-games__feature-description {
    font-size: 1rem;
    color: #1F2D3D;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
    padding: 60px 20px;
    background-color: #F4F7FB;
    text-align: center;
}

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

.page-fishing-games__game-tile {
    display: block; /* Ensure the whole tile is clickable */
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__game-tile:hover {
    transform: translateY(-5px) scale(1.03); /* Hover effect to slightly enlarge */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__game-tile img {
    width: 100%;
    height: 200px; /* Fixed height for game tiles, adjust as needed */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min width for game images */
    min-height: 200px; /* Min height for game images */
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Card BG */
}

.page-fishing-games__advantage-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__advantage-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-align: left;
}

.page-fishing-games__advantage-title {
    font-size: 1.4rem;
    color: #2F6BFF;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__advantage-description {
    font-size: 1rem;
    color: #1F2D3D;
}

/* CTA Section */
.page-fishing-games__cta-section {
    background: linear-gradient(135deg, #2F6BFF, #6FA3FF); /* Gradient background */
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF;
}

.page-fishing-games__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFFFFF;
}

.page-fishing-games__cta-description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-fishing-games__cta-button--register {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
}

.page-fishing-games__cta-button--download {
    background-color: #FFFFFF;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
}

.page-fishing-games__cta-button--download:hover {
    background-color: #E0EFFF;
    color: #2F6BFF;
}

/* Responsive Styles */
@media (max-width: 849px) {
    .page-fishing-games__container {
        padding: 15px;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px; /* Small top padding for fixed header */
    }

    /* Hero section: Image on top, text below for mobile */
    .page-fishing-games__hero-image {
        /* Already defined to be full width and auto height */
    }
    .page-fishing-games__hero-content {
        padding: 30px 15px 40px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
    }

    .page-fishing-games__hero-description {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-fishing-games__text-content {
        font-size: 1rem;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__advantage-list {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__advantage-item {
        padding: 20px;
    }

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-tile img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Min size enforcement */
        min-height: 200px; /* Min size enforcement */
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-fishing-games__hero-cta-button,
    .page-fishing-games__learn-more-button,
    .page-fishing-games__view-all-button,
    .page-fishing-games__cta-button {
        width: 100%;
        max-width: 320px; /* Constrain button width on mobile */
        min-height: 44px; /* Touch target size */
        padding: 12px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 549px) {
    .page-fishing-games__container {
        padding: 12px;
    }

    .page-fishing-games__hero-content {
        padding: 25px 12px 30px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-fishing-games__hero-description {
        font-size: clamp(0.85rem, 3.8vw, 1rem);
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.4rem, 6.5vw, 1.8rem);
    }

    .page-fishing-games__text-content {
        font-size: 0.95rem;
    }

    .page-fishing-games__feature-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__advantage-title {
        font-size: 1.2rem;
    }

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

/* Ensure content area images do not cause overflow on mobile */
@media (max-width: 768px) {
    .page-fishing-games img {
        max-width: 100%;
        height: auto;
    }
    .page-fishing-games {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
}

/* Ensure no content area image is smaller than 200px */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
}
/* Override specific sections that might have smaller images, ensuring they are at least 200px */
.page-fishing-games__feature-icon {
    min-width: 200px;
    min-height: 200px;
}
.page-fishing-games__game-tile img {
    min-width: 200px;
    min-height: 200px;
}