/* style/fishing-games.css */

/* Variables for colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --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;
}

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

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

/* Section styles */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-fishing-games__light-bg {
    background-color: #f0f0f0; /* Using a light grey for contrast with dark sections */
    color: #333333;
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--color-gold);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-fishing-games__section-subtitle {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Pull content slightly over image for visual flow */
    background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.page-fishing-games__main-title {
    color: var(--color-gold);
    font-size: clamp(2.2em, 5vw, 3.5em);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--color-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;
    margin-top: 30px;
}

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

/* Buttons */
.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-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(242, 193, 78, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Game Showcase */
.page-fishing-games__games-showcase {
    background-color: var(--color-card-bg);
    padding-bottom: 80px;
}

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

.page-fishing-games__game-card {
    background-color: var(--color-background);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-fishing-games__game-card h3,
.page-fishing-games__game-card p {
    padding: 0 20px;
}

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

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

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

/* Why Choose Us Section */
.page-fishing-games__why-choose-us {
    background-color: var(--color-background);
    padding-bottom: 80px;
}

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

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

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 1.4em;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* How to Play Section */
.page-fishing-games__how-to-play {
    background-color: var(--color-card-bg);
    padding-bottom: 80px;
}

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

.page-fishing-games__step-card {
    background-color: var(--color-background);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    color: var(--color-gold);
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.page-fishing-games__step-title {
    font-size: 1.5em;
    color: var(--color-gold);
    margin-bottom: 10px;
    text-align: center;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__step-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-top: auto; /* Push image to bottom */
}

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

.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin: 50px auto 0 auto;
    max-width: 900px;
}

.page-fishing-games__promotion-item {
    background-color: var(--color-card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    text-align: left;
}

.page-fishing-games__promotion-title {
    font-size: 1.6em;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__promotion-description {
    font-size: 1.05em;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--color-background);
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--color-border);
    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(--color-gold);
    cursor: pointer;
    background-color: var(--color-card-bg);
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
}

.page-fishing-games__faq-answer {
    padding: 0 25px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 20px 25px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* For details tag */
    padding: 20px 25px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: none;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    background-color: var(--color-background);
    padding-bottom: 80px;
}

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

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

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

    .page-fishing-games__section {
        padding: 40px 0;
    }

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

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

    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 15px;
        border-radius: 10px;
    }

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

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

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__cta-buttons--center {
        padding: 0 15px;
        box-sizing: border-box;
    }

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

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

    .page-fishing-games__game-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__step-card,
    .page-fishing-games__promotion-item {
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    .page-fishing-games__faq-answer {
        font-size: 0.95em;
        padding: 0 20px;
    }

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer,
    .page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }

    .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__hero-image-wrapper,
    .page-fishing-games__game-grid,
    .page-fishing-games__feature-list,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotion-list,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsive styles - if video is added */
    .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-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__video-section {
        padding-top: 10px !important;
    }
}