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

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

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

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

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

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

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: -150px; /* Overlap slightly with image for visual effect */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    color: var(--text-light);
}

.page-fishing-games__main-title {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
}

.page-fishing-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.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: 12px 30px;
    border-radius: 5px;
    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%; /* Ensure buttons don't overflow */
}

.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__btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
}

.page-fishing-games__btn-large {
    padding: 15px 40px;
    font-size: 1.2em;
}

.page-fishing-games__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color);
}

.page-fishing-games__intro-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__tips-section,
.page-fishing-games__conclusion-section {
    padding: 60px 0;
}

.page-fishing-games__game-types-section,
.page-fishing-games__guide-section,
.page-fishing-games__faq-section {
    padding: 60px 0;
    color: var(--text-light);
}

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

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

.page-fishing-games__grid-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-fishing-games__image-block {
    text-align: center;
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.page-fishing-games__image--center {
    margin-top: 40px;
}

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

.page-fishing-games__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;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

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

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

.page-fishing-games__card-text {
    padding: 0 20px;
    font-size: 0.95em;
}

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

.page-fishing-games__feature-item {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

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

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

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

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

.page-fishing-games__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__step-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.page-fishing-games__step-text {
    font-size: 0.95em;
    margin-bottom: 20px;
}

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

.page-fishing-games__tip-item {
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

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

.page-fishing-games__tip-text {
    font-size: 0.95em;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.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: 15px 20px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    color: var(--secondary-color);
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

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

.page-fishing-games__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .page-fishing-games__grid-two-columns {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__text-block, .page-fishing-games__image-block {
        order: unset;
    }
    .page-fishing-games__hero-content {
        margin-top: -100px;
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-fishing-games__description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 10px 0 40px 0;
    }
    .page-fishing-games__hero-content {
        margin-top: -80px;
        width: calc(100% - 30px);
        max-width: unset;
    }
    .page-fishing-games__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__intro-section, .page-fishing-games__game-types-section,
    .page-fishing-games__why-choose-section, .page-fishing-games__guide-section,
    .page-fishing-games__tips-section, .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section {
        padding: 40px 0;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.6em, 6vw, 2.2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }

    /* Mobile image adaptation */
    .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__hero-image-wrapper,
    .page-fishing-games__image-block,
    .page-fishing-games__game-cards-grid,
    .page-fishing-games__features-grid,
    .page-fishing-games__guide-steps,
    .page-fishing-games__tips-grid,
    .page-fishing-games__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent overflow for containers */
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-fishing-games__video-section { /* If video section existed */
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-content {
        margin-top: -60px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.4em, 7vw, 2em);
    }
    .page-fishing-games__section-title {
        font-size: 1.4em;
    }
    .page-fishing-games__faq-question {
        font-size: 1em;
        padding: 12px 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 12px 15px;
    }
}