/* style/fishing-games.css */

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

.page-fishing-games {
    background-color: var(--xoxo66-color-background);
    color: var(--xoxo66-color-text-main);
    font-family: 'Arial', sans-serif;
}

.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);
    color: var(--xoxo66-color-gold);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__section-description,
.page-fishing-games__call-to-action-text,
.page-fishing-games__section-footer-text {
    font-size: 1.1em;
    color: var(--xoxo66-color-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom */
    background-color: var(--xoxo66-color-deep-green);
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* Slightly transparent to let content stand out */
    filter: brightness(0.7);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(8, 22, 15, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    margin-top: 100px; /* Push content down to be below the image in normal flow */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--xoxo66-color-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.8);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--xoxo66-color-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--xoxo66-color-gold);
    border: 2px solid var(--xoxo66-color-gold);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--xoxo66-color-gold);
    color: var(--xoxo66-color-background);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.page-fishing-games__inline-link {
    color: var(--xoxo66-color-gold);
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__inline-link:hover {
    color: var(--xoxo66-color-glow);
}

.page-fishing-games__card-bg {
    background-color: var(--xoxo66-color-background);
    padding: 60px 0;
}

.page-fishing-games__dark-section {
    background-color: var(--xoxo66-color-deep-green);
    padding: 60px 0;
}

.page-fishing-games__card {
    background-color: var(--xoxo66-color-card-bg);
    border: 1px solid var(--xoxo66-color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--xoxo66-color-text-main);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-fishing-games__introduction-section {
    padding-top: 60px;
}

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

.page-fishing-games__feature-item {
    text-align: center;
}

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--xoxo66-color-border);
}

.page-fishing-games__feature-title {
    font-size: 1.6em;
    color: var(--xoxo66-color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    font-size: 1em;
    color: var(--xoxo66-color-text-secondary);
    line-height: 1.5;
}

.page-fishing-games__games-showcase {
    padding-top: 60px;
}

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

.page-fishing-games__game-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__game-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--xoxo66-color-border);
}

.page-fishing-games__game-info {
    padding: 0 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-title {
    font-size: 1.5em;
    color: var(--xoxo66-color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__game-description {
    font-size: 0.95em;
    color: var(--xoxo66-color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    align-self: center;
}

.page-fishing-games__guide-section {
    padding-top: 60px;
}

.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__guide-item {
    background-color: var(--xoxo66-color-card-bg);
    border: 1px solid var(--xoxo66-color-border);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__guide-step-title {
    font-size: 1.8em;
    color: var(--xoxo66-color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__guide-step-text {
    font-size: 1em;
    color: var(--xoxo66-color-text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.page-fishing-games__btn-inline {
    margin-top: 10px;
}

.page-fishing-games__strategies-section {
    padding-top: 60px;
}

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

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

.page-fishing-games__strategy-title {
    font-size: 1.6em;
    color: var(--xoxo66-color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__strategy-text {
    font-size: 1em;
    color: var(--xoxo66-color-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__promotions-section {
    padding-top: 60px;
}

.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 {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--xoxo66-color-border);
}

.page-fishing-games__promo-title {
    font-size: 1.5em;
    color: var(--xoxo66-color-gold);
    margin-bottom: 10px;
}

.page-fishing-games__promo-text {
    font-size: 0.95em;
    color: var(--xoxo66-color-text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__faq-section {
    padding-top: 60px;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--xoxo66-color-deep-green);
    color: var(--xoxo66-color-text-main);
    padding: 18px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--xoxo66-color-gold);
}

.page-fishing-games__faq-answer {
    background-color: var(--xoxo66-color-card-bg);
    color: var(--xoxo66-color-text-secondary);
    padding: 15px 25px;
    border-top: 1px solid var(--xoxo66-color-divider);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    font-size: 1em;
    line-height: 1.6;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    color: var(--xoxo66-color-text-secondary);
}

.page-fishing-games__faq-answer .page-fishing-games__btn-inline {
    margin-top: 10px;
    margin-bottom: 0;
}

.page-fishing-games__conclusion-section {
    padding-top: 60px;
    padding-bottom: 80px;
    text-align: center;
}

.page-fishing-games__final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

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

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

    .page-fishing-games__section-title {
        font-size: 2.2em;
    }

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

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

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

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

    .page-fishing-games__hero-cta-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;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container,
    .page-fishing-games__final-cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-card-grid,
    .page-fishing-games__strategy-list,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        height: auto;
        min-height: 200px; /* Ensure minimum size */
    }

    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .page-fishing-games__guide-item {
        padding: 20px;
    }

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

    .page-fishing-games__strategy-title,
    .page-fishing-games__promo-title {
        font-size: 1.3em;
    }

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

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

/* Ensure content area images are not smaller than 200px */
.page-fishing-games__feature-image,
.page-fishing-games__game-image,
.page-fishing-games__promo-image {
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__faq-answer .page-fishing-games__inline-link {
    display: block;
    margin-top: 10px;
    text-align: left;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-primary.page-fishing-games__btn-small.page-fishing-games__btn-inline {
    width: auto; /* Allow button to size to content on desktop */
    max-width: fit-content; /* Limit max width */
    text-align: center;
}

@media (max-width: 768px) {
    .page-fishing-games__faq-answer .page-fishing-games__btn-primary.page-fishing-games__btn-small.page-fishing-games__btn-inline {
        width: 100% !important; /* Force full width on mobile */
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}