.page-popular-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
    background-color: #FFFFFF; /* Assuming body background is white/light */
}

/* Hero Section */
.page-popular-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles main offset */
    margin-bottom: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    text-align: center;
}

.page-popular-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for desktop hero */
    overflow: hidden;
}

.page-popular-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure image covers the area without distortion */
}

.page-popular-fishing-games__hero-content {
    max-width: 900px;
    padding: 30px 20px;
    background-color: #ffffff; /* Explicitly white background for content block */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -80px; /* Overlap with image slightly for visual appeal */
    position: relative;
    z-index: 1;
}

.page-popular-fishing-games__hero-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: #017439; /* Brand color for main title */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-popular-fishing-games__hero-description {
    font-size: 1.1rem;
    color: #555555;
    margin-bottom: 30px;
}

.page-popular-fishing-games__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

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

.page-popular-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-popular-fishing-games__text-block {
    font-size: 1rem;
    margin-bottom: 15px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #444444;
}

/* Backgrounds */
.page-popular-fishing-games__light-bg {
    background-color: #f8f8f8;
    color: #333333;
    padding: 60px 0;
}

.page-popular-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
    padding: 60px 0;
}

.page-popular-fishing-games__dark-bg .page-popular-fishing-games__section-title {
    color: #ffffff;
}

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

.page-popular-fishing-games__dark-bg .page-popular-fishing-games__text-block {
    color: #f0f0f0;
}

/* Buttons */
.page-popular-fishing-games__btn-primary,
.page-popular-fishing-games__btn-secondary,
.page-popular-fishing-games__btn-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-popular-fishing-games__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #ffffff;
}

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

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

.page-popular-fishing-games__btn-text-link {
    background: none;
    border: none;
    color: #017439;
    padding: 0;
    text-decoration: underline;
    font-weight: normal;
}

.page-popular-fishing-games__btn-text-link:hover {
    color: #00562e;
}

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

.page-popular-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-popular-fishing-games__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

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

.page-popular-fishing-games__feature-description {
    font-size: 0.95rem;
    color: #f0f0f0;
    text-align: center;
}

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

.page-popular-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

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

.page-popular-fishing-games__game-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #017439;
    margin: 20px 20px 10px;
    text-align: center;
}

.page-popular-fishing-games__game-description {
    font-size: 0.95rem;
    color: #555555;
    padding: 0 20px 15px;
    text-align: center;
    flex-grow: 1;
}

.page-popular-fishing-games__game-trial-frame {
    border: none;
    width: 100%;
    height: 300px; /* Adjust height for iframe */
    display: block;
    margin-bottom: 20px;
}

.page-popular-fishing-games__game-card .page-popular-fishing-games__btn-primary {
    margin: 0 20px;
    width: calc(100% - 40px);
}

.page-popular-fishing-games__view-all-games {
    text-align: center;
    margin-top: 40px;
}

/* Tips and Strategies */
.page-popular-fishing-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-popular-fishing-games__tip-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-popular-fishing-games__tip-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-popular-fishing-games__tip-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-popular-fishing-games__tip-description {
    font-size: 0.95rem;
    color: #f0f0f0;
    text-align: center;
}

.page-popular-fishing-games__view-all-tips {
    text-align: center;
    margin-top: 40px;
}

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

.page-popular-fishing-games__promo-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

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

.page-popular-fishing-games__promo-description {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-popular-fishing-games__view-all-promos {
    text-align: center;
    margin-top: 40px;
}

/* Why Choose Us Section */
.page-popular-fishing-games__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.page-popular-fishing-games__advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-popular-fishing-games__advantage-icon {
    font-size: 1.8rem;
    color: #FFFF00; /* Yellow for checkmark */
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.page-popular-fishing-games__advantage-text {
    font-size: 1rem;
    color: #f0f0f0;
}

.page-popular-fishing-games__cta-final {
    text-align: center;
    margin-top: 50px;
}

.page-popular-fishing-games__cta-final .page-popular-fishing-games__text-block {
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* FAQ Section */
details.page-popular-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
}
details.page-popular-fishing-games__faq-item summary.page-popular-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #333333; /* Ensure text color for FAQ question */
}
details.page-popular-fishing-games__faq-item summary.page-popular-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
details.page-popular-fishing-games__faq-item summary.page-popular-fishing-games__faq-question:hover {
    background: #f5f5f5;
}
.page-popular-fishing-games__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333; /* Ensure text color */
}
.page-popular-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-popular-fishing-games__faq-item .page-popular-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555; /* Ensure text color for FAQ answer */
}

.page-popular-fishing-games__faq-cta {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Image and Button Responsiveness */
.page-popular-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-popular-fishing-games__section,
.page-popular-fishing-games__card,
.page-popular-fishing-games__container,
.page-popular-fishing-games__hero-cta-buttons,
.page-popular-fishing-games__faq-cta {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .page-popular-fishing-games {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Hero Section */
    .page-popular-fishing-games__hero-section {
        margin-bottom: 20px;
    }

    .page-popular-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }

    .page-popular-fishing-games__hero-image {
        object-fit: contain !important; /* Specific for mobile banner */
        width: 100% !important;
        height: auto !important;
    }

    .page-popular-fishing-games__hero-content {
        padding: 20px 15px;
        margin-top: -50px; /* Adjust overlap */
        max-width: calc(100% - 30px) !important; /* Account for padding */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-popular-fishing-games__hero-title {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .page-popular-fishing-games__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-popular-fishing-games__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-popular-fishing-games__btn-primary,
    .page-popular-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 15px !important;
        font-size: 0.95rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* General Section Styling */
    .page-popular-fishing-games__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-popular-fishing-games__section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

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

    /* Features Section */
    .page-popular-fishing-games__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-popular-fishing-games__feature-card {
        padding: 20px;
    }

    .page-popular-fishing-games__feature-icon {
        max-width: 120px;
        margin-bottom: 15px;
        min-width: 200px !important; /* Override with !important for min size */
        min-height: 200px !important; /* Override with !important for min size */
    }

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

    /* Game Showcase */
    .page-popular-fishing-games__game-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-popular-fishing-games__game-card {
        padding-bottom: 15px;
    }

    .page-popular-fishing-games__game-image {
        height: 200px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-popular-fishing-games__game-title {
        font-size: 1.3rem;
        margin: 15px 15px 10px;
    }

    .page-popular-fishing-games__game-description {
        padding: 0 15px 10px;
    }

    .page-popular-fishing-games__game-trial-frame {
        height: 250px;
    }

    .page-popular-fishing-games__game-card .page-popular-fishing-games__btn-primary {
        margin: 0 15px;
        width: calc(100% - 30px) !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Tips and Strategies */
    .page-popular-fishing-games__tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-popular-fishing-games__tip-card {
        padding: 20px;
    }

    .page-popular-fishing-games__tip-image {
        height: 180px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

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

    /* Promotions Section */
    .page-popular-fishing-games__promo-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-popular-fishing-games__promo-item {
        padding: 20px;
    }

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

    /* Why Choose Us Section */
    .page-popular-fishing-games__advantages-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-popular-fishing-games__advantage-item {
        padding: 15px;
    }

    .page-popular-fishing-games__advantage-icon {
        font-size: 1.5rem;
    }
}