/* style/fishing-games.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login-bg: #EA7C07;
    --background-light: #f8f8f8;
    --background-dark: #1a1a1a;
}

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

.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);
}

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

.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly for visual appeal, but text is below image */
    background-color: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text readability */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.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: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    text-align: center;
}

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

.page-fishing-games__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

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

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

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-fishing-games__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__sub-section-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-fishing-games__highlight {
    color: var(--button-login-bg);
    font-weight: 600;
}

.page-fishing-games__games-showcase {
    padding: 80px 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 {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 20px;
    text-align: center;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-fishing-games__game-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__game-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

.page-fishing-games__cta-center {
    text-align: center;
}

.page-fishing-games__btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

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

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

.page-fishing-games__step-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.page-fishing-games__step-number {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

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

.page-fishing-games__step-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

.page-fishing-games__promo-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__promo-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-fishing-games__promo-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-fishing-games__promo-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding: 0 15px;
    flex-grow: 1;
}

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

.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: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-fishing-games__strategy-description {
    font-size: 1rem;
    color: var(--text-dark);
    flex-grow: 1;
}

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

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

.page-fishing-games__support-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__support-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__support-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-fishing-games__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.page-fishing-games__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-fishing-games__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

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

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

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

    .page-fishing-games__hero-content {
        margin-top: -80px; /* Adjust overlap for mobile */
        padding: 15px;
    }

    .page-fishing-games__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-fishing-games__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .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;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

    .page-fishing-games__sub-section-title {
        font-size: 1.3rem;
    }

    .page-fishing-games__game-image,
    .page-fishing-games__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__support-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-fishing-games__games-showcase,
    .page-fishing-games__guide-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__strategy-section,
    .page-fishing-games__support-section,
    .page-fishing-games__faq-section {
        padding: 40px 0;
    }

    .page-fishing-games__game-list,
    .page-fishing-games__steps-list,
    .page-fishing-games__promo-grid,
    .page-fishing-games__strategy-grid,
    .page-fishing-games__support-grid {
        gap: 20px;
    }
}