/* style/fishing-games.css */

/* Custom Colors */
:root {
    --page-bg-color: #08160F;
    --card-bg-color: #11271B;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --btn-gradient-start: #2AD16F;
    --btn-gradient-end: #13994A;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --border-color: #2E7A4E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-fishing-games {
    background-color: var(--page-bg-color);
    color: var(--text-main-color); /* Main text color for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Typography */
.page-fishing-games__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color); /* H1 using gold color for luxury feel */
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.page-fishing-games__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-fishing-games__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--deep-green-color), var(--gold-color), var(--deep-green-color));
    border-radius: 2px;
}

.page-fishing-games__description {
    font-size: 1.1rem;
    color: var(--text-secondary-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-fishing-games__step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.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;
    min-height: 600px; /* Ensures hero section has a minimum height */
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    background-color: var(--page-bg-color);
    overflow: hidden;
}

.page-fishing-games__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-fishing-games__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image for text readability */
    /* filter: brightness(0.6); */ /* Removed filter to comply with rules */
}

.page-fishing-games__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.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 */
}

/* Buttons */
.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;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-fishing-games__btn-primary {
    background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: var(--text-main-color);
    border: 2px solid var(--btn-gradient-start);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-fishing-games__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
    border-color: var(--glow-color);
}

.page-fishing-games__btn-secondary {
    background: transparent;
    color: var(--btn-gradient-start);
    border: 2px solid var(--btn-gradient-start);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__btn-secondary:hover {
    background: var(--btn-gradient-start);
    color: var(--text-main-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__btn-center {
    margin-left: auto;
    margin-right: auto;
    display: block; /* Make it a block element to center with margin auto */
    max-width: 300px; /* Limit width for centering */
}

/* General Sections */
.page-fishing-games__about-section,
.page-fishing-games__features-section,
.page-fishing-games__guide-section,
.page-fishing-games__benefits-section,
.page-fishing-games__popular-games-section,
.page-fishing-games__faq-section,
.page-fishing-games__cta-final-section {
    padding: 80px 0;
    background-color: var(--page-bg-color);
}

.page-fishing-games__dark-bg {
    background-color: var(--deep-green-color); /* Deeper green for contrast sections */
    color: var(--text-main-color);
}

.page-fishing-games__text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary-color);
}

.page-fishing-games__text-block p {
    margin-bottom: 20px;
}

.page-fishing-games__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.page-fishing-games__feature-card,
.page-fishing-games__benefit-item,
.page-fishing-games__game-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px 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;
    align-items: center;
}

.page-fishing-games__feature-card:hover,
.page-fishing-games__benefit-item:hover,
.page-fishing-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3), 0 0 15px var(--glow-color);
}

.page-fishing-games__feature-card p,
.page-fishing-games__benefit-item p {
    color: var(--text-secondary-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Guide Section */
.page-fishing-games__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-fishing-games__step-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-fishing-games__step-item p {
    color: var(--text-secondary-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Popular Games */
.page-fishing-games__game-thumbnail {
    width: 100%;
    height: 200px; /* Fixed height for thumbnails */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.page-fishing-games__game-card .page-fishing-games__card-title {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-fishing-games__game-card p {
    color: var(--text-secondary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1; /* Allows paragraph to take available space */
    margin-bottom: 20px;
}

.page-fishing-games__card-btn {
    width: 100%; /* Make button full width of card */
    max-width: 200px; /* Limit max width for aesthetic */
    margin-top: auto; /* Push button to the bottom */
}


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

.page-fishing-games__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.page-fishing-games__faq-item[open] {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 10px var(--glow-color);
}

.page-fishing-games__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--deep-green-color);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-fishing-games__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-fishing-games__faq-item[open] > .page-fishing-games__faq-question {
    background-color: var(--btn-gradient-end); /* Highlight when open */
    color: #ffffff;
}

.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(--gold-color);
    transition: transform 0.3s ease;
}

.page-fishing-games__faq-item[open] .page-fishing-games__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
    color: #ffffff;
}

.page-fishing-games__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-secondary-color);
    line-height: 1.7;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--divider-color);
}

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

.page-fishing-games__faq-answer .page-fishing-games__cta-buttons {
    margin-top: 20px;
    justify-content: flex-start;
}

.page-fishing-games__faq-answer .page-fishing-games__btn-primary {
    max-width: 250px;
}


/* Final CTA Section */
.page-fishing-games__cta-final-section {
    text-align: center;
    background-color: var(--deep-green-color);
    padding: 80px 0;
}

.page-fishing-games__cta-final-section .page-fishing-games__section-title {
    color: var(--gold-color);
}

.page-fishing-games__cta-final-section .page-fishing-games__description {
    color: var(--text-secondary-color);
    margin-bottom: 40px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-fishing-games__hero-content {
        padding: 15px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

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

    .page-fishing-games__hero-section {
        min-height: 500px;
        padding-bottom: 40px;
    }

    .page-fishing-games__hero-content {
        padding: 15px;
        border-radius: 10px;
    }

    .page-fishing-games__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust H1 for mobile */
        margin-bottom: 15px;
    }

    .page-fishing-games__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-fishing-games__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .page-fishing-games__btn-primary,
    .page-fishing-games__btn-secondary {
        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;
        font-size: 1rem;
    }
    
    .page-fishing-games__btn-center {
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-fishing-games__about-section,
    .page-fishing-games__features-section,
    .page-fishing-games__guide-section,
    .page-fishing-games__benefits-section,
    .page-fishing-games__popular-games-section,
    .page-fishing-games__faq-section,
    .page-fishing-games__cta-final-section {
        padding: 40px 0;
    }

    .page-fishing-games__container {
        padding: 0 15px; /* Add horizontal padding for mobile */
    }

    .page-fishing-games__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }
    
    .page-fishing-games__text-block,
    .page-fishing-games__faq-list {
        padding: 0 15px; /* Ensure inner content also has padding */
    }

    /* 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,
    .page-fishing-games__image-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by .page-fishing-games__container */
    }

    /* Video responsiveness (if any, though not used in this HTML) */
    .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; /* body already handles --header-offset */
    }
    
    .page-fishing-games__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-fishing-games__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-fishing-games__faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-fishing-games__hero-section {
        min-height: 400px;
    }
    .page-fishing-games__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-fishing-games__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-fishing-games__card-title {
        font-size: 1.3rem;
    }
    .page-fishing-games__faq-toggle {
        font-size: 1.5rem;
    }
}