/* style/fishing-games.css */

:root {
    /* Custom colors for fishing-games page based on palette */
    --page-fishing-games-bg: #08160F;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-fishing-games {
    background-color: var(--page-fishing-games-bg);
    color: var(--page-fishing-games-text-main); /* Dark background, so light text */
    font-family: 'Arial', sans-serif;
}

.page-fishing-games a {
    color: var(--page-fishing-games-gold);
    text-decoration: none;
}

.page-fishing-games a:hover {
    text-decoration: underline;
    color: var(--page-fishing-games-glow);
}

.page-fishing-games__section {
    padding: 60px 0;
    position: relative;
}

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-card-bg);
}

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

.page-fishing-games__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    font-weight: 700;
    color: var(--page-fishing-games-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image for visual effect */
    position: relative; /* Ensure it's above other content */
    z-index: 10;
    border: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 800;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__description {
    font-size: 1.2em;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 200px;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    border: none;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--page-fishing-games-glow);
    border: 2px solid var(--page-fishing-games-glow);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-glow);
    color: var(--page-fishing-games-bg);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

/* Content Wrapper with Image */
.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-fishing-games__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
}

.page-fishing-games p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 1em;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games strong {
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games h3 {
    font-size: 1.5em;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 15px;
}

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

.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for cards, maintain aspect ratio with object-fit */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__card-title {
    font-size: 1.6em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Guide List */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
}

.page-fishing-games__guide-list li {
    background-color: var(--page-fishing-games-card-bg);
    border-left: 5px solid var(--page-fishing-games-glow);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__guide-list li strong {
    color: var(--page-fishing-games-gold);
    font-size: 1.1em;
}

/* Advantage List */
.page-fishing-games__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-fishing-games__advantage-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__advantage-list li::before {
    content: '✅'; /* Unicode checkmark */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: var(--page-fishing-games-glow);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--page-fishing-games-text-main);
    cursor: pointer;
    background-color: var(--page-fishing-games-deep-green);
    border-bottom: 1px solid var(--page-fishing-games-border);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--page-fishing-games-border);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

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

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

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1.05em;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.7;
    background-color: var(--page-fishing-games-card-bg);
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-item summary {
    list-style: none;
}

/* Final CTA */
.page-fishing-games__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-fishing-games__cta-final {
    padding: 80px 0;
    background-color: var(--page-fishing-games-deep-green);
    text-align: center;
}

.page-fishing-games__cta-final .page-fishing-games__section-title {
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
}

.page-fishing-games__cta-final .page-fishing-games__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__hero-content {
        margin-top: -60px;
        padding: 30px 20px;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__content-wrapper--reverse {
        flex-direction: column;
    }

    .page-fishing-games__text-block, .page-fishing-games__image-block {
        min-width: unset;
        width: 100%;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-fishing-games__section {
        padding: 40px 0;
    }

    .page-fishing-games__hero-content {
        margin-top: -40px;
        padding: 25px 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

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

    .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;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__hero-section,
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__image-block,
    .page-fishing-games__game-list,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-final .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }

    .page-fishing-games__card-image {
        height: auto; /* Allow auto height for mobile cards */
        max-height: 180px;
    }

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

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

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }

    .page-fishing-games__main-title {
        font-size: clamp(2em, 10vw, 2.2em);
    }

    .page-fishing-games__cta-buttons {
        gap: 10px;
    }
}