/* style/fishing-games.css */

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

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

.page-fishing-games__section {
    padding: 60px 0;
    margin-bottom: 20px;
    text-align: center;
}

.page-fishing-games__section-title {
    font-size: 36px;
    color: #0A2463; /* Primary color for titles */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-fishing-games__sub-title {
    font-size: 28px;
    color: #0A2463;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-fishing-games__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-fishing-games__text-link {
    color: #0A2463;
    text-decoration: underline;
    font-weight: bold;
}

.page-fishing-games__text-link:hover {
    color: #FFD700;
}

/* 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 space for fixed header */
    background: linear-gradient(135deg, #0A2463, #3A5F9F); /* Darker gradient for hero background */
    color: #ffffff;
}

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

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

.page-fishing-games__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

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

.page-fishing-games__main-title {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700; /* Secondary color for main title */
}

.page-fishing-games__intro-text {
    font-size: 22px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

.page-fishing-games__btn-primary {
    background: #FFD700; /* Secondary color for primary button */
    color: #0A2463; /* Primary color for text on secondary button */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-primary:hover {
    background: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: #FFD700; /* Secondary color for text on transparent button */
    border: 2px solid #FFD700;
}

.page-fishing-games__btn-secondary:hover {
    background: #FFD700;
    color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

/* Image + Content Row */
.page-fishing-games__image-content-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.page-fishing-games__image-content-row .page-fishing-games__image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    object-fit: cover;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-fishing-games__image-content-row .page-fishing-games__text-block {
    flex: 1;
    min-width: 300px;
    margin: 0;
    max-width: none; /* Override general max-width for flex item */
}

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

.page-fishing-games__list-item {
    background: #ffffff;
    border-left: 4px solid #FFD700;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 17px;
    color: #333333;
    text-align: left;
}
.page-fishing-games__list-item strong {
    color: #0A2463;
}

/* Dark Background Section */
.page-dark-bg {
    background: #0A2463;
    color: #ffffff;
}

.page-dark-bg .page-fishing-games__section-title,
.page-dark-bg .page-fishing-games__sub-title {
    color: #FFD700; /* Secondary color for titles on dark background */
}

.page-dark-bg .page-fishing-games__text-block {
    color: #f0f0f0;
}

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

.page-fishing-games__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    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__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 card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block; /* Ensure it behaves as a block element */
    margin-left: auto;
    margin-right: auto;
}

.page-fishing-games__card-title {
    font-size: 24px;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__card-text {
    font-size: 16px;
    color: #555555;
    flex-grow: 1; /* Allow text to grow and push button to bottom */
    margin-bottom: 20px;
}

/* How To Play Steps */
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-fishing-games__step-icon {
    width: 60px;
    height: 60px;
    background: #FFD700;
    color: #0A2463;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__step-title {
    font-size: 22px;
    color: #0A2463;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__step-text {
    font-size: 16px;
    color: #555555;
    margin-bottom: 0;
}

.page-fishing-games__step-text a {
    color: #0A2463;
    text-decoration: underline;
    font-weight: bold;
}
.page-fishing-games__step-text a:hover {
    color: #FFD700;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.1); /* Light background on dark section */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-fishing-games__promo-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.page-fishing-games__promo-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 16px;
    color: #f0f0f0;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* FAQ Section */
.page-fishing-games__faq {
    padding-bottom: 80px;
}

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

.page-fishing-games__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #ffffff;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
    text-align: left;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #0A2463; /* Dark background for FAQ question */
    color: #ffffff;
    border: 1px solid #0A2463;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    text-align: left;
}

.page-fishing-games__faq-question:hover {
    background: #1A3E7B; /* Slightly lighter on hover */
    border-color: #1A3E7B;
}

.page-fishing-games__faq-question:active {
    background: #081D4E;
}

.page-fishing-games__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #ffffff; /* Ensure white text on dark background */
}

.page-fishing-games__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #FFD700; /* Secondary color for toggle icon */
    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: #FFD700;
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Bottom CTA */
.page-fishing-games__cta-bottom {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2463, #3A5F9F);
    color: #ffffff;
}

.page-fishing-games__cta-bottom .page-fishing-games__section-title {
    color: #FFD700;
}

.page-fishing-games__cta-bottom .page-fishing-games__text-block {
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding: 50px 15px;
        padding-top: var(--header-offset, 120px);
    }
    .page-fishing-games__main-title {
        font-size: 40px;
    }
    .page-fishing-games__intro-text {
        font-size: 20px;
    }
    .page-fishing-games__section-title {
        font-size: 32px;
    }
    .page-fishing-games__sub-title {
        font-size: 24px;
    }
    .page-fishing-games__text-block {
        font-size: 17px;
    }
    .page-fishing-games__cards-grid,
    .page-fishing-games__steps-grid,
    .page-fishing-games__promotions-grid {
        gap: 20px;
    }
    .page-fishing-games__card-image {
        height: 180px;
    }
}

@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; /* Mobile specific override */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__main-title {
        font-size: 32px;
    }
    .page-fishing-games__intro-text {
        font-size: 18px;
    }
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: 28px;
    }
    .page-fishing-games__sub-title {
        font-size: 22px;
    }
    .page-fishing-games__text-block {
        font-size: 16px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .page-fishing-games__image-content-row {
        flex-direction: column;
        gap: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__image-content-row .page-fishing-games__image {
        min-width: unset;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
    .page-fishing-games__image-content-row .page-fishing-games__text-block {
        min-width: unset;
        width: 100%;
    }

    .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,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-fishing-games__card-image {
        height: 150px;
    }

    .page-fishing-games__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-fishing-games__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-fishing-games__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .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__cta-bottom {
        padding: 60px 15px;
    }
}