/* style/fishing-games.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Main text color for dark background */
    background-color: var(--page-bg-color); /* Specific page background */
    line-height: 1.6;
}

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

/* Sections */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__security-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-color: var(--page-bg-color);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin-top: -100px; /* Adjust to slightly overlap image */
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-fishing-games__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 3em); /* Responsive H2 font size */
    color: var(--text-main-color);
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold-color);
    border-radius: 2px;
}

.page-fishing-games__sub-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--gold-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-fishing-games__text-block strong {
    color: var(--text-main-color);
}

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

.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;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 255, 100, 0.3);
}

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

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

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

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.2em;
}

/* Lists */
.page-fishing-games__feature-list,
.page-fishing-games__tips-list,
.page-fishing-games__promo-list,
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 900px;
    text-align: left;
}

.page-fishing-games__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-secondary-color);
    font-size: 1em;
}

.page-fishing-games__list-item::before {
    content: '✅'; /* Or a custom icon */
    position: absolute;
    left: 0;
    color: var(--glow-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-fishing-games__list-item strong {
    color: var(--text-main-color);
}

/* Game Cards Grid */
.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    color: var(--text-main-color);
    margin-bottom: 10px;
    font-weight: bold;
}

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

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-fishing-games__guide-item {
    background-color: var(--card-bg-color);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
}

.page-fishing-games__guide-item p a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-fishing-games__guide-item p a:hover {
    text-decoration: underline;
}

.page-fishing-games__tips-title {
    margin-top: 60px;
}

.page-fishing-games__guide-image,
.page-fishing-games__promotion-banner,
.page-fishing-games__security-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Min size requirement */
    min-height: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-fishing-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--text-main-color);
    font-size: 1.1em;
    background-color: var(--deep-green-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(--border-color);
}

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

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

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

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

.page-fishing-games__faq-answer p a:hover {
    text-decoration: underline;
}

/* Final CTA */
.page-fishing-games__cta-final-section {
    padding-bottom: 80px;
}

.page-fishing-games__title-gold {
    color: var(--gold-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -80px;
    }
}

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

    .page-fishing-games__hero-section {
        padding: 40px 0;
        padding-top: 10px; /* body handles header offset */
    }

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

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

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

    .page-fishing-games__section-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
    }

    .page-fishing-games__sub-title {
        font-size: clamp(1.2em, 5vw, 1.8em);
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__guide-image,
    .page-fishing-games__promotion-banner,
    .page-fishing-games__security-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Ensure all image containers are responsive */
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__card,
    .page-fishing-games__guide-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent content overflow */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__game-cards-grid {
        padding-left: 0;
        padding-right: 0;
    }
    .page-fishing-games__card {
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -40px;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__list-item {
        font-size: 0.9em;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
        font-size: 0.85em;
    }
}