/* style/fishing-games.css */

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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--bg-color);
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    padding: 0 15px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.2em); /* Responsive font size for H1 */
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--glow-color);
    border: 2px solid var(--glow-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(var(--glow-color), 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__text-block {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-secondary-color);
    margin-bottom: 25px;
    text-align: justify;
}

.page-fishing-games__text-block a {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Intro Section */
.page-fishing-games__intro-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

.page-fishing-games__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 30px auto 0 auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__video-wrapper .page-fishing-games__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

/* Games List Section */
.page-fishing-games__games-list-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

.page-fishing-games__game-cards-grid {
    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);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    padding: 0 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin: 0 20px 20px 20px;
    max-width: calc(100% - 40px);
}

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: var(--text-main-color);
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__guide-section .page-fishing-games__section-title {
    color: var(--deep-green-color);
    text-shadow: none;
}

.page-fishing-games__guide-section .page-fishing-games__text-block {
    color: #555555;
}

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

.page-fishing-games__guide-list li {
    background-color: #f8f8f8;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__guide-list li p {
    color: #555555;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
}

.page-fishing-games__list-heading {
    font-size: 1.3em;
    color: var(--deep-green-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

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

/* Strategy Section */
.page-fishing-games__strategy-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

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

.page-fishing-games__strategy-item {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__strategy-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__strategy-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__strategy-description {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

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

.page-fishing-games__promotions-section .page-fishing-games__card-image {
    height: 220px;
}

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    background-color: var(--text-main-color);
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-fishing-games__why-choose-us .page-fishing-games__section-title {
    color: var(--deep-green-color);
    text-shadow: none;
}

.page-fishing-games__why-choose-us .page-fishing-games__text-block {
    color: #555555;
}

.page-fishing-games__advantages-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__advantages-list li {
    background-color: #f8f8f8;
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__advantages-list li p {
    color: #555555;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
}

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

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__faq-item summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-main-color);
    background-color: var(--card-bg-color);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary:hover {
    background-color: var(--deep-green-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color);
}

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

.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;
    line-height: 1.7;
    color: var(--text-secondary-color);
}

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

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

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

    .page-fishing-games__hero-content {
        padding: 0 10px;
    }
}

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

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

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

    .page-fishing-games__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-fishing-games__cta-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;
    }

    .page-fishing-games__container {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__text-block {
        font-size: 0.95em;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__card-image {
        height: 180px;
    }

    /* Videos responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__video-wrapper .page-fishing-games__video-link {
        width: 100%;
        height: 100%;
    }

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

    .page-fishing-games__card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__guide-list li,
    .page-fishing-games__advantages-list li {
        padding: 15px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
        margin: 15px 15px 8px 15px;
    }

    .page-fishing-games__card-description {
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .page-fishing-games__btn-small {
        margin: 0 15px 15px 15px;
        max-width: calc(100% - 30px);
    }

    .page-fishing-games__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

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

    .page-fishing-games__guide-list li,
    .page-fishing-games__advantages-list li {
        padding: 15px;
    }
    
    .page-fishing-games__strategy-image {
        width: 150px;
        height: 112px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: clamp(1.6em, 8vw, 2.2em);
    }

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

    .page-fishing-games__hero-image-wrapper {
        margin-bottom: 20px;
    }
    
    .page-fishing-games__hero-content {
        padding: 0 5px;
    }

    .page-fishing-games__cta-buttons {
        gap: 10px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.95em;
    }

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

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

    .page-fishing-games__faq-item summary {
        padding: 12px 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 15px 12px 15px;
    }
}

/* Contrast Fixes */
.page-fishing-games__light-bg.page-fishing-games__contrast-fix {
    background: var(--text-main-color);
    color: #333333;
}
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__section-title {
    color: var(--deep-green-color);
}
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__text-block {
    color: #555555;
}
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__advantages-list li,
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__guide-list li {
    background-color: #f8f8f8;
    border-left-color: var(--primary-color);
}
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__advantages-list li p,
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__guide-list li p {
    color: #555555;
}
.page-fishing-games__light-bg.page-fishing-games__contrast-fix .page-fishing-games__list-heading {
    color: var(--deep-green-color);
}

/* Ensure min-width for content area images on desktop and mobile */
.page-fishing-games__strategy-image,
.page-fishing-games__card-image {
    min-width: 200px;
    min-height: 150px; /* Adjust min-height as appropriate for aspect ratio */
}

@media (max-width: 768px) {
    .page-fishing-games__strategy-image,
    .page-fishing-games__card-image {
        min-width: 100px; /* Smaller min-width for mobile, but still > 200px display */
        min-height: 75px;
    }
}