/* style/fishing-games.css */

/* Custom Colors from config */
:root {
    --fishing-games-color-primary: #11A84E;
    --fishing-games-color-secondary: #22C768;
    --fishing-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --fishing-games-bg-card: #11271B;
    --fishing-games-bg-main: #08160F;
    --fishing-games-text-main: #F2FFF6;
    --fishing-games-text-secondary: #A7D9B8;
    --fishing-games-border-color: #2E7A4E;
    --fishing-games-glow-color: #57E38D;
    --fishing-games-gold-color: #F2C14E;
    --fishing-games-divider-color: #1E3A2A;
    --fishing-games-deep-green-color: #0A4B2C;
}

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

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

.page-fishing-games__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    color: var(--fishing-games-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-fishing-games__section-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--fishing-games-text-secondary);
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-fishing-games__card {
    background-color: var(--fishing-games-bg-card);
    border: 1px solid var(--fishing-games-border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    color: var(--fishing-games-text-main);
}

.page-fishing-games__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: var(--fishing-games-text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background: var(--fishing-games-btn-gradient);
    color: #ffffff;
    border: none;
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--fishing-games-color-primary);
    border: 2px solid var(--fishing-games-color-primary);
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--fishing-games-color-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.2);
}

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

.page-fishing-games__inline-link {
    color: var(--fishing-games-color-primary);
    text-decoration: none;
    font-weight: 500;
}

.page-fishing-games__inline-link:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* body already handles --header-offset */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    background-color: rgba(17, 39, 27, 0.85); /* Card BG with opacity */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    margin-top: -80px; /* Overlap with image for visual effect */
}

.page-fishing-games__main-title {
    font-size: clamp(32px, 4vw, 56px);
    color: var(--fishing-games-gold-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 1px;
}

.page-fishing-games__hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--fishing-games-text-main);
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Intro Section & Content Wrappers */
.page-fishing-games__intro-section,
.page-fishing-games__security-section,
.page-fishing-games__tips-section,
.page-fishing-games__guide-section {
    padding: 80px 0;
}

.page-fishing-games__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

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

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

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

.page-fishing-games__text-block p {
    margin-bottom: 15px;
}

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

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

.page-fishing-games__guide-list,
.page-fishing-games__tips-list,
.page-fishing-games__security-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-fishing-games__guide-list li,
.page-fishing-games__tips-list li,
.page-fishing-games__security-list li {
    background-color: var(--fishing-games-bg-card);
    padding: 15px 20px;
    border-left: 5px solid var(--fishing-games-color-primary);
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fishing-games-text-main);
}

.page-fishing-games__guide-list li strong,
.page-fishing-games__tips-list li strong,
.page-fishing-games__security-list li strong {
    color: var(--fishing-games-gold-color);
    font-weight: 700;
}

/* Why Choose Section */
.page-fishing-games__why-choose-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green-color);
}

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

.page-fishing-games__benefit-card {
    text-align: center;
}

/* Game Types Section */
.page-fishing-games__game-types-section {
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    text-align: center;
    justify-content: space-between;
}

.page-fishing-games__game-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--fishing-games-text-secondary);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green-color);
}

.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;
    justify-content: space-between;
}

.page-fishing-games__promo-card p {
    flex-grow: 1;
    margin-bottom: 20px;
    color: var(--fishing-games-text-secondary);
}

/* Support Section */
.page-fishing-games__support-section {
    padding: 80px 0;
}

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

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

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

/* Download Section */
.page-fishing-games__download-section {
    padding: 80px 0;
}

.page-fishing-games__download-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__download-item {
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    padding: 30px;
}

.page-fishing-games__qr-code {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin: 20px auto;
    border: 5px solid var(--fishing-games-color-primary);
    border-radius: 8px;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 80px 0;
    background-color: var(--fishing-games-deep-green-color);
}

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

.page-fishing-games__faq-item {
    margin-bottom: 20px;
    background-color: var(--fishing-games-bg-card);
    border-color: var(--fishing-games-border-color);
    color: var(--fishing-games-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 20px;
    font-weight: 600;
    color: var(--fishing-games-text-main);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question:hover {
    background-color: rgba(var(--fishing-games-color-primary), 0.1);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--fishing-games-color-primary);
    margin-left: 15px;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−';
}

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--fishing-games-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Adjust as needed */
}

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__conclusion-section .page-fishing-games__section-description {
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        margin-top: -50px;
        padding: 25px;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

    .page-fishing-games__text-block, .page-fishing-games__image-block {
        flex: none;
        width: 100%;
    }

    .page-fishing-games__image {
        max-width: 80%;
    }

    .page-fishing-games__benefits-grid,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__support-methods {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

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

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

    .page-fishing-games__hero-content {
        margin-top: -30px;
        padding: 20px;
    }

    .page-fishing-games__main-title {
        font-size: 32px;
    }

    .page-fishing-games__hero-description {
        font-size: 16px;
    }

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

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

    .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: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
    }

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

    .page-fishing-games__section-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-fishing-games__intro-section,
    .page-fishing-games__why-choose-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__tips-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__security-section,
    .page-fishing-games__support-section,
    .page-fishing-games__download-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }

    .page-fishing-games__text-block {
        font-size: 16px;
    }

    .page-fishing-games__text-block h3 {
        font-size: 24px;
    }

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

    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-fishing-games__faq-answer {
        font-size: 16px;
        padding: 0 20px 15px;
    }
    
    .page-fishing-games__qr-code {
        width: 180px;
        height: 180px;
    }

    .page-fishing-games__download-options {
        flex-direction: column;
        align-items: center;
    }

    .page-fishing-games__download-item {
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 28px;
    }

    .page-fishing-games__section-title {
        font-size: 24px;
    }

    .page-fishing-games__faq-question {
        font-size: 16px;
    }

    .page-fishing-games__faq-toggle {
        font-size: 20px;
    }
}