/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-bg: #08160F;
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-border: #2E7A4E;
    --page-fishing-games-glow: #57E38D;
    --page-fishing-games-gold: #F2C14E;
    --page-fishing-games-divider: #1E3A2A;
    --page-fishing-games-deep-green: #0A4B2C;
    --page-fishing-games-primary-color: #11A84E; /* Main brand color */
    --page-fishing-games-secondary-color: #22C768; /* Auxiliary brand color */
}

.page-fishing-games {
    background-color: var(--page-fishing-games-bg);
    color: var(--page-fishing-games-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Ensure body padding-top is handled by shared.css, not here */
/* .page-fishing-games should not have padding-top: var(--header-offset) */

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

/* 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: 10px; /* Small top padding, header offset handled by body */
    overflow: hidden; /* Ensure no overflow */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Removed brightness filter for strict compliance */
}

.page-fishing-games__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above image if any slight overlap */
    position: relative; /* For z-index to work relative to hero-section */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__description {
    font-size: 1.2rem;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-fishing-games__btn-primary,
.page-fishing-games__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--page-fishing-games-secondary-color);
    border: 2px solid var(--page-fishing-games-secondary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(34, 199, 104, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-fishing-games__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__section:last-of-type {
    border-bottom: none;
}

.page-fishing-games__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__text-block {
    font-size: 1.1rem;
    color: var(--page-fishing-games-text-secondary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-fishing-games__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* Grid Layout for Highlights */
.page-fishing-games__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    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: var(--page-fishing-games-text-main); /* Card text color */
}

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

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

.page-fishing-games__card-text {
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
    flex-grow: 1; /* Allows text to take up available space */
}

/* List Styling */
.page-fishing-games__list,
.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin: 40px auto;
    max-width: 800px;
}

.page-fishing-games__list-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--page-fishing-games-text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-fishing-games__list-item:last-child {
    margin-bottom: 0;
}

.page-fishing-games__list-item::before {
    content: '✅'; /* Custom bullet point */
    font-size: 1.2em;
    color: var(--page-fishing-games-secondary-color);
}

.page-fishing-games__steps-list .page-fishing-games__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}
.page-fishing-games__steps-list {
    counter-reset: step-counter;
}


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

.page-fishing-games__promo-cards .page-fishing-games__card {
    padding: 0; /* Remove padding from general card for image */
    text-align: left;
    overflow: hidden;
}

.page-fishing-games__card-image {
    width: 100%;
    height: 200px; /* Fixed height for promo images */
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games__promo-cards .page-fishing-games__card-title {
    padding: 0 25px;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.page-fishing-games__promo-cards .page-fishing-games__card-text {
    padding: 0 25px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.page-fishing-games__card-button {
    display: block;
    width: calc(100% - 50px);
    margin: 0 25px 25px 25px;
    padding: 12px 20px;
    background: var(--page-fishing-games-deep-green);
    color: var(--page-fishing-games-text-main);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__card-button:hover {
    background-color: var(--page-fishing-games-primary-color);
}

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

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

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

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--page-fishing-games-text-main);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-fishing-games__faq-item summary:hover {
    background-color: rgba(var(--page-fishing-games-primary-color), 0.1);
}

.page-fishing-games__faq-qtext {
    flex-grow: 1;
}

.page-fishing-games__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-fishing-games-secondary-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-fishing-games__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-fishing-games-text-secondary);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        max-width: 768px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }
    .page-fishing-games__description {
        font-size: 1.1rem;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px !important; /* Adjust padding for mobile */
    }

    /* Added for strict compliance */
    .page-fishing-games__section,
    .page-fishing-games__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Hero Section */
    .page-fishing-games__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-fishing-games__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        overflow: hidden;
    }
    .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; - handled by parent container */
    }

    /* General Sections */
    .page-fishing-games__section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    .page-fishing-games__text-block {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Image responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px;
        min-height: 200px;
    }
    .page-fishing-games__hero-image-wrapper,
    .page-fishing-games__promo-cards {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding: 0 15px !important; - handled by container */
    }
    .page-fishing-games__hero-image-wrapper {
        border-radius: 0 !important; /* Remove border-radius on mobile for full width */
    }

    /* Card and List items */
    .page-fishing-games__card {
        padding: 20px !important; /* Adjusted padding for mobile compliance */
        border-radius: 10px;
    }
    .page-fishing-games__card-image {
        border-radius: 10px 10px 0 0;
        height: 180px; /* Adjust height for mobile */
    }
    .page-fishing-games__list-item {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__promo-cards .page-fishing-games__card-title {
        font-size: 1.2rem;
    }
    .page-fishing-games__promo-cards .page-fishing-games__card-text {
        font-size: 0.9rem;
    }
    .page-fishing-games__card-button {
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
    }

    /* FAQ */
    .page-fishing-games__faq-item summary {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
    .page-fishing-games__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure no image filters */
.page-fishing-games img {
    filter: none; /* Explicitly remove any default filters */
}

/* Ensure content area images are not too small */
.page-fishing-games img:not(.shared-header__logo, .shared-footer__social-icon) {
    min-width: 200px;
    min-height: 200px;
}