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

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: var(--light-text-color);
    font-weight: bold;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--light-text-color);
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__text-block,
.page-fishing-games__light-bg .page-fishing-games__tip-title,
.page-fishing-games__light-bg .page-fishing-games__tip-description,
.page-fishing-games__light-bg .page-fishing-games__game-title a,
.page-fishing-games__light-bg .page-fishing-games__game-description,
.page-fishing-games__light-bg .page-fishing-games__more-games-info,
.page-fishing-games__light-bg .page-fishing-games__more-tips-info,
.page-fishing-games__light-bg .page-fishing-games__faq-contact {
    color: var(--dark-text-color);
}

.page-fishing-games__light-bg a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.page-fishing-games__medium-bg {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text-color);
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Apply header offset */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    color: var(--light-text-color);
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-fishing-games__hero-buttons,
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

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

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

.page-fishing-games__introduction,
.page-fishing-games__why-choose,
.page-fishing-games__popular-games,
.page-fishing-games__how-to-play,
.page-fishing-games__tips-strategies,
.page-fishing-games__promotions,
.page-fishing-games__responsible-gaming-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
}

.page-fishing-games__introduction,
.page-fishing-games__popular-games,
.page-fishing-games__tips-strategies,
.page-fishing-games__responsible-gaming-section,
.page-fishing-games__cta-section {
    background-color: var(--background-light);
}

.page-fishing-games__why-choose,
.page-fishing-games__how-to-play,
.page-fishing-games__promotions,
.page-fishing-games__faq-section {
    background-color: var(--primary-color);
}

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

.page-fishing-games__feature-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--light-text-color);
}

.page-fishing-games__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-fishing-games__feature-description {
    font-size: 1em;
    color: var(--light-text-color);
}

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

.page-fishing-games__game-card {
    background: var(--background-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: var(--dark-text-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
}

.page-fishing-games__game-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

.page-fishing-games__game-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__game-title a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-fishing-games__game-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: var(--dark-text-color);
}

.page-fishing-games__game-button {
    width: auto;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Step List */
.page-fishing-games__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.page-fishing-games__step-number {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    flex-shrink: 0;
}

.page-fishing-games__step-content {
    text-align: left;
}

.page-fishing-games__step-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--light-text-color);
}

.page-fishing-games__step-description {
    font-size: 1.1em;
    color: var(--light-text-color);
}

.page-fishing-games__step-description a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-fishing-games__guidance-note a {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.page-fishing-games__tip-item {
    background: var(--background-light);
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--dark-text-color);
}

.page-fishing-games__tip-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-fishing-games__tip-description {
    font-size: 1em;
    color: var(--dark-text-color);
}

/* Promotions */
.page-fishing-games__promo-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    color: var(--light-text-color);
    font-size: 1.1em;
}

.page-fishing-games__promo-item {
    margin-bottom: 15px;
}

.page-fishing-games__promo-item strong {
    color: var(--secondary-color);
}

.page-fishing-games__promo-cta {
    margin-top: 40px;
}

.page-fishing-games__promotions a {
    color: var(--light-text-color);
    text-decoration: underline;
}

/* Responsible Gaming */
.page-fishing-games__responsible-cta {
    margin-top: 40px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

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

.page-fishing-games__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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;
    color: var(--light-text-color);
}

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

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

.page-fishing-games__faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-fishing-games__faq-contact {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: var(--light-text-color);
}

.page-fishing-games__faq-contact a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* CTA Section */
.page-fishing-games__text-center {
    text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title,
.page-fishing-games__cta-section .page-fishing-games__text-block {
    color: var(--dark-text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .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__hero-section {
        min-height: 500px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container,
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-fishing-games__introduction,
    .page-fishing-games__why-choose,
    .page-fishing-games__popular-games,
    .page-fishing-games__how-to-play,
    .page-fishing-games__tips-strategies,
    .page-fishing-games__promotions,
    .page-fishing-games__responsible-gaming-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__features-grid,
    .page-fishing-games__game-grid,
    .page-fishing-games__tips-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__tip-item {
        padding: 20px;
    }
    .page-fishing-games__feature-image,
    .page-fishing-games__game-image {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__video-section,
    .page-fishing-games__video-container,
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-fishing-games__step-number {
        margin-bottom: 10px;
    }
    .page-fishing-games__step-content {
        text-align: center;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__text-block {
        font-size: 0.9em;
    }
}