/* style/fishing-games.css */

/* Base Styles */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #FFFFFF; /* Default body background */
}

/* 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;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF; /* White text for dark background */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-bottom: 30px;
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-fishing-games__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand primary color for titles on light background */
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #017439;
}

/* Background Colors */
.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #FFFFFF;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: #FFFFFF;
}

.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

/* Buttons */
.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1.1em;
    box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-fishing-games__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border-color: #C30808;
}

.page-fishing-games__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #FFFF00; /* Register/Login font color */
    border-color: #C30808;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #C30808;
    color: #FFFFFF;
}

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

/* Game Showcase */
.page-fishing-games__games-showcase {
    padding: 60px 0;
}

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

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark background */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFFFFF; /* White text for dark background */
}

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

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Yellow for card titles */
}

.page-fishing-games__card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    opacity: 0.9;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
}

.page-fishing-games__ordered-list,
.page-fishing-games__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-fishing-games__ordered-list li,
.page-fishing-games__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-fishing-games__ordered-list li strong {
    color: #017439;
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promo-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

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

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

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #017439;
}

.page-fishing-games__promo-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Security Section */
.page-fishing-games__security-section {
    padding: 60px 0;
}

/* App Download Section */
.page-fishing-games__app-download-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__app-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__feature-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #333333;
}

.page-fishing-games__feature-icon {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-fishing-games__feature-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
}

.page-fishing-games__feature-description {
    font-size: 0.95em;
}

.page-fishing-games__app-download-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}


/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
}

.page-fishing-games__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFFFFF;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFFFF;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    transition: transform 0.3s ease;
    color: #FFFF00; /* Yellow for toggle icon */
}

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands fully */
    padding: 15px 25px;
}

.page-fishing-games__faq-text {
    margin: 0;
    padding-bottom: 10px;
    font-size: 1em;
    opacity: 0.9;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__cta-content {
    max-width: 900px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
}

/* Links */
.page-fishing-games a {
    color: #017439;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-fishing-games__dark-bg a {
    color: #FFFF00; /* Yellow for links on dark background */
}

.page-fishing-games a:hover {
    color: #C30808; /* Hover color for links */
}

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    }

    .page-fishing-games__hero-title {
        font-size: 2em;
    }

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

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

    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column !important; /* Stack buttons vertically on mobile */
    }

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

    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }

    .page-fishing-games__game-cards,
    .page-fishing-games__promo-grid,
    .page-fishing-games__app-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card,
    .page-fishing-games__promo-card,
    .page-fishing-games__feature-item {
        padding: 20px;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__promo-image,
    .page-fishing-games__feature-icon {
        height: auto;
        max-width: 100%;
    }

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

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsiveness (no video on this page, but keeping rules for safety) */
    .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;
    }
}