/* style/fishing-games.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --button-register-bg: #C30808;
    --button-login-bg: #C30808;
    --button-text-yellow: #FFFF00;
    --card-bg-dark-section: rgba(255, 255, 255, 0.1);
    --card-bg-light-section: #FFFFFF;
}

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

.page-fishing-games__dark-bg {
    background-color: #0a0a0a; /* Ensure consistency with body background if section is full width */
    color: var(--text-color-dark-bg);
}

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

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

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-color-dark-bg);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Darken image for better text contrast */
}

/* General Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    gap: 15px;
    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;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: var(--button-register-bg);
    color: var(--button-text-yellow);
    border: 2px solid var(--button-register-bg);
}

.page-fishing-games__btn-primary:hover {
    background-color: #a30606;
    transform: translateY(-2px);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--button-login-bg);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Sections */
.page-fishing-games__introduction-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__guide-section,
.page-fishing-games__advanced-strategy-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-fishing-games__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: inherit;
}

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

/* Why Choose Section Grid */
.page-fishing-games__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-fishing-games__card {
    background-color: var(--card-bg-dark-section); /* For dark sections */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-color-dark-bg); /* For dark sections */
}

.page-fishing-games__light-bg .page-fishing-games__card {
    background-color: var(--card-bg-light-section); /* For light sections */
    color: var(--text-color-light-bg);
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

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

/* Guide Section Steps */
.page-fishing-games__steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg-light-section);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: var(--text-color-light-bg);
}

.page-fishing-games__step-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Advanced Strategy List */
.page-fishing-games__list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.page-fishing-games__list-item {
    background-color: var(--card-bg-dark-section);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-color-dark-bg);
}

.page-fishing-games__list-item h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

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

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

.page-fishing-games__promo-card {
    background-color: var(--card-bg-light-section);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    color: var(--text-color-light-bg);
}

.page-fishing-games__promo-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

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

.page-fishing-games__faq-item {
    background-color: var(--card-bg-dark-section);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    color: var(--text-color-dark-bg);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--text-color-dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-fishing-games__faq-question:hover {
    filter: brightness(1.1);
}

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

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
}

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

/* 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 {
        padding: 60px 15px;
        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: 10px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-fishing-games__container {
        padding: 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__card,
    .page-fishing-games__step-item,
    .page-fishing-games__list-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item {
        padding: 20px;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__container,
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__promo-card,
    .page-fishing-games__faq-item,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__grid,
    .page-fishing-games__promo-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-fishing-games__content-image {
        margin-left: 0;
        margin-right: 0;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 15px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-fishing-games__list-item h3 {
        font-size: 1.4em;
    }
    .page-fishing-games__promo-title {
        font-size: 1.4em;
    }
}