/* style/fishing-games.css */

/* Base styles for the fishing games page */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #f8f8f8;
}

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

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

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

.page-fishing-games__content-area--center {
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

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

.page-fishing-games__sub-title {
    font-size: 1.8em;
    color: #003366;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-fishing-games__dark-bg .page-fishing-games__sub-title {
    color: #FFD700;
}

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

/* Hero Section */
.page-fishing-games__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-fishing-games__main-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

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

.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: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background-color: #FFD700;
    color: #003366;
    border: 2px solid #FFD700;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: #FFD700;
    color: #003366;
}

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

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

/* About Section */
.page-fishing-games__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.page-fishing-games__feature-text h4 {
    font-size: 1.4em;
    color: #003366;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__feature-text p {
    font-size: 1em;
    color: #555555;
}

/* Download Section */
.page-fishing-games__download-steps {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-fishing-games__download-card {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-fishing-games__download-card .page-fishing-games__card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 20px;
}

.page-fishing-games__download-card .page-fishing-games__step-list {
    list-style: decimal;
    text-align: left;
    margin: 0 0 30px 20px;
    padding: 0;
    color: #555555;
}

.page-fishing-games__download-card .page-fishing-games__step-list li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-fishing-games__note-text {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #FFD700;
    background-color: #004488;
    padding: 15px;
    border-radius: 8px;
}

.page-fishing-games__note-icon {
    font-size: 1.2em;
    margin-right: 10px;
    vertical-align: middle;
}

/* Game Types Section */
.page-fishing-games__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 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.05);
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    font-size: 1.5em;
    color: #003366;
    margin: 20px 15px 10px;
}

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

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    margin: 0 15px 20px;
    width: calc(100% - 30px);
}

/* Strategy Section */
.page-fishing-games__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__strategy-item {
    background-color: #004488;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-fishing-games__strategy-item .page-fishing-games__sub-title {
    color: #FFD700;
    margin-top: 0;
}

.page-fishing-games__strategy-item p {
    color: #f0f0f0;
}

/* Promotions Section */
.page-fishing-games__promo-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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
}

.page-fishing-games__promo-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.page-fishing-games__promo-card .page-fishing-games__card-title {
    font-size: 1.5em;
    color: #003366;
    margin: 20px 15px 10px;
}

.page-fishing-games__promo-card .page-fishing-games__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 15px 20px;
}

/* Support Section */
.page-fishing-games__support-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-fishing-games__support-item {
    background-color: #004488;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__support-item .page-fishing-games__sub-title {
    color: #FFD700;
    margin-top: 0;
}

.page-fishing-games__support-item p {
    color: #f0f0f0;
}

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

.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 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #003366;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    color: #FFD700;
    font-weight: bold;
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

/* Call to Action Section */
.page-fishing-games__call-to-action {
    padding: 80px 20px;
    text-align: center;
}

.page-fishing-games__call-to-action .page-fishing-games__section-title {
    color: #FFD700;
}

.page-fishing-games__call-to-action .page-fishing-games__text-block {
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header */
        padding: 60px 15px;
    }
    .page-fishing-games__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-fishing-games__sub-title {
        font-size: 1.3em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        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__content-area,
    .page-fishing-games__download-card,
    .page-fishing-games__feature-item,
    .page-fishing-games__game-card,
    .page-fishing-games__strategy-item,
    .page-fishing-games__promo-card,
    .page-fishing-games__support-item,
    .page-fishing-games__faq-item {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        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__hero-image-wrapper,
    .page-fishing-games__game-thumbnail,
    .page-fishing-games__promo-thumbnail {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile video responsiveness */
    .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;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__main-title {
        font-size: 2em;
    }
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}