/* 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: var(--background-color, #FFFFFF); /* Use shared background, default to white */
    padding-top: 0; /* Handled by shared or hero, avoid double padding */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 20px;
    color: #FFFFFF;
    text-align: center;
    background-color: #26A9E0; /* Fallback brand primary color */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-fishing-games__hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-fishing-games__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

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

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

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

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.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;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    text-align: center;
}

.page-fishing-games__btn-primary {
    background-color: #EA7C07; /* Login/Action color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

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

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

.page-fishing-games__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* General Content Sections */
.page-fishing-games__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
}

.page-fishing-games__section-dark {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-fishing-games__section-heading {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: inherit; /* Inherit color from parent section */
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

.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__content-wrapper--reversed {
    flex-direction: row-reverse;
}

.page-fishing-games__text-block {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.page-fishing-games__text-block h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-fishing-games__section-dark .page-fishing-games__text-block h3 {
    color: #FFFFFF;
}

.page-fishing-games__text-block p {
    margin-bottom: 15px;
    color: #333333;
}

.page-fishing-games__section-dark .page-fishing-games__text-block p {
    color: #F0F0F0;
}

.page-fishing-games__image-container {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

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

/* Game Cards */
.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: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #333333;
}

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

.page-fishing-games__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-fishing-games__game-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-fishing-games__game-card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-fishing-games__game-card-title .page-fishing-games__game-card-link {
    color: #26A9E0;
    text-decoration: none;
}

.page-fishing-games__game-card-title .page-fishing-games__game-card-link:hover {
    text-decoration: underline;
}

.page-fishing-games__game-card-description {
    font-size: 0.95em;
    margin-bottom: 20px;
    color: #555555;
    flex-grow: 1;
}

.page-fishing-games__game-card .page-fishing-games__btn-primary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 5px;
}

/* Steps/Guide Section */
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-fishing-games__step-item {
    background-color: #F8F8F8;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-fishing-games__step-item h3 {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-fishing-games__step-item p {
    color: #555555;
}

/* Promotions List */
.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.page-fishing-games__promo-list li {
    margin-bottom: 15px;
    color: #F0F0F0;
}

.page-fishing-games__promo-list li strong {
    color: #FFFFFF;
}

.page-fishing-games__btn-view-promotions {
    margin-top: 30px;
}

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

.page-fishing-games__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #F8F8F8;
    border-bottom: 1px solid #E0E0E0;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: #E6F7FF; /* Lighter background when open */
    border-bottom: 1px solid #26A9E0;
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none;
}
.page-fishing-games__faq-question::marker {
    display: none;
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-fishing-games__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #555555;
    background-color: #FFFFFF;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    background-color: #26A9E0;
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.page-fishing-games__cta-section-heading {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-fishing-games__cta-section-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0;
}

/* Responsive Styles */
@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-heading {
        font-size: 2em;
    }
    .page-fishing-games__text-block h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding: 80px 15px;
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }
    .page-fishing-games__hero-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-fishing-games__section-heading {
        font-size: 1.8em;
    }
    .page-fishing-games__section-description {
        font-size: 0.9em;
    }

    .page-fishing-games__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__text-block,
    .page-fishing-games__image-container {
        min-width: unset;
        width: 100%;
    }

    .page-fishing-games__game-grid {
        grid-template-columns: 1fr;
    }

    .page-fishing-games__game-card-image {
        height: 200px; /* Adjust height for mobile */
    }

    .page-fishing-games__step-item {
        padding: 20px;
    }
    .page-fishing-games__step-item h3 {
        font-size: 1.4em;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px;
    }

    /* Mobile image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important; /* Ensure min-size even on mobile */
        min-height: 200px !important;
    }

    /* Video responsiveness (if any) */
    .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__hero-title {
        font-size: 1.8em;
    }
    .page-fishing-games__hero-description {
        font-size: 0.9em;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-fishing-games__section-heading {
        font-size: 1.5em;
    }
}