/* style/fishing-games.css */

/* --- General Styles for page-fishing-games scope --- */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    /* body handles padding-top: var(--header-offset); */
}

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

.page-fishing-games__heading {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-fishing-games__text-block {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
    text-align: justify;
}

.page-fishing-games__text-block strong {
    color: #F2FFF6; /* Highlight keywords */
}

/* --- Hero Section --- */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F; /* Ensure dark background for hero */
}

.page-fishing-games__video-container {
    width: 100%;
    max-width: 1280px; /* Max width for video */
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-fishing-games__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer; /* Indicate video is clickable */
}

.page-fishing-games__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: none;
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: #57E38D; /* Glow color for border and text */
    border: 2px solid #57E38D; /* Glow color for border */
}

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(87, 227, 141, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__cta-buttons--center {
    margin-top: 50px;
    margin-bottom: 20px;
}

/* --- Introduction Section & Dark Section --- */
.page-fishing-games__dark-section {
    background-color: #0A4B2C; /* Deep Green, slightly lighter than background for contrast */
    padding: 60px 0;
    color: #F2FFF6;
}

.page-fishing-games__introduction-section .page-fishing-games__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__feature-card,
.page-fishing-games__game-card,
.page-fishing-games__guide-item,
.page-fishing-games__strategy-item,
.page-fishing-games__promo-card,
.page-fishing-games__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__game-card:hover,
.page-fishing-games__guide-item:hover,
.page-fishing-games__strategy-item:hover,
.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__feature-image,
.page-fishing-games__guide-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure image behaves as block element */
    min-width: 200px; /* Min size */
    min-height: 200px; /* Min size */
}

.page-fishing-games__feature-title,
.page-fishing-games__guide-title,
.page-fishing-games__game-title,
.page-fishing-games__promo-title {
    font-size: 1.4rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__feature-description,
.page-fishing-games__guide-description,
.page-fishing-games__game-description,
.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
    flex-grow: 1; /* Make description take available space */
}

/* --- Light Background Section --- */
.page-fishing-games__light-bg {
    background-color: #08160F; /* Background color, which is dark */
    padding: 60px 0;
    color: #F2FFF6; /* Text Main */
}

/* --- Download Guide Section --- */
.page-fishing-games__download-guide-section .page-fishing-games__heading {
    color: #F2FFF6;
}

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

/* --- Game Types Section --- */
.page-fishing-games__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

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

.page-fishing-games__strategy-item {
    text-align: left;
}

.page-fishing-games__strategy-title {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__strategy-description {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

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

/* --- FAQ Section --- */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: #08160F; /* Background color */
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden; /* For details element */
}

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 15px 20px;
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    border: 1px solid #2E7A4E; /* Border */
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary:hover {
    background-color: #1E3A2A; /* Divider color for hover */
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    margin-right: 10px;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #57E38D; /* Glow color */
}

.page-fishing-games__faq-answer {
    padding: 15px 20px 5px 20px;
    background-color: #0A4B2C; /* Deep Green */
    border-radius: 0 0 8px 8px;
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
    border: 1px solid #2E7A4E; /* Border */
    border-top: none;
    text-align: justify;
}

/* For JS-driven FAQ (if details not used or for fallback) */
.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* ensure it expands */
}
.page-fishing-games__faq-item:not(.active) .page-fishing-games__faq-answer {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    content: '−'; /* Minus sign */
}
.page-fishing-games__faq-item:not(.active) .page-fishing-games__faq-toggle {
    content: '+'; /* Plus sign */
}

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

/* --- Images responsive and min-size --- */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Global min size */
    min-height: 200px; /* Global min size */
}

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

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

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

    .page-fishing-games__video-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-fishing-games__main-title {
        font-size: 2.2rem;
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__dark-section,
    .page-fishing-games__light-bg {
        padding: 40px 0;
    }

    .page-fishing-games__heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__step-by-step-guide,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__promo-grid {
        gap: 20px;
        margin-top: 30px;
    }

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

    .page-fishing-games__feature-image,
    .page-fishing-games__guide-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: 200px; /* Adjust height for mobile */
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-fishing-games__feature-title,
    .page-fishing-games__guide-title,
    .page-fishing-games__game-title,
    .page-fishing-games__promo-title {
        font-size: 1.2rem;
    }

    .page-fishing-games__faq-list {
        margin-top: 30px;
    }

    .page-fishing-games__faq-item summary {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .page-fishing-games__faq-answer {
        padding: 10px 15px;
    }

    /* Mobile image and video specific overrides for safety */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__download-guide-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__strategies-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right are handled by .page-fishing-games__container */
    }
    /* Specific padding for sections if they don't use __container directly for full width backgrounds */
    .page-fishing-games__hero-section .page-fishing-games__hero-content,
    .page-fishing-games__dark-section .page-fishing-games__container,
    .page-fishing-games__light-bg .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__video-section { /* This class is not directly used, but for safety */
        padding-top: 10px !important;
    }
}