/* style/fishing-games-tips.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E; /* Main */
    --color-secondary: #22C768; /* Auxiliary */
    --color-card-bg: #11271B; /* Card BG */
    --color-background: #08160F; /* Background */
    --color-text-main: #F2FFF6; /* Text Main */
    --color-text-secondary: #A7D9B8; /* Text Secondary */
    --color-border: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */
    --gradient-button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
}

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-fishing-games-tips {
    background-color: var(--color-background); /* Dark background */
    color: var(--color-text-main); /* Light text for readability */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-fishing-games-tips__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body padding-top handled by shared.css */
    padding-bottom: 60px;
    background-color: var(--color-background); /* Ensure consistent background */
    overflow: hidden; /* Prevent content overflow */
}

.page-fishing-games-tips__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.page-fishing-games-tips__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-fishing-games-tips__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    color: var(--color-text-main); /* Ensure light text on dark background */
}

.page-fishing-games-tips__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size, not fixed large */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-fishing-games-tips__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

/* Section Titles */
.page-fishing-games-tips__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-glow);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
    font-weight: 600;
}

.page-fishing-games-tips__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Paragraphs and Lists */
.page-fishing-games-tips p {
    margin-bottom: 15px;
    color: var(--color-text-main); /* Ensure light text */
}

.page-fishing-games-tips ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--color-text-main); /* Ensure light text */
}

.page-fishing-games-tips li {
    margin-bottom: 8px;
    color: var(--color-text-main); /* Ensure light text */
}

/* Images within content */
.page-fishing-games-tips__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

/* Call to Action Buttons */
.page-fishing-games-tips__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-fishing-games-tips__cta-buttons--center {
    justify-content: center;
}

.page-fishing-games-tips__btn-primary,
.page-fishing-games-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* Ensure buttons are responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-fishing-games-tips__btn-primary {
    background: var(--gradient-button);
    color: #ffffff; /* White text on dark button for contrast */
    border: none;
}

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

.page-fishing-games-tips__btn-secondary {
    background-color: var(--color-card-bg); /* Dark green background */
    color: var(--color-primary); /* Primary color text for contrast */
    border: 2px solid var(--color-primary);
}

.page-fishing-games-tips__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background-color: var(--color-deep-green);
    color: var(--color-glow);
}

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

.page-fishing-games-tips__faq-list {
    margin-top: 30px;
}

.page-fishing-games-tips__faq-item {
    background-color: var(--color-background); /* Slightly lighter than section bg */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
}

.page-fishing-games-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary); /* Primary color for questions */
    cursor: pointer;
    background-color: var(--color-background);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-fishing-games-tips__faq-question::-webkit-details-marker {
    display: none;
}

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

.page-fishing-games-tips__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--color-text-secondary); /* Secondary text color for answers */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

/* For <details> tag, the answer is shown by default when open, max-height is not needed */
.page-fishing-games-tips__faq-item[open] .page-fishing-games-tips__faq-answer {
    max-height: 2000px; /* Sufficiently large for content */
    padding-top: 10px;
}

/* Other content sections */
.page-fishing-games-tips__introduction-section,
.page-fishing-games-tips__why-attractive-section,
.page-fishing-games-tips__basic-strategy-section,
.page-fishing-games-tips__advanced-techniques-section,
.page-fishing-games-tips__bankroll-management-section,
.page-fishing-games-tips__benefits-section,
.page-fishing-games-tips__cta-section {
    padding: 60px 0;
    background-color: var(--color-background); /* Consistent dark background */
    color: var(--color-text-main);
}

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

    .page-fishing-games-tips__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-fishing-games-tips__intro-text {
        font-size: 1.05rem;
    }

    .page-fishing-games-tips__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-fishing-games-tips__hero-section {
        padding-bottom: 40px;
    }

    .page-fishing-games-tips__hero-content {
        padding: 20px 15px;
    }

    .page-fishing-games-tips__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-fishing-games-tips__intro-text {
        font-size: 1rem;
    }

    .page-fishing-games-tips__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-fishing-games-tips__btn-primary,
    .page-fishing-games-tips__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 0 auto; /* Center buttons */
    }

    .page-fishing-games-tips__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }

    .page-fishing-games-tips__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }

    .page-fishing-games-tips p,
    .page-fishing-games-tips li {
        font-size: 0.95rem;
    }

    .page-fishing-games-tips__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to images to prevent overflow */
    }

    /* All content sections and containers must be responsive */
    .page-fishing-games-tips__container,
    .page-fishing-games-tips__introduction-section,
    .page-fishing-games-tips__why-attractive-section,
    .page-fishing-games-tips__basic-strategy-section,
    .page-fishing-games-tips__advanced-techniques-section,
    .page-fishing-games-tips__bankroll-management-section,
    .page-fishing-games-tips__benefits-section,
    .page-fishing-games-tips__cta-section,
    .page-fishing-games-tips__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-fishing-games-tips__faq-question {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .page-fishing-games-tips__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-fishing-games-tips__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-fishing-games-tips__intro-text {
        font-size: 0.9rem;
    }
    .page-fishing-games-tips__section-title {
        font-size: clamp(1.3rem, 7vw, 1.8rem);
    }
    .page-fishing-games-tips__sub-title {
        font-size: clamp(1rem, 6vw, 1.5rem);
    }
}