:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --card-bg: #FFFFFF;
    --section-bg: #F4F7FB;
    --text-main: #1F2D3D;
    --text-black: #000000;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --body-bg-fallback: #F4F7FB; /* Fallback for body background */
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--section-bg); /* Use section background for overall page */
}

/* Ensure text contrast based on body background, assuming body is light */
.page-fishing-games p, 
.page-fishing-games li, 
.page-fishing-games h1, 
.page-fishing-games h2, 
.page-fishing-games h3 {
    color: var(--text-main); 
}

.page-fishing-games__dark-section p,
.page-fishing-games__dark-section li,
.page-fishing-games__dark-section h1,
.page-fishing-games__dark-section h2,
.page-fishing-games__dark-section h3 {
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
}

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-black);
}

.page-fishing-games__sub-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-black);
}

.page-fishing-games__text-block {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--text-main);
}

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    font-size: 17px;
    line-height: 1.8;
}

.page-fishing-games__list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.page-fishing-games__list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

.page-fishing-games__btn-secondary {
    background: var(--card-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 60px;
    background-color: var(--primary-color);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Slightly dimmed background image */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 15px;
}

.page-fishing-games__main-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* About Section */
.page-fishing-games__about-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

.page-fishing-games__image-and-text-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
}

.page-fishing-games__text-content {
    flex: 1;
}

.page-fishing-games__image-content {
    flex: 1;
    text-align: center;
}

.page-fishing-games__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: block;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-fishing-games__game-types-section .page-fishing-games__section-title,
.page-fishing-games__game-types-section .page-fishing-games__text-block {
    color: #ffffff;
}

.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-fishing-games__game-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 15px;
    color: var(--text-black);
}

.page-fishing-games__game-card-description {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin: 0 auto;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__step-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-main);
}

.page-fishing-games__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
}

.page-fishing-games__step-icon img {
    
    height: auto;
    filter: brightness(0) invert(1); /* Change icon color to white */
    display: block;
}

.page-fishing-games__step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-black);
}

.page-fishing-games__step-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-fishing-games__tips-section .page-fishing-games__section-title,
.page-fishing-games__tips-section .page-fishing-games__text-block {
    color: #ffffff;
}

.page-fishing-games__tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__tip-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

.page-fishing-games__tip-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-black);
}

.page-fishing-games__tip-description {
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

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

.page-fishing-games__promo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0 15px;
    color: var(--text-black);
}

.page-fishing-games__promo-description {
    font-size: 16px;
    line-height: 1.5;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__promo-card .page-fishing-games__btn-primary {
    margin: 0 auto;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--card-bg);
}

details.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
}

details.page-fishing-games__faq-item summary.page-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: var(--text-black);
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}

details.page-fishing-games__faq-item summary.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
}

.page-fishing-games__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-main);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Bottom Section */
.page-fishing-games__cta-bottom-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    text-align: center;
}

.page-fishing-games__cta-bottom-section .page-fishing-games__section-title,
.page-fishing-games__cta-bottom-section .page-fishing-games__text-block {
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 48px;
    }
    .page-fishing-games__hero-description {
        font-size: 20px;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-fishing-games__image-and-text-grid {
        flex-direction: column;
    }
    .page-fishing-games__text-content, .page-fishing-games__image-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__about-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding-top: 10px; /* Consistent small top padding */
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image {
        object-fit: contain; /* Ensure image fits */
    }
    .page-fishing-games__hero-content {
        padding: 40px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 36px;
    }
    .page-fishing-games__hero-description {
        font-size: 18px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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;
    }

    /* General Section */
    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 24px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* About Section */
    .page-fishing-games__about-section {
        padding: 60px 0;
    }
    .page-fishing-games__image-and-text-grid {
        margin-top: 30px;
        gap: 30px;
    }

    /* Game Types Section */
    .page-fishing-games__game-types-section {
        padding: 60px 0;
    }
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 20px;
    }
    .page-fishing-games__game-card-image {
        height: 180px;
    }
    .page-fishing-games__game-card-title {
        font-size: 20px;
    }
    .page-fishing-games__game-card-description {
        font-size: 15px;
    }

    /* How To Play Section */
    .page-fishing-games__how-to-play-section {
        padding: 60px 0;
    }
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 20px;
    }
    .page-fishing-games__step-icon {
        width: 80px;
        height: 80px;
    }
    .page-fishing-games__step-icon img {
        
    }
    .page-fishing-games__step-title {
        font-size: 20px;
    }
    .page-fishing-games__step-description {
        font-size: 15px;
    }

    /* Tips Section */
    .page-fishing-games__tips-section {
        padding: 60px 0;
    }
    .page-fishing-games__tips-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 20px;
    }
    .page-fishing-games__tip-title {
        font-size: 20px;
    }
    .page-fishing-games__tip-description {
        font-size: 15px;
    }

    /* Promotions Section */
    .page-fishing-games__promotions-section {
        padding: 60px 0;
    }
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 20px;
    }
    .page-fishing-games__promo-image {
        height: 200px;
    }
    .page-fishing-games__promo-title {
        font-size: 20px;
    }
    .page-fishing-games__promo-description {
        font-size: 15px;
    }

    /* FAQ Section */
    .page-fishing-games__faq-section {
        padding: 60px 0;
    }
    details.page-fishing-games__faq-item summary.page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-qtext {
        font-size: 16px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    details.page-fishing-games__faq-item .page-fishing-games__faq-answer {
        padding: 0 15px 15px;
    }
    .page-fishing-games__faq-answer p {
        font-size: 15px;
    }

    /* CTA Bottom Section */
    .page-fishing-games__cta-bottom-section {
        padding: 60px 0;
    }
}