/* style/fishing-games.css */

/* Base styles for the page content */
.page-fishing-games {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light background */
    line-height: 1.6;
    background-color: var(--background-color, #FFFFFF); /* Inherit or default to white */
}

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #26A9E0;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px; /* Ensure hero section has a minimum height */
}

.page-fishing-games__hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.7); /* Darken background image for text readability */
}

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

.page-fishing-games__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

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

.page-fishing-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-fishing-games__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    font-size: 1.1em;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

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

.page-fishing-games__btn-primary:hover {
    background-color: #d16e06;
    transform: translateY(-2px);
}

.page-fishing-games__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0; /* Brand primary color for secondary CTA */
    border: 2px solid #26A9E0;
}

.page-fishing-games__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 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-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-fishing-games__text-block {
    text-align: left;
    margin-bottom: 30px;
    color: #333333;
}

.page-fishing-games__text-block h3 {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
    text-align: center; /* Center sub-headings */
}

.page-fishing-games__text-block p,
.page-fishing-games__text-block ul {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-fishing-games__text-block ul {
    list-style: disc;
    padding-left: 25px;
}

.page-fishing-games__text-block li {
    margin-bottom: 8px;
}

/* 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: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-fishing-games__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 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;
    border-bottom: 1px solid #e0e0e0;
}

.page-fishing-games__game-card-content {
    padding: 25px;
}

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

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

.page-fishing-games__game-card-link {
    display: inline-block;
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-fishing-games__game-card-link:hover {
    color: #d16e06;
}

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

.page-fishing-games__step-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: #333333;
}

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

.page-fishing-games__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: inline-block;
    /* Placeholder for actual image/icon */
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__step-description {
    font-size: 1em;
    color: #555555;
}

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

.page-fishing-games__promo-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #333333;
}

.page-fishing-games__promo-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    min-width: 60px; /* Ensure icon doesn't shrink too much */
    min-height: 60px;
}

.page-fishing-games__promo-content {
    flex-grow: 1;
}

.page-fishing-games__promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 8px;
    font-weight: bold;
}

.page-fishing-games__promo-description {
    font-size: 1em;
    color: #555555;
}

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

.page-fishing-games__faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-fishing-games__faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

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

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #EA7C07; /* Login color for toggle icon */
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item.active .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Plus to X effect */
}

.page-fishing-games__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 1em;
    line-height: 1.7;
    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 25px 25px; /* Padding when active */
}

/* General image styling for responsiveness and size constraints */
.page-fishing-games img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensure images cover their area */
}

/* Specific image sizes for content sections, ensuring min 200px */
.page-fishing-games__section img {
    min-width: 200px;
    min-height: 200px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .page-fishing-games__hero-title {
        font-size: 3em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.2em;
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__text-block h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__hero-section {
        padding: 80px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure offset is applied */
    }
    .page-fishing-games__hero-title {
        font-size: 2.5em;
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn {
        width: 100%;
        padding: 12px 20px;
        padding-left: 15px !important; /* Ensure button internal padding is not too wide */
        padding-right: 15px !important;
    }
    .page-fishing-games__section {
        padding: 40px 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
    }
    .page-fishing-games__text-block h3 {
        font-size: 1.3em;
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__game-card-image {
        height: 200px;
    }
    .page-fishing-games__promo-item {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__promo-icon {
        margin-bottom: 10px;
    }
    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px;
    }
    .page-fishing-games__faq-item.active .page-fishing-games__faq-answer {
        padding: 10px 20px 20px 20px;
    }

    /* Mobile image responsiveness - MUST USE !important */
    .page-fishing-games img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-fishing-games__section,
    .page-fishing-games__card,
    .page-fishing-games__container,
    .page-fishing-games__game-card,
    .page-fishing-games__step-card,
    .page-fishing-games__promo-item,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .page-fishing-games__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    /* Video responsiveness - if a video section is added */
    .page-fishing-games video,
    .page-fishing-games__video-player {
      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;
    }
}