.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #000, so use light text */
    background-color: #000; /* Ensure consistency with shared.css body background */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 700px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #004d29);
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__hero-content {
    flex: 1;
    padding-right: 40px;
    z-index: 1;
}

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

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

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
}

.page-fishing-games__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 40px;
}

.page-fishing-games__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 0;
    text-align: center;
    background-color: #017439; /* Brand color as dark background */
    color: #ffffff; /* White text for contrast */
}

.page-fishing-games__video-wrapper {
    position: relative;
    max-width: 960px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.page-fishing-games__video-cta-text {
    font-size: 1.1em;
    margin-top: 20px;
}

.page-fishing-games__video-cta-button {
    margin-top: 30px;
}

/* General Section Styling */
.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff; /* Default to white for dark sections */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0; /* Slightly off-white for description */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__section-description,
.page-fishing-games__light-bg .page-fishing-games__text-block p,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__card-text,
.page-fishing-games__light-bg .page-fishing-games__section-text {
    color: #333333; /* Dark text for light backgrounds */
}

.page-fishing-games__light-bg {
    background-color: #ffffff; /* White background */
    color: #333333;
    padding: 80px 0;
}

.page-fishing-games__dark-section {
    background-color: #017439; /* Brand color background */
    color: #ffffff;
    padding: 80px 0;
}

.page-fishing-games__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Feature Cards */
.page-fishing-games__features-grid,
.page-fishing-games__game-type-grid,
.page-fishing-games__promo-grid,
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Light on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #ffffff; /* Default card text for dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__card {
    background-color: #f8f8f8; /* Dark text on light background */
    color: #333333;
    border: 1px solid #e0e0e0;
}


.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__card-icon,
.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block; /* Ensure it takes full width */
}

.page-fishing-games__card-icon {
    width: 200px; /* Min size requirement */
    height: 150px; /* Example height */
    object-fit: contain;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFFFF; /* Default for dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__card-title {
    color: #017439; /* Brand color for light sections */
}

.page-fishing-games__card-text {
    font-size: 1em;
    line-height: 1.5;
    flex-grow: 1; /* Allow text to grow */
}

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

.page-fishing-games__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0 auto;
}

/* 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;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #e00b0b;
    transform: translateY(-3px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFFF00;
    color: #C30808;
    transform: translateY(-3px);
}

/* Download Guide Steps */
.page-fishing-games__step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    color: #333333;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.page-fishing-games__step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #017439;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom-color: transparent;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficient height to show content */
    padding: 15px 25px 20px 25px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
}

/* Final CTA Section */
.page-fishing-games__cta-final-content {
    text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__cta-final .page-fishing-games__section-description {
    color: #555555;
}

.page-fishing-games__cta-final .page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .page-fishing-games__hero-image-wrapper {
        padding-left: 0;
    }

    .page-fishing-games__hero-title {
        font-size: 2.8em;
    }

    .page-fishing-games__grid-layout {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__image-block {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }

    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* Mobile Content Area Protection */
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__content-container,
    .page-fishing-games__hero-section,
    .page-fishing-games__video-section,
    .page-fishing-games__about-fishing-games,
    .page-fishing-games__features-benefits,
    .page-fishing-games__game-types,
    .page-fishing-games__promotions,
    .page-fishing-games__download-guide,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
    }

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

    /* Images Responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Videos Responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons Responsive */
    .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 !important;
        padding-right: 15px !important;
    }

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

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-fishing-games__card {
        padding: 20px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 20px 15px 20px;
    }
}