/* style/fishing-games.css */

/* --- Base Styles & Layout --- */
.page-fishing-games {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit or default to white */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

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

.page-fishing-games__section:nth-of-type(even) {
    background-color: #f8f8f8; /* Light grey for alternating sections */
}

.page-fishing-games__section-title {
    font-size: 38px;
    color: #26A9E0; /* Brand color for titles */
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 60px; /* Adjusted padding-top to avoid double offset */
    background: linear-gradient(135deg, #26A9E0, #a0d8f0); /* Gradient for visual appeal */
    color: #ffffff; /* White text for dark/gradient background */
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-fishing-games__main-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__intro-text {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.5;
    color: #f0f0f0;
}

/* --- Buttons --- */
.page-fishing-games__cta-button,
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary,
.page-fishing-games__btn-final {
    display: inline-block;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-fishing-games__cta-button {
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(234, 124, 7, 0.4);
}

.page-fishing-games__cta-button:hover {
    background: #d46f06;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 124, 7, 0.6);
}

.page-fishing-games__btn-primary {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

.page-fishing-games__btn-primary:hover {
    background: #1e87b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-secondary {
    background: #ffffff; /* White background */
    color: #26A9E0; /* Primary brand color text */
    border: 2px solid #26A9E0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    background: #f0f8ff;
    color: #1e87b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__btn-tertiary {
    background: #eee;
    color: #333333;
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
}

.page-fishing-games__btn-tertiary:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.page-fishing-games__btn-final {
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(234, 124, 7, 0.5);
    padding: 18px 50px;
    font-size: 20px;
}

.page-fishing-games__btn-final:hover {
    background: #d46f06;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(234, 124, 7, 0.7);
}

.page-fishing-games__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* For mobile */
}

/* --- Content Sections --- */
.page-fishing-games__about-fishing-games {
    background-color: #ffffff;
    padding-bottom: 30px;
}

.page-fishing-games__why-pg666 {
    background-color: #f8f8f8;
}

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

.page-fishing-games__card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-fishing-games__card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%; /* Ensure image takes full width of card */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.page-fishing-games__card p {
    font-size: 16px;
    color: #555555;
}

.page-fishing-games__numbered-list,
.page-fishing-games__bullet-list {
    text-align: left;
    max-width: 900px;
    margin: 40px auto;
    list-style-position: inside; /* Ensure list markers are inside */
    padding-left: 0; /* Remove default padding */
}

.page-fishing-games__numbered-list li,
.page-fishing-games__bullet-list li {
    margin-bottom: 25px;
    font-size: 18px;
    color: #333333;
    line-height: 1.6;
}

.page-fishing-games__numbered-list li:last-child,
.page-fishing-games__bullet-list li:last-child {
    margin-bottom: 0;
}

.page-fishing-games__list-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: 600;
    display: inline; /* To align with list item number/bullet */
}

.page-fishing-games__list-title + p {
    display: inline;
    margin-left: 8px;
}

.page-fishing-games__numbered-list li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 35px;
}

.page-fishing-games__numbered-list li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #EA7C07; /* Login color for numbers */
    font-size: 20px;
}


.page-fishing-games__bullet-list li::before {
    content: "•";
    color: #26A9E0; /* Brand color for bullets */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.page-fishing-games__promotions {
    background-color: #ffffff;
}

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

.page-fishing-games__promo-card {
    background: linear-gradient(145deg, #f0faff, #e0f2ff); /* Light gradient for promo cards */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(38, 169, 224, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(38, 169, 224, 0.2);
}

.page-fishing-games__promo-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-fishing-games__promo-card p {
    font-size: 16px;
    color: #555555;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-fishing-games__cta-final {
    background-color: #26A9E0; /* Brand primary color background */
    color: #ffffff; /* White text for contrast */
    padding: 80px 0;
}

.page-fishing-games__cta-final .page-fishing-games__container {
    padding: 40px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white overlay */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 25px;
}

.page-fishing-games__cta-final .page-fishing-games__text-block {
    color: #f0f0f0;
    font-size: 20px;
    margin-bottom: 40px;
}

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    background-color: #f8f8f8;
    padding-bottom: 60px;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #ffffff; /* White background for answer */
    color: #555555;
    font-size: 16px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid #e0e0e0;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #26A9E0; /* Brand color for question background */
    color: #ffffff; /* White text for contrast */
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: #1e87b5; /* Slightly darker on active */
}

.page-fishing-games__faq-question:hover {
    background: #1e87b5;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: #ffffff; /* Ensure white text */
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: #ffffff; /* White toggle for contrast */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or just change text */
    color: #ffffff;
}

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

    .page-fishing-games__hero-section {
        padding: 60px 15px 40px;
    }

    .page-fishing-games__main-title {
        font-size: 36px;
    }

    .page-fishing-games__intro-text {
        font-size: 18px;
        margin-bottom: 30px;
    }

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

    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .page-fishing-games__text-block {
        font-size: 16px;
        margin-bottom: 20px;
        padding: 0 15px; /* Add padding for text blocks */
    }

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

    /* Container responsiveness for images and content */
    .page-fishing-games__section .page-fishing-games__container,
    .page-fishing-games__card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-list,
    .page-fishing-games__numbered-list,
    .page-fishing-games__bullet-list,
    .page-fishing-games__cta-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button responsiveness */
    .page-fishing-games__cta-button,
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary,
    .page-fishing-games__btn-final,
    .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: 12px 20px; /* Adjust padding for mobile buttons */
        font-size: 16px;
    }

    .page-fishing-games__cta-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-fishing-games__card {
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .page-fishing-games__card-title {
        font-size: 20px;
    }

    .page-fishing-games__promo-card {
        padding: 25px;
    }

    .page-fishing-games__promo-title {
        font-size: 20px;
    }

    .page-fishing-games__numbered-list li,
    .page-fishing-games__bullet-list li {
        font-size: 16px;
        padding-left: 30px;
    }
    
    .page-fishing-games__numbered-list li::before {
        font-size: 18px;
    }

    .page-fishing-games__list-title {
        font-size: 18px;
        display: block; /* For better readability on mobile */
    }
    
    .page-fishing-games__list-title + p {
        margin-left: 0;
        display: block;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 16px;
    }

    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }

    .page-fishing-games__cta-final {
        padding: 60px 0;
    }
    .page-fishing-games__cta-final .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__cta-final .page-fishing-games__text-block {
        font-size: 18px;
    }
}

/* Ensure no filter on images */
.page-fishing-games img {
    filter: none !important;
}