/* style/fishing-games.css */
:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --bg-color-light: #FFFFFF;
    --bg-color-dark: #017439;
    --register-btn-bg: #C30808;
    --login-btn-bg: #C30808;
    --register-login-font-color: #FFFF00;
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--text-color-light);
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-color-light);
}

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

.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-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

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

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

/* General Section Styling */
.page-fishing-games__section {
    padding: 80px 0;
}

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

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

.page-fishing-games__section-title {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.page-fishing-games__grid {
    display: grid;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__grid--two-cols {
    grid-template-columns: 1fr 1fr;
}

.page-fishing-games__grid--three-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-fishing-games__text-block h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-fishing-games__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-fishing-games__list li {
    margin-bottom: 8px;
}

.page-fishing-games__image-wrapper {
    text-align: center;
}

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

/* Download Guide */
.page-fishing-games__download-guide .page-fishing-games__section-title,
.page-fishing-games__download-guide .page-fishing-games__section-description {
    color: var(--text-color-light);
}

.page-fishing-games__card {
    background-color: var(--secondary-color);
    color: var(--text-color-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

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

.page-fishing-games__card--step .page-fishing-games__list--ordered {
    list-style: decimal inside;
    text-align: left;
    margin: 0 auto 20px auto;
    padding-left: 0;
    max-width: 300px;
    font-size: 1em;
}

.page-fishing-games__card--step .page-fishing-games__list--ordered li {
    margin-bottom: 10px;
}

.page-fishing-games__card--login {
    margin-top: 40px;
    padding: 40px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-fishing-games__card--login p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-fishing-games__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games__btn-register {
    background-color: var(--register-btn-bg);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-btn-bg);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-register:hover {
    background-color: darken(var(--register-btn-bg), 10%);
    border-color: darken(var(--register-btn-bg), 10%);
}

.page-fishing-games__btn-login {
    background-color: var(--login-btn-bg);
    color: var(--register-login-font-color);
    border: 2px solid var(--login-btn-bg);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-login:hover {
    background-color: darken(var(--login-btn-bg), 10%);
    border-color: darken(var(--login-btn-bg), 10%);
}

/* Game Types */
.page-fishing-games__game-card .page-fishing-games__card-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
}

.page-fishing-games__game-card .page-fishing-games__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-fishing-games__game-card .page-fishing-games__card-title a:hover {
    color: darken(var(--primary-color), 10%);
}

.page-fishing-games__game-card .page-fishing-games__card-text {
    font-size: 0.95em;
}

.page-fishing-games__more-games-text {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

/* Strategy Section */
.page-fishing-games__strategy .page-fishing-games__section-title,
.page-fishing-games__strategy .page-fishing-games__section-description {
    color: var(--text-color-light);
}

.page-fishing-games__strategy .page-fishing-games__text-block h3 {
    color: var(--text-color-light);
}

.page-fishing-games__strategy .page-fishing-games__text-block p {
    color: var(--text-color-light);
}

/* Promotions Section */
.page-fishing-games__promotions .page-fishing-games__section-title {
    color: var(--primary-color);
}

.page-fishing-games__promotions .page-fishing-games__text-block h3 {
    color: var(--primary-color);
}

.page-fishing-games__promotions .page-fishing-games__text-block p {
    color: var(--text-color-dark);
}

/* Security Section */
.page-fishing-games__security .page-fishing-games__section-title,
.page-fishing-games__security .page-fishing-games__section-description {
    color: var(--text-color-light);
}

.page-fishing-games__security .page-fishing-games__text-block h3,
.page-fishing-games__security .page-fishing-games__text-block p {
    color: var(--text-color-light);
}

/* FAQ Section */
.page-fishing-games__faq .page-fishing-games__section-title {
    color: var(--primary-color);
}

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

.page-fishing-games__faq-item {
    background-color: var(--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: 20px 25px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #f0f0f0;
}

.page-fishing-games__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 20px 25px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 0;
    color: var(--text-color-dark);
}

/* Call to Action Section */
.page-fishing-games__call-to-action {
    padding: 100px 0;
    text-align: center;
}

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

.page-fishing-games__btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
    margin-top: 30px;
}

/* Responsive Styling */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }

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

    .page-fishing-games__grid--two-cols {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__image-wrapper {
        order: -1; /* Image first on smaller screens */
    }
}

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

    .page-fishing-games__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }

    .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,
    .page-fishing-games__btn-register,
    .page-fishing-games__btn-login,
    .page-fishing-games__btn-large {
        width: 100%;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-fishing-games__grid {
        gap: 30px;
    }

    .page-fishing-games__image,
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-fishing-games__image-wrapper,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card--login,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-fishing-games__card--step .page-fishing-games__list--ordered {
        max-width: 100%;
    }
    
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset */
    }
}

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

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

    .page-fishing-games__card {
        padding: 20px;
    }

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

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