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

.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark body background */
    background-color: var(--color-background); /* Fallback/Specific section background */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* body already handles --header-offset */
    background-color: var(--color-background);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--color-glow);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--color-gold);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    border-color: #ffffff;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-glow);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-fishing-games__intro-section,
.page-fishing-games__guide-section,
.page-fishing-games__features-section,
.page-fishing-games__conclusion-section {
    padding: 60px 20px;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-fishing-games__section-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--color-deep-green);
}

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

.page-fishing-games__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-fishing-games__light-bg .page-fishing-games__text-block {
    color: #444444;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-fishing-games__card {
    background-color: var(--color-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-fishing-games__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(87, 227, 141, 0.6);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-weight: bold;
    color: var(--color-gold);
    margin: 20px 20px 10px;
    font-size: 1.4em;
}

.page-fishing-games__card-text {
    margin: 0 20px 20px;
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.page-fishing-games__card-button {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
}

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

.page-fishing-games__step-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-fishing-games__step-title {
    font-weight: bold;
    color: var(--color-glow);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.page-fishing-games__step-text {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-fishing-games__promo-item {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--color-deep-green);
    color: #333333;
}

.page-fishing-games__promo-title {
    font-weight: bold;
    color: var(--color-deep-green);
    margin-bottom: 10px;
    font-size: 1.25em;
}

.page-fishing-games__promo-text {
    color: #555555;
}

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

.page-fishing-games__feature-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--color-glow));
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-fishing-games__feature-text {
    color: var(--color-text-secondary);
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #e8e8e8;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-deep-green);
    border-bottom: 1px solid #dcdcdc;
}

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

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 25px;
    font-size: 0.95em;
    line-height: 1.7;
    color: #555555;
}

/* Details element specific styling */
.page-fishing-games__faq-item summary {
    list-style: none;
}

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

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

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__features-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 15px;
    }

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

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__hero-image,
    .page-fishing-games__content-image,
    .page-fishing-games__card-image,
    .page-fishing-games__feature-icon,
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__game-cards,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-list,
    .page-fishing-games__feature-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__feature-icon {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 20px 20px;
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }

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

    .page-fishing-games__card-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promo-title,
    .page-fishing-games__feature-title {
        font-size: 1.1em;
    }

    .page-fishing-games__feature-icon {
        width: 120px;
        height: 120px;
    }
}