/* style/fishing-games.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

.page-fishing-games {
    font-family: Arial, sans-serif;
    color: var(--color-text-main); /* Default text color for the page */
    background-color: var(--color-background); /* Default background for the page */
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

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

.page-fishing-games__text-highlight {
    color: var(--color-gold);
    font-weight: bold;
}

.page-fishing-games__text-center {
    text-align: center;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* body handles padding-top, only small decorative padding here */
    position: relative;
    overflow: hidden;
}

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

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

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

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
    font-weight: 900;
}

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

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

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

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: 2px solid var(--color-button-gradient-start);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

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

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

/* About Game Section */
.page-fishing-games__about-game-section {
    background-color: var(--color-card-bg);
}

.page-fishing-games__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__image--centered {
    margin-left: auto;
    margin-right: auto;
}

/* Top Games Section */
.page-fishing-games__top-games-section {
    background-color: var(--color-background);
}

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

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

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

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it's not inline */
}

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

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

/* Guide Section */
.page-fishing-games__guide-section {
    background-color: var(--color-card-bg);
}

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

.page-fishing-games__step-card {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Tips Section */
.page-fishing-games__tips-section {
    background-color: var(--color-background);
}

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

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

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

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

/* Promotions Section */
.page-fishing-games__promotions-section {
    background-color: var(--color-card-bg);
}

.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 {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    background-color: var(--color-background);
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: var(--color-card-bg);
}

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

.page-fishing-games__faq-item {
    background-color: var(--color-deep-green);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-gold);
    cursor: pointer;
    background-color: var(--color-deep-green);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--color-deep-green);
    filter: brightness(1.2);
}

.page-fishing-games__faq-question::marker, /* For Firefox */
.page-fishing-games__faq-question::-webkit-details-marker { /* For Chrome/Safari */
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--color-gold);
    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: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.page-fishing-games__faq-answer p {
    margin-top: 0;
    margin-bottom: 0;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    background-color: var(--color-background);
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

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

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

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

    .page-fishing-games__section {
        padding: 40px 0;
    }

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

    .page-fishing-games__hero-content {
        padding: 0 15px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

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

    .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;
    }

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

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

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

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__list-title {
        font-size: 1.2em;
    }

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

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

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

    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__section,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__list-item,
    .page-fishing-games__faq-item,
    .page-fishing-games__container,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }
    
    /* Remove padding for full-width sections that have internal containers */
    .page-fishing-games__hero-section,
    .page-fishing-games__top-games-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__cta-final-section {
        padding-left: 0;
        padding-right: 0;
    }

    .page-fishing-games__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }

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

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }

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