/* style/fishing-games.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-fishing-games {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text color for the dark body background */
    background-color: transparent; /* Body background is handled by shared.css var(--black-color) */
}

/* Section styling */
.page-fishing-games__section {
    padding: 60px 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
    width: 100%; /* Ensure sections take full width */
}

/* Container for content inside sections */
.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Section titles */
.page-fishing-games__section-title {
    font-size: 36px;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

/* Text blocks (paragraphs) */
.page-fishing-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
}

/* List items */
.page-fishing-games__list-item {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Card styling */
.page-fishing-games__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ffffff;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-fishing-games__card-description {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
}

/* Buttons */
.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: 18px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-fishing-games__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, rgba(38, 169, 224, 0.8), rgba(0, 0, 0, 0.8)); /* Gradient overlay */
    overflow: hidden;
    box-sizing: border-box;
}

.page-fishing-games__hero-content {
    z-index: 2;
    text-align: center;
    max-width: 800px;
    color: #ffffff;
}

.page-fishing-games__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-fishing-games__hero-description {
    font-size: 22px;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

/* Introduction Section (light background) */
.page-fishing-games__introduction-section {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__introduction-section .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__introduction-section .page-fishing-games__section-title::after {
    background-color: #26A9E0;
}

.page-fishing-games__introduction-section .page-fishing-games__text-block {
    color: #333333;
}

.page-fishing-games__image-content {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Features Section (dark background) */
.page-fishing-games__features-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-fishing-games__features-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__features-section .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

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

.page-fishing-games__feature-card {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    height: 100%;
}

.page-fishing-games__feature-card .page-fishing-games__card-title {
    color: #ffffff;
    font-size: 22px;
}

.page-fishing-games__feature-card .page-fishing-games__card-description {
    color: #f0f0f0;
}

/* Popular Games Section (light background) */
.page-fishing-games__popular-games-section {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__popular-games-section .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__popular-games-section .page-fishing-games__text-block {
    color: #333333;
}

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

.page-fishing-games__game-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 20px;
    margin: 15px 0 10px;
    color: #26A9E0;
}

.page-fishing-games__game-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.page-fishing-games__game-link:hover {
    color: #1e87c0;
}

.page-fishing-games__game-card .page-fishing-games__card-description {
    font-size: 15px;
    color: #666666;
    padding: 0 15px 20px;
    flex-grow: 1;
}

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

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

/* Tips Section (dark background) */
.page-fishing-games__tips-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-fishing-games__tips-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__tips-section .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

.page-fishing-games__tips-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

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

.page-fishing-games__tips-list .page-fishing-games__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 5px solid #ffffff;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 17px;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__tips-list .page-fishing-games__list-item strong {
    color: #ffffff;
}

/* Promotions Section (light background) */
.page-fishing-games__promotions-section {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__promotions-section .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__promotions-section .page-fishing-games__text-block {
    color: #333333;
}

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

.page-fishing-games__promo-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #333333;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: #26A9E0;
    font-size: 22px;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    color: #666666;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Download App Section (dark background) */
.page-fishing-games__download-section {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-fishing-games__download-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__download-section .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

.page-fishing-games__download-section .page-fishing-games__text-block {
    color: #f0f0f0;
}

.page-fishing-games__download-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-fishing-games__download-content {
    flex: 1;
    min-width: 300px;
}

.page-fishing-games__download-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.page-fishing-games__download-features .page-fishing-games__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #ffffff;
    font-size: 17px;
}

.page-fishing-games__download-features .page-fishing-games__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

.page-fishing-games__download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-fishing-games__download-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 250px;
}

/* FAQ Section (light background) */
.page-fishing-games__faq-section {
    background-color: #ffffff;
    color: #333333;
}

.page-fishing-games__faq-section .page-fishing-games__section-title {
    color: #333333;
}

.page-fishing-games__faq-section .page-fishing-games__text-block {
    color: #333333;
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

.page-fishing-games__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: #e6e6e6;
}

.page-fishing-games__faq-title {
    font-size: 18px;
    color: #333333;
    margin: 0;
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
    line-height: 1;
}

.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; /* Initial padding for collapsed state */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 1000px !important;
    padding: 20px !important;
}

.page-fishing-games__faq-answer .page-fishing-games__text-block {
    margin-bottom: 0;
    color: #555555;
}

/* Call to Action Section (dark background) */
.page-fishing-games__cta-section {
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
}

.page-fishing-games__cta-section .page-fishing-games__section-title {
    color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__section-title::after {
    background-color: #ffffff;
}

.page-fishing-games__cta-section .page-fishing-games__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 40px;
    }
    .page-fishing-games__hero-description {
        font-size: 20px;
    }
    .page-fishing-games__section-title {
        font-size: 30px;
    }
}

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

    .page-fishing-games__hero-section {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-fishing-games__hero-title {
        font-size: 32px;
    }

    .page-fishing-games__hero-description {
        font-size: 18px;
    }

    .page-fishing-games__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        margin-right: 0;
    }

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

    .page-fishing-games__section-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__list-item,
    .page-fishing-games__card-description {
        font-size: 16px;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__game-list,
    .page-fishing-games__promotions-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-fishing-games__download-flex {
        flex-direction: column;
        gap: 30px;
    }

    .page-fishing-games__download-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-fishing-games__download-buttons .page-fishing-games__btn-primary,
    .page-fishing-games__download-buttons .page-fishing-games__btn-secondary {
        width: 100% !important;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
    }

    .page-fishing-games__faq-title {
        font-size: 16px;
    }

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

    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px !important;
    }

    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-fishing-games__hero-image {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
    }

    .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__cta-button,
    .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__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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-fishing-games__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-fishing-games__image-content {
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-fishing-games__game-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 28px;
    }
    .page-fishing-games__hero-description {
        font-size: 16px;
    }
    .page-fishing-games__section-title {
        font-size: 24px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
    }
}