/* style/fishing-games.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --text-main-color: #FFF3E6;
    --card-bg-color: #17191F;
    --background-color: #0D0E12;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

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

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

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 0;
    background-color: var(--background-color);
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

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

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    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: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange-color) 100%);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 165, 58, 0.6);
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-fishing-games__link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* Sections styling */
.page-fishing-games__introduction-section,
.page-fishing-games__benefits-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section {
    background-color: var(--card-bg-color);
    padding: 60px 0;
    color: var(--text-main-color);
}

.page-fishing-games__games-showcase,
.page-fishing-games__guide-section,
.page-fishing-games__security-support-section,
.page-fishing-games__cta-final-section {
    background-color: var(--background-color);
    padding: 60px 0;
    color: var(--text-main-color);
}

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

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

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

.page-fishing-games__game-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: fit-content;
    margin: 0 auto;
}

/* Benefits Section */
.page-fishing-games__benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

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

.page-fishing-games__benefit-heading {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

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

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

.page-fishing-games__guide-heading {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__guide-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
}

.page-fishing-games__btn-large {
    padding: 16px 35px;
    font-size: 1.1rem;
    margin-top: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Promotions Section */
.page-fishing-games__promotion-card {
    display: flex;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__promotion-image {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__promotion-content {
    width: 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-fishing-games__promotion-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__promotion-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* Security and Support Section */
.page-fishing-games__two-column-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__column-text {
    flex: 1;
}

.page-fishing-games__column-image {
    flex: 1;
    text-align: center;
}

.page-fishing-games__support-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px 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.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    list-style: none; /* Hide default marker for details summary */
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 165, 58, 0.1);
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-main-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−'; /* Update content for open state */
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    text-align: center;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    margin-bottom: 20px;
}

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* General Image Responsiveness */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: 2rem;
    }
    .page-fishing-games__promotion-card {
        flex-direction: column;
    }
    .page-fishing-games__promotion-image,
    .page-fishing-games__promotion-content {
        width: 100%;
    }
    .page-fishing-games__two-column-layout {
        flex-direction: column;
        gap: 20px;
    }
    .page-fishing-games__column-image {
        order: -1; /* Image first on smaller screens */
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__hero-content {
        padding: 30px 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2rem !important;
    }
    .page-fishing-games__hero-description {
        font-size: 1rem !important;
    }

    /* Product Display Area (Gameshow) */
    .page-fishing-games__games-grid {
        grid-template-columns: 1fr !important; /* Single column */
        gap: 20px !important;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__game-card {
        padding: 20px !important;
    }
    .page-fishing-games__game-image {
        height: auto !important;
        min-height: 200px !important;
    }

    /* Generic Images & Containers */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__introduction-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__security-support-section,
    .page-fishing-games__cta-final-section,
    .page-fishing-games__promotion-card,
    .page-fishing-games__two-column-layout {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    /* Buttons & Button Containers */
    .page-fishing-games__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }
    .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;
        text-align: center;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .page-fishing-games__btn-small {
        width: 100% !important;
    }
    .page-fishing-games__btn-large {
        width: 100% !important;
    }

    /* Other Content Modules */
    .page-fishing-games__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px !important;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__hero-description,
    .page-fishing-games__game-description,
    .page-fishing-games__benefit-text,
    .page-fishing-games__guide-text,
    .page-fishing-games__promotion-description,
    .page-fishing-games__faq-answer p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
    .page-fishing-games__promotion-card {
        flex-direction: column;
    }
    .page-fishing-games__promotion-image,
    .page-fishing-games__promotion-content {
        width: 100%;
        padding: 20px;
    }
    .page-fishing-games__promotion-title {
        font-size: 1.5rem !important;
    }
    .page-fishing-games__faq-question {
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px !important;
    }
    .page-fishing-games__benefit-list,
    .page-fishing-games__guide-list {
        gap: 20px !important;
    }
}