.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Inherited from body, but explicitly set for safety */
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #017439, #005f2f); /* Brand color gradient */
    color: #ffffff;
    overflow: hidden;
}

.page-fishing-games__hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFF00; /* Custom color for title, good contrast on dark green */
}

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

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

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

/* General Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__promotions-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    background-color: #f8f8f8; /* Light background for contrast */
    color: #333333; /* Dark text on light background */
    padding: 60px 0;
}

.page-fishing-games__features-section,
.page-fishing-games__game-showcase-section,
.page-fishing-games__why-choose-us-section,
.page-fishing-games__cta-final-section,
.page-fishing-games__copyright-info {
    background-color: #0d0d0d; /* Dark background for contrast */
    color: #ffffff; /* Light text on dark background */
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand color for titles on light background */
    font-weight: bold;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title {
    color: #FFFF00; /* Custom color for titles on dark background */
}

.page-fishing-games__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

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

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

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

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

.page-fishing-games__light-bg .page-fishing-games__btn-secondary {
    color: #017439;
    border-color: #017439;
}

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

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

/* Video Section */
.page-fishing-games__video-wrapper {
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000; /* Fallback for video area */
    border-radius: 10px;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer; /* Indicates clickability */
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__reason-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__light-bg .page-fishing-games__feature-card,
.page-fishing-games__light-bg .page-fishing-games__game-card,
.page-fishing-games__light-bg .page-fishing-games__reason-card {
    background-color: #ffffff; /* White background on light sections */
    color: #333333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__feature-icon,
.page-fishing-games__game-image {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    max-width: 250px; /* Max width for icons/small images in cards */
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-fishing-games__game-image {
    max-width: 100%; /* For game showcase images */
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}


.page-fishing-games__feature-title,
.page-fishing-games__game-title,
.page-fishing-games__reason-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom color for titles on dark background */
}
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__game-title,
.page-fishing-games__light-bg .page-fishing-games__reason-title {
    color: #017439; /* Brand color for titles on light background */
}

.page-fishing-games__game-title a {
    color: inherit; /* Inherit color from parent */
    text-decoration: none;
}
.page-fishing-games__game-title a:hover {
    text-decoration: underline;
}

.page-fishing-games__feature-description,
.page-fishing-games__game-description,
.page-fishing-games__reason-description {
    font-size: 1em;
    color: #f0f0f0;
}
.page-fishing-games__light-bg .page-fishing-games__feature-description,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__reason-description {
    color: #555555;
}


/* How To Play List */
.page-fishing-games__how-to-play-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__how-to-play-list li {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: #333333;
    border-left: 5px solid #017439;
}

.page-fishing-games__list-item-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

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

/* Promotions List */
.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promotion-list li {
    background-color: #ffffff;
    border-left: 5px solid #C30808; /* Use custom color for promotions highlight */
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__promotion-list li strong {
    color: #C30808; /* Highlight promotion names */
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    color: #333333;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #017439;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px 25px;
}

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

/* Copyright Info */
.page-fishing-games__copyright-info {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    background-color: #000000; /* Even darker for footer */
    color: #aaaaaa;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        min-height: 60vh;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

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

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

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        gap: 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;
    }

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

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

    .page-fishing-games__section-text {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-fishing-games__video-wrapper {
        margin: 30px auto;
        padding: 0 15px; /* Add horizontal padding to video container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

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

    .page-fishing-games__features-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__why-choose-us-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-fishing-games__feature-icon,
    .page-fishing-games__game-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }

    /* Content area images */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__how-to-play-list li,
    .page-fishing-games__promotion-list li,
    .page-fishing-games__faq-item {
        padding: 20px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}