/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-primary-color: #11A84E;
    --page-fishing-games-secondary-color: #22C768;
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F;
    --page-fishing-games-text-main: #F2FFF6;
    --page-fishing-games-text-secondary: #A7D9B8;
    --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;
}

/* Base styles for the page content, inheriting from body if applicable */
.page-fishing-games {
    background-color: var(--page-fishing-games-background); /* Dark background */
    color: var(--page-fishing-games-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.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; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-fishing-games-background);
}

.page-fishing-games__hero-image {
    width: 100%;
    max-width: 1920px; /* Ensure image scales */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 40px;
}

.page-fishing-games__hero-content {
    position: relative; /* Not absolute, for upper-image-lower-text */
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-fishing-games-gold); /* Gold color for main title */
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-fishing-games-text-secondary); /* Secondary text color */
}

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

/* General Buttons */
.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;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main); /* White text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-fishing-games__btn-secondary:hover {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-main);
    transform: translateY(-2px);
}

.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-fishing-games__btn-center {
    display: block;
    margin: 40px auto 0 auto;
}

/* Sections */
.page-fishing-games__intro-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__advantages-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 80px 0;
    background-color: var(--page-fishing-games-background); /* Default background */
}

.page-fishing-games__dark-section {
    background-color: var(--page-fishing-games-card-bg); /* Darker background for contrast sections */
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--page-fishing-games-gold); /* Gold color for section titles */
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-fishing-games__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-fishing-games__text-block {
    font-size: 1em;
    line-height: 1.8;
    color: var(--page-fishing-games-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

.page-fishing-games__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__highlight {
    color: var(--page-fishing-games-gold);
    font-weight: bold;
}

.page-fishing-games__text-link {
    color: var(--page-fishing-games-primary-color);
    text-decoration: underline;
}

.page-fishing-games__text-link:hover {
    color: var(--page-fishing-games-gold);
}

/* Game Grid */
.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: var(--page-fishing-games-card-bg); /* Dark card background */
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

.page-fishing-games__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-fishing-games__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-fishing-games-gold); /* Gold color for card titles */
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.2);
}

.page-fishing-games__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-fishing-games__card-title a:hover {
    text-decoration: underline;
    color: var(--page-fishing-games-primary-color);
}

.page-fishing-games__card-description {
    font-size: 0.95em;
    color: var(--page-fishing-games-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Advantages List */
.page-fishing-games__advantage-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__advantage-item {
    background-color: var(--page-fishing-games-background); /* Slightly lighter dark for contrast */
    border: 1px solid var(--page-fishing-games-divider);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.page-fishing-games__advantage-text {
    font-size: 0.95em;
    color: var(--page-fishing-games-text-secondary);
}

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

.page-fishing-games__promo-card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--page-fishing-games-text-main);
}

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

.page-fishing-games__faq-item {
    background-color: var(--page-fishing-games-background); /* Darker background for FAQ items */
    border: 1px solid var(--page-fishing-games-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--page-fishing-games-primary-color);
    background-color: var(--page-fishing-games-deep-green); /* Deep green background for question */
    border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__faq-question:hover {
    background-color: var(--page-fishing-games-primary-color);
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-question:hover .page-fishing-games__faq-toggle {
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--page-fishing-games-gold);
    transition: transform 0.3s ease;
}

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

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 0.95em;
    color: var(--page-fishing-games-text-secondary);
    background-color: var(--page-fishing-games-background);
}

/* CTA Section */
.page-fishing-games__cta-section {
    text-align: center;
    padding: 100px 0;
    background-color: var(--page-fishing-games-card-bg); /* Darker background */
    border-top: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.5em);
    }
    .page-fishing-games__game-grid,
    .page-fishing-games__advantage-list,
    .page-fishing-games__promo-cards {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 30px;
    }
    .page-fishing-games__hero-image {
        margin-bottom: 30px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 1em;
    }
    .page-fishing-games__hero-cta-buttons,
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary,
    .page-fishing-games a[class*="button"],
    .page-fishing-games a[class*="btn"] {
        width: 100% !important;
        max-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__intro-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 40px 0;
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
    }
    .page-fishing-games__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }

    /* Mobile image/video adaptation */
    .page-fishing-games img {
        max-width: 100% !important;
        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__promo-card,
    .page-fishing-games__advantage-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__intro-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__advantages-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-fishing-games__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

/* Ensure minimum image size and no filters */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
    /* filter: none is implicitly handled by not adding it */
}

/* Content area images must be at least 200px, no smaller */
.page-fishing-games__content-area img,
.page-fishing-games__game-card img,
.page-fishing-games__advantage-item img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-fishing-games__content-area img,
    .page-fishing-games__game-card img,
    .page-fishing-games__advantage-item img {
        width: 100% !important; /* Override min-width for mobile scaling */
        height: auto !important;
        min-width: unset !important; /* Allow it to shrink below 200px if container is smaller */
        min-height: unset !important;
    }
}

/* Ensure no filter is applied to images */
.page-fishing-games img {
    filter: none;
}