/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-fishing-games-primary-color: #11A84E; /* Main */
    --page-fishing-games-secondary-color: #22C768; /* Auxiliary */
    --page-fishing-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-fishing-games-card-bg: #11271B;
    --page-fishing-games-background: #08160F; /* Body Background from shared.css */
    --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, ensuring light text on dark background */
.page-fishing-games {
    background-color: var(--page-fishing-games-background); /* Matches body background */
    color: var(--page-fishing-games-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--page-fishing-games-gold); /* Gold for titles for emphasis */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-fishing-games__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-fishing-games-text-secondary); /* Slightly less bright for paragraphs */
}

/* HERO Section */
.page-fishing-games__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-fishing-games-deep-green);
    overflow: hidden; /* Ensure no overflow from images */
}

.page-fishing-games__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and text */
}

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-fishing-games__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 20px;
    position: relative; /* Not absolutely positioned over image */
    z-index: 2; /* Ensure content is above any background elements */
    margin-bottom: 40px;
}

.page-fishing-games__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
    color: var(--page-fishing-games-gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
}

.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;
}

.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-primary,
.page-fishing-games__btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none; /* Remove default border */
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons fit container */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--page-fishing-games-button-gradient);
    color: var(--page-fishing-games-text-main); /* White text on dark button */
}

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

.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);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Section Styling */
.page-fishing-games__introduction-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__benefits-section,
.page-fishing-games__game-types-section,
.page-fishing-games__promotions-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-fishing-games-divider);
}

.page-fishing-games__features-section,
.page-fishing-games__benefits-section {
    background-color: var(--page-fishing-games-card-bg); /* Use card bg for section background */
}

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

.page-fishing-games__card {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--page-fishing-games-text-main); /* Light text on card background */
}

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

.page-fishing-games__feature-icon,
.page-fishing-games__benefit-icon,
.page-fishing-games__promo-image {
    width: 100%; /* Ensure images take full width of card */
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-height: 200px; /* Minimum size for content images */
    min-width: 200px;
}

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

.page-fishing-games__promo-title a {
    color: var(--page-fishing-games-gold);
    text-decoration: none;
}

.page-fishing-games__promo-title a:hover {
    text-decoration: underline;
}

/* Guide Section */
.page-fishing-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-fishing-games__list-item {
    background-color: var(--page-fishing-games-card-bg);
    border: 1px solid var(--page-fishing-games-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-fishing-games__list-item strong {
    color: var(--page-fishing-games-gold);
}

/* Promotions Section */
.page-fishing-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 15px;
    display: inline-block;
}

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

/* FAQ Section */
.page-fishing-games__faq-list {
    margin-top: 40px;
}

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

.page-fishing-games__faq-item details {
    padding: 0; /* Reset default padding for details */
}

.page-fishing-games__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2em;
    color: var(--page-fishing-games-gold);
    list-style: none; /* Remove default marker */
}

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

.page-fishing-games__faq-qtext {
    flex-grow: 1;
    color: var(--page-fishing-games-gold);
}

.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-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.1em;
    color: var(--page-fishing-games-text-secondary);
    line-height: 1.5;
}

/* Call to Action Section */
.page-fishing-games__cta-section {
    background-color: var(--page-fishing-games-deep-green);
    padding: 80px 0;
    text-align: center;
}

.page-fishing-games__cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-fishing-games__cta-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-fishing-games__cta-text .page-fishing-games__section-title {
    text-align: left;
    margin-bottom: 20px;
    color: var(--page-fishing-games-gold);
}

.page-fishing-games__cta-text .page-fishing-games__text-block {
    text-align: left;
    color: var(--page-fishing-games-text-main);
}

.page-fishing-games__cta-buttons--end {
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 250px;
}

.page-fishing-games__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__section-title {
        font-size: 2em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-fishing-games__hero-description {
        font-size: 1.1em;
    }
    .page-fishing-games__feature-title,
    .page-fishing-games__benefit-title,
    .page-fishing-games__promo-title {
        font-size: 1.3em;
    }
    .page-fishing-games__cta-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-fishing-games__cta-text {
        text-align: center;
    }
    .page-fishing-games__cta-text .page-fishing-games__section-title,
    .page-fishing-games__cta-text .page-fishing-games__text-block {
        text-align: center;
    }
    .page-fishing-games__cta-buttons--end {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-fishing-games {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-fishing-games__container {
        padding: 0 15px;
    }
    .page-fishing-games__section-title {
        font-size: 1.8em;
        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__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important; /* Mobile buttons full width */
        max-width: 100% !important;
        padding: 15px 10px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }
    .page-fishing-games__hero-section,
    .page-fishing-games__introduction-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__game-types-section,
    .page-fishing-games__promotions-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-section {
        padding: 30px 0;
    }
    .page-fishing-games__hero-section {
        padding-top: 10px !important;
    }
    .page-fishing-games__cta-buttons--end {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__section-title {
        font-size: 1.5em;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5em, 8vw, 2em);
    }
    .page-fishing-games__text-block {
        font-size: 1em;
    }
    .page-fishing-games__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
    .page-fishing-games__faq-answer {
        font-size: 0.95em;
        padding: 0 15px 15px 15px;
    }
}