/* style/fishing-games.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #26A9E0;
    --button-login-color: #EA7C07;
}

/* Base styles for the page */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default to dark text for light body background */
    background-color: var(--background-light); /* Assuming shared.css body background is light */
}

/* Sections */
.page-fishing-games__section {
    padding: 60px 0;
}

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

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

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

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

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px; /* Ensure space below content */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-light);
}

.page-fishing-games__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-light);
    /* Use clamp for responsive font-size, not fixed large values */
    font-size: clamp(2.2em, 4vw, 3.5em);
}

.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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.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: #1a8ecb;
    border-color: #1a8ecb;
}

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

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

/* Content Images */
.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Game Types Grid */
.page-fishing-games__grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

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

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: bold;
    padding: 15px 20px 10px;
    color: inherit;
}

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

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

/* Features Grid */
.page-fishing-games__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-fishing-games__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    object-fit: cover;
}

.page-fishing-games__feature-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-fishing-games__feature-description {
    font-size: 0.95em;
}

/* Guide Steps */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__guide-step-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: inherit;
}

.page-fishing-games__step-description {
    font-size: 1em;
}

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

.page-fishing-games__promo-item {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

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

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    background-color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

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

.page-fishing-games__faq-answer {
    padding: 15px 25px;
    font-size: 1em;
    background-color: rgba(0, 0, 0, 0.1);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image {
        margin-bottom: 20px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 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;
    }
    .page-fishing-games__container,
    .page-fishing-games__grid-cards,
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__promo-list,
    .page-fishing-games__faq-list,
    .page-fishing-games__cta-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__card {
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .page-fishing-games__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 10px 20px;
    }
}

/* Ensure images don't have filter effects */
.page-fishing-games img {
    filter: none !important;
}

/* Content area images minimum size enforcement */
.page-fishing-games__introduction img,
.page-fishing-games__guide img {
    min-width: 200px;
    min-height: 200px;
}

/* Card layout images minimum size enforcement */
.page-fishing-games__card-image {
    min-width: 200px;
    min-height: 200px;
}

/* Feature icons minimum size enforcement (overrides generic img rule if needed for specific classes) */
.page-fishing-games__feature-icon {
    min- /* Smallest allowed for this context, but still > 200px if it were a content image */
    min-
}