/* style/fishing-games.css */

/* Base styles for the fishing games page */
.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 (#000000) */
}

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #000000; /* Dark background for hero */
    color: #ffffff;
    overflow: hidden;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary,
.page-fishing-games__btn-tertiary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-primary:hover {
    background-color: #1a7fb4;
    border-color: #1a7fb4;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(38, 169, 224, 0.4);
}

.page-fishing-games__btn-tertiary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #26A9E0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__btn-tertiary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.page-fishing-games__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    color: #26A9E0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px auto;
    color: #f0f0f0;
}

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

.page-fishing-games__why-choose-section,
.page-fishing-games__features-section,
.page-fishing-games__promotions-section,
.page-fishing-games__call-to-action-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #0d0d0d; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-fishing-games__dark-section {
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-fishing-games__download-section,
.page-fishing-games__strategy-section,
.page-fishing-games__faq-section {
    padding: 80px 20px;
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__strategy-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid rgba(38, 169, 224, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: #f0f0f0;
    flex-grow: 1; /* Ensures cards with less text still align at bottom */
}

.page-fishing-games__download-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.page-fishing-games__download-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__download-steps {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__step-list {
    list-style: decimal;
    padding-left: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-fishing-games__step-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-fishing-games__note {
    font-style: italic;
    color: #ffcc00; /* Warning color */
    margin-top: 20px;
    font-size: 1em;
}

.page-fishing-games__btn-download-bottom {
    margin-top: 30px;
}

.page-fishing-games__features-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.page-fishing-games__feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(38, 169, 224, 0.3);
    text-align: left;
}

.page-fishing-games__item-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__item-description {
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.page-fishing-games__faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(38, 169, 224, 0.3);
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: rgba(38, 169, 224, 0.1);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.2);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate for active state */
}

.page-fishing-games__faq-answer {
    padding: 0 30px 20px 30px;
    font-size: 1.1em;
    color: #f0f0f0;
    max-height: 0; /* Initial state for div-based FAQ */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* Style for details/summary native open state */
.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 1000px; /* Sufficiently large to show content */
    padding-top: 15px;
}


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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
        margin-bottom: 40px;
    }
    .page-fishing-games__section-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.5em;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games__btn-tertiary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__why-choose-section,
    .page-fishing-games__download-section,
    .page-fishing-games__features-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__call-to-action-section {
        padding: 60px 15px;
    }

    .page-fishing-games__download-content {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__download-image {
        max-width: 100%;
    }

    .page-fishing-games__step-list {
        padding-left: 15px;
    }

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

    .page-fishing-games__card-title,
    .page-fishing-games__item-title {
        font-size: 1.4em;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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

    /* Image responsive rules */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video responsive rules (if any, though none currently in HTML) */
    .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;
    }

    /* Ensure content containers also adapt */
    .page-fishing-games__hero-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__download-section,
    .page-fishing-games__features-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__call-to-action-section,
    .page-fishing-games__container,
    .page-fishing-games__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific section rules */
    }
    /* Specific padding for sections that might not have it */
    .page-fishing-games__features-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__strategy-content,
    .page-fishing-games__features-list,
    .page-fishing-games__faq-list {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__strategy-card {
        padding: 15px;
    }
    .page-fishing-games__card-title,
    .page-fishing-games__item-title {
        font-size: 1.2em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
    }
}

/* Image color filter restriction */
.page-fishing-games img {
    filter: none !important; /* Ensure no filter is applied to images */
}

/* Content area image CSS size lower bound (applies to any img within .page-fishing-games) */
.page-fishing-games img:not(.shared-logo):not(.shared-icon) { /* Exclude shared header/footer icons */
    min-width: 200px;
    min-height: 200px;
    /* The width/height attributes in HTML for display area are more critical here */
}

/* Ensure no specific width/height for images that would make them smaller than 200px */
.page-fishing-games__feature-icon,
.page-fishing-games__strategy-image,
.page-fishing-games__download-image {
    /* These are set to max-width and auto height, which is good.
       The HTML width/height attributes for display area are >= 200px as per requirements. */
}