:root {
    --dn88-primary-color: #11A84E;
    --dn88-secondary-color: #22C768;
    --dn88-card-bg: #11271B;
    --dn88-background: #08160F;
    --dn88-text-main: #F2FFF6;
    --dn88-text-secondary: #A7D9B8;
    --dn88-border: #2E7A4E;
    --dn88-glow: #57E38D;
    --dn88-gold: #F2C14E;
    --dn88-divider: #1E3A2A;
    --dn88-deep-green: #0A4B2C;
    --dn88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--dn88-text-main); /* Default text color for the page content */
    background-color: var(--dn88-background); /* Overall page background */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--dn88-gold);
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--dn88-gold);
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
    max-width: 900px; /* Constrain H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for visual balance */
}

.page-fishing-games__hero-content {
    position: relative; /* Not absolute to allow normal flow */
    text-align: center;
    padding: 30px 20px;
    background: rgba(8, 22, 15, 0.8); /* Dark background for text readability */
    border-radius: 10px;
    margin-top: -80px; /* Overlap with image slightly for visual effect */
    z-index: 1;
    max-width: 90%;
    box-sizing: border-box;
    border: 1px solid var(--dn88-border);
    box-shadow: 0 0 20px rgba(17, 168, 78, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    color: var(--dn88-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 30px;
}

.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--dn88-button-gradient);
    color: var(--dn88-text-main);
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--dn88-gold);
    border: 2px solid var(--dn88-gold);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--dn88-gold);
    color: var(--dn88-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__text-block {
    font-size: 1.05em;
    color: var(--dn88-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block--center {
    text-align: center;
}

.page-fishing-games__text-link {
    color: var(--dn88-gold);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__text-link:hover {
    color: var(--dn88-glow);
    text-decoration: underline;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
    background-color: var(--dn88-card-bg);
    border-top: 1px solid var(--dn88-divider);
    border-bottom: 1px solid var(--dn88-divider);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--dn88-background);
}

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

.page-fishing-games__feature-card {
    background-color: var(--dn88-card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--dn88-border);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--dn88-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--dn88-divider);
}

.page-fishing-games__card-description {
    color: var(--dn88-text-secondary);
    font-size: 0.95em;
}

/* Game Showcase Section */
.page-fishing-games__game-showcase-section {
    padding: 60px 0;
    background-color: var(--dn88-deep-green);
    border-top: 1px solid var(--dn88-divider);
    border-bottom: 1px solid var(--dn88-divider);
}

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

.page-fishing-games__game-card {
    background-color: var(--dn88-card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--dn88-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__game-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--dn88-divider);
}

.page-fishing-games__btn-play {
    margin-top: 20px;
    width: fit-content;
    align-self: center;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
    background-color: var(--dn88-background);
}

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

.page-fishing-games__guide-list .page-fishing-games__list-item {
    background-color: var(--dn88-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid var(--dn88-primary-color);
}

.page-fishing-games__list-title {
    font-size: 1.3em;
    color: var(--dn88-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

/* Tips Section */
.page-fishing-games__tips-section {
    padding: 60px 0;
    background-color: var(--dn88-deep-green);
    border-top: 1px solid var(--dn88-divider);
    border-bottom: 1px solid var(--dn88-divider);
}

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

.page-fishing-games__tips-list .page-fishing-games__list-item {
    background-color: var(--dn88-card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-right: 5px solid var(--dn88-secondary-color);
}

/* Promo Section */
.page-fishing-games__promo-section {
    padding: 60px 0;
    background-color: var(--dn88-background);
}

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

.page-fishing-games__promo-card {
    background-color: var(--dn88-card-bg);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--dn88-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--dn88-divider);
}

/* Support Section */
.page-fishing-games__support-section {
    padding: 60px 0;
    background-color: var(--dn88-deep-green);
    border-top: 1px solid var(--dn88-divider);
    border-bottom: 1px solid var(--dn88-divider);
}

.page-fishing-games__support-channels {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: center;
    color: var(--dn88-text-main);
    font-size: 1.1em;
}

.page-fishing-games__support-channels .page-fishing-games__list-item {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-fishing-games__support-channels .page-fishing-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--dn88-glow);
}


/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--dn88-background);
}

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

.page-fishing-games__faq-item {
    background-color: var(--dn88-card-bg);
    border: 1px solid var(--dn88-border);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dn88-gold);
    cursor: pointer;
    background-color: var(--dn88-deep-green);
    border-bottom: 1px solid var(--dn88-divider);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--dn88-border);
}

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

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--dn88-text-secondary);
    background-color: var(--dn88-card-bg);
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }

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

    .page-fishing-games__hero-content {
        margin-top: -60px;
        max-width: 95%;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
    }

    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 20px;
    }

    .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%;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Images responsiveness */
    .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__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__features-section,
    .page-fishing-games__game-showcase-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promo-section,
    .page-fishing-games__support-section,
    .page-fishing-games__faq-section {
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body already has padding-top */
    }

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

    .page-fishing-games__card-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 150px; /* Adjust height for smaller screens */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.95em;
        padding: 10px 15px;
    }
    .page-fishing-games__feature-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}