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

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

.page-fishing-games__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-fishing-games__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}

.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust padding-top for header offset */
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-fishing-games__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2;
}

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-fishing-games__light-bg .page-fishing-games__section-title {
    color: #26A9E0;
}

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

.page-fishing-games__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__about-section, 
.page-fishing-games__features-section, 
.page-fishing-games__why-choose-section, 
.page-fishing-games__download-section, 
.page-fishing-games__tips-section, 
.page-fishing-games__faq-section, 
.page-fishing-games__cta-section {
    padding: 80px 0;
}

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

.page-fishing-games__feature-card, 
.page-fishing-games__advantage-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page-fishing-games__light-bg .page-fishing-games__feature-card,
.page-fishing-games__light-bg .page-fishing-games__advantage-card {
    background-color: #f8f8f8;
    color: #333333;
}

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

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

.page-fishing-games__card-text {
    font-size: 1em;
    color: inherit;
    text-align: justify;
}

.page-fishing-games__advantage-card .page-fishing-games__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-fishing-games__btn-primary, 
.page-fishing-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Custom color for Login/Primary CTA */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-fishing-games__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
}

.page-fishing-games__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-fishing-games__download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-fishing-games__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background-color: #f8f8f8;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 5px solid #26A9E0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 1.05em;
    color: #333333;
}

.page-fishing-games__list-item strong {
    color: #26A9E0;
}

.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;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__dark-bg .page-fishing-games__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #ffffff;
}

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

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

.page-fishing-games__cta-large {
    font-size: 1.4em;
    padding: 18px 40px;
    margin-top: 40px;
}

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

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

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 80px 0 40px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }
    .page-fishing-games__hero-title {
        font-size: 2.2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary, 
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        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__hero-buttons,
    .page-fishing-games__download-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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__section-text {
        font-size: 0.95em;
    }
    .page-fishing-games__about-section, 
    .page-fishing-games__features-section, 
    .page-fishing-games__why-choose-section, 
    .page-fishing-games__download-section, 
    .page-fishing-games__tips-section, 
    .page-fishing-games__faq-section, 
    .page-fishing-games__cta-section {
        padding: 50px 0;
    }
    .page-fishing-games__features-grid, 
    .page-fishing-games__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 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;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__btn-primary, 
    .page-fishing-games__btn-secondary {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-fishing-games__cta-large {
        font-size: 1.2em;
        padding: 15px 30px;
    }
}