/* style/fishing-games.css */

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

/* General styles for the page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* #F2FFF6 */
    background-color: var(--background-color); /* #08160F */
    line-height: 1.6;
}

.page-fishing-games__section {
    padding: 60px 20px;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.page-fishing-games__dark-bg {
    background-color: var(--background-color); /* #08160F */
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-fishing-games__light-bg {
    background-color: var(--card-bg-color); /* #11271B */
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}

.page-fishing-games__content-area {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.page-fishing-games p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

.page-fishing-games strong {
    color: var(--text-main-color); /* #F2FFF6 */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles header offset, small padding-top for visual */
    background-color: var(--background-color);
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures image covers area without distortion */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1; /* Ensure content is above image if any overlap occurs due to responsive layout */
    margin-top: -80px; /* Pull content up over the image to reduce empty space if image is very tall */
    position: relative; /* For z-index to work */
}

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--text-main-color); /* #F2FFF6 */
    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;
    width: 100%;
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons */
.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;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
    border: 2px solid transparent;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--glow-color); /* #57E38D */
    color: var(--background-color); /* #08160F */
    transform: translateY(-2px);
}

.page-fishing-games__full-width-btn {
    width: 100%;
    max-width: 350px; /* Limit max width for full-width buttons */
    margin-top: 20px;
}

/* Image styles */
.page-fishing-games__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    filter: none; /* Ensure no CSS filter is applied */
}

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

.page-fishing-games__feature-item {
    background-color: var(--card-bg-color); /* #11271B */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color); /* #2E7A4E */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__feature-item p {
    color: var(--text-secondary-color); /* #A7D9B8 */
}

/* Game Cards */
.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(--card-bg-color); /* #11271B */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--border-color); /* #2E7A4E */
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for card images for consistency */
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no CSS filter is applied */
}

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    padding: 0 15px 20px 15px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-fishing-games__promo-cards .page-fishing-games__card {
    padding-bottom: 20px; /* Add padding for button */
}

.page-fishing-games__promo-cards .page-fishing-games__card .page-fishing-games__btn-secondary {
    margin-top: auto; /* Push button to the bottom */
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
}


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

.page-fishing-games__guide-item {
    background-color: var(--background-color); /* #08160F */
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--deep-green-color); /* #0A4B2C */
}

.page-fishing-games__guide-step-title {
    font-size: 1.3em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__guide-item p {
    color: var(--text-secondary-color); /* #A7D9B8 */
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__strategy-item {
    background-color: var(--card-bg-color); /* #11271B */
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--glow-color); /* #57E38D */
}

.page-fishing-games__strategy-title {
    font-size: 1.3em;
    color: var(--gold-color); /* #F2C14E */
    margin-bottom: 10px;
    font-weight: bold;
}

/* FAQ Section */
.page-fishing-games__faq-item {
    background-color: var(--card-bg-color); /* #11271B */
    border: 1px solid var(--divider-color); /* #1E3A2A */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color); /* #F2FFF6 */
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--gold-color); /* #F2C14E */
    user-select: none;
    position: relative; /* For custom marker */
}

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

.page-fishing-games__faq-question::marker {
    display: none;
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--text-secondary-color); /* #A7D9B8 */
    text-align: left;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary-color); /* #A7D9B8 */
}

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

    .page-fishing-games__hero-content {
        margin-top: -60px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
}

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

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

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

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

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        padding-left: 0;
        padding-right: 0;
    }

    .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: 12px 20px;
        font-size: 1em;
    }
    
    .page-fishing-games__full-width-btn {
        max-width: 100% !important;
        width: 100% !important;
    }

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

    .page-fishing-games p {
        font-size: 1em;
    }

    .page-fishing-games__feature-list,
    .page-fishing-games__game-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

    .page-fishing-games__card-title {
        font-size: 1.2em;
    }

    .page-fishing-games__guide-item,
    .page-fishing-games__strategy-item {
        padding: 20px;
    }

    .page-fishing-games__guide-step-title,
    .page-fishing-games__strategy-title {
        font-size: 1.2em;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
    
    /* 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__hero-image-wrapper,
    .page-fishing-games__introduction-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__content-area,
    .page-fishing-games__card,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-fishing-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-fishing-games__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__section.page-fishing-games__dark-bg,
    .page-fishing-games__section.page-fishing-games__light-bg {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__section.page-fishing-games__dark-bg .page-fishing-games__content-area,
    .page-fishing-games__section.page-fishing-games__light-bg .page-fishing-games__content-area {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure contrast for text on various backgrounds */
/* Default text color is text-main-color, which is light, suitable for dark background */
/* For light-bg sections, we need to adjust text color if default is too light */
.page-fishing-games__light-bg p,
.page-fishing-games__light-bg li,
.page-fishing-games__light-bg strong {
    color: var(--text-secondary-color); /* Ensure contrast on card-bg-color */
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__feature-title,
.page-fishing-games__light-bg .page-fishing-games__card-title,
.page-fishing-games__light-bg .page-fishing-games__guide-step-title,
.page-fishing-games__light-bg .page-fishing-games__strategy-title,
.page-fishing-games__light-bg .page-fishing-games__faq-question {
    color: var(--gold-color); /* Gold color for titles, good contrast */
}

.page-fishing-games__light-bg .page-fishing-games__faq-item {
    background-color: var(--background-color); /* Darker background for FAQ items in light section */
    border-color: var(--deep-green-color);
}
.page-fishing-games__light-bg .page-fishing-games__faq-item p {
    color: var(--text-secondary-color);
}
.page-fishing-games__light-bg .page-fishing-games__faq-item .page-fishing-games__faq-question {
    color: var(--gold-color);
}