/* style/fishing-games.css */

/* --- General Page Styles --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

.page-fishing-games__dark-bg {
    background-color: #000080; /* Auxiliary color for dark sections */
    color: #ffffff;
}

.page-fishing-games__heading {
    font-size: 36px;
    font-weight: bold;
    color: #FFD700; /* Gold color for main headings */
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__paragraph {
    font-size: 18px;
    margin-bottom: 20px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-fishing-games__list-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__list-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-fishing-games__list-item p {
    font-size: 16px;
    color: #e0e0e0;
}

.page-fishing-games__list-item a {
    color: #FFD700;
    text-decoration: underline;
}

/* --- CTA Buttons --- */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-fishing-games__cta-buttons--center {
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__cta-button--primary {
    background-color: #FFD700; /* Primary brand color */
    color: #000080; /* Dark blue for contrast */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-fishing-games__cta-button--primary:hover {
    background-color: #e6c200;
    color: #000050;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-fishing-games__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Primary brand color */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-fishing-games__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #000080;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #000080, #000050); /* Dark blue gradient */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.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.6);
}

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

.page-fishing-games__hero-title {
    font-size: 52px;
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- Lobbies Section --- */
.page-fishing-games__lobbies {
    background-color: #1a1a1a; /* Dark background from shared.css */
    color: #ffffff;
}

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

.page-fishing-games__card {
    background-color: #000080; /* Auxiliary color for cards */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-bottom: 2px solid #FFD700;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
    padding: 0 15px;
}

.page-fishing-games__card-text {
    font-size: 16px;
    color: #e0e0e0;
    padding: 0 15px;
}

/* --- Promotions Section --- */
.page-fishing-games__promotions {
    background-color: #000080;
    color: #ffffff;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 215, 0, 0.1); /* Light gold tint */
    border: 1px solid #FFD700;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__promo-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-fishing-games__promo-text {
    font-size: 16px;
    color: #e0e0e0;
}

/* --- FAQ Section --- */
.page-fishing-games__faq {
    background-color: #1a1a1a;
    color: #ffffff;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #000080; /* Auxiliary dark blue */
    border: 1px solid #FFD700; /* Gold border */
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #000090;
    border-color: #e6c200;
}

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

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg); /* Plus to X for active */
}

.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: rgba(255, 255, 255, 0.05); /* Slightly transparent white for answer background */
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-answer p {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0;
}

/* --- Conclusion Section --- */
.page-fishing-games__conclusion {
    background-color: #000080;
    color: #ffffff;
}

.page-fishing-games__conclusion .page-fishing-games__heading {
    color: #FFD700;
}

.page-fishing-games__conclusion .page-fishing-games__paragraph {
    color: #f0f0f0;
}

.page-fishing-games__conclusion .page-fishing-games__paragraph a {
    color: #FFD700;
    text-decoration: underline;
}

/* --- Copyright --- */
.page-fishing-games__copyright {
    text-align: center;
    padding: 20px;
    background-color: #000050; /* Slightly darker blue for footer like area */
    color: #cccccc;
    font-size: 14px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* --- Responsive Design (Mobile) --- */
@media (max-width: 768px) {
    .page-fishing-games {
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        font-size: 16px;
        line-height: 1.5;
    }

    .page-fishing-games__container {
        padding: 15px;
    }

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

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

    .page-fishing-games__paragraph {
        font-size: 16px;
    }

    /* Hero Section Mobile */
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 18px;
        margin-bottom: 25px;
    }

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

    .page-fishing-games__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 16px;
        min-width: unset;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Card Grid Mobile */
    .page-fishing-games__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image {
        height: 180px;
    }

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

    /* List Items Mobile */
    .page-fishing-games__list-item {
        padding: 15px 20px;
    }

    .page-fishing-games__list-title {
        font-size: 19px;
    }

    /* Promo Cards Mobile */
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    /* FAQ Mobile */
    .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: 15px 20px !important;
    }
    
    /* Ensure all images are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__list {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure no CSS filters on images */
.page-fishing-games img {
    filter: none !important;
}     padding: 0 15px;
    }

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

    .page-fishing-games__sub-section-title {
        font-size: 22px;
        margin-top: 40px;
        margin-bottom: 25px;
    }

    .page-fishing-games__grid-2-cols, .page-fishing-games__grid-3-cols, .page-fishing-games__steps-grid, .page-fishing-games__safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card, .page-fishing-games__promo-card, .page-fishing-games__step-item, .page-fishing-games__safety-item {
        padding: 20px;
        border-radius: 8px;
    }

    .page-fishing-games__card-image, .page-fishing-games__promo-image, .page-fishing-games__safety-image {
        height: 180px;
        border-radius: 6px;
        min-width: 200px !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }

    .page-fishing-games__list-item {
        padding: 15px;
        border-radius: 6px;
    }

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

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-fishing-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images are responsive and don't overflow */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item,
    .page-fishing-games__safety-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}