/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a2e; /* Inherited from shared, explicitly set for clarity */
}

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

/* Section styling */
.page-fishing-games__hero-section,
.page-fishing-games__introduction-section,
.page-fishing-games__how-to-join-section,
.page-fishing-games__game-types-section,
.page-fishing-games__strategies-section,
.page-fishing-games__advantages-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

/* Specific background and text colors based on section type */
.page-fishing-games__dark-bg {
    background-color: #0A2463; /* Main brand dark blue */
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #f0f0f0; /* Light background for contrast */
    color: #333333; /* Dark text for light background */
}

/* Fixed header offset for the first content section */
.page-fishing-games__hero-section {
    padding-top: calc(80px + var(--header-offset, 120px)); /* Ensure content is below fixed header */
    overflow: hidden; /* For image */
}

/* Hero Section */
.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.8em;
    margin-bottom: 40px;
    color: #FFD700; /* Gold for section titles on dark bg */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #0A2463; /* Dark blue for section titles on light bg */
    text-shadow: none;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for sub-titles on dark bg */
}
.page-fishing-games__light-bg .page-fishing-games__sub-title {
    color: #0A2463; /* Dark blue for sub-titles on light bg */
}

/* Text blocks */
.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}
.page-fishing-games__text-block a {
    color: #FFD700; /* Gold for links in dark sections */
    text-decoration: underline;
}
.page-fishing-games__light-bg .page-fishing-games__text-block a {
    color: #0A2463; /* Dark blue for links in light sections */
}


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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700; /* Gold button */
    color: #0A2463; /* Dark blue text */
    border-color: #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border-color: #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
}

/* Video Section */
.page-fishing-games__video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
}

.page-fishing-games__video {
    width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-fishing-games__video-wrapper:hover .page-fishing-games__video-overlay {
    opacity: 1;
}

.page-fishing-games__video-cta {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #0A2463;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-fishing-games__video-cta:hover {
    background-color: #e6c200;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff; /* Light card on light background */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Dark text for light card */
}

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

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: #0A2463; /* Dark blue title */
    margin-bottom: 10px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-fishing-games__card-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #0A2463;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-fishing-games__card-link:hover {
    background-color: #e6c200;
}

/* Strategy List */
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__list-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold title */
    margin-bottom: 10px;
}

.page-fishing-games__list-description {
    font-size: 1.05em;
    color: #f0f0f0;
}

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

.page-fishing-games__advantage-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    height: 100%; /* Ensure cards are same height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-fishing-games__advantage-icon {
    width: 200px; /* Min size 200x200 */
    height: 150px; /* Min size 200x200 */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-fishing-games__faq-question:hover {
    color: #FFD700;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD700;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
    text-align: justify;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}
.page-fishing-games__faq-answer p {
    margin: 0;
    padding: 0;
    color: #f0f0f0; /* Ensure text color is light */
}
.page-fishing-games__faq-answer a {
    color: #FFD700; /* Gold for links */
    text-decoration: underline;
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: calc(60px + var(--header-offset, 120px)) !important; /* Adjust for mobile header offset */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.4em;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
        padding: 0 15px;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important; /* Ensure image covers space */
    }
    /* All containers that might hold images */
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-grid,
    .page-fishing-games__advantages-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Button responsiveness */
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__advantages-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
}