.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: var(--dark-bg-1, #0d0d0d); /* Assuming shared.css defines --dark-bg-1 as a dark color */
}

/* Header offset for main content */
.page-fishing-games__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-fishing-games__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: center;
    min-height: 600px;
    text-align: center;
    overflow: hidden;
    background-color: #017439; /* Brand color as background */
    color: #ffffff;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #005f2f;
    transform: translateY(-2px);
}

/* Video Section */
.page-fishing-games__video-section {
    background-color: #ffffff; /* Light background */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 30px auto 0;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding/border included in width */
}

.page-fishing-games__video-link {
    display: block; /* Make the whole wrapper clickable */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Ensure video takes full space */
}

/* Content Area */
.page-fishing-games__content-area {
    padding: 80px 0;
    background-color: var(--dark-bg-1, #0d0d0d); /* Dark background */
    color: #ffffff; /* Light text */
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
    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: #017439; /* Brand accent */
    border-radius: 2px;
}

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

.page-fishing-games__sub-title {
    font-size: 2em;
    color: #017439; /* Brand accent for sub-titles */
    margin-top: 60px;
    margin-bottom: 30px;
    text-align: center;
}

.page-fishing-games__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.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; /* Light background for cards */
    color: #333333; /* Dark text for cards */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure no extra space below image */
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-fishing-games__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly lighter background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-fishing-games__list-item::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1;
}

.page-fishing-games__steps-list {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__steps-list .page-fishing-games__list-item {
    background-color: transparent;
    padding: 0;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-fishing-games__steps-list .page-fishing-games__list-item::before {
    content: none; /* Remove custom bullet for ordered list */
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #017439; /* Brand color for question background */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #005f2f;
}

.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); /* Plus to X */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
    color: #f0f0f0;
}

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

.page-fishing-games__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-fishing-games__link {
    color: #FFFF00; /* Link color for internal links, contrasting with dark background */
    text-decoration: underline;
}

.page-fishing-games__link:hover {
    color: #f0f0f0;
}

/* Bottom CTA Section */
.page-fishing-games__cta-bottom {
    background-color: #017439; /* Brand color */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

/* General image styling for content area */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block; /* Prevents extra space below images */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__video-wrapper {
        margin: 30px 15px 0;
        padding-bottom: calc(56.25% - 30px); /* Adjust for horizontal padding, maintaining aspect ratio */
    }

    .page-fishing-games__container {
        padding: 0 15px;
    }

    .page-fishing-games__section-title {
        font-size: 2em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.6em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__list-item {
        font-size: 0.95em;
    }

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

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

    /* Mobile image responsiveness enforcement */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.4em;
    }
}