/* style/fishing-games.css */

:root {
    --primary-color: #0A0A0A;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f4f4;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

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

.page-fishing-games__hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-fishing-games__hero-image {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.page-fishing-games__hero-image img:hover {
    transform: scale(1.03);
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-fishing-games__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.page-fishing-games__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: var(--text-color-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
    border: none;
    cursor: pointer;
}

.page-fishing-games__cta-button:hover {
    background: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-fishing-games__cta-button--small {
    padding: 12px 25px;
    font-size: 1.1em;
    margin-top: 15px;
    border-radius: 6px;
}

.page-fishing-games__cta-button--large {
    padding: 20px 50px;
    font-size: 1.5em;
    margin-top: 30px;
    border-radius: 10px;
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.page-fishing-games__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-fishing-games__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.page-fishing-games__section-description {
    font-size: 1.2em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #666;
}

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

.page-fishing-games__dark-bg .page-fishing-games__section-title,
.page-fishing-games__dark-bg .page-fishing-games__section-description {
    color: var(--text-color-light);
}

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

/* Content Wrapper for text + image */
.page-fishing-games__content-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 300px;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-fishing-games__image {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-fishing-games__image:hover {
    transform: translateY(-5px);
}

.page-fishing-games__image--left {
    order: -1;
}

.page-fishing-games__image--right {
    order: 1;
}

.page-fishing-games__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

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

.page-fishing-games__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.page-fishing-games__dark-bg .page-fishing-games__game-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-color-light);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.15);
}

.page-fishing-games__dark-bg .page-fishing-games__game-card .page-fishing-games__card-title {
    color: var(--secondary-color);
}

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

.page-fishing-games__card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.page-fishing-games__game-card .page-fishing-games__card-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-fishing-games__dark-bg .page-fishing-games__game-card .page-fishing-games__card-text {
    color: #ccc;
}

/* Tips Section */
.page-fishing-games__tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__tip-list li {
    background-color: #ffffff;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 15px;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-fishing-games__tip-list li:hover {
    background-color: #fffaf0; /* Light cream/yellow hover */
}

.page-fishing-games__tip-list strong {
    color: var(--primary-color);
}

/* Promotions Section */
.page-fishing-games__promotion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__promo-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

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

.page-fishing-games__promo-card .page-fishing-games__card-title {
    color: var(--secondary-color);
}

.page-fishing-games__promo-card .page-fishing-games__card-text {
    color: #666;
    flex-grow: 1;
}

.page-fishing-games__button-group {
    margin-top: 60px;
}

/* Join Guide Section */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

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

.page-fishing-games__step-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-fishing-games__step-icon img {
    
    
    object-fit: contain;
}

.page-fishing-games__step-card .page-fishing-games__card-title {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-fishing-games__step-card .page-fishing-games__card-text {
    color: #666;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 50px;
    text-align: left;
}

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-fishing-games__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change to minus sign visual */
    border-color: var(--primary-color);
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    color: #555;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain any content */
    padding: 20px 25px !important;
    opacity: 1;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.page-fishing-games__faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.7;
}

.page-fishing-games__faq-answer .page-fishing-games__cta-button {
    margin-top: 20px;
    font-size: 0.9em;
    padding: 10px 20px;
}

/* Conclusion Section */
.page-fishing-games__conclusion {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 100px 20px;
}

.page-fishing-games__conclusion .page-fishing-games__section-title {
    color: var(--secondary-color);
    font-size: 3em;
}

.page-fishing-games__conclusion .page-fishing-games__section-description {
    color: #e0e0e0;
    font-size: 1.3em;
    margin-bottom: 60px;
}

/* 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;
    }
    .page-fishing-games__section-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-button {
        font-size: 1.2em;
        padding: 15px 35px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-fishing-games__cta-button {
        font-size: 1.1em;
        padding: 12px 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section {
        padding: 50px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    
    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__image--left, .page-fishing-games__image--right {
        order: initial;
    }
    .page-fishing-games__image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__game-card, .page-fishing-games__promo-card, .page-fishing-games__step-card {
        padding: 20px;
    }
    .page-fishing-games__card-image {
        height: 150px;
        margin-bottom: 20px;
    }
    .page-fishing-games__card-title {
        font-size: 1.3em;
    }
    .page-fishing-games__tip-list li {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-fishing-games__button-group {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__button-group .page-fishing-games__cta-button--large {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__faq-question {
        padding: 15px 20px;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 15px 20px !important;
    }

    .page-fishing-games__conclusion {
        padding: 60px 15px;
    }
    .page-fishing-games__conclusion .page-fishing-games__section-title {
        font-size: 2.2em;
    }
    .page-fishing-games__conclusion .page-fishing-games__section-description {
        font-size: 1.1em;
    }

    /* Ensure all images and their containers are responsive */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__container,
    .page-fishing-games__game-grid,
    .page-fishing-games__promotion-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__faq-list,
    .page-fishing-games__game-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right handled by section/container */
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.6em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__cta-button {
        font-size: 1em;
        padding: 10px 25px;
    }
    .page-fishing-games__section-title {
        font-size: 1.6em;
    }
    .page-fishing-games__section-description {
        font-size: 0.9em;
    }
    .page-fishing-games__card-title {
        font-size: 1.2em;
    }
    .page-fishing-games__game-card .page-fishing-games__card-text,
    .page-fishing-games__promo-card .page-fishing-games__card-text,
    .page-fishing-games__step-card .page-fishing-games__card-text {
        font-size: 0.9em;
    }
    .page-fishing-games__tip-list li {
        font-size: 0.95em;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 0.95em;
    }
    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-fishing-games__conclusion .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__conclusion .page-fishing-games__section-description {
        font-size: 1em;
    }
}