/* 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-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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-primary-color: #11A84E; /* Main color */
    --page-fishing-games-secondary-color: #22C768; /* Auxiliary color */
}

.page-fishing-games {
    background-color: var(--page-fishing-games-bg);
    color: var(--page-fishing-games-text-main);
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

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

/* Section Titles */
.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--page-fishing-games-gold);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-secondary);
}

/* 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;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-btn-gradient);
    color: var(--page-fishing-games-text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 100, 0.3);
}

.page-fishing-games__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 100, 0.4);
}

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

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

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

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

/* Hero Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Padding for content below image */
    padding-top: 10px; /* Small decorative top padding */
    overflow: hidden;
    background-color: var(--page-fishing-games-deep-green); /* Fallback background */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height of hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__hero-content {
    text-align: center;
    padding: 20px;
    max-width: 900px;
    margin-top: 30px; /* Space between image and content */
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--page-fishing-games-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.page-fishing-games__hero-description {
    font-size: 1.2em;
    color: var(--page-fishing-games-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Introduction Section */
.page-fishing-games__introduction-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg);
}

/* Features Section */
.page-fishing-games__features-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-card-bg); /* Darker background for contrast */
}

.page-fishing-games__dark-section .page-fishing-games__section-title {
    color: var(--page-fishing-games-gold);
}
.page-fishing-games__dark-section .page-fishing-games__text-block {
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__feature-item {
    background-color: var(--page-fishing-games-deep-green);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-fishing-games-border);
}

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

.page-fishing-games__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--page-fishing-games-border);
    filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__feature-title {
    font-size: 1.5em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-fishing-games__feature-description {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1em;
}

/* How To Play Section */
.page-fishing-games__how-to-play-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--page-fishing-games-card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 20px;
    border-left: 5px solid var(--page-fishing-games-gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-fishing-games__step-title {
    font-size: 1.6em;
    color: var(--page-fishing-games-gold);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-fishing-games__step-description {
    color: var(--page-fishing-games-text-secondary);
    font-size: 1.05em;
}
.page-fishing-games__step-description a {
    color: var(--page-fishing-games-secondary-color);
    text-decoration: underline;
}
.page-fishing-games__step-description a:hover {
    color: var(--page-fishing-games-gold);
}

/* Promotions Section */
.page-fishing-games__promotions-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-deep-green);
}

.page-fishing-games__promotion-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-fishing-games__promotion-image {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--page-fishing-games-gold);
    filter: none; /* Ensure no filter is applied */
}

.page-fishing-games__promotion-text {
    flex: 2;
    min-width: 300px;
    color: var(--page-fishing-games-text-secondary);
}

.page-fishing-games__promo-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-fishing-games__promo-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
    background-size: 18px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--page-fishing-games-text-main);
    font-size: 1.05em;
}

/* FAQ Section */
.page-fishing-games__faq-section {
    padding: 60px 0;
    background-color: var(--page-fishing-games-bg);
}

.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

.page-fishing-games__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--page-fishing-games-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    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-gold), 0.1);
}

.page-fishing-games__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-fishing-games-gold);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    content: '−'; /* Change to minus when open */
}

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

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

/* Conclusion Section */
.page-fishing-games__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--page-fishing-games-deep-green);
}

/* Global Image Styles for Content Area (min size) */
.page-fishing-games img {
    min-width: 200px;
    min-height: 200px;
    filter: none; /* Explicitly ensure no filter is applied */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4.5vw, 3em);
    }
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 500px;
    }
    .page-fishing-games__feature-item {
        padding: 25px;
    }
    .page-fishing-games__feature-image {
        height: 180px;
    }
    .page-fishing-games__promotion-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Images responsiveness */
    .page-fishing-games img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size is maintained */
        min-height: 200px !important; /* Ensure min size is maintained */
    }
    
    /* All containers that might hold images */
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__how-to-play-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__conclusion-section,
    .page-fishing-games__container,
    .page-fishing-games__feature-item,
    .page-fishing-games__promotion-content,
    .page-fishing-games__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Hero section adjustments */
    .page-fishing-games__hero-section {
        padding-top: 10px !important; /* Fixed small top padding */
        padding-bottom: 40px;
    }
    .page-fishing-games__hero-image-wrapper {
        max-height: 350px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }

    /* Buttons responsiveness */
    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        margin-left: 0 !important; /* Remove margin for stacked buttons */
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Feature grid */
    .page-fishing-games__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-fishing-games__feature-image {
        height: 200px; /* Maintain minimum height */
    }

    /* Promotions section */
    .page-fishing-games__promotion-content {
        flex-direction: column;
        gap: 30px;
    }
    .page-fishing-games__promotion-image {
        max-width: 100%;
    }

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