/* style/fishing-games.css */

:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --page-bg: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --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(--page-bg); /* Default page background */
    line-height: 1.6;
}

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

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

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

.page-fishing-games__light-bg {
    background-color: #ffffff;
    color: #333333;
}

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

.page-fishing-games__section-text {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
}

.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;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual flow */
    background: rgba(8, 22, 15, 0.9); /* Semi-transparent background for text */
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__intro-description {
    font-size: 1.15em;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.7;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-play {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    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: #ffffff;
    border: none;
    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);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--glow-color);
    color: var(--page-bg);
    transform: translateY(-3px);
}

.page-fishing-games__btn-play {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: 15px;
}

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

/* About Fishing Games Section */
.page-fishing-games__about-fishing-games .page-fishing-games__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-fishing-games__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Popular Games Section */
.page-fishing-games__popular-games .page-fishing-games__section-title {
    color: var(--gold-color);
}

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

.page-fishing-games__gameshow-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-fishing-games__gameshow-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--glow-color);
}

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

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

/* Benefits Section */
.page-fishing-games__benefits-section .page-fishing-games__section-title {
    color: #333333;
}

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

.page-fishing-games__benefit-item {
    background-color: #ffffff;
    color: #333333;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.page-fishing-games__benefit-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.page-fishing-games__benefit-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__benefit-description {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
}

/* How to Play Section */
.page-fishing-games__how-to-play .page-fishing-games__section-title {
    color: var(--gold-color);
}

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

.page-fishing-games__step-item {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    color: var(--glow-color);
    margin-bottom: 10px;
}

.page-fishing-games__step-description {
    font-size: 0.95em;
    color: var(--text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__promotion-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    font-size: 1.1em;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__promotion-item strong {
    color: var(--primary-color);
}

/* FAQ Section */
.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

.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);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--primary-color);
}

.page-fishing-games__faq-question::-webkit-details-marker, /* Hide default marker for Chrome */
.page-fishing-games__faq-question::marker { /* Hide default marker for Firefox */
    display: none;
    content: "";
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    color: #ffffff;
}

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    background-color: var(--card-bg);
}

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

.page-fishing-games__faq-answer a {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-fishing-games__faq-answer a:hover {
    color: var(--gold-color);
}

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__section-title {
    color: #333333;
}

/* General Image styles for responsiveness */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */

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

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

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

    .page-fishing-games__gameshow-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-fishing-games__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-fishing-games__guide-steps {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

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

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

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

    /* HERO Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 0 !important;
    }

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

    .page-fishing-games__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__hero-content {
        margin-top: -40px; /* Adjust overlap for mobile */
        padding: 25px 15px;
        border-radius: 10px;
    }

    .page-fishing-games__main-title {
        font-size: 1.8em !important; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

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

    /* CTA Buttons */
    .page-fishing-games__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-play {
        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;
    }

    /* Product Display Section */
    .page-fishing-games__gameshow-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 20px;
        padding: 0 15px;
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__gameshow-item {
        padding: 20px;
    }

    .page-fishing-games__gameshow-image {
        height: 180px; /* Slightly smaller height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* General Images and Containers */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Other Content Modules */
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__section-text {
        font-size: 0.95em;
    }

    .page-fishing-games__benefits-grid,
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-fishing-games__benefit-item,
    .page-fishing-games__step-item {
        padding: 20px;
    }

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

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

    .page-fishing-games__faq-toggle {
        font-size: 1.3em;
    }

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

    .page-fishing-games__promotion-list {
        padding: 0 15px;
    }

    .page-fishing-games__promotion-item {
        font-size: 1em;
        padding: 12px 15px;
    }
}