/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-light: #f8f9fa;
    --btn-register: #C30808;
    --btn-login: #C30808;
    --font-register-login: #FFFF00;
}

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

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0; /* Assumed shared.css handles body padding for header offset */
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color);
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(0.8); /* Allow brightness filter for background image to ensure text readability */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 40px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

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

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--font-register-login);
    color: var(--btn-register);
}

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit;
}

/* Text Blocks */
.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: inherit;
}

.page-fishing-games__text-link {
    color: var(--font-register-login);
    text-decoration: underline;
}

.page-fishing-games__text-link:hover {
    color: #ffcc00;
}

/* Feature Grid */
.page-fishing-games__why-choose-section {
    padding: 60px 0;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

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

.page-fishing-games__feature-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--font-register-login);
}

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

/* Game List */
.page-fishing-games__game-types-section {
    padding: 60px 0;
}

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

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

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

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

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

/* How to Play & Tips/Strategies */
.page-fishing-games__how-to-play-section,
.page-fishing-games__tips-strategies-section {
    padding: 60px 0;
}

.page-fishing-games__step-list,
.page-fishing-games__strategy-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

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

.page-fishing-games__how-to-play-section .page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-fishing-games__tips-strategies-section .page-fishing-games__list-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-fishing-games__tips-strategies-section .page-fishing-games__list-item .page-fishing-games__list-title {
    color: var(--primary-color);
}

.page-fishing-games__list-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--font-register-login);
}

.page-fishing-games__list-description {
    font-size: 1em;
    color: inherit;
}

/* Promotions */
.page-fishing-games__promotions-section {
    padding: 60px 0;
}

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

.page-fishing-games__promo-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
}

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

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--font-register-login);
}

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

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1em;
}

.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 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: var(--text-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Ensure enough height for content */
    padding: 15px 20px;
}

.page-fishing-games__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* Final CTA Section */
.page-fishing-games__cta-final-section {
    padding: 60px 0;
    text-align: center;
}

.page-fishing-games__cta-content {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 40px;
    border-radius: 10px;
}

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

.page-fishing-games__cta-final-section .page-fishing-games__text-block {
    color: var(--text-light);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .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-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile if not handled by body */
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .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 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* Video responsive */
    .page-fishing-games video,
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Content containers padding for mobile */
    .page-fishing-games__container,
    .page-fishing-games__hero-content,
    .page-fishing-games__feature-card,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__feature-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__faq-question,
    .page-fishing-games__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-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__hero-content {
        padding: 20px;
    }
}