/* style/fishing-games.css */

/* Root variables for colors */
:root {
    --page-fishing-games-primary-color: #11A84E;
    --page-fishing-games-secondary-color: #22C768;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --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 {
    font-family: 'Arial', sans-serif;
    color: var(--page-fishing-games-text-main); /* Default text color for dark body bg */
    background-color: var(--page-fishing-games-background); /* Ensure consistency with body background */
}

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

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px; /* Space below image */
}

.page-fishing-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: var(--page-fishing-games-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--page-fishing-games-secondary-color);
    border-radius: 2px;
}

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

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

.page-fishing-games__text-block a:hover {
    text-decoration: underline;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--page-fishing-games-secondary-color);
    border: 2px solid var(--page-fishing-games-secondary-color);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-text-main);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.4);
}

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__guide-section,
.page-fishing-games__promotions-section,
.page-fishing-games__support-section,
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-fishing-games__game-types-section,
.page-fishing-games__strategy-section,
.page-fishing-games__mobile-app-section,
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: #0d1a14;
}

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

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

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

.page-fishing-games__game-card img,
.page-fishing-games__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

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

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

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

.page-fishing-games__step-card {
    text-align: left;
}

.page-fishing-games__step-card h3 {
    font-size: 1.3em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 10px;
}

.page-fishing-games__step-card p {
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__strategy-layout,
.page-fishing-games__mobile-app-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

.page-fishing-games__strategy-layout .page-fishing-games__text-content,
.page-fishing-games__mobile-app-layout .page-fishing-games__text-content {
    flex: 1;
}

.page-fishing-games__strategy-layout .page-fishing-games__image-wrapper,
.page-fishing-games__mobile-app-layout .page-fishing-games__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__strategy-layout img,
.page-fishing-games__mobile-app-layout img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__strategy-list li {
    background: var(--page-fishing-games-card-bg);
    border-left: 4px solid var(--page-fishing-games-secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: var(--page-fishing-games-text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

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

.page-fishing-games__app-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-fishing-games__app-features li {
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-fishing-games__app-features li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-fishing-games-secondary-color);
}

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

.page-fishing-games__support-item h3 {
    font-size: 1.5em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 10px;
}

.page-fishing-games__support-item p {
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.6;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 50px;
    text-align: left;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    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);
    list-style: none; /* For details/summary */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

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

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    border-bottom: 1px solid var(--page-fishing-games-divider);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-fishing-games__strategy-layout,
    .page-fishing-games__mobile-app-layout {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__strategy-layout .page-fishing-games__text-content,
    .page-fishing-games__mobile-app-layout .page-fishing-games__text-content {
        order: 2;
    }
    .page-fishing-games__strategy-layout .page-fishing-games__image-wrapper,
    .page-fishing-games__mobile-app-layout .page-fishing-games__image-wrapper {
        order: 1;
        margin-bottom: 30px;
    }
}

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

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

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

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

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

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

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

    .page-fishing-games__introduction-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__mobile-app-section,
    .page-fishing-games__support-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 50px 0;
    }

    .page-fishing-games__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__support-grid,
    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    /* 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__game-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__support-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__strategy-layout,
    .page-fishing-games__mobile-app-layout,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__hero-image {
        height: 250px;
    }

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

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