.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Assuming --bg-dark is dark for main text */
    background: var(--bg-dark, #0d0d0d); /* Fallback to dark grey if var is not set */
    min-height: 100vh;
}

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

/* Color scheme based on instructions */
.page-fishing-games__dark-bg {
    background: #017439; /* Primary brand color */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background: #ffffff; /* Secondary brand color */
    color: #333333;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: inherit; /* Inherit from parent, either white or #333 */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    font-weight: bold;
}

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

/* Links */
.page-fishing-games a {
    color: #FFFF00; /* Custom color for links on dark background */
    text-decoration: underline;
}

.page-fishing-games__light-bg a {
    color: #017439; /* Primary brand color for links on light background */
}

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

.page-fishing-games__light-bg a:hover {
    color: #005a2e;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: #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: #a30606;
    border-color: #a30606;
}

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

.page-fishing-games__btn-secondary:hover {
    background: #f0f0f0;
    color: #005a2e;
    border-color: #005a2e;
}

.page-fishing-games__hero-buttons,
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 15px;
}

.page-fishing-games__hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for titles on dark background */
    line-height: 1.2;
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability, not changing color */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

/* Video Section */
.page-fishing-games__video-section {
    padding: 80px 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: 960px; /* Max width of the video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-fishing-games__video-wrapper .page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    cursor: pointer;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #555;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    padding: 80px 0;
}

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

.page-fishing-games__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__feature-icon {
    width: 100%; /* Ensure it fills card width */
    max-width: 250px; /* Limit icon size */
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

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

.page-fishing-games__feature-text {
    font-size: 1em;
    color: #555;
}

.page-fishing-games__call-to-action {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #f0f0f0; /* Light text for dark background */
}

/* Popular Fishing Games Section */
.page-fishing-games__game-types {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 20px; /* Space for text */
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFF00; /* Custom color for titles on dark background */
}

.page-fishing-games__game-title a {
    color: inherit;
    text-decoration: none;
}

.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__game-text {
    font-size: 0.95em;
    color: #f0f0f0;
    padding: 0 15px;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    padding: 80px 0;
}

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

.page-fishing-games__step-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__step-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Primary brand color */
}

.page-fishing-games__step-text {
    font-size: 1em;
    color: #555;
}

.page-fishing-games__guide-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #f0f0f0;
}

/* Fishing Game Strategies */
.page-fishing-games__strategies {
    padding: 80px 0;
}

.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__strategy-item {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__strategy-title {
    font-size: 1.4em;
    color: #017439; /* Primary brand color */
    margin-bottom: 10px;
}

.page-fishing-games__strategy-text {
    font-size: 1em;
    color: #555;
}

.page-fishing-games__strategy-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #555;
}

/* Promotions Section */
.page-fishing-games__promotions {
    padding: 80px 0;
}

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

.page-fishing-games__promo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439; /* Primary brand color */
}

.page-fishing-games__promo-title a {
    color: inherit;
    text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__promo-text {
    font-size: 0.95em;
    color: #555;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 1.2em;
    color: #f0f0f0;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
}

.page-fishing-games__faq-list {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: #017439; /* Dark background for FAQ question */
    color: #ffffff; /* Light text for dark background */
}

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

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

.page-fishing-games__faq-question::marker {
    display: none;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate to form 'X' or '−' */
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    line-height: 1.6;
    background: #ffffff; /* Light background for answer content */
    color: #333333; /* Dark text for light background */
    border-top: 1px solid #e0e0e0;
}

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

.page-fishing-games__faq-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555;
}

/* Final Call to Action */
.page-fishing-games__cta-final {
    padding: 80px 0;
    text-align: center;
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        padding-top: 20px;
    }

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

    .page-fishing-games__features-grid,
    .page-fishing-games__games-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games img,
    .page-fishing-games video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}