.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Inherited from shared, but explicit for context */
}

/* 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;
}

/* Sections */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #1a1a1a;
    overflow: hidden;
    text-align: center;
    padding: 80px 0; /* Add some vertical padding */
}

.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.4; /* Darken image for better text contrast */
}

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

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
}

.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: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1e87b7;
    border-color: #1e87b7;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* About Section */
.page-fishing-games__about-fb88-fishing,
.page-fishing-games__how-to-play,
.page-fishing-games__mobile-experience,
.page-fishing-games__cta-final {
    padding: 80px 0;
}

.page-fishing-games__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #222222; /* Slightly lighter dark for contrast */
    color: #f0f0f0;
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #26A9E0;
}

.page-fishing-games__light-bg .page-fishing-games__section-description {
    color: #cccccc;
}

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white on dark background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__feature-icon {
    width: 100%; /* Max width for image */
    height: auto;
    max-width: 250px; /* Specific width for icon-like images, but still > 200px */
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

/* Game Types Section */
.page-fishing-games__game-types {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.page-fishing-games__game-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-title a:hover {
    color: #ffffff;
}

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

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

/* How to Play Section */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__steps-list li {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__step-text {
    color: #f0f0f0;
}

.page-fishing-games__step-text a {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-fishing-games__tips-strategies {
    margin-top: 60px;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__tips-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__tips-list {
    list-style: disc;
    padding-left: 40px;
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-fishing-games__tips-list li {
    margin-bottom: 10px;
    background-color: transparent; /* Override li background */
    box-shadow: none;
    padding: 0;
}

/* 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 {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin: 20px 0 10px;
    padding: 0 20px;
}

.page-fishing-games__promo-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__promo-title a:hover {
    color: #ffffff;
}

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

/* Mobile Experience Section */
.page-fishing-games__mobile-experience {
    padding: 80px 0;
}

.page-fishing-games__mobile-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.page-fishing-games__mobile-text {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__mobile-subtitle {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 20px;
}

.page-fishing-games__mobile-features-text {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-fishing-games__mobile-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-fishing-games__mobile-features-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-fishing-games__mobile-features-list li::before {
    content: '✓';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-fishing-games__cta-buttons-mobile {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-fishing-games__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

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

/* 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 {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    color: #ffffff;
    font-weight: bold;
    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 30px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
    font-size: 1em;
}

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

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

.page-fishing-games__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__faq-answer a:hover {
    text-decoration: underline;
}

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

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

.page-fishing-games__cta-final .page-fishing-games__section-description {
    color: #f0f0f0;
    margin-bottom: 50px;
}

.page-fishing-games__cta-final .page-fishing-games__section-description a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-fishing-games__cta-final .page-fishing-games__section-description a:hover {
    text-decoration: underline;
}

/* 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: 500px;
        padding: 60px 0;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-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%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Mobile image and video responsive rules */
    .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__hero-image-wrapper,
    .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__mobile-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__mobile-content {
        flex-direction: column;
    }
    .page-fishing-games__mobile-image-wrapper {
        order: -1; /* Image above text on mobile */
        margin-bottom: 30px;
    }
    .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;
    }
    .page-fishing-games__tips-list {
        padding-left: 25px;
    }
    .page-fishing-games__tips-list li {
        padding-left: 0;
    }
    .page-fishing-games__tips-list li::before {
        left: -25px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__about-fb88-fishing,
    .page-fishing-games__game-types,
    .page-fishing-games__how-to-play,
    .page-fishing-games__promotions,
    .page-fishing-games__mobile-experience,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final {
        padding: 40px 0;
    }
    .page-fishing-games__faq-title {
        font-size: 1.1em;
    }
}