/* style/fishing-games.css */
:root {
    --primary-color: #0A2239;
    --secondary-color: #E6B325;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--bg-light); /* Default light background from shared, so dark text is used */
}

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

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

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

/* 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); /* Ensures content is below fixed header */
    overflow: hidden;
}

.page-fishing-games__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button adapts to mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-fishing-games__btn-primary:hover {
    background: #FFD700; /* Slightly brighter gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--bg-light);
}

.page-fishing-games__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

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

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

.page-fishing-games__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color-dark);
}

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

.page-fishing-games__subsection-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

/* Content Grid */
.page-fishing-games__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-fishing-games__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 300px; /* Ensure text block has a minimum width */
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.page-fishing-games__text-block--light p {
    color: var(--text-color-light);
}

.page-fishing-games__text-block--light h3 {
    color: var(--secondary-color);
}

.page-fishing-games__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px; /* Ensure image block has a minimum width */
}

.page-fishing-games__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

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

.page-fishing-games__list-item {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--text-color-dark);
}

.page-fishing-games__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.page-fishing-games__list--ordered {
    list-style: decimal;
    margin-left: 20px;
}

.page-fishing-games__list--ordered .page-fishing-games__list-item {
    padding-left: 0;
}

.page-fishing-games__list--ordered .page-fishing-games__list-item::before {
    content: none;
}

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

.page-fishing-games__card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
    border: 1px solid var(--border-color);
}

.page-fishing-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-fishing-games__card-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-fishing-games__card-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: #555;
}

.page-fishing-games__card-button {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__center-cta {
    margin-top: 50px;
}

/* Promotions */
.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-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid var(--border-color);
}

.page-fishing-games__promo-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.page-fishing-games__promo-text {
    font-size: 0.95em;
    color: #555;
}

/* FAQ Section */
.page-fishing-games__faq {
    text-align: left;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
}

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

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

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Plus sign rotates to form an 'x' */
}

.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 15px;
    opacity: 0;
    background-color: #fcfcfc;
    color: var(--text-color-dark);
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

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

/* Conclusion Section */
.page-fishing-games__conclusion {
    padding: 80px 0;
}

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

    .page-fishing-games__section-title {
        font-size: 2.2em;
    }

    .page-fishing-games__content-grid {
        flex-direction: column;
    }

    .page-fishing-games__content-grid--reverse {
        flex-direction: column;
    }

    .page-fishing-games__text-block, .page-fishing-games__image-block {
        width: 100%;
        min-width: unset;
    }
}

@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;
        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: 20px;
    }

    .page-fishing-games__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        width: 100% !important; /* Ensure buttons are full width on mobile */
        margin-top: 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__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__section {
        padding: 40px 0;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-fishing-games__section-description {
        font-size: 0.9em;
        margin-bottom: 30px;
    }

    .page-fishing-games__subsection-title {
        font-size: 1.5em;
        margin-top: 25px;
    }

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

    .page-fishing-games__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }
    
    .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__cards-grid,
    .page-fishing-games__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__card-image,
    .page-fishing-games__promo-image {
        height: 180px;
    }

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

    .page-fishing-games__faq-question h3 {
        font-size: 1em;
    }

    .page-fishing-games__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }

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

@media (max-width: 480px) {
    .page-fishing-games__hero-title {
        font-size: 1.8em;
    }

    .page-fishing-games__section-title {
        font-size: 1.6em;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__promo-title {
        font-size: 1.2em;
    }
}