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

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--bg-color); /* Matches shared.css body background */
    line-height: 1.6;
}

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

.page-fishing-games__light-bg {
    background-color: #11271B; /* A slightly lighter dark background for contrast */
    color: var(--text-main);
}

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px;
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for desktop hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.page-fishing-games__hero-content {
    position: relative; /* Ensure content is above image if z-index is used, but layout is top-down */
    max-width: 900px;
    z-index: 1;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.2rem;
    color: var(--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;
}

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

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

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-2px);
    background-color: rgba(46, 122, 78, 0.2);
    box-shadow: 0 5px 15px rgba(46, 122, 78, 0.4);
}

.page-fishing-games__btn-text-link {
    color: var(--gold-color);
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.page-fishing-games__btn-text-link:hover {
    color: var(--glow-color);
}

/* Games Showcase Section */
.page-fishing-games__games-showcase {
    padding: 60px 20px;
    text-align: center;
}

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

.page-fishing-games__game-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__game-card a {
    text-decoration: none;
    color: var(--text-main);
    display: block;
    padding-bottom: 20px;
}

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

.page-fishing-games__game-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 15px;
}

.page-fishing-games__btn-play {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.page-fishing-games__btn-play:hover {
    transform: scale(1.05);
}

/* Why Choose Section */
.page-fishing-games__why-choose {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__feature-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__feature-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* How To Play Section */
.page-fishing-games__how-to-play {
    padding: 60px 20px;
    text-align: center;
}

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

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

.page-fishing-games__step-number {
    background-color: var(--deep-green);
    color: var(--gold-color);
    font-size: 1.8rem;
    font-weight: 700;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -25px;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-fishing-games__step-title {
    font-size: 1.3rem;
    color: var(--gold-color);
    margin-top: 35px;
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Promotions Section */
.page-fishing-games__promotions {
    padding: 60px 20px;
    text-align: center;
}

.page-fishing-games__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-fishing-games__promo-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    text-align: left;
}

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

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

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: var(--gold-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__promo-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 0 20px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
}

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

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

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

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

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Ensure details summary marker is hidden */
.page-fishing-games__faq-item summary::-webkit-details-marker,
.page-fishing-games__faq-item summary::marker {
    display: none;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 60px 20px;
    text-align: center;
}

/* Global Image/Video/Button Responsive Styles */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games video,
.page-fishing-games__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__video-section,
.page-fishing-games__video-container,
.page-fishing-games__video-wrapper,
.page-fishing-games__section,
.page-fishing-games__card,
.page-fishing-games__container,
.page-fishing-games__cta-buttons,
.page-fishing-games__button-group,
.page-fishing-games__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

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

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__hero-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__why-choose,
    .page-fishing-games__how-to-play,
    .page-fishing-games__promotions,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 15px;
    }

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

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

    /* Containers for Images/Videos/Content */
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0 !important; /* Remove container padding as sections have it */
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: none;
    }

    /* Buttons */
    .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 !important;
        padding-right: 15px !important;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 15px !important;
    }

    .page-fishing-games__hero-content .page-fishing-games__cta-buttons {
        padding: 0 15px;
    }

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

    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 180px;
    }

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

    .page-fishing-games__step-number {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .page-fishing-games__step-title {
        margin-top: 30px;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-fishing-games__faq-answer {
        padding: 15px;
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) {
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
        border-radius: 12px;
    }
}