/* style/fishing-games.css */

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

/* Base styles for the page content */
.page-fishing-games {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

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

.page-fishing-games__section-title {
    font-size: 2.5em;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    letter-spacing: 1px;
}

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

/* 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;
    overflow: hidden;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-fishing-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-fishing-games__hero-content {
    position: relative; /* Relative to hero section, not absolute over image */
    z-index: 10;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 20px; /* Space between image and content */
}

.page-fishing-games__hero-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games__hero-description {
    font-size: clamp(1em, 2vw, 1.3em);
    color: var(--color-text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-fishing-games__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 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;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-fishing-games__btn-primary {
    background: var(--btn-gradient);
    color: var(--color-text-main); /* White text for dark button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-fishing-games__btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    box-shadow: none;
}

.page-fishing-games__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-background); /* Dark text for gold background */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section specific styles */
.page-fishing-games__introduction-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__promotions-section,
.page-fishing-games__why-choose-section,
.page-fishing-games__conclusion-section {
    background-color: var(--color-background);
    color: var(--color-text-main);
    padding: 60px 0;
}

.page-fishing-games__highlights-section,
.page-fishing-games__strategy-section,
.page-fishing-games__how-to-play-section,
.page-fishing-games__faq-section {
    background-color: var(--color-card-bg); /* Slightly lighter dark background */
    color: var(--color-text-main);
    padding: 60px 0;
}

.page-fishing-games__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

/* Feature Grid */
.page-fishing-games__features-grid,
.page-fishing-games__promotions-grid,
.page-fishing-games__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-fishing-games__feature-card,
.page-fishing-games__promo-card,
.page-fishing-games__step-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.page-fishing-games__card-description {
    font-size: 1em;
    color: var(--color-text-secondary);
    flex-grow: 1; /* Allow description to take available space */
    margin-bottom: 20px;
}

.page-fishing-games__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 15px;
}

/* Lists */
.page-fishing-games__game-list,
.page-fishing-games__strategy-list,
.page-fishing-games__why-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.page-fishing-games__list-item {
    font-size: 1.1em;
    color: var(--color-text-main);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.page-fishing-games__list-item::before {
    content: '⭐'; /* Unicode star or similar icon */
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 1.2em;
    line-height: 1;
}

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

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

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-card-bg);
    transition: background-color 0.3s ease;
}

.page-fishing-games__faq-question:hover {
    background-color: var(--color-deep-green);
}

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

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

.page-fishing-games__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding-top: 15px;
}

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

/* Conclusion Section */
.page-fishing-games__conclusion-section .page-fishing-games__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(2em, 6vw, 3em);
    }

    .page-fishing-games__hero-description {
        font-size: clamp(0.9em, 2.5vw, 1.2em);
    }

    .page-fishing-games__section-title {
        font-size: 2em;
    }

    .page-fishing-games__container {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .page-fishing-games__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

    .page-fishing-games__hero-image-wrapper {
        max-height: 400px;
    }

    .page-fishing-games__hero-image {
        min-height: 250px;
    }

    .page-fishing-games__hero-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-fishing-games__hero-description {
        font-size: clamp(0.9em, 3vw, 1.1em);
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-fishing-games__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-fishing-games__text-block,
    .page-fishing-games__list-item,
    .page-fishing-games__card-description,
    .page-fishing-games__faq-answer p {
        font-size: 1em;
    }

    .page-fishing-games__features-grid,
    .page-fishing-games__promotions-grid,
    .page-fishing-games__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-fishing-games__feature-card,
    .page-fishing-games__promo-card,
    .page-fishing-games__step-card {
        padding: 25px;
    }

    .page-fishing-games__card-title {
        font-size: 1.3em;
    }

    .page-fishing-games__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-fishing-games__faq-answer {
        padding: 0 20px 15px;
    }

    /* Images responsive */
    .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;
    }
    
    .page-fishing-games__hero-image {
      min-width: 200px !important;
      min-height: 200px !important;
    }
    .page-fishing-games__content-image {
      min-width: 200px !important;
      min-height: 200px !important;
    }

    /* Video responsive (even if no video is present, for strict compliance) */
    .page-fishing-games video,
    .page-fishing-games__video {
      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;
    }
    
    .page-fishing-games__video-section {
      padding-top: 10px !important;
    }
    
    .page-fishing-games__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
    }
}

/* Ensure content area images are at least 200px */
.page-fishing-games__hero-image,
.page-fishing-games__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* Text contrast fixes for specific sections if needed (using custom colors) */
.page-fishing-games__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-fishing-games__light-bg {
    background-color: var(--color-card-bg); /* Using a slightly lighter dark for contrast */
    color: var(--color-text-main);
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-question {
    background-color: var(--color-deep-green); /* Darker green when open */
}