/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --login-button-color: #EA7C07;
    --background-color-dark: #1a1a2e; /* From body background */
}

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    text-align: center;
    background-color: var(--background-color-dark);
    overflow: hidden;
}

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

.page-fishing-games__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 0 15px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    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;
    max-width: 100%;
}

.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(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.page-fishing-games__section {
    padding: 60px 20px;
    background-color: var(--background-color-dark);
    color: var(--text-on-dark);
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #16162a; /* Slightly different dark background for contrast */
}

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

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

.page-fishing-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.page-fishing-games__text-block {
    flex: 1;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.page-fishing-games__image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--secondary-color);
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__card-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__card-button {
    margin-top: auto; /* Push button to bottom */
    width: fit-content;
    align-self: center;
}

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

.page-fishing-games__benefit-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

.page-fishing-games__benefit-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

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

.page-fishing-games__benefit-text {
    font-size: 1rem;
}

.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
    position: relative;
    padding-top: 60px;
}

.page-fishing-games__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    border: 3px solid var(--background-color-dark);
}

.page-fishing-games__step-title {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-text {
    font-size: 1rem;
    margin-bottom: 25px;
}

.page-fishing-games__step-button {
    width: fit-content;
    align-self: center;
}

.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__strategy-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--secondary-color);
}

.page-fishing-games__strategy-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__strategy-text {
    font-size: 1rem;
}

.page-fishing-games__content-wrapper--reverse-mobile {
    flex-direction: row-reverse;
}

.page-fishing-games__download-button {
    margin-top: 20px;
}

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

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

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

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

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-fishing-games__cta-final-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-fishing-games__cta-final-section .page-fishing-games__description {
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .page-fishing-games__section-title {
        font-size: 2rem;
    }

    .page-fishing-games__main-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .page-fishing-games__description {
        font-size: 1rem;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-fishing-games__image {
        margin-bottom: 30px;
    }

    .page-fishing-games__content-wrapper--reverse-mobile {
        flex-direction: column-reverse;
    }
}

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

    .page-fishing-games__hero-section {
        padding: 10px 15px 40px;
    }

    .page-fishing-games__hero-image {
        margin-bottom: 20px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .page-fishing-games__section {
        padding: 40px 15px;
    }

    .page-fishing-games__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__benefit-item,
    .page-fishing-games__step-item,
    .page-fishing-games__strategy-item {
        padding: 20px;
    }

    .page-fishing-games__game-card .page-fishing-games__card-image,
    .page-fishing-games__image,
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__content-wrapper,
    .page-fishing-games__game-grid,
    .page-fishing-games__benefits-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-buttons,
    .page-fishing-games__button-group,
    .page-fishing-games__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .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__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

    .page-fishing-games__cta-final-section {
        padding-bottom: 60px;
    }
}