/* style/fishing-games.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-color-light: #f8f9fa;
    --bg-color-dark: #003380; /* A slightly darker shade of primary for backgrounds */
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--bg-color-light);
}

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

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

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

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

.page-fishing-games__section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__section-title--light {
    color: var(--text-color-light);
}

.page-fishing-games__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color-dark);
}

.page-fishing-games__section-description--light {
    color: var(--text-color-light);
}

/* 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: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-color-dark) 100%);
    overflow: hidden;
}

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-fishing-games__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 1000px; /* Limit image width for better presentation */
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-color-light);
}

.page-fishing-games__main-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__intro-description {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-color-light);
    opacity: 0.9;
}

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

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__card {
    background: var(--text-color-light);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__card-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

/* Popular Games Section */
.page-fishing-games__popular-games-section {
    background-color: var(--primary-color);
    padding: 80px 0;
}

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

.page-fishing-games__game-card {
    background: var(--bg-color-dark); /* Slightly lighter dark background */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

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

.page-fishing-games__game-image {
    width: 100%;
    height: 220px; /* Fixed height for game images */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-fishing-games__game-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__game-description {
    font-size: 16px;
    color: var(--text-color-light);
    padding: 0 20px 20px 20px;
    opacity: 0.8;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 80px 0;
}

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

.page-fishing-games__step-item {
    text-align: center;
    padding: 30px;
    background: var(--text-color-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__step-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

.page-fishing-games__step-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-fishing-games__cta-buttons--center {
    margin-top: 50px;
}

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

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

.page-fishing-games__promotion-card {
    background: var(--bg-color-dark);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

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

.page-fishing-games__promotion-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-fishing-games__promotion-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-fishing-games__promotion-text {
    font-size: 16px;
    color: var(--text-color-light);
    padding: 0 20px 20px 20px;
    opacity: 0.8;
}

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

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 30px;
    background: var(--text-color-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 75px; /* Adjust height to fit ratio */
    object-fit: contain; /* Ensure icon fits without cropping */
    margin-bottom: 20px;
}

.page-fishing-games__feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__feature-text {
    font-size: 16px;
    color: var(--text-color-dark);
}

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

.page-fishing-games__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--text-color-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-fishing-games__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-fishing-games__faq-question:active {
    background: #eeeeee;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary-color);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    background: #fcfcfc;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    color: var(--text-color-dark);
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-color-light) 0%, #e0e9f5 100%);
}

.page-fishing-games__cta-final-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-fishing-games__cta-final-section .page-fishing-games__section-description {
    margin-bottom: 40px;
    color: var(--text-color-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 42px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__intro-description,
    .page-fishing-games__section-description {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__hero-image img {
        border-radius: 8px;
    }

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

    .page-fishing-games__intro-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .page-fishing-games__grid-layout,
    .page-fishing-games__game-carousel,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__security-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card,
    .page-fishing-games__game-card,
    .page-fishing-games__step-item,
    .page-fishing-games__promotion-card,
    .page-fishing-games__feature-item {
        padding: 20px;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__game-image,
    .page-fishing-games__promotion-image {
        height: 160px;
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__card-title,
    .page-fishing-games__game-title,
    .page-fishing-games__step-title,
    .page-fishing-games__promotion-title,
    .page-fishing-games__feature-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-fishing-games__card-text,
    .page-fishing-games__game-description,
    .page-fishing-games__step-text,
    .page-fishing-games__promotion-text,
    .page-fishing-games__feature-text {
        font-size: 15px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-fishing-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    /* Ensure all images inside page-fishing-games are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}