/* style/fishing-games.css */
.page-fishing-games {
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
}

.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    overflow: hidden;
    background-color: #017439;
    color: #ffffff;
}

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

.page-fishing-games__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFF00; /* Custom color for title */
}

.page-fishing-games__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #ffffff;
}

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

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-fishing-games__btn-register, .page-fishing-games__btn-login, .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;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    width: auto; /* Allow natural width */
}

.page-fishing-games__btn-register {
    background-color: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom color for register font */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-register:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-fishing-games__btn-login {
    background-color: #C30808; /* Custom color for login */
    color: #FFFF00; /* Custom color for login font */
    border: 2px solid #C30808;
}

.page-fishing-games__btn-login:hover {
    background-color: #a00606;
    transform: translateY(-3px);
}

.page-fishing-games__btn-primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
}

.page-fishing-games__btn-primary:hover {
    background-color: #005a2e;
    transform: translateY(-3px);
}

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

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

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #017439;
}

.page-fishing-games__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #017439;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333333;
}

.page-fishing-games__list {
    list-style: disc inside;
    font-size: 1.1em;
    line-height: 1.8;
    margin-left: 20px;
    color: #333333;
}

.page-fishing-games__list-item {
    margin-bottom: 10px;
}

.page-fishing-games__inline-link {
    color: #017439;
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__inline-link:hover {
    color: #005a2e;
}

/* Dark background sections */
.page-fishing-games__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__subsection-title {
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__text-block,
.page-fishing-games__dark-bg .page-fishing-games__list-item {
    color: #ffffff;
}

.page-fishing-games__dark-bg .page-fishing-games__inline-link {
    color: #FFFF00;
}

/* Light background sections */
.page-fishing-games__light-bg {
    background-color: #f9f9f9;
    color: #333333;
}

.page-fishing-games__light-bg .page-fishing-games__section-title,
.page-fishing-games__light-bg .page-fishing-games__subsection-title {
    color: #017439;
}

/* Feature Grid */
.page-fishing-games__feature-grid, .page-fishing-games__strategy-grid, .page-fishing-games__promo-grid, .page-fishing-games__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__feature-card, .page-fishing-games__strategy-card, .page-fishing-games__promo-card, .page-fishing-games__security-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 400px; /* Ensure cards have minimum height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-fishing-games__feature-card:hover, .page-fishing-games__promo-card:hover, .page-fishing-games__security-item:hover {
    transform: translateY(-10px);
}

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

.page-fishing-games__security-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

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

.page-fishing-games__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
    flex-grow: 1;
}

/* Steps List */
.page-fishing-games__steps-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__steps-list .page-fishing-games__list-item {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 50px;
    position: relative;
    font-size: 1.1em;
    line-height: 1.6;
    color: #ffffff;
    text-align: left;
}

.page-fishing-games__steps-list .page-fishing-games__list-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #C30808; /* Step number background */
    color: #FFFF00; /* Step number font color */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

/* CTA Bottom */
.page-fishing-games__cta-bottom {
    text-align: center;
    padding: 100px 20px;
    background-color: #017439;
    color: #ffffff;
}

.page-fishing-games__cta-bottom-content {
    max-width: 800px;
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
    color: #ffffff;
    margin-bottom: 30px;
}

.page-fishing-games__cta-bottom .page-fishing-games__text-block {
    color: #ffffff;
    margin-bottom: 40px;
}

.page-fishing-games__cta-bottom .page-fishing-games__inline-link {
    color: #FFFF00;
}

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

/* FAQ Section */
.page-fishing-games__faq-section {
    background-color: #f9f9f9;
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #017439;
}

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    font-size: 1em;
    line-height: 1.6;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: 2.8em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.6em;
    }
    .page-fishing-games__feature-card, .page-fishing-games__promo-card, .page-fishing-games__security-item {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        min-height: 450px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-fishing-games__main-title {
        font-size: 2.2em;
    }
    .page-fishing-games__intro-text {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-register, .page-fishing-games__btn-login, .page-fishing-games__btn-primary, .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-fishing-games__section {
        padding: 60px 0;
    }
    .page-fishing-games__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.4em;
    }
    .page-fishing-games__text-block, .page-fishing-games__list, .page-fishing-games__list-item {
        font-size: 1em;
    }
    .page-fishing-games__feature-grid, .page-fishing-games__strategy-grid, .page-fishing-games__promo-grid, .page-fishing-games__security-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-fishing-games__feature-card, .page-fishing-games__promo-card, .page-fishing-games__security-item {
        padding: 20px;
        min-height: auto;
    }
    .page-fishing-games__feature-image, .page-fishing-games__promo-image, .page-fishing-games__security-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px;
    }
    .page-fishing-games__cta-bottom {
        padding: 80px 15px;
    }
    .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;
    }
    .page-fishing-games__video-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 1.8em;
    }
    .page-fishing-games__intro-text {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__subsection-title {
        font-size: 1.2em;
    }
}