/* style/fishing-games.css */

:root {
    --page-fishing-games-primary-color: #017439;
    --page-fishing-games-secondary-color: #FFFFFF;
    --page-fishing-games-register-login-color: #C30808;
    --page-fishing-games-register-login-font-color: #FFFF00;
    --page-fishing-games-text-dark: #333333;
    --page-fishing-games-text-light: #ffffff;
    --page-fishing-games-bg-light: #ffffff;
    --page-fishing-games-bg-dark: #017439;
}

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

.page-fishing-games__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

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

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

.page-fishing-games__highlight {
    font-weight: bold;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background-color: var(--page-fishing-games-register-login-color); /* Custom color for register/login */
    color: var(--page-fishing-games-register-login-font-color); /* Custom font color */
    border: 2px solid var(--page-fishing-games-register-login-color);
}

.page-fishing-games__btn-primary:hover {
    background-color: #a00606; /* Darker shade on hover */
    border-color: #a00606;
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-secondary-color);
    color: var(--page-fishing-games-primary-color);
}

/* Hero Section */
.page-fishing-games__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 60px;
    background-color: var(--page-fishing-games-bg-dark);
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-fishing-games__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__hero-description {
    font-size: 1.15em;
    margin-bottom: 30px;
    color: var(--page-fishing-games-text-light);
}

.page-fishing-games__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-fishing-games__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-fishing-games__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Intro Section */
.page-fishing-games__intro-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg-light);
    color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__icon-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.page-fishing-games__icon-box {
    flex: 1 1 300px;
    background-color: var(--page-fishing-games-secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__icon-box-media {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--page-fishing-games-primary-color);
    box-sizing: border-box;
}

.page-fishing-games__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-fishing-games__icon-box-title {
    font-size: 1.5em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__icon-box-text {
    font-size: 1em;
    color: var(--page-fishing-games-text-dark);
}

/* Game Categories Section */
.page-fishing-games__game-categories {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg-dark);
    color: var(--page-fishing-games-text-light);
}

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

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

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

.page-fishing-games__game-card {
    background-color: var(--page-fishing-games-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__game-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-card-title {
    font-size: 1.8em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__game-card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Guide Section */
.page-fishing-games__guide-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg-light);
    color: var(--page-fishing-games-text-dark);
}

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

.page-fishing-games__guide-step {
    background-color: var(--page-fishing-games-secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    box-sizing: border-box;
    border-top: 5px solid var(--page-fishing-games-primary-color);
}

.page-fishing-games__guide-step-icon {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__guide-step-title {
    font-size: 1.4em;
    color: var(--page-fishing-games-text-dark);
    margin-bottom: 10px;
}

.page-fishing-games__guide-step-text {
    font-size: 0.95em;
    color: var(--page-fishing-games-text-dark);
}

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

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

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

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

.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    color: var(--page-fishing-games-text-dark);
}

.page-fishing-games__promo-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-fishing-games__promo-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-fishing-games__promo-card-title {
    font-size: 1.8em;
    color: var(--page-fishing-games-primary-color);
    margin-bottom: 10px;
}

.page-fishing-games__promo-card-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg-light);
    color: var(--page-fishing-games-text-dark);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--page-fishing-games-primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* Remove default marker */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #f0f0f0;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--page-fishing-games-text-dark);
    border-top: 1px solid #eee;
}

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

/* CTA Bottom Section */
.page-fishing-games__cta-bottom {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-fishing-games-bg-dark);
    color: var(--page-fishing-games-text-light);
}

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

.page-fishing-games__cta-bottom .page-fishing-games__section-description {
    color: var(--page-fishing-games-text-light);
    margin-bottom: 30px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .page-fishing-games__hero-content {
        text-align: center;
    }

    .page-fishing-games__hero-image {
        order: -1;
    }

    .page-fishing-games__icon-box {
        flex: 1 1 45%;
        min-width: unset;
    }

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

@media (max-width: 768px) {
    .page-fishing-games__container {
        padding: 30px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-fishing-games__hero-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-fishing-games__hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

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

    /* Module 1: Intro Section (circular images) */
    .page-fishing-games__intro-section {
        padding: 40px 0 !important;
    }

    .page-fishing-games__icon-boxes {
        flex-direction: column;
        gap: 20px;
    }

    .page-fishing-games__icon-box {
        padding: 20px !important;
        flex: 1 1 100% !important;
    }

    .page-fishing-games__icon-box-media {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px !important;
        border-width: 3px !important;
    }

    /* Game Categories Section */
    .page-fishing-games__game-categories {
        padding: 40px 0 !important;
    }

    .page-fishing-games__game-list {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-fishing-games__game-card-image {
        height: 180px !important; /* Adjust fixed height for mobile */
    }

    .page-fishing-games__game-card-title {
        font-size: 1.5em !important;
    }

    /* Guide Section */
    .page-fishing-games__guide-section {
        padding: 40px 0 !important;
    }

    .page-fishing-games__guide-steps {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-fishing-games__guide-step {
        padding: 25px !important;
    }

    .page-fishing-games__guide-step-icon {
        font-size: 2em !important;
    }

    /* Promotions Section */
    .page-fishing-games__promotions-section {
        padding: 40px 0 !important;
    }

    .page-fishing-games__promo-list {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-fishing-games__promo-card-image {
        height: 180px !important;
    }

    .page-fishing-games__promo-card-title {
        font-size: 1.5em !important;
    }

    /* FAQ Section */
    .page-fishing-games__faq-section {
        padding: 40px 0 !important;
    }

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

    .page-fishing-games__faq-answer {
        padding: 10px 20px 15px !important;
        font-size: 0.95em !important;
    }

    /* CTA Bottom Section */
    .page-fishing-games__cta-bottom {
        padding: 40px 0 !important;
    }

    .page-fishing-games__section-title {
        font-size: 2em !important;
        margin-bottom: 15px !important;
    }

    .page-fishing-games__section-description {
        font-size: 1em !important;
        margin-bottom: 25px !important;
    }

    /* General image and container 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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}