.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #FFCC00; /* Gold for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    padding-top: 40px;
}

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7); /* Primary color with transparency */
    z-index: 1;
}

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

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

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

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

.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: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background-color: #FFCC00; /* Gold */
    color: #003366; /* Deep Blue */
    border: 2px solid #FFCC00;
}

.page-fishing-games__btn-primary:hover {
    background-color: #003366; /* Deep Blue */
    color: #FFCC00; /* Gold */
    border-color: #FFCC00;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFCC00; /* Gold */
    border: 2px solid #FFCC00;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFCC00; /* Gold */
    color: #003366; /* Deep Blue */
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__tips-section,
.page-fishing-games__app-download-section,
.page-fishing-games__cta-bottom {
    padding: 60px 0;
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff;
}

.page-fishing-games__dark-section {
    background-color: #003366; /* Primary brand color as background */
    color: #ffffff;
}

.page-fishing-games__features-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #f0f0f0;
}

.page-fishing-games__features-grid,
.page-fishing-games__game-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 {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__feature-image,
.page-fishing-games__game-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: #FFCC00;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #e0e0e0;
    margin-bottom: 20px;
    flex-grow: 1; /* Make description take available space */
}

.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFCC00;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 60px;
}

.page-fishing-games__list-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFCC00;
    color: #003366;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-fishing-games__list-item strong {
    color: #FFCC00;
    font-size: 1.2em;
    display: block;
    margin-bottom: 5px;
}

.page-fishing-games__list-item p {
    color: #e0e0e0;
}

.page-fishing-games__list-item a {
    color: #FFCC00;
    text-decoration: underline;
}

.page-fishing-games__list-item a:hover {
    color: #ffffff;
}

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

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

.page-fishing-games__promo-list .page-fishing-games__list-item {
    border-left-color: #003366; /* Use primary for promo list */
    padding-left: 20px; /* Remove step counter offset */
}
.page-fishing-games__promo-list .page-fishing-games__list-item::before {
    content: '⭐'; /* Custom bullet for promo list */
    background-color: transparent;
    color: #FFCC00;
    width: auto;
    height: auto;
    font-size: 1.2em;
    left: 0;
    top: 15px;
    transform: none;
}

.page-fishing-games__promo-banner {
    position: relative;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__promo-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__promo-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-color: #FFCC00;
    color: #003366;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-fishing-games__promo-button:hover {
    background-color: #003366;
    color: #FFCC00;
}

.page-fishing-games__app-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-fishing-games__app-text {
    flex: 1;
}

.page-fishing-games__app-image-wrapper {
    flex: 1;
    text-align: center;
}

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

.page-fishing-games__app-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #003366; /* Primary color for question background */
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #004488; /* Slightly darker primary on hover */
}

.page-fishing-games__faq-title {
    margin: 0;
    font-size: 1.2em;
    color: #FFCC00; /* Gold for FAQ titles */
}

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

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands */
    padding: 20px;
    padding-top: 0;
}

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

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

/* 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__app-content {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__app-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset for mobile */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        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__features-grid,
    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
    }

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

    .page-fishing-games__list-item {
        padding-left: 50px;
    }

    .page-fishing-games__list-item::before {
        left: 10px;
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

    .page-fishing-games__promo-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-fishing-games__app-content {
        gap: 30px;
    }
    .page-fishing-games__app-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
    }
    .page-fishing-games__faq-title {
        font-size: 1.1em;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px;
        padding-top: 0;
    }

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

    /* Mobile image and video responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video {
        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,
    .page-fishing-games__app-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure no filter on images */
    .page-fishing-games img {
        filter: none !important;
    }
}